1. Eugene Yunak
  2. initscripts-fork

Commits

Show all
Author Commit Message Date Builds
Sébastien Luttringer
Fix and clean forcefsk detection Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Tags
2011.04.1
Sébastien Luttringer
Add an rc helper This is allow a quick calling to /etc/rc.d scripts by calling a shell command. By example, starting sshd and gpm can be done by typing: rc start sshd gpm rc can also list available scripts and show which is started/stopped in DAEMONS [tomegun: fixed detection of autostart of background services] Signed-off-by: Sebastien Luttringer <seblu@seblu.net> Signed-off-by: Tom Gundersen <teg@jklm.no>
Sébastien Luttringer
Fix incomplete daemon detection in have_daemon A daemon is an executable _file_ in /etc/rc.d. Directory like functions.d is not a daemon. Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Sébastien Luttringer
Fix console verbosity and add config via rc.conf 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>
Sébastien Luttringer
mdadm: disable SoftRAID detection 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>
Tom Gundersen
Add utmp group support Fixes FS#23309. Signed-off-by: Tom Gundersen <teg@jklm.no>
Sébastien Luttringer
Move /var/run/daemons to /run/daemons Signed-off-by: Sebastien Luttringer <seblu@seblu.net> Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
/run: mount /run if it is not already mounted This is in accordance with the new "standard" agreed on by the major distros, and discussed on our mailinglists. This folder will be used by udev/mdadm and other tools rather than putting things in /dev/.XXX. In the future we might symlink /var/{run,lock} to /run/{,lock} as the other distros are intending to do. First, we would have to make sure that /var/{run,lock} can be mounted as tmpfs withou…
Sébastien Luttringer
fix syntax error from 71a1b74eb778540d412705b09a24f1d2ba123a2b Signed-off-by: Sebastien Luttringer <seblu@seblu.net> Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
depmod: no longer update module dependencies on boot This should not be necessary as the packages installing modules should be responsible for updating the dependencies. Furthermore, as modules can be loaded very early in boot, but depmod can only be called after root is mounted rw, we can not rely on depmod fixing broken module dependencies. Fixes: FS#20174. Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
dev: create pts and shm directories Creates the mountpoints for the standard api filesystems in /etc/fstab. At the moment this is already done by /lib/udev/devices in our udev package. However, with this change it is possible to boot a fully working system with the udev unaltered from upstream. For the future, this patch allows us to get rid of the /lib/udev/devices directory from the udev package alltogether. v2: simplified afte…
Tom Gundersen
workaround: do not set property=STARTUP=1 when calling udevadm This was needed to properly deal with dm devices being created in initrd. However, the lvm2/devicemapper rule files no longer use this property and now contain a proper fix. By grepping through /lib/udev/rules.d I could not find any other rule file using this property. Finally, the startup script submitted to systemd by the udev maintainer does not set the property, and there has not been any bug…
Tom Gundersen
workaround: do not unset NIS on shutdown If this bug is still present (after more than 4 years) it should be reported and fixed in syslog-ng. Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
workaround: do not rmmod psmouse If this bug is still present (after more than 4 years) it should be reported and fixed in the kernel. Dave points out that this was fixed by kernel commit a1cec06177386 (which is in 2.6.21 and was backported to at least 2.6.19.6). Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
mtab: don't write to mtab if it is a symlink In the future /etc/mtab should be a symlink to /proc/self/mounts, add support for this in rc.sysinit to be prepared. While strictly not needed, this makes it clear that the functionality can be removed once we move over to using symlinks. This functionality is expected with the next release of util-linux (2.20), but is already available in the current version if the experimental libmount support …
Tom Gundersen
hotplug: properly clear the path to hotplug/uevent_helper /proc/sys/kerne/hotplug has been deprecated (moved to /sys/kernel/uevent_helper) since 2.6.16. This updates it. Note, this should not be necessary, as there is no reason this string should not already be empty. Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
Revert "udevadm: retry failed udev events after filesystems have been mounted" This revert commit 258935d3ee996b0790f39551e6b56596db71c9a8. This follows upstream commit baf2b4 where the systemd unit udev-retry.service is removed, and upstream commit 864fde where the --failed logic is deprecated alltogether. Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
status: synchronise the status message This trivial patch moves the start of the LOCALE status message to before the first command. This should not make a difference, as all the commands should be instantaneos, but might be helpful in case of a bug. v2: simplified after suggestion from Seblu Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
Merge branch 'hwclock-from-kurt' into arch-master Conflicts: rc.shutdown rc.sysinit
Kurt J. Bosch
Change hardware clock default to UTC Signed-off-by: Tom Gundersen <teg@jklm.no>
Kurt J. Bosch
Make hwclock --adjust as well as --systohc optional (FS#13684) Signed-off-by: Tom Gundersen <teg@jklm.no>
Dave Reisner
rc.sysinit: condense calls to rm Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
Dave Reisner
network: cleanup variable declarations * replace use of eval with variable indirection * scope variables to functions Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
Dave Reisner
use bash's kill builtin instead of /bin/kill Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
Dave Reisner
whitespace cleanup * adhere to a consistant vim modeline * use top-right/bottom-left braces for functions Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
Sébastien Luttringer
Allow loading of multiple keymaps when LOCALE is UTF-8 Close FS#23373. Signed-off-by: Seblu <seblu@seblu.net> Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
udev: do not automatically save persistent net/cd udev rules to /etc on boot udev contains rules to generate persistent symlinks, if they do not work as intendend this should be reported upstream. Furthermore, upstream discourages using /dev/.udev as its format might change at any time. As of upstream commit 5f59fa0900a5 the location has changed to /dev/.run/udev, so we would have to make a change either way. Signed-off-by: Tom Gundersen <teg@jklm.no>
Sébastien Luttringer
Add BTRFS support in initscripts 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>
Sébastien Luttringer
Add UDEV_TIMEOUT option This allow to set a custom timeout for udev events processing. Close FS#20764 Signed-off-by: Seblu <seblu@seblu.net>
Sébastien Luttringer
Add davfs to the list of network filesystems in netfs Close FS#19952 Signed-off-by: Seblu <seblu@seblu.net>
  1. Prev
  2. Next