[OE-core] Trouble by last dbus patch (46e6c3fa8034b12d178d605f3f5d7efe69671a13)?

Andreas Müller schnitzeltony at gmx.de
Wed Nov 9 20:56:20 UTC 2011


On Wednesday, November 09, 2011 09:39:16 PM Martin Jansa wrote:
> On Wed, Nov 09, 2011 at 09:38:57PM +0100, Andreas Müller wrote:
> > On Saturday, October 29, 2011 12:33:46 AM Andreas Müller wrote:
> > > On Friday, October 28, 2011 12:22:11 PM Richard Purdie wrote:
> > > > On Thu, 2011-10-27 at 22:30 +0200, Andreas Müller wrote:
> > > > > Since the last updates of all layers (angstrom based) I have issues
> > > > > with
> > > > > 
> > > > > * networkmanager/nm-applet (meta-oe): I am not allowed to change
> > > > > the settings
> > > > > 
> > > > >   any more
> > > > > 
> > > > > * xfce-session (meta-oe): Logging out takes very long and
> > > > > Restart/Shutdown is
> > > > > 
> > > > >   disabled
> > > > > 
> > > > > I remember that I had similar issues a while ago. That could be
> > > > > worked around by starting some dbus stuff ( do not exactly
> > > > > remember what it was ).
> > > > > 
> > > > > With this vague idea I checked and found in oe-core:
> > > > > | dbus: use useradd class to allow use in read-only filesystems
> > > > > | author	Otavio Salvador <otavio at ossystems.com.br>
> > > > > | commit	46e6c3fa8034b12d178d605f3f5d7efe69671a13
> > > > > 
> > > > > Not understanding totally what is all about I see in /etc/passw
> > > > > 
> > > > > | messagebus:x:999:998::/var/lib/dbus:/bin/sh
> > > > > 
> > > > > but I don't have /var/lib/dbus on my sytem!!
> > > > > 
> > > > > I did not check yet, but maybe this is an incompatibilty with
> > > > > angstrom custom
> > > > > 
> > > > > | FILESYSTEM_PERMS_TABLES = "fs-perms-angstrom.txt"
> > > > > 
> > > > > somebody around to enlight the darkness?
> > > > 
> > > > There are some issues due to the orcering of when we now start some
> > > > of the services. After the above change the dbus service starts much
> > > > earlier on first boot, before some of the other postinstalls have
> > > > run. This can mean you see errors due to users which have not yet
> > > > been created by postinstalls (e.g. avahi or xuser) yet the dbus
> > > > files reference these and its trying to start those services.
> > > > 
> > > > We're looking at fixing the remaining adduser type postinstalls to
> > > > address this. I'm not sure if this is related to the problem you were
> > > > seeing above or not.
> > > 
> > > FYI: reverting the patch fixes mentioned issues here.
> > 
> > Maybe I missed something but after starting a new image - to get the
> > errors mentioned above worked around - I still have to do manually on
> > the machine :
> > 
> > chown messagebus:messagebus /var/run/dbus ${D}${localstatedir}/lib/dbus
> > chown root:messagebus /usr/libexec/dbus-daemon-launch-helper
> > chmod 4754 /usr/libexec/dbus-daemon-launch-helper
> > 
> > As long as this is not fixed, can we have this additionally in
> > pkg_postinst_dbus temporary?
> 
> You have wrong ${D} there, but you can apply
> http://git.openembedded.org/openembedded-core-contrib/commit/?h=shr&id=283b
> 046e6e38afb63125776afdb5ee5fea0d0b7e which still works, but it's not proper
> fix.
That's exactly the workaround I meant :)

Andreas




More information about the Openembedded-core mailing list