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

Bug 390061

Summary: sys-apps/dbus-1.4.6-r2 - /etc/init.d/dbus should still write /var/lib/dbus/machine-id?
Product: Gentoo Linux Reporter: Alex Boyd <boydey1>
Component: [OLD] ServerAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Working /etc/init.d/dbus file

Description Alex Boyd 2011-11-10 08:15:47 UTC
sys-apps/dbus-1.4.16-r2 - The new /etc/init.d/dbus file created when installing messes up dbus, I noticed this today when trying to start rhythmbox, 

All that needs to be done is re-add the line '/usr/bin/dbus-uuidgen --ensure' instead of the one that replaced it. It is definitely the new /etc/init.d/dbus file as using the dbus startup file from sys-apps/dbus-1.4.16 (stable amd64) on 1.4.6-r2 (~amd64) works fine.

Reproducible: Always

Steps to Reproduce:
1. Install sys-apps/dbus-1.4.16-r2
2. Do etc-update to replace old /etc/init.d/dbus
3. Do /etc/init.d/dbus restart (to restart dbus, will apparently stop X so be careful)
4. Attempt to start a program that requires dbus
Actual Results:  
Applications that require dbus won't start, or will run without features needed to be used via dbus.

Expected Results:  
Programs requiring dbus should start normally and features requiring dbus should work fine.
Comment 1 Alex Boyd 2011-11-10 08:18:57 UTC
Created attachment 292091 [details]
Working /etc/init.d/dbus file

The working /etc/init.d/dbus startup file
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-10 16:06:16 UTC
It appears bug #387713 is a work in progress.

*** This bug has been marked as a duplicate of bug 387713 ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-10 16:07:14 UTC
As the other bug says, you should restart everything that uses dbus, including your desktop.
Comment 4 Alex Boyd 2011-11-11 01:54:00 UTC
(In reply to comment #3)
> As the other bug says, you should restart everything that uses dbus, including
> your desktop.

Yeah I tried re-emerging dbus (multiple times), rebooting the system, doing /etc/init.d/dbus restart, doing /etc/init.d/dbus stop then /etc/init,d/dbus start and the problem is still there, it's the line that was taken out from the dbus start up file in sys-apps/dbus-1.4.6-r2, and the problem is still there. Dbus shows saying it's started and worked when booting but dbus doesn't _actually_ ever start.
Comment 5 Alex Boyd 2011-11-11 05:02:35 UTC
Others are getting this issue too http://forums.gentoo.org/viewtopic-p-6868854.html 

:(
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-11-11 15:16:30 UTC
You mean the one in bug 390143 ?