Do not let systemd-tmpfiles set up /etc on boot
The etc portion of systemd-tmpfiles creates a broken /etc/resolv.conf, which breaks networking, and the rest of the stuff in the there is already installed to the stage2.
This commit is contained in:
		
							parent
							
								
									f276f0f825
								
							
						
					
					
						commit
						e3d8b01afa
					
				| @ -44,6 +44,12 @@ systemctl mask fedora-configure.service fedora-loadmodules.service \ | |||||||
|                systemd-tmpfiles-clean.service systemd-tmpfiles-clean.timer \ |                systemd-tmpfiles-clean.service systemd-tmpfiles-clean.timer \ | ||||||
|                ldconfig.service |                ldconfig.service | ||||||
| 
 | 
 | ||||||
|  | ## Remove the more terrible parts of systemd-tmpfiles. | ||||||
|  | ## etc.conf is written with the assumption that /etc/ is empty, which is | ||||||
|  | ## ridiculous, and it also creates a broken /etc/resolv.conf, which breaks | ||||||
|  | ## networking. | ||||||
|  | remove usr/lib/tmpfiles.d/etc.conf | ||||||
|  | 
 | ||||||
| ## Make logind activate anaconda-shell@.service on switch to empty VT | ## Make logind activate anaconda-shell@.service on switch to empty VT | ||||||
| symlink anaconda-shell@.service lib/systemd/system/autovt@.service | symlink anaconda-shell@.service lib/systemd/system/autovt@.service | ||||||
| replace "#ReserveVT=6" "ReserveVT=2" etc/systemd/logind.conf | replace "#ReserveVT=6" "ReserveVT=2" etc/systemd/logind.conf | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user