aboutsummaryrefslogtreecommitdiff
path: root/conf.d
AgeCommit message (Collapse)Author
2022-12-08make the location of the swclock reference file configurableWilliam Hubbs
This fixes #565.
2022-04-30multiple spelling and typo fixesJosh Soref
This fixes #516.
2022-04-20seedrng: incorporate various improvementsJason A. Donenfeld
There have been a number of subtle improvements and cleanups to seedrng, including using openat and locking the directory fd instead of a separate lock file. Also various stylistic cleanups. This fixes #519. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-04-06migrate fully to meson build systemWilliam Hubbs
- drop old build system - move shared include and source files to common directory - drop "rc-" prefix from shared include and source files - move executable-specific code to individual directories under src - adjust top-level .gitignore file for new build system This closes #489.
2022-03-30add seedrng service for LinuxWilliam Hubbs
This moves urandom to *bsd only and adds seedrng as a separate service for Linux. This fixes #510
2022-03-26Use seedrng for seeding the random number generatorJason A. Donenfeld
The RNG can't actually be seeded from a shell script, due to the reliance on ioctls. For this reason, the seedrng project provides a basic script meant to be copy and pasted into projects like OpenRC and tweaked as needed: https://git.zx2c4.com/seedrng/about/ This commit imports it into OpenRC and wires up /etc/init.d/urandom to call it. It shouldn't be called by other things on the system, so it lives in rc_sbindir. Closes #506. Closes #507. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-12-07killprocs: add kill_delay settingWilliam Hubbs
This allows containers using OpenRC based services to be configured to allow open tcp connections to be closed before they are shut down. This fixes #476.
2021-09-04add meson build filesWilliam Hubbs
Closes #116. Closes #171. Closes #172. Closes #175.
2021-08-13conf.d/hostname: clarify hostname variable usageAlex Xu
https://gitlab.alpinelinux.org/alpine/aports/-/issues/9744 This fixes #433.
2018-06-29modules: remove the ability to rename modules on the flyWilliam Hubbs
Kmod doesn't support the -o switch, so if you have been using this your module loads have been failing.
2017-11-14strongly encourage Linux users to not make /etc/mtab a flat fileWilliam Hubbs
The OpenRC team does not currently know of any modern linux tools that require /etc/mtab to be a flat file, so this puts users on notice that the mtab service will be removed in the future.
2017-10-06add option to make agetty startup quietChris Cromer
This fixes #150
2017-07-24Typo fixJohn R. Graham
X-Gentoo-Bug: 624908 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=624908
2017-05-30Change killprocs to use kill_all instead of killall5William Hubbs
X-Gentoo-Bug:376977 X-Gentoo-Bug-URL:https://bugs.gentoo.org/show_bug.cgi?id=376977
2017-05-22typo fixWilliam Hubbs
X-Gentoo-Bug: 618888 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=618888
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-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.
2016-12-01split tmpfiles processing into opentmpfilesWilliam Hubbs
The openntmpfiles package is designed so that it can be used on systems independently of whether openrc is used.
2016-11-03conf.d/net-online: clarify comment about interfaces settingWilliam Hubbs
This setting refers to all interfaces that support ethernet
2016-09-05remove swapfiles serviceWilliam Hubbs
The swapfiles service was basically a copy of the swap service, so this commit consolidates the functionality into the swap service. X-Funtoo-Bug-URL: https://bugs.funtoo.org/browse/FL-2523 X-Gentoo-Bug: 568162 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=568162
2016-07-19conf.d: remove staticroute file fragmentsWilliam Hubbs
2016-07-19conf.d: makestaticroute file staticWilliam Hubbs
2016-07-19conf.d: remove network file fragnentsWilliam Hubbs
2016-07-19conf.d: make network file staticWilliam Hubbs
2016-07-18modules: add support for FreeBSDWilliam Hubbs
This is based on a patch submitted by Joe Maloney <pkgdemonteam@gmail.com>. This fixes #91.
2016-04-25localmount/netmount: allow mount points to be marked criticalWilliam Hubbs
In previous releases, we either treated no mount points as critical or all of them. Now both localmount and netmount support a critical_mounts setting. If mount points listed in this setting fail to mount, localmount and netmount will fail.
2016-01-19conf.d/bootmisc: typo fix: s/dmesc/dmesg/Gokturk Yuksek
This fixes #72.
2016-01-19localmount: Allow users to control whether errors are ignoredWilliam Hubbs
X-Gentoo-Bug: 572138 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572138
2016-01-13allow the user to decide whether fsck aborts for errorsjoe9
X-Gentoo-Bug: 564008 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=564008
2015-11-11conf.d/netmount: typo fixWilliam Hubbs
X-Gentoo-Bug: 564846 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=564846
2015-10-21bootmisc: optionally save the previous dmesg logWilliam Hubbs
X-Gentoo-Bug: 561204 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=561204
2015-10-20Add net-online serviceWilliam Hubbs
2015-10-14mtab: make /etc/mtab as a file configurableWilliam Hubbs
2014-10-23add missing files for GNU/HurdSvante Signell
2014-10-22Add missing files for GNU/kFreeBSDGabriele Giacone
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-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-03-13conf.d/hwclock: typo fixWilliam Hubbs
2014-01-09conf.d/keymaps: Remove the currency and euro symbolsWilliam Hubbs
A comment in this file had the actual currency and euro symbols, which were not utf-8, so I was requested to remove them. X-Gentoo-Bug: 494936 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=494936
2014-01-05devfs: add code to mount /devWilliam Hubbs
All Linux systems need /dev to be set up,so add code to devfs to do this. The process devfs follows is below. 1. If static_dev is yes, nothing is done. 2. if /dev is an entry in fstab it is mounted or remounted based on that entry. 3. If /dev is not in fstab, it attempts to mount /dev as a devtmpfs or tmpfs depending on which is defined in the kernel; devtmpfs is preferred. 4. If neither devtmpfs nor tmpfs is defined, it assumes the user wants static /dev and prints a warning. X-Gentoo-Bug: 492694 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=492694
2013-08-13Remove gentoo's net.* scriptsWilliam Hubbs
It has been determined that it will be best for gentoo's net.* scripts to be in a separate package to allow independent development. This package will be called netifrc and maintained by Gentoo.
2013-02-11Rename shutdown_network setting to keep_networkWilliam Hubbs
We were telling users that setting shutdown_network=YES would shut down the network interfaces during shutdown, but this was exactly the opposite of what we were doing. The default was YES, which was keeping the interfaces active. This keeps the default behavior, but renames the setting to keep_network which more accurately describes its function, and instructs users to set it to NO if they want the network interfaces to go down.
2012-11-29netmount: make "net" the default network option for nowWilliam Hubbs
Currently, we have the net virtual, so we should use it as the default in this instance so that netmount comes up after it thinks the network is up. However, this is technically eroneous, because there is no way to know from the init system that we really have network connectivity. Reported-by: cheepeero@gmx.net X-Gentoo-Bug: 445116 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=445116
2012-10-31Tmpfiles: create and delete entries once in the boot runlevel.William Hubbs
Initially, we were creating tmpfiles entries in the sysinit runlevel and again in the boot runlevel. Systemd runs the --create and --remove options in one service called systemd-tmpfiles-setup after the local file systems are mounted. Now we have a service called tmpfiles.setup which emulates this. This also closes the bug mentioned below, since we were originally writing to files that were on read-only file systems and that were not available. Reported-by: <devurandom@gmx.net> X-Gentoo-Bug: 439012 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439012
2012-10-25netmount: drop need net from dependenciesWilliam Hubbs
Reported-by: <mattsch@gmail.com> X-Gentoo-Bug: 439658 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439658
2012-09-26tmpfiles.d init.d scriptsRobin H. Johnson
Now that the tmpfiles.d code is more tested, actually call it from init.d. It assumes that /run is already available when it runs. Please note it runs TWICE. - During sysinit, ideally just after /dev/shm is created, but before udev has started. After udev is also acceptable, but not ideal. - During boot, ideally just after localmount has completed. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2012-07-10fix the upstream default network stackWilliam Hubbs
The OpenRC upstream default network stack was changed, but there was no reason to change it. Now since we have the MKNET build switch, it is easy for the gentoo ebuild to install oldnet by default. The upstream default is newnet.
2012-07-10add the MKNET variable to select a network stackWilliam Hubbs
The MKNET variable can be used to select the network stack you want to build and install with OpenRC. The current default is the gentoo "oldnet" stack. If you want to install the OpenRC newnet stack, use MKNET=newnet on the make command line.
2012-07-09fix reference to dmesg man pageWilliam Hubbs
Correct the reference in conf.d/dmesg from dmesg(8) to dmesg(1). reported-by: <toralf.foerster@gmx.de> X-Gentoo-Bug: 425370 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=425370
2012-06-07fix consolefont documentation to reflect the default stateWilliam Hubbs
conf.d/consolefont was written as though the consolefont service was active by default. It is not, so this has been fixed. reported-by: Ikonta@yandex.ru X-Gentoo-Bug: 420037 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=420037