First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 98342
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michal Januszewski <spock@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 98342 depends on: Show dependency tree
Bug 98342 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-08 05:29 0000
When /sbin/init (from sys-apps/sysvinit) is started with a kernel command line
argument such as CONSOLE=/dev/tty1, the specified tty is used for text output
instead of the foreground tty. Init forces this tty to be the controlling tty
for all programs listed in inittab. When a program does not detach from this
tty, it's killed at the end of the boot process. 

boinc doesn't detach itself from the its controlling tty, and thus doesn't work
properly when ttys other than /dev/tty are used by init. The problem can be
easily fixed by making boinc run in its own session -- ie. by changing: 

start-stop-daemon --quiet --start --exec ${BOINCBIN} --chuid ${USER}:${GROUP}
--nicelevel ${NICELEVEL} -- ${ARGS} > ${LOGFILE} 2>&1 &

to

setsid start-stop-daemon --quiet --start --exec ${BOINCBIN} --chuid
${USER}:${GROUP} --nicelevel ${NICELEVEL} -- ${ARGS} > ${LOGFILE} 2>&1 &

------- Comment #1 From Olivier Fisette 2005-08-13 17:20:31 0000 -------
Thanks for the suggestion. This is now in Portage. 

First Last Prev Next    No search results available      Search page      Enter new bug