Ubuntu has a patch for this, and I just added one to the Fedora package. Might be worthwhile to have this upstream.
Created attachment 10612 [details] [review] patch
Patch looks fine. The upstream initscript is Fedora/Red Hat specific afaik (there are separate upstream scripts for other distributions, or could be if people wanted). So patches in the spec file aren't theoretically necessary. I think there was another init script patch in the spec file last time I looked also.
Created attachment 10615 [details] [review] the other patch yeah, this is the other patch.
Would it be possible to change second patch to also start at runlevel 2 (like first patch) ? We are using almost the same patch on MandrivaLinux
Re: second patch, hardcoding /bin doesn't seem right for upstream. My current Fedora package seems to have: /bin/dbus-cleanup-sockets /bin/dbus-daemon /bin/dbus-monitor /bin/dbus-send /bin/dbus-uuidgen which looks to me like the spec file does configure --bindir=/bin ? If so, the patch doesn't seem to be needed. It would be more correct probably to put only the daemon in /bin and leave the rest of that stuff in /usr/bin, in that case we probably need --daemon-bindir=/bin or something configure arg, then use that for the init script.
Yeah, we do have --bindir=/bin so the patch is probably unnecessary. Wrt to moving the other binaries to /usr/bin, is that worth the trouble ?
I doubt it's worth the trouble, just saying it might be more correct ;-) probably someone will show up in bugzilla wanting to do it eventually...
Pushed first patch. Not sure if we want to change the values for second patch since that only makes sense if the messagebus is in /bin due to some people network mounting their /usr directory. Also dbus-uuidgen does need to be in /bin (the rest could be moved back to /usr/bin) because when the daemon starts up we call dbus-uuidgen which could be before the /usr directory is mounted.
network-mounting /usr is a bit of an 80's concept. It is really time to stop let this holding us back. But whatever...
The first band of the second patch (changing the chkconfig timing to 22 85) seems to have been done last January, and hard-coding /bin seems to have been rejected, so there's nothing more to do here. (In reply to comment #2) > The upstream initscript is Fedora/Red Hat specific afaik (there are separate > upstream scripts for other distributions, or could be if people wanted). Debian certainly has its own init script, which uses start-stop-daemon; Ubuntu probably uses the Debian script without modification.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.