Clean up stale locks on boot

Closes: #478771
This commit is contained in:
Balint Reczey
2017-01-20 20:11:49 +01:00
parent af6b417156
commit 3588f5d2a3
+8
View File
@@ -0,0 +1,8 @@
# If a password operation is in progress and we lose power, stale lockfiles
# can be left behind. Clear them on boot.
r! /etc/gshadow.lock
r! /etc/shadow.lock
r! /etc/passwd.lock
r! /etc/group.lock
r! /etc/subuid.lock
r! /etc/subgid.lock