mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-10-31 16:21:53 +00:00 
			
		
		
		
	pkg/init: Do not run inits in the background
We want them to run in sequence. For example we want mounts to be done (done by
`pkg/runc/etc/init.d/010-onboot`) before we start services (done by
`pkg/containerd/etc/init.d/020-containerd`). This was most likely introduced by
28b4245b12 ("Move onboot startup script to runc package").
None of the initscripts in pkg/* block, but some in projects (selinux and
logging, not updated here) do.
Signed-off-by: Ian Campbell <ijc@docker.com>
			
			
This commit is contained in:
		
				
					committed by
					
						 Justin Cormack
						Justin Cormack
					
				
			
			
				
	
			
			
			
						parent
						
							07469ac60b
						
					
				
				
					commit
					fc20fb8a2c
				
			| @@ -122,5 +122,5 @@ ulimit -p unlimited | |||||||
| INITS="$(find /etc/init.d -type f | sort)" | INITS="$(find /etc/init.d -type f | sort)" | ||||||
| for f in $INITS | for f in $INITS | ||||||
| do | do | ||||||
| 	$f & | 	$f | ||||||
| done | done | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user