[Pkg-utopia-maintainers] Bug#593195: udisks detect chrooted patch for debian package.

Michael Biebl biebl at debian.org
Mon Aug 30 10:14:02 UTC 2010


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20100830/ba838d64/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list