William Hubbs 
							
						 
					 
					
						
						
							
						
						08da36149c 
					 
					
						
						
							
							rc-service: add --ifstarted and --ifstopped options  
						
						 
						
						
						
						
					 
					
						2018-05-16 13:25:22 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						56870d0db1 
					 
					
						
						
							
							Man: rc-service man page cleanups  
						
						 
						
						
						
						
					 
					
						2018-05-15 17:09:56 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						4d47ce440c 
					 
					
						
						
							
							rc-service: add -d/--debug and -D/--nodeps options  
						
						 
						
						
						
						
					 
					
						2018-05-15 16:59:21 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						958f57d895 
					 
					
						
						
							
							openrc-run: respect the RC_NODEPS environment variable  
						
						 
						
						
						
						
					 
					
						2018-05-15 16:27:42 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						04886efd85 
					 
					
						
						
							
							Add RC_DEBUG and RC_NODEPS to environment whitelist  
						
						 
						
						... 
						
						
						
						These are needed so rc-service can pass debug and nodeps options to
openrc-run. 
						
						
					 
					
						2018-05-15 16:18:19 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						d980798d64 
					 
					
						
						
							
							openrc-run: respect the IN_DRYRUN environment variable  
						
						 
						
						... 
						
						
						
						This allows rc-service to pass the tryrun option to openrc-run.
This is for #225 . 
						
						
					 
					
						2018-05-14 19:08:19 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						414a9aae6c 
					 
					
						
						
							
							rc-misc.c: Add IN_DRYRUN to environment whitelist  
						
						 
						
						... 
						
						
						
						This allows rc-service to pass the dryrun option to openrc-run.
This is for #225 . 
						
						
					 
					
						2018-05-14 19:04:42 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						a7f475ca04 
					 
					
						
						
							
							rc-service: add a --dry-run option  
						
						 
						
						... 
						
						
						
						This is for #225 . 
						
						
					 
					
						2018-05-14 19:00:04 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						3c53680018 
					 
					
						
						
							
							build: standardize installation modes  
						
						 
						
						... 
						
						
						
						Gentoo was changing some of our installation modes from 0444 to 0644.
There isn't a reason to install things 0444, so we are switching these
to 0644 so the Gentoo ebuild doesn't need this extra step. 
						
						
					 
					
						2018-05-11 15:38:27 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						f0ad647303 
					 
					
						
						
							
							Revert "savecache: stop saving the dependency tree"  
						
						 
						
						... 
						
						
						
						It is safe to save the deptree, but we also need to regenerate it at
boot time. 
						
						
					 
					
						2018-05-11 11:54:48 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						b35e03b6b1 
					 
					
						
						
							
							Revert "Logger: only log printable characters and newlines"  
						
						 
						
						... 
						
						
						
						This reverts commit 2b1392af2f .
This seems to create issues shutting down, so I need to look into it
further. 
						
						
					 
					
						2018-05-10 19:35:24 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						2b1392af2f 
					 
					
						
						
							
							Logger: only log printable characters and newlines  
						
						 
						
						... 
						
						
						
						X-Gentoo-Bug: 651412
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651412  
						
						
					 
					
						2018-05-09 17:30:08 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						a3d0e293ee 
					 
					
						
						
							
							Remove localmount from dependencies for linux-only services  
						
						 
						
						... 
						
						
						
						This removes localmount from the dependencies of the consolefont,
keymaps, numlock and procfs services.
These services are Linux only and the default modern linux system has /
and /usr on the same file system.
This also fixes the following issue.
X-Gentoo-Bug: 651998
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651998  
						
						
					 
					
						2018-05-07 18:12:55 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrey Utkin 
							
						 
					 
					
						
						
							
						
						0200002b8c 
					 
					
						
						
							
							start-stop-daemon: don't fail stopping if pidfile is gone  
						
						 
						
						... 
						
						
						
						If pidfile does not exist when we are stopping the daemon, assume it is
already stopped, and report success.
hostapd is an example of a daemon which removes its pidfile when it is
exiting. If this daemon terminates prematurely, that is, without s-s-d
involvement, then openrc fails to restart it, because s-s-d "stop"
command fails when pidfile is missing.
X-Gentoo-Bug: 646274
X-Gentoo-Bug-URL: https://bugs.gentoo.org/646274  
						
						
					 
					
						2018-05-02 13:42:59 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						f4e2142089 
					 
					
						
						
							
							Add _POSIX_C_SOURCE definition to Linux build  
						
						 
						
						... 
						
						
						
						We need this to allow builds on uclibc-ng based systems.
X-Gentoo-Bug: 650908
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=650908  
						
						
					 
					
						2018-05-01 13:29:13 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						49a90f27a8 
					 
					
						
						
							
							typo fix  
						
						 
						
						
						
						
					 
					
						2018-04-24 10:40:57 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scall 
							
						 
					 
					
						
						
							
						
						2ae60ca041 
					 
					
						
						
							
							rc-update: fix typo  
						
						 
						
						
						
						
					 
					
						2018-03-21 08:33:33 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						6b475ab269 
					 
					
						
						
							
							init.d/modules: add code from modules-load service  
						
						 
						
						... 
						
						
						
						There is no reason for these to be separate services. I did add a
provide so that we don't break backward compatibility. 
						
						
					 
					
						2018-03-16 14:33:01 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						b302b0c094 
					 
					
						
						
							
							net-online: always start after net  
						
						 
						
						... 
						
						
						
						X-Gentoo-Bug: 650600
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=650600  
						
						
					 
					
						2018-03-16 13:53:02 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						40aa69cf3a 
					 
					
						
						
							
							agetty.in: allow status to be displayed  
						
						 
						
						
						
						
					 
					
						2018-03-14 20:37:02 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						5346fbf2c9 
					 
					
						
						
							
							supervise-daemon: fix off-by-one error  
						
						 
						
						
						
						
					 
					
						2018-03-14 20:05:45 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						92e6bdee12 
					 
					
						
						
							
							Use _BSD_SOURCE on FreeBSD  
						
						 
						
						
						
						
					 
					
						2018-03-14 13:07:46 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						71f275b2aa 
					 
					
						
						
							
							typo fix  
						
						 
						
						
						
						
					 
					
						2018-03-14 10:45:40 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						6dc0d0af33 
					 
					
						
						
							
							Remove _XOPEN_SOURCE macros from builds  
						
						 
						
						
						
						
					 
					
						2018-03-13 18:14:55 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						59a9e53378 
					 
					
						
						
							
							Add _POSIX_C_SOURCE macro to FreeBSD build  
						
						 
						
						
						
						
					 
					
						2018-03-13 18:04:54 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						122768d339 
					 
					
						
						
							
							man: document default retry specification for supervise-daemon  
						
						 
						
						
						
						
					 
					
						2018-03-12 18:22:40 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						fa3c60c0d8 
					 
					
						
						
							
							man: document default retry sppecification for start-stop-daemon  
						
						 
						
						
						
						
					 
					
						2018-03-12 18:15:06 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						61905bfcf5 
					 
					
						
						
							
							Clean up cgroups v2 code  
						
						 
						
						... 
						
						
						
						Remove the IFS manipulation and simplify the loop that processes the
settings. 
						
						
					 
					
						2018-03-11 21:41:01 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scall 
							
						 
					 
					
						
						
							
						
						3e68013631 
					 
					
						
						
							
							init.d: swap should always be started after root  
						
						 
						
						... 
						
						
						
						Otherwise if a swap file is being used, and swap is started before
root, swapon may fail because of a read-only filesystem. 
						
						
					 
					
						2018-03-05 20:16:26 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Cromer 
							
						 
					 
					
						
						
							
						
						b46123f2e1 
					 
					
						
						
							
							openrc-run: fix memory size ( #213 )  
						
						 
						
						... 
						
						
						
						Fixes  #212  
						
						
					 
					
						2018-03-01 19:31:33 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						109869641f 
					 
					
						
						
							
							fix build on FreeBSD  
						
						 
						
						
						
						
					 
					
						2018-03-01 11:47:29 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						e8a2305de0 
					 
					
						
						
							
							version 0.36  
						
						 
						
						
						
						
					 
					
						2018-03-01 11:46:02 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						f62975a1f8 
					 
					
						
						
							
							Update ChangeLog  
						
						 
						
						
						
						
					 
					
						2018-02-28 16:21:52 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jason Zaman 
							
						 
					 
					
						
						
							
						
						5bb6f9aa31 
					 
					
						
						
							
							init.sh: apply SELinux label for /run early in boot  
						
						 
						
						... 
						
						
						
						Some initramfs mount /run which then ends up with the wrong labels.
Force relabel all of /run right after its mounted to fix. 
						
						
					 
					
						2018-02-28 12:42:58 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jason Zaman 
							
						 
					 
					
						
						
							
						
						1ab8541a6c 
					 
					
						
						
							
							init-early.sh.Linux.in: apply the selinux label to /dev/console early  
						
						 
						
						... 
						
						
						
						/dev/console is relabelled later in the devfs init script, but by then we
have already missed some of the messages, so fix that label early. 
						
						
					 
					
						2018-02-28 11:24:55 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						038c03bef3 
					 
					
						
						
							
							supervise-daemon: make an error message more verbose  
						
						 
						
						
						
						
					 
					
						2018-02-27 16:02:20 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						e51dc29e2f 
					 
					
						
						
							
							cgroups: fix indentation  
						
						 
						
						
						
						
					 
					
						2018-02-27 15:56:54 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						c6047f887a 
					 
					
						
						
							
							cgroups: add rc_cgroup_memory_use_hierarchy setting for cgroups v1  
						
						 
						
						
						
						
					 
					
						2018-02-26 14:33:15 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						0506d68427 
					 
					
						
						
							
							fstabinfo: fix an error message  
						
						 
						
						
						
						
					 
					
						2018-02-26 13:46:47 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						c3d666acaf 
					 
					
						
						
							
							openrc: remove unused #define's.  
						
						 
						
						
						
						
					 
					
						2018-02-26 13:14:31 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						e93b1d76d1 
					 
					
						
						
							
							openrc: convert another execl() call to execlp()  
						
						 
						
						
						
						
					 
					
						2018-02-26 13:13:44 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						acf1e43f81 
					 
					
						
						
							
							openrc-init: convert execl calls to execlp  
						
						 
						
						
						
						
					 
					
						2018-02-26 12:21:14 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						f383fd87b1 
					 
					
						
						
							
							kill_all: change execl call to execlp  
						
						 
						
						
						
						
					 
					
						2018-02-24 17:02:02 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						cfded513cd 
					 
					
						
						
							
							openrc-init: set a default path  
						
						 
						
						... 
						
						
						
						The default path provided by the system if one isn't set only includes
"/bin:/usr/bin". This adds the default path setting from sysvinit. 
						
						
					 
					
						2018-02-24 16:24:08 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Brauner 
							
						 
					 
					
						
						
							
						
						16ff3cd8df 
					 
					
						
						
							
							check whether /sys/fs/cgroup is a mountpoint  
						
						 
						
						... 
						
						
						
						The current check only tries to detect whether /sys/fs/cgroup exists and
whether it is writable or not. But when the init system doesn't mount
cgroups then /sys/fs/cgroup will just be an empty directory. When paired
with unprivileged containers that mount sysfs this will cause misleading
errors to be printed since /sys/fs/cgroup will be owned by user
nobody:nogroup in this case. Independent of this specific problem this
check will also be misleading when the /sys/fs/cgroup exists and is in
fact writable by the init system but isn't actually a mountpoint.
Note from William. "grep -qs" doesn't need to redirect output to
/dev/null since it is completely silent.
This fixes  #209 . 
						
						
					 
					
						2018-02-23 15:51:12 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						38032626a6 
					 
					
						
						
							
							improve cgroup configuration checks  
						
						 
						
						... 
						
						
						
						make the base/controller functions return successfully if cgroups v1/v2
are not configured in the kernel 
						
						
					 
					
						2018-02-23 15:07:04 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						aa7d3a7911 
					 
					
						
						
							
							openrc: force deptree update for sysinit runlevel  
						
						 
						
						
						
						
					 
					
						2018-02-22 16:16:07 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						98262647a9 
					 
					
						
						
							
							supervise-daemon: zero out the cmdline buffer when it is allocated  
						
						 
						
						
						
						
					 
					
						2018-02-22 12:54:21 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						5868abe97b 
					 
					
						
						
							
							start-stop-daemon: compiler warning cleanup  
						
						 
						
						
						
						
					 
					
						2018-02-21 18:16:56 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Hubbs 
							
						 
					 
					
						
						
							
						
						71aad16256 
					 
					
						
						
							
							openrc-run: clean up a compiler warning  
						
						 
						
						
						
						
					 
					
						2018-02-21 18:15:35 -06:00