Note that the above is less robust than the original one as it now could happen to leave a dangling symlink behind if udisks2-inhibit is killed while its running with a signal that doesn't run the cleanup trap. However, this doesn't change actual policy, and as we only really use that during the live system (where such leftover files don't matter at all), it'd be acceptable.
The bind mount to /run didn't have this problem, but it doesn't trigger inotify and thus requires a restart (which is problematic). -- 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/1508075 Title: ubiquity and others time out on polkit (killed by udisks2-inhibit) Status in udisks2 package in Ubuntu: In Progress Bug description: on wily release candidates I get a crash when it switches to the network setup page this doesn't happen with "try ubuntu" mode which runs as root only when launching ubiquity from the desktop the backtrace points to an authentication issue I get a related backtrace even if I'm connected to a network from the panel network-manager ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: ubiquity 2.21.35 ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3 Uname: Linux 4.2.0-16-generic x86_64 ApportVersion: 2.19.1-0ubuntu3 Architecture: amd64 CasperVersion: 1.365 CurrentDesktop: Unity Date: Tue Oct 20 14:26:28 2015 InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --- LiveMediaBuild: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151019) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ubiquity UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1508075/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp