699c19e972 
							
						 
					 
					
						
						
							
							hst/container: optional runtime and tmpdir sharing  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 25s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 39s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 39s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 42s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 40s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 44s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m23s 
				
			 
		
		
	 
 
	 
						
						Sharing and persisting these directories do not always make sense. Make it optional here.
Closes  #16 .
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-19 04:11:38 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e47aebb7a0 
							
						 
					 
					
						
						
							
							internal/app/outcome: apply configured filesystems late  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 27s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m42s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m37s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 3m33s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m10s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 4m49s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m29s 
				
			 
		
		
	 
 
	 
						
						This enables configured filesystems to cover system mount points.
Closes  #8 .
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-19 01:41:52 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							d4284c109d 
							
						 
					 
					
						
						
							
							internal/app/spruntime: emulate pam_systemd type  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 44s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 44s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 42s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m42s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 2m29s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m22s 
				
			 
		
		
	 
 
	 
						
						This sets XDG_SESSION_TYPE to the corresponding values specified in pam_systemd(8) according to enablements.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-18 04:33:04 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							83c4f8b767 
							
						 
					 
					
						
						
							
							test/sandbox: check extra writable paths  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Hakurei (push) Successful in 48s 
				
			 
		
			
				
	Test / Create distribution (push) Successful in 39s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 49s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 47s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m52s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 2m54s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m21s 
				
			 
		
		
	 
 
	 
						
						This is not always obvious from mountinfo.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-14 15:12:51 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							d0ddd71934 
							
						 
					 
					
						
						
							
							test/sandbox: bind /var/tmp writable  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Hakurei (push) Successful in 45s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 45s 
				
			 
		
			
				
	Test / Create distribution (push) Successful in 38s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 46s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m36s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 2m29s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m23s 
				
			 
		
		
	 
 
	 
						
						This makes it possible to place markers with private tmpdir.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-14 14:59:53 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							ca247b8037 
							
						 
					 
					
						
						
							
							internal/app: mount /dev/shm early  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 38s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 49s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 47s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m40s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 2m10s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m15s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						This avoids covering /dev/shm mounts from hst.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-14 01:49:42 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							acb6931f3e 
							
						 
					 
					
						
						
							
							app/seal: leave $DISPLAY as is on host abstract  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 42s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 42s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 40s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 40s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 40s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m24s 
				
			 
		
		
	 
 
	 
						
						This helps work around faulty software that misinterprets unix: DISPLAY string.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-08-27 20:42:03 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							9bc8532d56 
							
						 
					 
					
						
						
							
							container/initdev: mount tmpfs on shm for ro dev  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m13s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m51s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 3m58s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m26s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 4m46s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m26s 
				
			 
		
		
	 
 
	 
						
						Programs expect /dev/shm to be a writable tmpfs.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-08-26 03:27:07 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							4cf694d2b3 
							
						 
					 
					
						
						
							
							hst: use hsu userid for share path suffix  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m8s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m11s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m8s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m31s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m8s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m25s 
				
			 
		
		
	 
 
	 
						
						The privileged user is identifier to hakurei through its hsu userid. Using the kernel uid here makes little sense and is a leftover design choice from before hsu was implemented.
Closes  #7 .
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-08-26 02:16:33 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							c9facb746b 
							
						 
					 
					
						
						
							
							hst/config: remove data field, rename dir to home  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m13s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m10s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m5s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m27s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m7s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m28s 
				
			 
		
		
	 
 
	 
						
						There is no reason to give the home directory special treatment, as this behaviour can be quite confusing. The home directory also does not necessarily require its own mount point, it could be provided by a parent or simply be ephemeral.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-08-26 00:56:10 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							5db0714072 
							
						 
					 
					
						
						
							
							container: optionally isolate host abstract UNIX domain sockets via landlock  
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (pull_request) Successful in 33s 
				
			 
		
			
				
	Test / Sandbox (pull_request) Successful in 2m10s 
				
			 
		
			
				
	Test / Hpkg (pull_request) Successful in 4m1s 
				
			 
		
			
				
	Test / Sandbox (race detector) (pull_request) Successful in 4m19s 
				
			 
		
			
				
	Test / Hakurei (pull_request) Successful in 4m55s 
				
			 
		
			
				
	Test / Hakurei (race detector) (pull_request) Successful in 5m0s 
				
			 
		
			
				
	Test / Create distribution (push) Successful in 27s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 44s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 44s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 47s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 47s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 45s 
				
			 
		
			
				
	Test / Flake checks (pull_request) Successful in 1m47s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m36s 
				
			 
		
		
	 
 
	 
						
						
					 
					
						2025-08-18 16:28:14 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							83a1c75f1a 
							
						 
					 
					
						
						
							
							app: set up acl on X11 socket  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m9s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m22s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m26s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m25s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 43s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m38s 
				
			 
		
		
	 
 
	 
						
						The socket is typically owned by the priv-user, and inaccessible by the target user, so just allowing access to the directory is not enough. This change fixes this oversight and add checks that will also be useful for merging #1 .
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-08-18 11:30:58 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							9ed3ba85ea 
							
						 
					 
					
						
						
							
							hst/fs: implement overlay fstype  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m8s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m8s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 3m59s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m20s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m1s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m27s 
				
			 
		
		
	 
 
	 
						
						This finally exposes overlay mounts in the high level hakurei API.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-08-15 04:00:55 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							38245559dc 
							
						 
					 
					
						
						
							
							container/ops: mount dev readonly  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m2s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m57s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 3m53s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 3m53s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 4m37s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m18s 
				
			 
		
		
	 
 
	 
						
						There is usually no good reason to write to /dev. This however doesn't work in internal/app because FilesystemConfig supplied by ContainerConfig might add entries to /dev, so internal/app follows DevWritable with Remount instead.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-08-03 19:18:53 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							3b8a3d3b00 
							
						 
					 
					
						
						
							
							app: remount root readonly  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 25s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 41s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 42s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 45s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 44s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m13s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m25s 
				
			 
		
		
	 
 
	 
						
						This does nothing for security, but should help avoid hiding bugs of programs developed in a hakurei container.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-08-01 23:56:28 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							ec33061c92 
							
						 
					 
					
						
						
							
							nix: remove nscd cover  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 40s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m30s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m18s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 2m21s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 2m50s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m15s 
				
			 
		
		
	 
 
	 
						
						This is a pd workaround that does nothing in the nixos module.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-08-01 22:04:58 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							547a2adaa4 
							
						 
					 
					
						
						
							
							container/mount: pass tmpfs flags  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 32s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m1s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 3m57s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 3m55s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 4m30s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m18s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m14s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-08-01 18:59:06 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							625632c593 
							
						 
					 
					
						
						
							
							nix: update flake lock  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 39s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 50s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 52s 
				
			 
		
			
				
	Test / Planterette (push) Successful in 50s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 57s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 59s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m53s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-07-26 18:57:54 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							749a2779f5 
							
						 
					 
					
						
						
							
							test/sandbox: add arm64 constants  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 24s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 40s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 42s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 42s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 38s 
				
			 
		
			
				
	Test / Planterette (push) Successful in 40s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						Most of these are differences in qemu.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-07-09 05:36:35 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e574042d76 
							
						 
					 
					
						
						
							
							test/sandbox: verify seccomp on all test cases  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Hakurei (push) Successful in 42s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 39s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 41s 
				
			 
		
			
				
	Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 39s 
				
			 
		
			
				
	Test / Planterette (push) Successful in 41s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m17s 
				
			 
		
		
	 
 
	 
						
						This change also makes seccomp hashes cross-platform.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-07-09 04:21:35 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							87e008d56d 
							
						 
					 
					
						
						
							
							treewide: rename to hakurei  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 43s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m18s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m10s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 3m30s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 4m43s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 5m4s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m12s 
				
			 
		
		
	 
 
	 
						
						Fortify makes little sense for a container tool.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-06-25 04:57:41 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							717771ae80 
							
						 
					 
					
						
						
							
							app: share runtime dir  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 24s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 37s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 37s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 40s 
				
			 
		
			
				
	Test / Fortify (race detector) (push) Successful in 40s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 38s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m5s 
				
			 
		
		
	 
 
	 
						
						This allows apps with the same identity to access the same runtime dir.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-06-08 03:24:48 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b7e991de5b 
							
						 
					 
					
						
						
							
							nix: update flake lock  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 51s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 15m56s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 16m5s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 17m33s 
				
			 
		
			
				
	Test / Fortify (race detector) (push) Successful in 2m28s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 40s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 2m58s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-06-05 04:05:39 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f30a439bcd 
							
						 
					 
					
						
						
							
							nix: improve common usability  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 19s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 31s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 35s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 31s 
				
			 
		
			
				
	Test / Fortify (race detector) (push) Successful in 35s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 33s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m7s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-05-16 04:40:12 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							008e9e7fc5 
							
						 
					 
					
						
						
							
							nix: update flake lock  
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 28s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 38s 
				
			 
		
			
				
	Test / Fortify (race detector) (push) Successful in 37s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 35s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m18s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 1m27s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 2m47s 
				
			 
		
		
	 
 
	 
						
						
					 
					
						2025-05-07 21:35:37 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							807d511c8b 
							
						 
					 
					
						
						
							
							test/sandbox: check device outcome  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Fortify (push) Successful in 35s 
				
			 
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Fortify (race detector) (push) Successful in 35s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 34s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m22s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 1m41s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m5s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-04-11 19:55:16 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							9967909460 
							
						 
					 
					
						
						
							
							sandbox: relative autoetc links  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m44s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m41s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 2m48s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m35s 
				
			 
		
			
				
	Test / Fortify (race detector) (push) Successful in 4m13s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m3s 
				
			 
		
		
	 
 
	 
						
						This allows nested containers to use autoetc, and increases compatibility with other implementations.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-04-11 18:54:00 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							297b444dfb 
							
						 
					 
					
						
						
							
							test: separate app and sandbox  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m42s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m39s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 2m52s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m37s 
				
			 
		
			
				
	Test / Fortify (race detector) (push) Successful in 4m17s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m6s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-30 22:09:46 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f8502c3ece 
							
						 
					 
					
						
						
							
							test/sandbox: check environment  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 19s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 34s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 41s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 41s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 56s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-27 03:16:33 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							2dd49c437c 
							
						 
					 
					
						
						
							
							app: create XDG_RUNTIME_DIR with perm 0700  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m41s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m31s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 4m30s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 59s 
				
			 
		
		
	 
 
	 
						
						Many programs complain about this.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-26 02:49:37 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							371dd5b938 
							
						 
					 
					
						
						
							
							nix: create current-system symlink  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 20s 
				
			 
		
			
				
	Release / Create release (push) Successful in 27s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 35s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 40s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 40s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 58s 
				
			 
		
		
	 
 
	 
						
						This is copied at runtime because it appears to be impossible to obtain this path in nix.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-26 02:06:11 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							67eb28466d 
							
						 
					 
					
						
						
							
							nix: create opengl-driver symlink  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 25s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 33s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m18s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 3m3s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 53s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-25 20:52:20 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							c326c3f97d 
							
						 
					 
					
						
						
							
							fst/sandbox: do not create /etc in advance  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 25s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m43s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m36s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 4m31s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 56s 
				
			 
		
		
	 
 
	 
						
						This is now handled by the setup op. This also gets rid of the hardcoded /etc path.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-25 20:00:34 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							5c4058d5ac 
							
						 
					 
					
						
						
							
							app: run in native sandbox  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 20s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m5s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m0s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 4m12s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m4s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-25 01:52:49 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							61d86c5e10 
							
						 
					 
					
						
						
							
							test/sandbox: fix stdout tty check  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 27s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 37s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m22s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 2m57s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 56s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-24 16:23:50 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b989a4601a 
							
						 
					 
					
						
						
							
							test/sandbox: fail on mismatched mount entry  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 34s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m26s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 2m47s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 57s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-24 13:43:32 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							0eb1bc6301 
							
						 
					 
					
						
						
							
							test/sandbox: verify outcome via mountinfo  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Fpkg (push) Successful in 36s 
				
			 
		
			
				
	Test / Create distribution (push) Successful in 4m56s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 6m33s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 7m3s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 54s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-24 01:42:38 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							806ce18c0a 
							
						 
					 
					
						
						
							
							test/sandbox: check mapuid outcome  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 27s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 37s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m23s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 2m50s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 55s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-23 17:56:07 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b71d2bf534 
							
						 
					 
					
						
						
							
							test/sandbox: check tty outcome  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 25s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 34s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m21s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 2m48s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 54s 
				
			 
		
		
	 
 
	 
						
						This makes no difference currently but has different behaviour in the native sandbox.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-23 17:28:57 +09:00