Bug#593195: [Pkg-utopia-maintainers] Bug#593195: installing udisks in a chroot make udisks-daemon dies in the host

2010-08-16 Thread Michael Biebl
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?



signature.asc
Description: OpenPGP digital signature


Bug#593195: installing udisks in a chroot make udisks-daemon dies in the host

2010-08-15 Thread Yves-Alexis Perez
Package: udisks
Version: 1.0.1+git20100614-1
Severity: important

Hey,

I'm not so sure about the severity, it might be RC. I maintain some
packages (mainly evolution) which, for some reasons, install udisks as
part of their build-dependencies (not directly, through some other
packages). 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.

If you need more info, please ask.

Cheers,
--
Yves-Alexis


-- System Information:
Debian Release: squeeze/sid
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages udisks depends on:
ii  dbus  1.2.24-3   simple interprocess messaging syst
ii  libatasmart4  0.17+git20100219-2 ATA S.M.A.R.T. reading and parsing
ii  libc6 2.11.2-2   Embedded GNU C Library: Shared lib
ii  libdbus-1-3   1.2.24-3   simple interprocess messaging syst
ii  libdbus-glib-1-2  0.86-1 simple interprocess messaging syst
ii  libdevmapper1.02.12:1.02.48-2The Linux Kernel Device Mapper use
ii  libglib2.0-0  2.24.1-1   The GLib library of C routines
ii  libgudev-1.0-0160-1  GObject-based wrapper library for 
ii  libparted0debian1 2.3-1  The GNU Parted disk partitioning s
ii  libpolkit-backend-1-0 0.96-2 PolicyKit backend API
ii  libpolkit-gobject-1-0 0.96-2 PolicyKit Authorization API
ii  libsgutils2-2 1.29-1 utilities for devices using the SC
ii  libudev0  160-1  libudev shared library
ii  udev  160-1  /dev/ and hotplug management daemo

Versions of packages udisks recommends:
ii  dosfstools3.0.9-1utilities for making and checking 
ii  hdparm9.27-2 tune hard disk parameters for high
ii  mtools4.0.12-1   Tools for manipulating MSDOS files
pn  ntfs-3g(no description available)
pn  ntfsprogs  (no description available)
ii  policykit-1   0.96-2 framework for managing administrat

Versions of packages udisks suggests:
ii  cryptsetup2:1.1.3-3  configures encrypted block devices
pn  mdadm  (no description available)
pn  reiserfsprogs  (no description available)
pn  xfsprogs   (no description available)

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org