From owner-freebsd-ports@FreeBSD.ORG Mon Dec 26 10:20:38 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B211116A41F; Mon, 26 Dec 2005 10:20:38 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: from msgmmp-3.gci.net (msgmmp-3.gci.net [209.165.130.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2D4843D46; Mon, 26 Dec 2005 10:20:28 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: from stargate.akparadise.com ([209.124.141.64]) by msgmmp-3.gci.net (Sun Java System Messaging Server 6.2-3.03 (built Jun 27 2005)) with ESMTPA id <0IS300DZCOPY7R50@msgmmp-3.gci.net>; Mon, 26 Dec 2005 01:20:28 -0900 (AKST) Received: by stargate.akparadise.com (Postfix, from userid 0) id 6FA123F3C; Mon, 26 Dec 2005 01:20:22 -0900 (AKST) Date: Mon, 26 Dec 2005 01:20:09 -0900 From: Beech Rintoul In-reply-to: <200512260109.38128.akbeech@gmail.com> To: freebsd-ports@freebsd.org Message-id: <200512260120.21133.akbeech@gmail.com> Organization: NorthWind Communications MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart4297533.FbCGkNUEcF; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit References: <43AFB338.7010904@FreeBSD.org> <200512260109.38128.akbeech@gmail.com> User-Agent: KMail/1.8.3 Cc: Doug Barton , olgeni@freebsd.org Subject: Re: Bug[?] In new local_startup and webmin3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2005 10:20:38 -0000 --nextPart4297533.FbCGkNUEcF Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 26 December 2005 01:09 am, Beech Rintoul wrote: > On Monday 26 December 2005 12:09 am, Doug Barton wrote: > > Beecher Rintoul wrote: > > worked fine. > > > > > I'm positive that rc.conf is correct. > > > > Ok, do this for me. First upgrade to the latest version of the port > > (webmin-1.250_2), then add the following to either /etc/rc.conf or > > /etc/rc.conf.local: > > > > rc_debug=3D"yes" > > rc_info=3D"yes" > > > > Then type: /usr/local/etc/rc.d/webmin.sh rcvar > > > > and send the results to the list. While you're at it, can you please do > > this as well, and send the results to the list: ls -la > > /usr/local/etc/rc.d > > > > > On a side note cups.sh has the > > > same problem, and I have already removed the "PROVIDE" line. > > > > If you've removed the provide line from /usr/local/etc/rc.d/cups.sh, th= en > > it's not being treated as an rc.d script, and you have other problems. > > > > And FYI, your suggested fix for the webmin script doesn't actually fix > > anything. As I mentioned above, removing the PROVIDE line causes it to = be > > treated as an old style script and be run out of localpkg. We need to > > find out why rc.d is not starting this script for you. > > Ok, I deleted both the webmin and cups scripts and rebuilt both. Now all > the scripts in /local/rc.d are stock. > > stargate# /usr/local/etc/rc.d/webmin.sh rcvar > # webmin > /usr/local/etc/rc.d/webmin.sh: DEBUG: checkyesno: webmin_enable is set to > YES. $webmin_enable=3DYES > > stargate# /usr/local/etc/rc.d/cups.sh rcvar > Usage: cups {reload|restart|start|status|stop} > # > # > stargate# ls -la /usr/local/etc/rc.d > total 72 > drwxr-xr-x 2 root wheel 1024 Dec 26 01:01 . > drwxr-xr-x 16 root wheel 1536 Dec 21 15:46 .. > -r-xr-xr-x 1 root wheel 183 Dec 12 19:58 000.apache2libs.sh > -rwxr-x--- 1 root wheel 181 Dec 22 14:15 000.mysql-client.sh > -r-xr-xr-x 1 root wheel 413 Dec 4 04:05 000.pkgtools.sh > -r-xr-xr-x 1 root wheel 308 Nov 25 15:56 000.pth.sh > -r-xr-xr-x 1 root wheel 471 Aug 21 10:39 001slpd.sh > -r-xr-xr-x 1 root wheel 3542 Dec 12 19:58 apache2.sh > -r-xr-xr-x 1 root wheel 406 Dec 21 19:03 compat5x.sh > -rwxr-xr-x 1 root wheel 3941 Dec 26 00:59 cups.sh > -rwxr-xr-x 1 root wheel 730 Dec 21 15:46 cyrus_pwcheck.sh > -rwxr-xr-x 1 root wheel 391 Dec 21 15:46 cyrus_sasl1 > -r-xr-xr-x 1 root wheel 460 Dec 7 00:55 ffserver.sh > -rwxr-x--x 1 root wheel 797 Dec 12 22:55 frox.sh > -r-xr-xr-x 1 root wheel 544 Dec 2 16:05 genkdmconf.sh > -r-xr-xr-x 1 root wheel 16157 Dec 14 13:21 isc-dhcpd.sh > -r-xr-xr-x 1 root wheel 57 Nov 5 21:53 kdelibs.sh > -r-xr-xr-x 1 root wheel 337 Aug 20 10:03 mdnsd.sh > -r-xr-xr-x 1 root wheel 785 Dec 15 18:32 mdnsresponder.sh > -r-xr-xr-x 1 root wheel 1689 Dec 22 17:57 mysql-server.sh > lrwxr-xr-x 1 root wheel 23 Dec 12 14:07 postfix.sh > -> /usr/local/sbin/postfix > -r-xr-xr-x 1 root wheel 2738 Oct 16 23:29 samba.sh > -rwxr-xr-x 1 root wheel 646 Dec 21 15:46 saslauthd1.sh > -r-xr-xr-x 1 root wheel 879 Nov 18 19:43 smartd.sh > -r-xr-xr-x 1 root wheel 777 Dec 1 20:47 snmpd.sh > -r-xr-xr-x 1 root wheel 838 Dec 1 20:47 snmptrapd.sh > -r-xr-xr-x 1 root wheel 517 Dec 22 12:59 webmin.sh > I just noticed that the new cups.sh from the ports has "PROVIDE" removed. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - System Administrator - akbeech@gmail.com /"\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com =2D------------------------------------------------------------------------= =2D------------- --nextPart4297533.FbCGkNUEcF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDr8PlVq19LUoGB+MRArQbAKCCNZowooV6GQcdHHX7Dr0Zz+WUhQCfULvb L+q5kZSkdG0jukLZP3PXrjs= =7won -----END PGP SIGNATURE----- --nextPart4297533.FbCGkNUEcF--