re-installation of dbus or libnih while upstart (init) is running

Asked by John Stanley on 2010-06-02

Suppose I have a 'base system' built using upstart where I have built dbus w/o X, w/o doxygen, and w/o selinux. Now, in the base system I continue to build additional packages and at some point want to rebuild and re-install dbus with additional feature support. I do so, then stop dbus-daemon, re-install dbus, and then re-start dbus. All works as expected, except for one thing: when I reboot, the unmount script fails to unmount / as some process is still using /. The system nevertheless is able to reboot, and henceforth all is ok.

I was using upstart-0.6.5, but am now using v0.6.6 with libnih-1.0.2. The system I'm on is a homebrew/built i686 GNU/Linux-2.6.33.5 system. The problem occurs with both upstart versions. For several months now I have been using upstart with a set of /etc/init/*.conf scripts I put together, and the system is stable and works fine.

Another simple (somewhat contrived) example is this: suppose on a system up and running under upstart, I simply re-install the same version of libnih currently installed by doing (cd /; tar xf libnih-1.0.2-i686-build2.tgz).
Again, no immediate problems appear to occur, but when I reboot, unmount is again unable to unmount /

So my question is this: when one wants/needs to upgrade either dbus or libnih, on a system running upstart, is there a proper way to do this without having to reboot into for example a separate partition and re-installing from there ? I tried using telinit U, but this appears to have no effect.

Thanks, for any advise here.
John

Question information

Language:
English Edit question
Status:
Open
For:
upstart Edit question
Assignee:
No assignee Edit question
Last query:
2010-06-02
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask John Stanley for more information if necessary.

To post a message you must log in.