Work around systemd issue with ProtectHome
Systemd has issues with the ProtectHome directive when /home is a symlink. Since this is used by several systemd-provided services, this causes problems with starting them up. Work around this temporarily by removing these lines. (The issue will be fixed in systemd 232) Copied from atomic-ws.
This commit is contained in:
		
							parent
							
								
									44883daf24
								
							
						
					
					
						commit
						392bd281cd
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								post.sh
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								post.sh
									
										
									
									
									
								
							|  | @ -6,3 +6,6 @@ set -xeuo pipefail | |||
| # 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' {} \; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue