aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-01Fix incorrect handling of chroot option.Alexander Vershilov
Fixes #28. X-Gentoo-Bug: #527370 X-Gentoo-Bug-Url: https://bugs.gentoo.org/show_bug.cgi?id=527370
2014-10-27Add osclock serviceRalph Sennhauser
This scripts sole purpose is to "provide clock" on OSs that already take care of the clock being properly set.
2014-10-26Pass ncurses cflags to buildJohan Bergström
Fixes #25 Note from William Hubbs: The original patch overwrote CFLAGS. I modified this patch to add the ncurses cflags to CPPFLAGS instead of overwriting CFLAGS.
2014-10-24Fix compile errors created by bundling queue.hWilliam Hubbs
2014-10-23helpers.h, start-stop-daemon.c: remove uneeded macrosAnthony G. Basile
TAILQ_CONCAT, TAILQ_FOREACH_SAFE and LIST_FOREACH_SAFE are defined in our bundled queue.h and are no longer required.
2014-10-23Bundle <sys/queue.h> from NetBSDAnthony G. Basile
We are bundling this to allow building on musl-based systems since musl does not include <sys/queue.h>.
2014-10-23Fix all tests for GNU/kFreeBSDWilliam Hubbs
It is necessary to check for both the kernel and c library because __FreeBSD_kernel is also defined on native FreeBSD [1]. [1] http://sourceforge.net/p/predef/wiki/OperatingSystems/
2014-10-23Fix rc_svcdir for GNU/HurdGabriele Giacone
2014-10-23fix defines for GNU/HurdSvante Signell
2014-10-23add missing files for GNU/HurdSvante Signell
2014-10-22Fix rc_svcdir for GNU/kFreeBSDGabriele Giacone
2014-10-22Add missing files for GNU/kFreeBSDGabriele Giacone
2014-10-22Fix GNU/kFreeBSD portSvante Signell
Check for __FreeBSD_kernel instead of __GLIBC__ in source files. note from William Hubbs: I was told this is a better check for GNU/kFreeBSD than checking the C library the source is being compiled against. GNU/kFreeBSD than checking which library we are using.
2014-10-22einfo.h, rc.h.in: simplify __BEGIN_DECLS logicAnthony G. Basile
There is no need to redefine __BEGIN_DECLS and __END_DECLS. We simplify the logic here and avoid undefining these macros.
2014-10-21einfo.h, rc.h.in: ensure __BEGIN_DECLS is definedAnthony G. Basile
Some Standard C Libraries, like musl, don't define __BEGIN_DECLS or __END_DECLS. We add some ifdef magic to ensure these are available.
2014-10-20Update news file wrt chroot variableWilliam Hubbs
2014-10-20librc:look for the pid file in a chroot if definedAlexander Vershilov
X-Gentoo-Bug: 524388 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524388
2014-10-20runscript.sh: add chroot supportWilliam Hubbs
This adds support for a chroot variable which will be passed to the start-stop-daemon --chroot switch to runscript.sh when starting a daemon. This also needs to be saved so it can be used in locating the pid file when stopping the daemon. X-Gentoo-Bug: 524388 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524388
2014-10-20Add NEWS fileWilliam Hubbs
2014-10-16add back nfs and nfs4 file systemsWilliam Hubbs
Fix gentoo bug #427996 correctly. We should attempt to mount the file systems, but not try to start the daemons. The previous fix removed mounting the file systems as well as starting the daemons. X-Gentoo-Bug: 508574 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=508574
2014-10-06localmount: unmount aufs branchesRick Farina (ZeroChaos)
2014-09-20typo fixWilliam Hubbs
2014-09-19man: Document start_inactive and in_background_fakeWilliam Hubbs
2014-09-16Revert "sysfs: fix permissions on cgroup mounts"William Hubbs
This reverts commit 7a25491ced95e14b04b8fe6225171564c87fcde0. This was broken; I need to look further into it.
2014-09-16sysfs: fix permissions on cgroup mountsWilliam Hubbs
2014-09-11Use exception-based approach for cgroup/ulimit setupRoy Marples
Note from William Hubbs: I spoke with Roy about this, and he pointed out that user-defined functions may need the limits applied, so it is better to go with a method that uses exceptions to determine which functions apply the limits. X-Gentoo-Bug: 522408 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=522408
2014-09-11runscript: move verbose mode setting near debug settingWilliam Hubbs
2014-08-29savecache: check permissions on the correct directoryJoe M
2014-08-27tmpfiles.sh: add support for C actionAndrew Gregory
Recursively copies files or directories. Added by systemd in 849958d1.
2014-08-27tmpfiles.sh: add support for + modifierAndrew Gregory
systemd added support for b+, c+, p+, and L+ in 2e78fa79 and 1554afae to remove the target path if it already exists.
2014-08-22cgroups: fix cgroup subsystem mountingWilliam Hubbs
Originally, we aborted all of the cgroup setup if /sys/fs/cgroup/openrc was already mounted. This caused an issue in lxc containers, so we should always allow the subsystems to be mounted. X-Gentoo-Bug: 520606 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=520606
2014-08-17start work on 0.14William Hubbs
2014-08-17mtab: add verbose level deprecation warningsWilliam Hubbs
2014-08-17README: Clarify devfs changesWilliam Hubbs
I was informed that the previous explanation of the devfs changes could be interpreted to mean that we mount a second /dev on top of the one that was mounted by the kernel or initramfs. This change makes it clear that is not the case.
2014-08-16README: add notes about devfs changesWilliam Hubbs
2014-08-16adjust deprecation schedule for mtabWilliam Hubbs
- Quiet the deprecation messages forr now - update the feature removal schedule to reflect that it will be removed in 2.0.
2014-08-14Deprecate the mtab service scriptWilliam Hubbs
The mtab service script is no longer needed on modern Linux systems, so we can remove it in 1.0. However, we need to set a deprecation notice first.
2014-08-13tmpfiles: fix relabel to run restorecon before chown and chmodWilliam Hubbs
2014-08-13tmpfiles: Move relabelling before any other calls for device nodesJason Zaman
Device nodes are normally never device_t so this type does not have many permissions. After the mknod, the device should have its label corrected before any other operations (like chmod).
2014-08-11README: expand information about rc and runscript deprecationWilliam Hubbs
2014-08-11rc.conf: document rc_verboseWilliam Hubbs
2014-08-11Show rc and runscript deprecation warnings in verbose modeWilliam Hubbs
These messages are being changed for this release to show in verbose mode because of the number of times they display.
2014-08-10bootmisc: do not run the clean_run function in an LXC containerWilliam Hubbs
2014-08-10hwclock: fix comments about the usage of clock_hctosysWilliam Hubbs
The clock_hctosys variable should be set to YES if you are not using NTP to synchronize your system time; it doesn't have anything to do with the kernel configuration.
2014-08-09sysctl.linux.in: use the --system optionWilliam Hubbs
According to the sysctl man page, the --system option causes sysctl to process all system configuration files, which include the following: /run/sysctl.d/*.conf /etc/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /lib/sysctl.d/*.conf /etc/sysctl.conf X-Gentoo-Bug: 484796 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=484796
2014-08-08devfs: several small clarificationsWilliam Hubbs
- Rename the static_dev switch in conf.d/devfs to skip_mount_dev since this is a better description of what the switch does. - Clarify the error messages in the devfs service script based on the new name of the switch.
2014-08-07tmpfiles.sh: do not use installJason Zaman
install is in /usr which causes problems if /usr is not mounted. Instead, checkpath and "mkdir -p" can do everything required and are both available before /usr is mounted. Since checkpath also handles selinux labels correctly, _restorecon after is not required. X-Gentoo-Bug: 503408 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=503408
2014-07-28checkpath: apply ownership to all paths given on command lineWilliam Hubbs
The stat structure was not being initialized correctly in do_check. This was causing the owner adjustment to be skipped if the first path had the correct owner. Also, the "correcting owner" message should always be printed when the owner is being changed. X-Gentoo-Bug: 518042 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=518042
2014-07-25checkpath: style fixWilliam Hubbs
2014-07-24hwclock: always set the kernel's timezoneWilliam Hubbs
The hwclock service should set the time zone regardless of the setting of the clock_hctosys variable. This needs to be done to prevent issues when the system time is being synchronized using ntp. X-Gentoo-Bug: 434410 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=434410