clone 593195 -1 reassign -1 upower retitle -1 installing upower in a chroot kills upowerd in the host thanks
On 30.08.2010 11:52, Andreas Henriksson wrote: > Hello! > > I've created a (completely untested) patch with the solution > you seemed to have agreed on (see attachment). > > It would be appreciated if someone was willing to test the patch. > If it happens to solve the problem, it would be nice to know if > maintainers would appreciate a NMU or not. upower is also affected by this particular issue, so I've cloned it. Your proposed patch is not portable though, so it can't be used on non-linux systems (upower is installable on non-linux, contrary to udisks). We also need to kill upower/udisks when we uninstall the package (see #590013 and #590017). Given this, patching upower/udisks to write a pid file is probably the cleanest but also most invasive solution. Another idea, I'd prefer over your proposed patch, is to test if the D-Bus names for org.freedesktop.UDisks resp. org.freedesktop.UPower are taken (which should not be the case in a chroot) and skip the restart if not. Martin, what do you think? Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature