aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-11fix to_time_t to honor dstWilliam Hubbs
2017-05-11fix from_time_t functionWilliam Hubbs
2017-05-11Move time_t conversions to rc-misc.c so they can be sharedWilliam Hubbs
2017-05-11supervise-daemon: save start time and respawn countWilliam Hubbs
This will allow rc-status to display an uptime and restart count for supervised processes.
2017-05-11supervise-daemon: fix our status when we give up on the child processWilliam Hubbs
2017-05-10supervise-daemon:create multiple options from --respawn-limitWilliam Hubbs
This creates --respawn-delay, --respawn-max and --respawn-period. It was suggested that it would be easier to follow if the options were separated. This is for #126.
2017-05-09supervise-daemon: add a --respawn-limit optionWilliam Hubbs
Allow limiting the number of times supervise-daemon will attempt to respawn a daemon once it has died to prevent infinite respawning. Also, set a reasonable default limit (10 times in a 5 second period). This is for issue #126.
2017-04-29supervise-daemon: mark all open file descriptors FD_CLOEXECWilliam Hubbs
2017-04-29supervise-daemon:remove the controlling tty in the supervisorWilliam Hubbs
2017-04-29supervise-daemon: fix access to tty_fd and devnull_fdWilliam Hubbs
Both the child and supervisor need access to these file descriptors.
2017-04-29supervise-daemon: mark the service started when the supervisor is activeWilliam Hubbs
2017-04-19version 0.26William Hubbs
2017-04-17update ChangeLogWilliam Hubbs
2017-04-17init: send term/kill signals as final step of shutdownWilliam Hubbs
2017-04-14reword the bugs section of the openrc-init man pageWilliam Hubbs
2017-04-13init: fix signal handlingWilliam Hubbs
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.
2017-04-12init: add re-exec capabilityWilliam Hubbs
This will allow the re-execution of the init process after upgrading OpenRC.
2017-04-10bootmisc: do not remove ld-elf32.so.hintsi.Dark_Templar
File /var/run/ld-elf32.so.hints is used on FreeBSD 64bit multilib This fixes #125.
2017-04-07Add attribution to openrc-init.c and openrc-shutdown.cWilliam Hubbs
2017-04-06add init processWilliam Hubbs
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.
2017-04-05Fix make install on FreeBSD: don't try to install /etc/init.d/modules twicei.Dark_Templar
2017-04-03start-stop-daemon: warn if calling --start with --retry or --stop with --waitAustin English
This fixes #122
2017-03-31init.d/agetty.in: add -prefix keywordWilliam Hubbs
2017-03-31init.d/mount-ro: change dependency on killprocs and savecache to afterWilliam Hubbs
killprocs always succeeds and savecache is not required by mount-ro, so we can just start after both of these have run.
2017-03-31agetty-guide: typo fixWilliam Hubbs
2017-03-28init.d: add agetty to ignore patternsWilliam Hubbs
2017-03-23sh/gendepends.sh.in: fix detection of service scriptsWilliam Hubbs
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.
2017-03-16update dependencies for clock serviceWilliam Hubbs
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.
2017-03-15update news fileWilliam Hubbs
2017-03-14Remove all occurances of 'before *' from dependenciesWilliam Hubbs
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.
2017-03-12init.d/sysfs.in: efivarfs tweaksWilliam Hubbs
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.
2017-03-12version 0.25William Hubbs
2017-03-09update ChangeLogWilliam Hubbs
2017-03-09add agetty serviceWilliam Hubbs
The agetty service is an alternate way to manage gettys with agetty under Linux which is separate from an external init system.
2017-03-08init.d/sysfs: drop modules completely from the dependenciesWilliam Hubbs
This is for #112.
2017-03-07init.d/sysfs: Do not load efivarfs moduleWilliam Hubbs
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.
2017-02-28make sure netmount and localmount start after rootWilliam Hubbs
2017-02-26net-online: typo fixWilliam Hubbs
2017-02-26net-online: updates to make the service more usableWilliam Hubbs
- 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.
2017-02-23sh/rc-functions.sh.in: add get_bootparam_value functionWilliam Hubbs
2017-02-22move init.d examples under support and install themWilliam Hubbs
2017-02-22scripts: make sure the rc-sstat symlink is always replacedWilliam Hubbs
2017-02-18install support filesWilliam Hubbs
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.
2017-02-17support: rename all README files to README.mdWilliam Hubbs
2017-02-17Move deptree2dot to the support folderWilliam Hubbs
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
2017-01-31test/setup_env: ensure that eval_ecolors is available on the path.William Pitcock
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.
2017-01-26Fix typo in guide.mdNicolas Porcel
This fixes #115.
2017-01-26Revert "scripts: do not substitute for @SHELL@ in rc-sstat"William Hubbs
This reverts commit e2e652e469efa5f3ebcd69828ff16d8f5ad3f1b8.
2017-01-25start-stop-daemon: allow all standard signalsDoug Freed
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
2017-01-08scripts: do not substitute for @SHELL@ in rc-sstatWilliam Hubbs