aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* supervise-daemon: mark all open file descriptors FD_CLOEXECHEADmasterWilliam Hubbs18 hours1-1/+1
|
* supervise-daemon:remove the controlling tty in the supervisorWilliam Hubbs20 hours1-0/+7
|
* supervise-daemon: fix access to tty_fd and devnull_fdWilliam Hubbs22 hours1-6/+4
| | | | Both the child and supervisor need access to these file descriptors.
* supervise-daemon: mark the service started when the supervisor is activeWilliam Hubbs22 hours1-4/+4
|
* version 0.26William Hubbs11 days1-1/+1
|
* update ChangeLog0.25William Hubbs13 days1-25/+158
|
* init: send term/kill signals as final step of shutdownWilliam Hubbs13 days1-0/+5
|
* reword the bugs section of the openrc-init man pageWilliam Hubbs2017-04-141-3/+3
|
* init: fix signal handlingWilliam Hubbs2017-04-131-3/+17
| | | | | The only signals we handle are SIGINT and SIGCHLD, so block all others and unblock them in the child process before we start a rurnlevel.
* init: add re-exec capabilityWilliam Hubbs2017-04-123-6/+37
| | | | | This will allow the re-execution of the init process after upgrading OpenRC.
* bootmisc: do not remove ld-elf32.so.hintsi.Dark_Templar2017-04-101-1/+2
| | | | | File /var/run/ld-elf32.so.hints is used on FreeBSD 64bit multilib This fixes #125.
* Add attribution to openrc-init.c and openrc-shutdown.cWilliam Hubbs2017-04-072-0/+6
|
* add init processWilliam Hubbs2017-04-0610-3/+410
| | | | | | openrc-init.c and openrc-shutdown.c are based on code which was written by James Hammons <jlhamm@acm.org>, so I would like to publically thank him for his work.
* Fix make install on FreeBSD: don't try to install /etc/init.d/modules twicei.Dark_Templar2017-04-051-1/+1
|
* start-stop-daemon: warn if calling --start with --retry or --stop with --waitAustin English2017-04-031-0/+7
| | | | This fixes #122
* init.d/agetty.in: add -prefix keywordWilliam Hubbs2017-03-311-0/+1
|
* init.d/mount-ro: change dependency on killprocs and savecache to afterWilliam Hubbs2017-03-311-1/+1
| | | | | killprocs always succeeds and savecache is not required by mount-ro, so we can just start after both of these have run.
* agetty-guide: typo fixWilliam Hubbs2017-03-311-4/+3
|
* init.d: add agetty to ignore patternsWilliam Hubbs2017-03-281-0/+1
|
* sh/gendepends.sh.in: fix detection of service scriptsWilliam Hubbs2017-03-231-5/+16
| | | | | | We do not need to care about the path on the shebang line of a service script as long as the shebang line ends with "openrc-run". This fixes #119 and #120.
* update dependencies for clock serviceWilliam Hubbs2017-03-1628-16/+27
| | | | | | The clock services had a very long list of "before" dependencies that referred to other services within OpenRC. For ease of maintenance, convert these to "after clock" dependencies in the individual services.
* update news fileWilliam Hubbs2017-03-151-0/+12
|
* Remove all occurances of 'before *' from dependenciesWilliam Hubbs2017-03-142-2/+6
| | | | | | | | Using wildcards in dependencies causes issues when rc_parallel is set to yes because it can lead to deadlocks. All dependencies need to be explicit rather than implicit. This is the first stage of moving this direction.
* init.d/sysfs.in: efivarfs tweaksWilliam Hubbs2017-03-121-10/+6
| | | | | | | | Since we check for /sys/firmware/efi/efivars, we do not need to check for /sys/firmware/efi Since Failing to mount efivarfs is not critical, we silence the error message from mount.
* version 0.25William Hubbs2017-03-121-1/+1
|
* update ChangeLog0.24William Hubbs2017-03-091-332/+216
|
* add agetty serviceWilliam Hubbs2017-03-096-5/+67
| | | | | The agetty service is an alternate way to manage gettys with agetty under Linux which is separate from an external init system.
* init.d/sysfs: drop modules completely from the dependenciesWilliam Hubbs2017-03-081-1/+0
| | | | This is for #112.
* init.d/sysfs: Do not load efivarfs moduleWilliam Hubbs2017-03-071-12/+5
| | | | | | | My understanding is that the kernel can autoload this module. If it doesn't, the module should be built in or loaded from an initramfs. This fixes https://github.com/openrc/openrc/pulls/112.
* make sure netmount and localmount start after rootWilliam Hubbs2017-02-282-2/+4
|
* net-online: typo fixWilliam Hubbs2017-02-261-1/+1
|
* net-online: updates to make the service more usableWilliam Hubbs2017-02-262-21/+17
| | | | | | | - switch from attempting to ping the default gateway to a host outside the local network, defaulting to google.com. - along with this, change the name of the variable that requests a ping test to include_ping_test so the meaning is more clear.
* sh/rc-functions.sh.in: add get_bootparam_value functionWilliam Hubbs2017-02-231-0/+34
|
* move init.d examples under support and install themWilliam Hubbs2017-02-2217-7/+8
|
* scripts: make sure the rc-sstat symlink is always replacedWilliam Hubbs2017-02-221-1/+1
|
* install support filesWilliam Hubbs2017-02-186-1/+50
| | | | | | These files have been in the distribution for some time but haven't been installed. They are good examples of how to do things, so we should install them.
* support: rename all README files to README.mdWilliam Hubbs2017-02-172-0/+0
|
* Move deptree2dot to the support folderWilliam Hubbs2017-02-176-10/+17
| | | | | | | | | | | | Since deptree2dot and the perl requirement are completely optional, we can move this tool to the support folder. This gives the user the option of using it if they have perl installed, and means we do not have an optional runtime dependency on perl. Documentation for this tool has also been added to the support folder. X-Gentoo-Bug: 600742 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=600742
* test/setup_env: ensure that eval_ecolors is available on the path.William Pitcock2017-01-311-4/+4
| | | | | | | | | The test environment previously used the system default paths instead of installing the necessary $PATH environment variable to make finding eval_ecolors work. This closes #117. X-Gentoo-Bug: 374191. X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=374191.
* Fix typo in guide.mdNicolas Porcel2017-01-261-1/+1
| | | | This fixes #115.
* Revert "scripts: do not substitute for @SHELL@ in rc-sstat"William Hubbs2017-01-262-1/+2
| | | | This reverts commit e2e652e469efa5f3ebcd69828ff16d8f5ad3f1b8.
* start-stop-daemon: allow all standard signalsDoug Freed2017-01-251-19/+38
| | | | | | | | Also we define the signalpair_item macro. This fixes #113. X-Gentoo-Bug: 604986 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604986
* scripts: do not substitute for @SHELL@ in rc-sstatWilliam Hubbs2017-01-082-2/+1
|
* mountinfo: make the path to /proc/mounts a constantWilliam Hubbs2017-01-041-1/+2
| | | | | | | | | | This path should not be hard coded in the open call. Linux prior to 2.4.19 did not have /proc/self/mounts, so for now I'm making this value /proc/mounts everywhere, but that may change to /proc/self/mounts on linux; I'm not sure we should care about <2.4.19. X-Gentoo-Bug: 604646 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604646
* Clean up warnings that can use the _unused macroBenda Xu2017-01-044-5/+12
| | | | | X-Gentoo-Bug: 604666 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666
* Indentation fixesBenda Xu2017-01-042-13/+13
| | | | | X-Gentoo-Bug: 604666 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666
* Drop the use of the _BSD_SOURCE macro on LinuxBenda Xu2017-01-041-1/+1
| | | | | X-Gentoo-Bug: 604666 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666
* Drop the use of the _BSD_SOURCE macro on GNU/HurdBenda Xu2017-01-041-1/+1
| | | | | X-Gentoo-Bug: 604666 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666
* loopback: drop explicit route for BSD tooDoug Freed2016-12-211-1/+0
|
* version 0.24William Hubbs2016-12-211-1/+1
|