Commit 7a9f6b1d authored by Jon Severinsson's avatar Jon Severinsson Committed by Martin Pitt
Browse files

Do not fail udev upgrades if the udev service is already runtime-masked when...

Do not fail udev upgrades if the udev service is already runtime-masked when the preinst script is run

Closes: #755746
parent 1c587e0e
......@@ -12,6 +12,8 @@ systemd (208-7) UNRELEASED; urgency=medium
mountnfs ifup hook. (Closes: #746358)
* Add Breaks on lvm2 versions without native systemd support.
(Closes: #678438, #692120)
* Do not fail udev upgrades if the udev service is already runtime-masked
when the preinst script is run. (Closes: #755746)
[ Martin Pitt ]
* Rename "api" autopkgtest to "build-login", and stop requiring that
......
......@@ -203,8 +203,8 @@ mv_conffile() {
mask_systemd_service() {
if [ -x '/bin/systemctl' -a -d '/run/systemd/system/' ]; then
ln -s /dev/null /run/systemd/system/systemd-udevd.service
ln -s /dev/null /run/systemd/system/udev.service
ln -sf /dev/null /run/systemd/system/systemd-udevd.service
ln -sf /dev/null /run/systemd/system/udev.service
systemctl daemon-reload || true
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment