Gentoo Archives: gentoo-amd64

From: Neil Stone <neil@×××××××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: cupsd wont start on boot.
Date: Sun, 06 Aug 2006 22:19:21
Message-Id: 44D669F5.2000402@flashtek-uk.com
In Reply to: Re: [gentoo-amd64] Re: cupsd wont start on boot. by Paul de Vrieze
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Paul de Vrieze wrote:
5 > On Saturday 05 August 2006 07:50, Duncan wrote:
6 >> If it's the exact same line both places, one works, the other doesn't,
7 >> it's almost certainly due to the difference in environment. The
8 >> environment passed to the one started from initscript will be rather more
9 >> limited than a fully interactive bash prompt environment.
10 >>
11 >> I'd suggest you put a debug statement in the initscript, right before the
12 >> command executes, that prints the environment to one file and the exported
13 >> environment to another. Diff those against the same output from the
14 >> command line that works right, and you'll have a good start on tracking
15 >> down the culprit, since you'll have all the differences nicely listed, in
16 >> ordered to check.
17 >
18 > Additionally many init scripts use start-stop-daemon with the --quiet command
19 > line option. This suppresses all output from the command used. In this case
20 > we would like to see this output so remove "--quiet" from the init script.
21 >
22 > Paul
23 >
24
25 what happens if you invoke the init script directly, ie not running the
26 commands contained within the script...
27
28 /etc/init.d/cupsd start
29
30 for example
31
32 - --
33 Neil Stone
34
35 Systems Administrator
36 FlashTek UK
37
38 - -----BEGIN GEEK CODE BLOCK-----
39 Version: 3.1
40 GIT d+(++) s: a-(?) C++++(--) UL++++$ P+ L+++ E- W+++ N+
41 o+ w--- O M PS+ Y+ PGP++ t+ 5+ X+ R+ tv+ b- DI++ D+++ G
42 e h--- r+++ y++++(**)
43 - -----END GEEK CODE BLOCK-----
44 -----BEGIN PGP SIGNATURE-----
45 Version: GnuPG v1.4.5 (GNU/Linux)
46 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
47
48 iD8DBQFE1mn1z3Av8JKgzxQRAmxZAKCVMrcPvKCeFdG3UaCrbNZuS97aDACgsZmt
49 SeSCaw8XjSJX/xfs3N7TQV8=
50 =lI9m
51 -----END PGP SIGNATURE-----
52 --
53 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Re: cupsd wont start on boot. Mark Haney <mhaney@××××××××××××.org>
Re: [gentoo-amd64] Re: cupsd wont start on boot. Mark Haney <mhaney@××××××××××××.org>