From owner-freebsd-questions@FreeBSD.ORG Thu May 4 14:43:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A7C816A423 for ; Thu, 4 May 2006 14:43:14 +0000 (UTC) (envelope-from root@pukruppa.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54D6443D5E for ; Thu, 4 May 2006 14:43:02 +0000 (GMT) (envelope-from root@pukruppa.de) Received: from [213.146.114.24] (helo=reverse-213-146-114-24.cust.kamp-dsl.de) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis), id 0ML2Dk-1Fbf2h0q7d-0000fA; Thu, 04 May 2006 16:43:00 +0200 Date: Thu, 4 May 2006 17:12:22 +0200 (CEST) From: "P.U.Kruppa" X-X-Sender: root@www.pukruppa.net To: Eric Schuele In-Reply-To: <44594695.9090806@computer.org> Message-ID: <20060504170601.P2784@www.pukruppa.net> References: <44576B3F.8020804@computer.org> <20060503224204.L968@www.pukruppa.net> <44594695.9090806@computer.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1616313859-1146755542=:2784" X-Provags-ID: kundenserver.de abuse@kundenserver.de login:2446dbdf8275641f979193ced594c629 Cc: "P.U.Kruppa" , FreeBSD Questions Subject: Re: Cupsd strangeness.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 14:43:16 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1616313859-1146755542=:2784 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 3 May 2006, Eric Schuele wrote: > P.U.Kruppa wrote: >> On Tue, 2 May 2006, Eric Schuele wrote: >>=20 >>> Hello, >>>=20 >>> While this should be of absolutely no real concern.... my lack of abili= ty=20 >>> to resolve it is causing me sleepless nights. I'm sure this should be = an=20 >>> easy one... I just can't seem to fix it. >>>=20 >>> Everything cups related is working perfectly fine. However, my dmesg= =20 >>> shows the following: >>>=20 >>> Starting cupsd. >>> Starting cupsd. >>> cupsd: Child exited with status 48! >>> Usage: cups {reload|restart|start|status|stop} >>>=20 >>> And its driving me crazy! Cupsd is trying to start twice? and the sec= ond=20 >>> time is giving an error. >>>=20 >>> What have I done wrong here? >>> [~] % ls /etc/rc.d | grep cups >>> [~] >>> % ls /usr/local/etc/rc.d | grep cups >>> cups.sh.delme* >>> cups.sh.sample* >>> cupsd.delme* >>> cupsd.sample* >>> cupsd.sh* >> Nowadays all executable scripts in rc.d/ will be executed, not only thos= e=20 >> ending on .sh > > Yes. That was it. Thanks. > > However, I had thought that the behavior to be different. My man page (f= rom=20 > 6.0-RC?) reads: > The following key points apply to old-style scripts in > /usr/local/etc/rc.d/: > > =B7 Scripts are only executed if their basename(1) matches the shell > globbing pattern *.sh, and they are executable. Any other files or > directories present within the directory are silently ignored. > > Has the behavior changed? It was my understanding that files with *.sh o= r no=20 > extension (yet executable), would be run. This has changed one or to months ago - somebody posted it on=20 some mailing list - but I really can't remember anymore (you=20 could have a look at google). And to my surprise you are right:=20 this isn't documented in the man pages yet. It was recommended to remove all kinds of sample files - or at=20 least to change their permissions. Regards, Uli. > > Thanks again. > >>=20 >> Regards, >>=20 >> Uli. >>=20 >>=20 >>=20 >>=20 >>> [~] % grep cups /etc/rc.conf >>> cupsd_enable=3D"YES" >>> #cups_enable=3D"YES" >>>=20 >>> Using FreeBSD 6.1-RC as of Sat some time... but had this problem quite = a=20 >>> while. I'm sure it started the last time I rebuilt the machine (two mo= nth=20 >>> back maybe). And I'm sure its a config error on my part. >>>=20 >>> Any help is appreciated. >>>=20 >>> --=20 >>> Regards, >>> Eric >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to=20 >>> "freebsd-questions-unsubscribe@freebsd.org" >>>=20 >>=20 >>=20 >>=20 >> ********************************************* >> * Peter Ulrich Kruppa - Wuppertal - Germany * >> ********************************************* >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to=20 >> "freebsd-questions-unsubscribe@freebsd.org" >>=20 > > > --=20 > Regards, > Eric > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > ********************************************* * Peter Ulrich Kruppa - Wuppertal - Germany * ********************************************* --0-1616313859-1146755542=:2784--