dnsmasq: add dhcphostsfile to ujail sandbox
The dhcphostsfile must be mounted into the (ujail) sandbox. The file can not be accessed without this mount. Signed-off-by: Ruben Jenster <rjenster@gmail.com>
This commit is contained in:
		
				
					committed by
					
						
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			
						parent
						
							2a04df3920
						
					
				
				
					commit
					936df715de
				
			@@ -1212,6 +1212,7 @@ dnsmasq_start()
 | 
			
		||||
		[ ! -e "$logfacility" ] && touch "$logfacility"
 | 
			
		||||
		procd_add_jail_mount_rw "$logfacility"
 | 
			
		||||
	esac
 | 
			
		||||
	[ -e "$hostsfile" ] && procd_add_jail_mount $hostsfile
 | 
			
		||||
 | 
			
		||||
	procd_close_instance
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user