Debian Bug report logs -
#680403
udisks2 mounts devices in a non-FHS-compliant directory
Reported by: Steve Langasek <steve.langasek@canonical.com>
Date: Thu, 5 Jul 2012 17:15:08 UTC
Severity: serious
Found in version udisks2/1.98.0-2
Fixed in version udisks2/1.99.0-2
Done: Martin Pitt <mpitt@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#680403; Package udisks2.
(Thu, 05 Jul 2012 17:15:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Steve Langasek <steve.langasek@canonical.com>:
New Bug report received and forwarded. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>.
(Thu, 05 Jul 2012 17:15:11 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: udisks2
Version: 1.98.0-2
Severity: serious
Justification: FHS
udisks2 has taken to mounting user filesystems under /run/media. This
directly contradicts the FHS, which says /media is to be used for mounting
removeable media.
This is therefore a serious policy violation in the udisks2 package.
This bug has also been reported upstream and upstream has refused to correct
the issue: https://bugs.freedesktop.org/show_bug.cgi?id=51709
-- System Information:
Debian Release: wheezy/sid
APT prefers quantal-updates
APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 'quantal')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf
Kernel: Linux 3.5.0-2-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages udisks2 depends on:
ii dbus 1.4.18-1ubuntu1
ii libacl1 2.2.51-8ubuntu1
ii libatasmart4 0.19-1git1
ii libc6 2.15-0ubuntu15
ii libglib2.0-0 2.33.3-2
ii libgudev-1.0-0 1:175-0ubuntu10
ii libpolkit-agent-1-0 0.104-2ubuntu1
ii libpolkit-gobject-1-0 0.104-2ubuntu1
ii libudisks2-0 1.98.0-2
ii udev 175-0ubuntu10
Versions of packages udisks2 recommends:
ii dosfstools 3.0.12-1ubuntu1
ii eject 2.1.5+deb1+cvs20081104-11
ii mtools 4.0.17-1
ii ntfs-3g 1:2012.1.15AR.5-2ubuntu1
ii policykit-1 0.104-2ubuntu1
Versions of packages udisks2 suggests:
ii cryptsetup-bin 2:1.4.1-2ubuntu4
ii mdadm 3.2.5-1ubuntu2
ii reiserfsprogs 1:3.6.21-1build1
pn xfsprogs <none>
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#680403; Package udisks2.
(Thu, 05 Jul 2012 17:45:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>.
(Thu, 05 Jul 2012 17:45:03 GMT) (full text, mbox, link).
Message #10 received at 680403@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On 05.07.2012 19:12, Steve Langasek wrote:
> Package: udisks2
> Version: 1.98.0-2
> Severity: serious
> Justification: FHS
>
> udisks2 has taken to mounting user filesystems under /run/media. This
> directly contradicts the FHS, which says /media is to be used for mounting
> removeable media.
>
> This is therefore a serious policy violation in the udisks2 package.
>
> This bug has also been reported upstream and upstream has refused to correct
> the issue: https://bugs.freedesktop.org/show_bug.cgi?id=51709
We've implemented /run despite it not being in the FHS.
If there are good technical arguments for mounting removable media under
/run/media (and I notice a few in the upstream bug report), I don't see
why we shouldn't consider diverging from the FHS here.
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#680403; Package udisks2.
(Thu, 05 Jul 2012 18:21:11 GMT) (full text, mbox, link).
Acknowledgement sent
to Steve Langasek <steve.langasek@canonical.com>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>.
(Thu, 05 Jul 2012 18:21:11 GMT) (full text, mbox, link).
Message #15 received at 680403@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Thu, Jul 05, 2012 at 07:34:21PM +0200, Michael Biebl wrote:
> On 05.07.2012 19:12, Steve Langasek wrote:
> > Package: udisks2
> > Version: 1.98.0-2
> > Severity: serious
> > Justification: FHS
> > udisks2 has taken to mounting user filesystems under /run/media. This
> > directly contradicts the FHS, which says /media is to be used for mounting
> > removeable media.
> > This is therefore a serious policy violation in the udisks2 package.
> > This bug has also been reported upstream and upstream has refused to correct
> > the issue: https://bugs.freedesktop.org/show_bug.cgi?id=51709
> We've implemented /run despite it not being in the FHS.
We've implemented /run, as a special exception approved in Debian Policy,
for those bits of the filesystem previously stored in /var/run and
/var/lock. No such exception has been granted for /media, nor should there
be.
> If there are good technical arguments for mounting removable media under
> /run/media (and I notice a few in the upstream bug report), I don't see
> why we shouldn't consider diverging from the FHS here.
No, there are no good technical arguments for the move. There's a technical
justification given for creating per-user subdirectories, there is *not* a
technical reason for the move to /run. This is a gratuitous incompatibility
with the FHS.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#680403; Package udisks2.
(Thu, 05 Jul 2012 18:30:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>.
(Thu, 05 Jul 2012 18:30:08 GMT) (full text, mbox, link).
Message #20 received at 680403@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On 05.07.2012 20:18, Steve Langasek wrote:
>> We've implemented /run despite it not being in the FHS.
>
> We've implemented /run, as a special exception approved in Debian Policy,
> for those bits of the filesystem previously stored in /var/run and
> /var/lock. No such exception has been granted for /media, nor should there
> be.
Just for clarification, this exception was added after /run had already
been implemented.
Neither the FHS nor the debian-policy are set in stone and e.g. the FHS
eventually caught up what was implemented by the distros.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#680403; Package udisks2.
(Thu, 05 Jul 2012 18:45:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Steve Langasek <steve.langasek@canonical.com>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>.
(Thu, 05 Jul 2012 18:45:04 GMT) (full text, mbox, link).
Message #25 received at 680403@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Thu, Jul 05, 2012 at 08:27:43PM +0200, Michael Biebl wrote:
> On 05.07.2012 20:18, Steve Langasek wrote:
> >> We've implemented /run despite it not being in the FHS.
> > We've implemented /run, as a special exception approved in Debian Policy,
> > for those bits of the filesystem previously stored in /var/run and
> > /var/lock. No such exception has been granted for /media, nor should there
> > be.
> Just for clarification, this exception was added after /run had already
> been implemented.
No, it was discussed on debian-policy before it was implemented in sysvinit.
> Neither the FHS nor the debian-policy are set in stone and e.g. the FHS
> eventually caught up what was implemented by the distros.
Neither the FHS nor Debian Policy generally can be ignored by packages in
Debian.
Your package is in violation of Policy. Fix it. If you don't like Policy,
file a bug against debian-policy about it - but there's no good reason at
all for this change, and Debian does not change its filesystem policy every
time an upstream decides to ignore it for no good reason.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Martin Pitt <mpitt@debian.org>:
You have taken responsibility.
(Wed, 22 Aug 2012 10:51:12 GMT) (full text, mbox, link).
Notification sent
to Steve Langasek <steve.langasek@canonical.com>:
Bug acknowledged by developer.
(Wed, 22 Aug 2012 10:51:12 GMT) (full text, mbox, link).
Message #30 received at 680403-close@bugs.debian.org (full text, mbox, reply):
Source: udisks2
Source-Version: 1.99.0-2
We believe that the bug you reported is fixed in the latest version of
udisks2, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 680403@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Pitt <mpitt@debian.org> (supplier of updated udisks2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 22 Aug 2012 12:36:09 +0200
Source: udisks2
Binary: udisks2 udisks2-doc libudisks2-0 libudisks2-dev gir1.2-udisks-2.0
Architecture: source amd64 all
Version: 1.99.0-2
Distribution: experimental
Urgency: low
Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
Changed-By: Martin Pitt <mpitt@debian.org>
Description:
gir1.2-udisks-2.0 - GObject based library to access udisks2 - introspection data
libudisks2-0 - GObject based library to access udisks2
libudisks2-dev - GObject based library to access udisks2 - development files
udisks2 - D-BUS service to access and manipulate storage devices
udisks2-doc - udisks2 documentation
Closes: 680403
Changes:
udisks2 (1.99.0-2) experimental; urgency=low
.
* Add mount_in_media.patch: Mount drives in /media, not /run/media/, to stay
FHS compatible. (Closes: #680403, LP: #1020759)
Checksums-Sha1:
f550bd05f9196a465cb05396b5e04a97e84239f4 2512 udisks2_1.99.0-2.dsc
4f0bd4783fcd231b221ba5b0030bd11e35f4b88a 5514 udisks2_1.99.0-2.debian.tar.gz
8d3dd65e3745d9c983b775ad78475cee34bace8e 240056 udisks2_1.99.0-2_amd64.deb
7c260bd2d1d006d7f0494d76bc43a221a5747fe5 272428 udisks2-doc_1.99.0-2_all.deb
3924dbc7f2ac895560a4adde54cccf31151d10b4 108720 libudisks2-0_1.99.0-2_amd64.deb
3aa5c4bdf86d261feffa1254d1a3ac4468bc8fed 196132 libudisks2-dev_1.99.0-2_amd64.deb
f6784ffae963451fe87e51e8886d35fe60dbf667 19130 gir1.2-udisks-2.0_1.99.0-2_amd64.deb
Checksums-Sha256:
a97ee094f6c2de79a2ae7fbe0ab35870c4e1cac6487959dd15152b8160726586 2512 udisks2_1.99.0-2.dsc
acc3758cf50ba050b64dfb7658d1522bcbebb5b6420879663833a6f468d362fa 5514 udisks2_1.99.0-2.debian.tar.gz
64fc9d9f9343d19fba1f5ba41dea164fef99801b28767015e7f15edba2780c02 240056 udisks2_1.99.0-2_amd64.deb
699d5815eb6c6b71ab2f1ceeda0a943deafbde0867cbe39237b616aa2d7a6c33 272428 udisks2-doc_1.99.0-2_all.deb
19e685f991ab5d83522223c8a509f703222aef319b4848aa71c6fd71011751de 108720 libudisks2-0_1.99.0-2_amd64.deb
4991ea3443f1c941769c1fbf536af82339b27516f7f3624aa4459c65f66f5d96 196132 libudisks2-dev_1.99.0-2_amd64.deb
4d012fe0196bb0336115a26900229583ec01bcdc739f1dd66051b6d0ccffa082 19130 gir1.2-udisks-2.0_1.99.0-2_amd64.deb
Files:
70854ecec67202a53ec987244ea6666b 2512 admin optional udisks2_1.99.0-2.dsc
723e5f0299f588d807222620aa0b6a4e 5514 admin optional udisks2_1.99.0-2.debian.tar.gz
a993e6edd0f3cb5207549a0c636d3401 240056 admin optional udisks2_1.99.0-2_amd64.deb
a27816ab555e6c1185fb27dd650f87d2 272428 doc optional udisks2-doc_1.99.0-2_all.deb
da3acde68ee8022f7da4bdc3d3dff1e7 108720 libs optional libudisks2-0_1.99.0-2_amd64.deb
3629377c36666a6a7d3af73a5019bf64 196132 libdevel optional libudisks2-dev_1.99.0-2_amd64.deb
4c6b957521f2362e0982183ccb66c140 19130 introspection optional gir1.2-udisks-2.0_1.99.0-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJQNLa8AAoJEPmIJawmtHufYnwQAKR6IgnDqagjNOeoV0XvKw1T
3mF5Vfpm+6SskwHGU4LU7oSpDUmvPf+zANw7VYIjBAvczbQqbmTqjREL7k0t3ctx
yUffW8JdjFyz9/psKMAAqS+6SdkVyzcmkrX32l7eqBG57AkOhHsNJBXeMkksvK0g
wUQ6+rXoCcBu+CBni4VPY4RtWbYC6m7p0l8y1faaw8rkgcZFzbqVthUoIgc02Ido
HGvfSK2/jGGHxjpkyotjC4EkYu/6MHiIDlcDtdAiVkqPHxW+jYmBCHx7qxKVedtb
wyIdZxMMJ9EGmBk4WREK7jHmpCcrnJJHulVntf4WSdI/g3hfU+LSV0zZLGx/V1u0
QaTIR6WSqNYn90FcCQqt2RGSJfb9xNnCh79F3cNr+RXiJ0xxrQby8fdJvOIpsLHo
1OtLfKIM/UwVAF7nFcn5eMg6cBdjMib0GT70ag0x6OXZpG/iOFdZ81nN35Pa7mcc
AaHi+T6QaJzjx6etb/ZzLEFgWQWCZnbZMlyrw3zgu0qfbDndm/g3EacYMv1ehaiO
wmdBu1N+YfL59FHz8BKS5WtTuixykhy1zX0fVW+U7XGCLI0dFbnKH3k1KgqIP0NL
H5BfWLRW0L6uFHYmhGo/HJRMWiea34rYYDgrISGRJ6gQITdoONvpE1vsva2b2Muw
VTehSUGYy+YlPjTVf/L8
=vb65
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 21 Sep 2012 07:26:14 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jul 3 05:56:22 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.