From da9ae876d5074030edfa362ba7a9a79c1f550b0b Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 3 Mar 2017 10:03:59 +0100 Subject: [PATCH] TT#12307 mysql user on stretch uses /nonexistent as its home On Debian/stretch we get /nonexistent as the home for user mysql, while on Debian/jessie it's /var/lib/mysql. Backported to mr4.5 as systems installed on 2.8 and upgraded to mr3.8 and then to mr4.5 has '/nonexistent' due to Percona DB is being used on 2.8 Change-Id: I87d6db988c5d973d5ef814a89e658080e0bd7e50 (cherry picked from commit 9c2db0284a61838a4612c34a6de08e1c0f577424) --- ce/05_system_users.yaml.tt2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ce/05_system_users.yaml.tt2 b/ce/05_system_users.yaml.tt2 index 10639ca..80c9be6 100644 --- a/ce/05_system_users.yaml.tt2 +++ b/ce/05_system_users.yaml.tt2 @@ -79,7 +79,10 @@ user: exists: true groups: - mysql - home: "/nonexistent" + home: + or: + - "/var/lib/mysql" + - "/nonexistent" nobody: exists: true