Age | Commit message (Collapse) | Author | Files |
|
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Abstract the unquoting logic from parse_envfile into unquote() and reuse
it for our crypttab unlock logic.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
As per crypttab(5), this is supported. This also adds forward looking support
for PARTUUID, which is valid and should "just work" for GPT partitioned disks.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Rather than pointing to the documentation online, include the
documentation here.
The main point with the documentation is to point out that these
things should not be used.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
The compat layer might attempt to start this, but that is never
necessary, as systemd deals with remote-fs internally.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Unify this as much as possible, write out MODULES to a
modules-load.d file in /run before calling systemd-modules-load,
rather than using modprobe directly.
This should not make any difference to the functionality.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Reported-by: Ali Kaasinen <ali.kaasinen@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
This is a bit different from the other instructions, so make it extra
clear.
Reported-by: Myra Nelson <myra.nelson@hughes.net>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
The check was inverted. Just do this unconditionally.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This never worked.
Reported-by: James Gordon <drwitherstone@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Reported-by: Oded
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Reported-by: Eric Fernandez <zebcom@zebulon.org.uk>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Fixes FS#30891
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
|
|
Don't create wrapper services, for things that are not exectuable files.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This makes sure that systemd supports some initscripts API's. With this
patch, systemd will:
* Parse and use DAEMONS and MODULES from rc.conf
* Run rc.local and rc.local.shutdown on boot and shutdown respectively
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
|
|
Suggested-by: Pierre Schmitz <pierre@archlinux.org>
Suggested-by: Karol Blazewicz <karol.blazewicz@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
[00:31] <dgbaley27> tomegun: typo rc.conf:5
[00:31] <tomegun> dgbaley27: thanks
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This outlines what files needs to be configured to get a well-behaved
system.
For now it is extremely terse, but the main point is to work as a
check-list, and to point people to the correct manpages to learn more.
I'll be happy to take patches to extend this in the future.
One might argue that this sholud not be part of initscripts, and we
might indeed move it to 'filesystem' or something like that in the
future. For the time being I'll keep it here for convenience.
Suggested-by: Thomas Bächler <thomas@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Increase the max log level to avoid INFO messages.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
|
|
This should be safe for freshly mapped swap space, especially since we
check that blkid returns 2.
|
|
This is now handled by udev. Leaving it set does no harm.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
For silly reasons. Don't ask.
|
|
Reported-by: c <carstenmattner@gmail.com>
Reported-by: Evangelos Foutras <evangelos@foutrelis.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
[tomegun: or rather, we should not have a special-case to avoid it.
mounting sysfs here is still almost certainly the wrong thing to do]
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Reported-by: c <carstenmattner@gmail.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>
|
|
Since this is technically public API, the -v flag shouldn't be removed
so easily. Re-add it, but make it a NOOP to support existing uses of it.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Keep, but comment out some settings that should be set in rc.conf, if needed.
Other settings should really not be used at all.
Also shuffel around the manpage a bit.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Report: <https://github.com/archlinuxarm/PKGBUILDs/issues/211>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
The valid options are documented in rc.conf(5). Keeping everything in the manpage means we don't
have to deal with .pacnew files when updating minor detals (such as default options).
Furthermore, all the removed options are recommended to be left unset. Only if you have special
needs should you need to change them.
This rc.conf file can be used unchanged on a basic system (with network, logging and cron).
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
In the absence of an interface, dhcpcd will do the right thing. Or ip will complain.
|
|
Recommend using the 'systemd' configuration files whereever that makes sense. Update to reflect
various changes that have occurred since this was first written.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
If the interface is missing and we use dhcpcd, we do the right thing.
Otherwise, ip or dhcpcd will complain for us.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This is done in 'functions' which is sourced by rc.sysinit. Furthermore, this makes
sure we take DAEMON_LOCALE into account.
Report: <https://bbs.archlinux.org/viewtopic.php?pid=1125166>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Add a new option '-q' which allows status() to be shut up, should it be needed.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This should make the lives of our downstreams slightly simpler by not having to patch rc.sysinit,
but rather just ship their own /etc/os-release.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
blkid returns 2 when nothing is found on the device, which is exactly when we want to
use it.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This now uses the systemd code, and is in line with do_unlock.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
I created a mess half-way between the legacy and the systemd outputs.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|