desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #80449
[Bug 1319870] Re: [SRU] Removable media is being mounted randomly in multiseat systems
** Description changed:
+ [Impact]
+
Due to lack of full systemd-logind integration in current "udisks2"
package, automounting of removable media in multiseat setups is not
respecting seat hierarchy. All seats try to mount it at the same time,
resulting in a race condition. However, the expected behaviour is that
only the right seat (i.e. the seat whose USB port the removable media is
plugged in) should be able to mount it.
To solve this problem, just rebuild package "udisks2" with additional
build-dependencies "libsystemd-login-dev" and "libsystemd-daemon-dev".
+
+ [Test case]
+
+ * Set up a multiseat system and try to mount a removable medium in one seat
+ or another. Repeat this procedure several times.
+ * Before rebuilding udisks2 with full logind support, all seats will try to
+ mount this medium at the same time, so it will be shown in one seat or
+ another, randomly.
+ * After rebuilding udisks2 with full logind support, only one seat will
+ succeed to mount the medium in all times it's plugged in.
+
+ [Regression Potential]
+
+ Very low. This rebuilt package was well tested in ppa:ubuntu-multiseat/ppa.
+ It may happen that only one seat will be able to mount removable media, regardless which seat owns the USB port the medium is plugged (due to lack of systemd as PID 1), but at least there will be no race condition between seats.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/1319870
Title:
[SRU] Removable media is being mounted randomly in multiseat systems
Status in “udisks2” package in Ubuntu:
Fix Released
Bug description:
[Impact]
Due to lack of full systemd-logind integration in current "udisks2"
package, automounting of removable media in multiseat setups is not
respecting seat hierarchy. All seats try to mount it at the same time,
resulting in a race condition. However, the expected behaviour is that
only the right seat (i.e. the seat whose USB port the removable media
is plugged in) should be able to mount it.
To solve this problem, just rebuild package "udisks2" with additional
build-dependencies "libsystemd-login-dev" and "libsystemd-daemon-dev".
[Test case]
* Set up a multiseat system and try to mount a removable medium in one seat
or another. Repeat this procedure several times.
* Before rebuilding udisks2 with full logind support, all seats will try to
mount this medium at the same time, so it will be shown in one seat or
another, randomly.
* After rebuilding udisks2 with full logind support, only one seat will
succeed to mount the medium in all times it's plugged in.
[Regression Potential]
Very low. This rebuilt package was well tested in ppa:ubuntu-multiseat/ppa.
It may happen that only one seat will be able to mount removable media, regardless which seat owns the USB port the medium is plugged (due to lack of systemd as PID 1), but at least there will be no race condition between seats.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1319870/+subscriptions