[Pkg-utopia-maintainers] Bug#593195: Bug#593195: installing udisks in a chroot make udisks-daemon dies in the host
Michael Biebl
biebl at debian.org
Mon Aug 16 07:28:11 UTC 2010
clone 593195 -1
reassign -1 dpkg
retitle -1 [S-S-D] Do not kill processes outside of a chroot when using --exec
severity -1 normal
severity 593195 serious
thanks
On 16.08.2010 08:43, Yves-Alexis Perez wrote:
> Package: udisks
> Version: 1.0.1+git20100614-1
> Severity: important
>
> Hey,
>
> I'm not so sure about the severity, it might be RC.
Agreed, bumping to serious.
I maintain some
> packages (mainly evolution) which, for some reasons, install udisks as
> part of their build-dependencies (not directly, through some other
> packages).
It is most likely libgdu-dev → libgdu0 → udisks
When udisks is installed and configured in the pbuilder
> chroot, it dies (“terminated”) in the host.
>
> I guess it's because it tries to send some messages to the currently
> running daemon or to dbus. I don't think udisks should be able to reach
> the outside, and I think it should (like dbus) try to guess that it's
> running in a chroot and don't do anything.
In postinst we use start-stop-daemon to stop the daemon on upgrades.
Unfortunately, udisks-daemon does not write a pid file, so we use --exec
(start-stop-daemon --stop --quiet --exec /usr/lib/udisks/udisks-daemon).
Ideally, s-s-d would do the chroot detection for us, but I guess we have to
check for that manually in postinst for now. But I cloned the bug for s-s-d.
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/20100816/06e219d2/attachment.pgp>
More information about the Pkg-utopia-maintainers
mailing list