|
Zbigniew Jędrzejewski-Szmek |
696e2f |
From c877672ff6ec11efc8cd55d4c156211b16cf0975 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
From: tblume <Thomas.Blume@suse.com>
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
Date: Tue, 2 Aug 2016 14:55:25 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
Subject: [PATCH] systemd-ask-password: make sure directory watch is started
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
before cryptsetup (#3850)
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
The password directory watch should get ordered before cryptsetup to make sure
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
that the password for unlocking the crypt device gets prompted.
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
(cherry picked from commit 7633f8ef371a0992374956437fb7bb8189156b10)
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
---
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
units/systemd-ask-password-console.path | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
units/systemd-ask-password-wall.path | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
diff --git a/units/systemd-ask-password-console.path b/units/systemd-ask-password-console.path
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
index 2949635fea..7899ae788f 100644
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
--- a/units/systemd-ask-password-console.path
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
+++ b/units/systemd-ask-password-console.path
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
@@ -11,7 +11,7 @@ Documentation=man:systemd-ask-password-console.service(8)
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
DefaultDependencies=no
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
Conflicts=shutdown.target
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
After=plymouth-start.service
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
-Before=paths.target shutdown.target
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
+Before=paths.target shutdown.target cryptsetup.target
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
ConditionPathExists=!/run/plymouth/pid
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
[Path]
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
diff --git a/units/systemd-ask-password-wall.path b/units/systemd-ask-password-wall.path
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
index 95ec9bc8a0..a3ca617256 100644
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
--- a/units/systemd-ask-password-wall.path
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
+++ b/units/systemd-ask-password-wall.path
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
@@ -10,7 +10,7 @@ Description=Forward Password Requests to Wall Directory Watch
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
Documentation=man:systemd-ask-password-console.service(8)
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
DefaultDependencies=no
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
Conflicts=shutdown.target
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
-Before=paths.target shutdown.target
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
+Before=paths.target shutdown.target cryptsetup.target
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
[Path]
|
|
Zbigniew Jędrzejewski-Szmek |
696e2f |
DirectoryNotEmpty=/run/systemd/ask-password
|