aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2012-11-13Fix FS#315632013.06.1upstreamLukáš Jirkovský1
Interpret exscape sequences in the filessytem target while unmounting. Having recursive unmount would be probably better (see falconindy's comment on the bug), but IMO this workaround is good enough. [tomegun: recursive umount will almost certainly be in next util-linux, but that is still some time away, so we take this for now.] Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-10-14rc.conf.5: change titleTom Gundersen2
Make it clear that rc.conf is the config file for initscripts. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-10-07rc.conf: clarify recommendations for DAEMONS a bit2012.10.1Tom Gundersen1
Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-10-07arch-daemons: warn more loudly when a legacy rc script is being usedTom Gundersen1
This should hopefully help against people accidentally both using legacy units and native units for the same service at the same time. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-10-07rc.conf: default to empty DAEMONS arrayTom Gundersen2
The user should pick what daemons to use, no need to provide default ones. In particular as this is also used by systemd, where the default units no longer make sense. Suggested-by: Thomas Bächler <thomas@archlinux.org> Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-10-06arch-modules-load: drop from systemd compat layerTom Gundersen3
We now no longer support reading the MODULES array when booting with systemd. The support is kept in initscripts (though a warning is printed) for sake of compatibility. Both initscripts and systemd should be using the new modules-load.d syntax and we should remove all mention of the old from varios documentation, for the sake of simplicity. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-10-04PKGBUILD: update dependenciesTom Gundersen1
This reflects the mainline PKGBUILD. Depend on systemd, rather than systemd-tools and only optdepend on sysvinit.
2012-10-02hostname: don't try to set before /proc is mounted2012.09.2Tom Gundersen1
No idea how I did not spot this obvious bug. [tomegun: note to self, I didn't spot the bug because it is only a problem when not booting with an initramfs...] Fixes: FS#31765 Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-09-27hostname: set very early2012.09.1Tom Gundersen1
Also properly check for the deprecated use of rc.conf for this purpose, as we were getting lots of false positives. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-08-27Merge branch 'kill-DAEMON_LOCALE'Tom Gundersen5
Conflicts: functions
2012-08-27move archlinux(7) and locale.sh to filesystemTom Gundersen5
The new locale.sh makes DAEMON_LOCALE redundant, so we remove that functionality. A post-upgrade notice will be added. The new functionality will apply the settings to /etc/locale.conf system-wide, and allow each user to override it in $HOME/.config/locale.conf. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-08-23add some deprecation warningsTom Gundersen3
As we are moving to systemd, alert initscripts users in case they use the legacy configuration options. The legacy options will still work in initscripts, but eventually will not work with systemd. In other words, most users will want to switch to the new settings. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-08-20arch-daemons.target: add some documentation2012.08.3Tom Gundersen1
The point of the target is to allow it to be masked so DAEMONS will be ignored. Document this.
2012-08-20arch-daemons.target: add link to documentationTom Gundersen1
2012-08-20Remove SourcePath from arch-modules-load.serviceJan Alexander Steffens (heftig)1
This setting is intended for dynamically created units. Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2012-08-20Add special target for rc.conf DAEMONSJan Alexander Steffens (heftig)3
This (re)introduces arch-daemons.target, so a simple systemctl mask arch-daemons.target will suppress the starting of DAEMONS from rc.conf. Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2012-08-16systemd: fix typos in service filesTom Gundersen2
Reported-by: Thomas Weißschuh <thomas_weissschuh@lavabit.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-08-12cryptsetup: support the password being unsetTom Gundersen1
2012-08-12Merge remote-tracking branch 'falconindy/working'Tom Gundersen1
2012-08-12update .gitignoreTom Gundersen1
Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-08-11functions: support quoted UUID/PARTUUID in crypttabDave Reisner1
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>
2012-08-11functions: support UUID tags in /etc/crypttabDave Reisner1
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>
2012-08-11man: fix path to arch-daemons generatorTom Gundersen1
Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-08-09arch-modules-load, arch-daemons: add manpages2012.08.2Tom Gundersen5
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>
2012-08-04systemd: mask netfs.serviceTom Gundersen1
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>
2012-08-04modprobe: pass everything to systemd-modules-load2012.08.1Tom Gundersen1
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>
2012-08-03network: fix warning on trying to start a running networkTom Gundersen1
Reported-by: Ali Kaasinen <ali.kaasinen@gmail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-08-02archlinux.7: fix reference to syslinux config fileDave Reisner1
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-08-02man: clarify symlinking in archlinux(7)Tom Gundersen1
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>
2012-08-02lvm: fix activation of lvm after cryptestupTom Gundersen1
The check was inverted. Just do this unconditionally. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-08-02rc.sysinit: fix adjtime warningTom Gundersen1
This never worked. Reported-by: James Gordon <drwitherstone@gmail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-29rc-local-shutdown.service: don't conflict with shutdown.targetTom Gundersen1
Reported-by: Oded Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-28man: archlinux typoTom Gundersen1
Reported-by: Eric Fernandez <zebcom@zebulon.org.uk> Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-28archlinux man page: fix vconcole man page referenceEric Bélanger1
Fixes FS#30891 Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
2012-07-28arch-daemons: add some sanity checkingTom Gundersen1
Don't create wrapper services, for things that are not exectuable files. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-28merge initscripts-systemdTom Gundersen7
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>
2012-07-27archlinux man page: fix typosEric Bélanger1
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
2012-07-27man: change ArchLinux(7) into archlinux(7)2012.07.5Tom Gundersen2
Suggested-by: Pierre Schmitz <pierre@archlinux.org> Suggested-by: Karol Blazewicz <karol.blazewicz@gmail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-27rc.conf: typo in commentTom Gundersen1
[00:31] <dgbaley27> tomegun: typo rc.conf:5 [00:31] <tomegun> dgbaley27: thanks Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-27man: add ArchLinux(7)Tom Gundersen3
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>
2012-07-24systemd: also increase to LOG_NOTICE on shutdownTom Gundersen2
Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-24systemd: shut all the tools up a bitTom Gundersen1
Increase the max log level to avoid INFO messages. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-24Merge remote-tracking branch 'mmonaco/master'Tom Gundersen1
2012-07-24do_unlock_systemd: use mkswap -f as beforeMatthew Monaco1
This should be safe for freshly mapped swap space, especially since we check that blkid returns 2.
2012-07-24btrfs: remove USEBTRFSTom Gundersen3
This is now handled by udev. Leaving it set does no harm. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-24make: upload in a different orderTom Gundersen1
For silly reasons. Don't ask.
2012-07-23cryptsetup: fix usage of IFS2012.07.4Tom Gundersen1
Reported-by: c <carstenmattner@gmail.com> Reported-by: Evangelos Foutras <evangelos@foutrelis.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-23network: fix network_down when no interface is setTom Gundersen1
Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-23mount_all should also mount sysfsSébastien Luttringer1
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>
2012-07-21man: fix typoTom Gundersen1
Reported-by: c <carstenmattner@gmail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>