Age | Commit message (Collapse) | Author |
|
This reverts commit 6fe21269e5d54c52c168eac40225dca12a79c355.
git failure. this was not meant to be in master. nowhere near ready for
that :)
|
|
If we configure the console too early, the settings will be lost when
the KMS driver is loaded.
This fixes FS#30482, which is a duplicate of FS#29781 (which was fixed
and then broken again by me).
Reported-by: Robert <rbrtdlz@googlemail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
WORK IN PROGRESS; COMPLETELY UNTESTED!
In addition to supporting whatever systemd supports, we also support
all our own ways of specifying passphrases.
We have to look into how our "options" support differs from systemd's
and what we want to do about that.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
We were not deleting old files as we forgot to add the --clean flag
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This is done by tmpfiles, and we want to use the permissions in the config file, rather than
hardcoding them.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Any api filesystem which appears in fstab is remounted with the correct mount options at the end of boot.
Also, move the binfmt mount to where it is needed.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Allan McRae <allan@archlinux.org>
[tomegun: do the same for startup too]
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Removing this line produce a bad formating in man page
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
|
|
ck_depends is no more used and should not be used anymore
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
|
|
rc.d must have explicit daemon name with command other than list
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
|
|
This really does not matter very much, as this PKGBUILD file is for
convenience when building from git only. However, it just tripped
me up and caused me some needless head-scratching, so sort it out.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Export LANG as early as possible. Then start the log. Then setup the console.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
decide if we want utf8 mode
We no longer use LOCALE, so no need to set this.
Reported-by: Thomas Bächler <thomas@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This has been broken since its was added back in 3dbbd1e2.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
We no longer use grep.
Suggested-by: Igor Podlesny <for.poige+archlinux@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
These were useful in a transition period, but no need to keep them around.
If /usr is not mounted we probably won't even get this far. If devtmpfs is not supported
the previous mount of /dev would have given an errormessage.
This was prompted by a suggeston from Igor Podlesny to improve on the error handling, which
made me realise we could drop it.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This is a deprecated path in sysfs, and the check is illogical.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Explicitly pass "kexec" to the shutdown script if we detect a preloaded
kernel already in memory. We mask read errors for custom kernels where
kexec is not available.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
These are shipped as symlinks by filesystem 2012.06, so these checks are
no longer needed.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
This has the added bonus of scanning /etc/fstab and remounting API
filesystems should they be explicitly defined with extra options.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
We don't need to see all modules inserted on every boot.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
These are now shipped with systemd-tools.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
We only have one that is initsrcipts specific. Rename the tmpfiles
snippet from arch.conf to initscripts.conf as this is more accurate.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
No point in reinventing the wheel.
These and other tools are shipped in the systemd-tools
package. Functionality should be unchanged, but we no
longer have to maintain the code.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Currently, using "shutdown -F -r now" with fsck initcpio hook doesn't make a
full fsck on reboot.
Initscripts hook check if /run/initramfs/root-fsck is present to add -M option
to fsck which disable check of mounted filesystem. Initcpio doesn't check
/forcefsck file and create root-fsck file with a simple fsck check.
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
|
|
This should probably be fixed elsewhere, but for now only configure
the console once the KMS drivers have been loaded to avoid the settings
getting lost.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
The interface changed slightly, from "-p <file>" to
"-p<file>", compared with procps.
Reported-by: Boris <projekte@public-files.de>
Suggested-by: Eric Belanger <eric@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This avoids hangs due to '0' not being found and the system attempting to
look it up over ldap.
Suggested-by: Laurent Rahuel <laurent.rahuel@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
|
|
This makes sure the correct keymap is set before asking users for input
and it avoids (to the extent possible) fonts getting garbled when the font
is set.
Fixes: FS#29646 and FS#25599
Reported-by: Mathieu Pasquet <mathieui@mathieui.net>
Reported-by: <marcin2006@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This is deprecated by netcfg, so no need to keep documenting it. It stil
works as before, but we don't want to encourage its use.
Requested-by: Jouke Witteveen <j.witteveen@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
We should point to the manpage rather than rc.conf.
Fixes: FS#29494
Reported-by: Jason St. John <jstjohn@purdue.edu>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
If LANG is never set by /etc/locale.conf or /etc/rc.conf, ensure that we
fall back on LANG=C.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
We don't care about the side effects of the subshell created by the
pipe since everything is localized within this function. Use the more
"canonical" syntax. This should stop the recurring bug reports that we
seem to get from people who think they understand Bash syntax, e.g.
FS#27203
FS#28331
FS#29145
FS#28582
FS#27098
FS#29496
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Both the old and the new location works at the moment, but we want to remove the
symlink, so change to the new location.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This should have been done together with cb1ddfc15431f2e6498c93cd4da53e14f1147659.
Mea culpa.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Reported-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This will be enabled in the next release once we can coordinate with systemd.
I'd also like to document the other formats (tmpfiles, sysctl) at the same time.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This is the standard location with the new bash-completinos package.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
There is no reason not to use a keyfile, and allowing literal passphrases
in crypttab has caused issues with the parsing in the past. Furthermore,
it is not supported by any other crypttab implementation (to the best of my
knowledge). The use of keyfiles have been the recomendation in /etc/crypttab
for as long as I can remember.
We are looking at refactoring the encryption support, and I think it makes
sense to drop support for this when we move to the new implementation.
Cc: Thomas Bächler <thomas@archlinux.org>
Cc: Matthew Monaco <matt@0x01b.net>
Cc: Dave Reisner <d@falconindy.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
No functional change, just improve readability.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|