#13 Merge workarounds from atomic-ws postprocess script
Merged 7 years ago by ausil. Opened 7 years ago by otaylor.
otaylor/workstation-ostree-config f25-postprocess-script  into  f25

@@ -18,6 +18,8 @@ 

      "check-passwd": { "type": "file", "filename": "passwd" },

      "check-groups": { "type": "file", "filename": "group" },

  

+     "postprocess-script": "post.sh",

+ 

      "packages": [

  		"aajohan-comfortaa-fonts",

  		"abrt",

file added
+11
@@ -0,0 +1,11 @@ 

+ #!/bin/bash

+ 

+ set -xeuo pipefail

+ 

+ # See https://bugzilla.redhat.com/show_bug.cgi?id=1265295 ; some

+ # aspects of that have been fixed, but apparently this is still

+ # necessary, and generally makes things less finicky

+ echo 'Storage=persistent' >> /etc/systemd/journald.conf

+ 

+ # Work around https://github.com/systemd/systemd/issues/4082

+ find /usr/lib/systemd/system/ -type f -exec sed -i -e '/^PrivateTmp=/d' -e '/^Protect\(Home\|System\)=/d' {} \;

This adds two workarounds from atomic-ws:

Make sure that the journal logs get persisted
Work around a problem with the systemd ProtectHome vs. ostree's directory structure

Pull-Request has been merged by ausil

7 years ago
Metadata