Age | Commit message (Collapse) | Author |
|
|
|
The Arch default was 30 but upstream default was 120. This caused problems when
udev-177-3 introduced a 30 second timeout for broken kernel drivers.
We don't want to do this kind of fiddling in initscripts, if there is a need for
overriding the timeout this should be added upstream to udev.conf. My feeling is
that this is a bad idea, as there are now at least three different kinds of timeouts
at play in udev, and if they are set to something incompatible it will cause unneccesary
problems.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Partially-requested-by: Dieter Plaetinck <dieter@plaetinck.be>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
People should refer to the manpage.
Reported-by: Andrea Scarpino <andrea@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
When doing the manpages, this made more sense to me, so change the default.
Also, this is apparently what other distros have been doing...
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
On a fresh install this makes sense as HARDWARECLOCK will then
be set to UTC, or something else if manually specified by an hwclock
invocation; TIMEZONE is left at whatever was set during install, or
UTC if nothing was set at all.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Since this is likely the first config file a new user will have to edit,
I guess we can be generous and point out that they should look at the man
page.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Having the documentation in the config file means users have to merge the config
file every time we update the documentation. Also, repeating the documentation in
two places means it will eventually go out of sync.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Many env vars in rc.conf can stay unset in most cases, make this clear
by keeping them empty by default and recommend keeping them like that if
possible.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
|
|
Conflicts:
PKGBUILD
|
|
This is mainly to support non-bash shells that cannot source rc.conf.
The format of /etc/locale.conf is described here:
<http://0pointer.de/public/systemd-man/locale.conf.html>.
If LANG is not set in locale.conf, then we fall back to LOCALE
from rc.conf, as before.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
These are only useful to a minority of users.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Conflicts:
functions
|
|
To avoid setting the kernel timezone with an out-of-date /etc/localtime, we pass TZ
directly to hwclock.
Also document how TIMEZONE and HARDWARECLOCK are optional in rc.conf
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
|
|
4cad51425325 removed the necessity for defining gateway, but we still
continued to check for it. Remove this check, as well as the check for
netmask. When not supplied, netmask will default to /24.
Signed-off-by: Dave Reisner <d@falconindy.com>
|
|
|
|
Without this broadcast address is not set.
broadcast= parameter can be empty. In this case the broadcast address
is derived by setting all of the interface host bits to one (+).
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
|
|
|
|
Conflicts:
rc.sysinit
Conflict with ip move away from /usr
|
|
Upstream already supports this via the loglevel= parameter on the kernel
cmdline, so we should support using this instead of our own homegrown
solution.
Signed-off-by: Dave Reisner <d@falconindy.com>
|
|
This will no longer have any effect with the new udev package.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Commit a3314c7697 deleted a bit too much of the comments from rc.conf.
This patch restores the comments/example used by netcfg, and clarifies
the comments a bit.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Conflicts:
functions
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Add comment to note that MOD_AUTOLOAD should always be "yes" and
blacklisting is no longer supported in the MODULES array.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This reverts commit 99d64f5789f01243903be4b32078ec38bdce75fa.
We decided not to provide a compatibility layer, but rather require
the user to create blacklist files in /etc/modprobe.d manually.
Hence, this is no longer needed.
The reason was that the compatibliy would not be 1-to-1, so it might
be missleading to pretend that it was. Also, most people should not
need the blacklisting in the first place.
Conflicts:
Makefile
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Provide large warnings when net-tools functionality is used. Add
documentation in rc.conf for the new iproute2 based config.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
udev will read /etc/modprobe.d/*.conf and blacklist all modules that are listed as
blacklist <module>
We parse rc.conf at boot and generate such a .conf file. It cannot be written to
/etc this early, so we save it to /run. A symlink exists in /etc to get the desired
functionality.
With this patch (and an analogous one in mkinitcpio) load-modules.sh can be removed
from the udev package without loss of significant functionality.
Setting MOD_AUTOLOAD will then no longer take effect, nor will kernel parameters.
Thouhgh, kernel parameters might still affect the initramfs as the implementation
is independent.
Original-idea-by: Benjamen Richer <br@waldteufel-online.net>
Based-on-patch-by: David Reisner <d@falconindy.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
|
|
|
|
I win the price for the most trivial patch!
Signed-off-by: Allan McRae <allan@archlinux.org>
|
|
This was horribly worded, in that it seemed like one should put an
actual locale value into the variable. In reality it should have been
named USE_DAEMON_LOCALE, but since we can't change that now, make it
very clear a 'yes' or 'no' is expected and nothing else.
[tomegun: removed typo]
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This patch fix verbosity which use var exported by initcpio in place of kernel.
Verbosity is an initscripts parameter, so it should have a definition in rc.conf.
Kernel parameter should be a shortcut. New option is called VERBOSE.
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
|
|
This job is done by recent version of mdadm in /lib/udev/rules.d/64-md-raid.rules.
This will also fix FS#20117.
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Use btrfs instead of btrfsctl. See:
https://btrfs.wiki.kernel.org/index.php/FAQ#How_do_I_do....3F
Close FS#19792
Signed-off-by: Seblu <seblu@seblu.net>
|
|
This allow to set a custom timeout for udev events processing.
Close FS#20764
Signed-off-by: Seblu <seblu@seblu.net>
|
|
fakeraid and lvm
|
|
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is configurable by the new rc.conf option DAEMON_LOCALE.
|
|
Setting NETWORK_PERSIST="yes" will skip network shutdown. This
is needed to cleanly halt or reboot the systemif your root device
is on NFS. It does not affect network profiles.
|
|
For virtualized machines, the hardware clock doesn't actually exist, so all
hwclock calls fail and print error messages during system startup, shutdown,
and the hourly adjtime cronjob. By explicitly looking for HARDWARECLOCK to
be set to 'UTC' or 'localtime', all other values will result in hwclock
calls being skipped (e.g. set the variable to 'none').
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
man hwclock implies this option is rarely necessary, and (almost) all
systems Arch supports surely have a /dev/rtc device and load the rtc driver
in the kernel. Even if this is not available, hwclock will fall back to
direct I/O requests anyway.
As a side note, the adjtime cronjob didn't even respect this setting anyway.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Make the capitalization "UTF-8" part of the locale field in rc.conf
match that used in /etc/locale.gen (FS#15825)
Signed-off-by: Allan McRae <allan@archlinux.org>
|
|
More of a sane default. Static config left as example
Ref: FS#12670
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
hwlock's manpage. This is contrary to the behaviour in older initscripts.
|