# sdx: fix smack labels on /var/log
chsmack -a '*' /var/log
-# workaround for bug PTREL-763
-patch -b -p1 -d/ <<'EOF'
---- bad/etc/pam.d/systemd-user 2014-03-20 10:01:36.657843073 +0100
-+++ good/etc/pam.d/systemd-user 2014-03-20 10:06:51.586121696 +0100
-@@ -4,5 +4,6 @@
-
- account include system-auth
- session include system-auth
-+session required pam_systemd.so
- auth required pam_deny.so
- password required pam_deny.so
-EOF
-
# create appfw dirs inside homes
function generic_base_user_exists() {
user=$1