Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 216950

Summary: sys-devel/distcc: /etc/init.d/distccd should work even when no tty is available
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: Current packagesAssignee: MATSUU Takuto (RETIRED) <matsuu>
Status: RESOLVED FIXED    
Severity: normal CC: base-system, betelgeuse, hp-cluster, uberlord
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Mokrejš 2008-04-08 20:49:45 UTC
It seems the /etc/init.d/distccd startup script works only when used interactively:


# for h in a b c d; do ssh root@$h 'hostname; /etc/init.d/distccd start'; done
a
 * Starting distccd ...                                                   [ !! ]
b
 * Starting distccd ...                                                   [ !! ]
[...]


When I login interactively to the machines I get:

# /etc/init.d/distccd start
 * Starting distccd ...                                                                                                                                                                                                                                          [ ok ]
#
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2008-04-09 17:19:24 UTC
Doesn't look like a general baselayout issue to me, but if it is, I apologize for wrong assignment.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2008-04-10 19:46:38 UTC
base-system: any ideas?
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-19 15:07:52 UTC
it works fine with openrc-0.3.0-r1.
Is it only distcc issue? and could you test sys-devel/distcc-3.0*?
Comment 4 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-25 06:39:43 UTC
ok, I understand. it requires to add '--daemon' to distccd.
distcc-3.0-r2 in cvs.