[Pkg-alsa-devel] Bug#783368: alsa-utils: alsa cookie created on /var/run before /run is mounted
Alexandre Detiste
alexandre.detiste at gmail.com
Sun Apr 26 13:11:37 UTC 2015
control: tags 783368 -newcomer
Le dimanche 26 avril 2015, 14:56:32 Michael Biebl a écrit :
>
> Which service creates that cookie in /var?
I don't know, I tried to overide the various .service files,
I still end up with this cookie re-created.
As you'll see, my last attempt was on 2015-02-01,
but it still happens now.
[OVERRIDDEN] /etc/systemd/system/alsa-state.service → /lib/systemd/system/alsa-state.service
--- /lib/systemd/system/alsa-state.service 2014-07-08 12:08:05.000000000 +0200
+++ /etc/systemd/system/alsa-state.service 2015-01-30 08:32:01.050640876 +0100
@@ -10,6 +10,7 @@
After=sysinit.target
Before=shutdown.target
Conflicts=shutdown.target
+RequiresMountsFor=/var
[Service]
Type=simple
[OVERRIDDEN] /etc/systemd/system/alsa-store.service → /lib/systemd/system/alsa-store.service
--- /lib/systemd/system/alsa-store.service 2014-07-08 12:08:05.000000000 +0200
+++ /etc/systemd/system/alsa-store.service 2015-02-01 21:55:41.421514351 +0100
@@ -11,4 +11,4 @@
[Service]
Type=oneshot
-ExecStart=/usr/sbin/alsactl -E HOME=/var/run/alsa store
+ExecStart=/usr/sbin/alsactl -E HOME=/run/alsa store
[OVERRIDDEN] /etc/systemd/system/alsa-restore.service → /lib/systemd/system/alsa-restore.service
--- /lib/systemd/system/alsa-restore.service 2014-07-08 12:08:05.000000000 +0200
+++ /etc/systemd/system/alsa-restore.service 2015-02-01 21:55:29.085685839 +0100
@@ -11,7 +11,8 @@
After=alsa-state.service
Before=shutdown.target
Conflicts=shutdown.target
+RequiresMountsFor=/var
[Service]
Type=oneshot
-ExecStart=-/usr/sbin/alsactl -E HOME=/var/run/alsa restore
+ExecStart=-/usr/sbin/alsactl -E HOME=/run/alsa restore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20150426/ad1f9e1f/attachment.sig>
More information about the Pkg-alsa-devel
mailing list