Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28902 - sys-devel/distcc-2.10-r3 wrong init.d script
Summary: sys-devel/distcc-2.10-r3 wrong init.d script
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
: 28928 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-16 12:14 UTC by Piotr Piasny
Modified: 2003-09-16 18:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Piasny 2003-09-16 12:14:38 UTC
/etc/init.d/disttcc have bad option to distccd


Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -upv distcc
3./etc/init.d/distccd [restart|start]


Actual Results:  
# /etc/init.d/distccd restart
 * Starting distccd...
distccd: ERROR: --user: invalid numeric value


# grep -n '\-\-user' /etc/init.d/distccd 
15:     --pid-file ${DISTCCD_PIDFILE} -N ${DISTCCD_NICE} --user distcc \
Comment 1 Piotr Piasny 2003-09-16 12:17:43 UTC
--user option must have numerical user value. in script now is name not number.
resolution:
# cat /etc/passwd|g distcc
distcc:x:1001:2:distccd:/dev/null:/bin/false

and in /etc/init.d/distcc change '--user' to third field in above command
(here that is: 1001, your mileage may vary :)
Comment 2 Piotr Piasny 2003-09-16 12:20:39 UTC
wow, sorry about above comment, i was wrong. that resolution not helps. something more is broken. for now i don't know what :(
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-09-16 12:30:30 UTC
also distcc 2.10.1 is out
Comment 4 SpanKY gentoo-dev 2003-09-16 12:34:54 UTC
distcc works on my boxes :x
Comment 5 Lisa Seelye (RETIRED) gentoo-dev 2003-09-16 12:40:11 UTC
Did you update your distccd conf file in /etc/conf.d?
Comment 6 Piotr Piasny 2003-09-16 15:03:32 UTC
ok, big sorry for all. my mistake. there is no bug.
i've got a bad day.
Comment 7 Lisa Seelye (RETIRED) gentoo-dev 2003-09-16 15:24:23 UTC
pebcak
Comment 8 Lisa Seelye (RETIRED) gentoo-dev 2003-09-16 18:05:19 UTC
*** Bug 28928 has been marked as a duplicate of this bug. ***