Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358635 - net-p2p/transmission-2.21: potential init script problem with --background vs rc_start_wait > 0
Summary: net-p2p/transmission-2.21: potential init script problem with --background vs...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-13 00:17 UTC by Leho Kraav (:macmaN @lkraav)
Modified: 2011-04-06 16:26 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 Leho Kraav (:macmaN @lkraav) 2011-03-13 00:17:05 UTC
$ qlist -IUv baselayout openrc
net-p2p/transmission-2.21 (libnotify)
sys-apps/baselayout-2.0.1-r1
sys-apps/openrc-0.7.0 (elibc_glibc kernel_linux ncurses pam unicode)

i enabled in rc.conf today a 3000ms delay for services, to slow the boot down so i can monitor it better:

rc_start_wait=3000

my default runlevel has about 40 entries. this caused a problem only with transmission, causing a "received an interrupt" error immediately after start-stop-daemon --start command.

let it be noted that before, with #rc_start_wait=0, transmission init script worked as expected.

transmission-daemon actually does start up (verified with ps), but start-stop-daemon has trouble detecting it and init script fails.

since /usr/bin/transmission-daemon detaches just fine on its own, i could not understand why ebuild uses --background. removing this switch immediately fixed the problem and did not produce any apparent side effects.

i therefore propose removing --background from the init script. anyone able to test this with baselayout-1?

Reproducible: Always
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2011-03-22 15:03:02 UTC
Thank you for report, Leho. Previously transmission-daemon did not have ability to go background and this switch is left from that days. I'll drop --background with next version/revision bump.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2011-04-06 16:26:54 UTC
Thank you again. Fixed in transmission-2.30_beta1.