summaryrefslogtreecommitdiff
path: root/rules/99-systemd.rules.in
Commit message (Collapse)AuthorAge
* units: make sure rfkill service is bount to the actual hardwareLennart Poettering2014-11-21
|
* /proc/sys prefixes are not necessary for sysctl anymoreZbigniew Jędrzejewski-Szmek2014-10-07
|
* rules: allow systemd to manage loop device partitionsKevin Wells2014-07-31
| | | | | | | | | | SYSTEMD_READY is currently set to 0 for all loop devices (loop[0-9]*) that do not have a backing_file. Partitioned loop devices (ex. loop0p1), however, are matched by this rule and excluded by systemd even though they are active devices. This change adds an additional check to the rule, ensuring that only top level loop devices (loop[0-9]+$) are excluded from systemd.
* rules: consistently use "?*" instead of "*?"Kay Sievers2014-07-15
|
* getty: Start getty on 3270 terminals available on Linux on System zHendrik Brueckner2014-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the first 3270 terminal device that is associated with the Linux preferred console to the list of virtualization consoles. This is required to automatically start a getty if the conmode=3270 kernel parameter is specified for Linux on z/VM instances. Note that a queued upstream patch also enable the 3270 terminal device if it is associated with the Linux preferred console. How To successfully start agetty on a 3270 terminal, a change in the agetty parameter order is required. Previously, agetty would started like this: /sbin/agetty --keep-baud 3270/tty1 115200,38400,9600 TERM The agetty program interprets the "3270/tty1" as baud rate and fails to start with the "bad speed: 3270/tty1" error message. Fixing this in agetty is more complex rather than reordering the command line parameters like this: /sbin/agetty --keep-baud 115200,38400,9600 3270/tty1 TERM According to agetty sources and "agetty --help", agetty accepts the "tty", "baudrate tty", and "tty baudrate" specifications. P.S. The "tty: Set correct tty name in 'active' sysfs attribute" introduces a change to display the terminal device which is associated with the Linux preferred console. This change helps to let systemd handle this particular case only. Without the changes of this commit, no additional 3270 terminal device can be managed by systemd. https://git.kernel.org/cgit/linux/kernel/git/gregkh/tty.git/commit/?id=723abd87f6e536f1353c8f64f621520bc29523a3
* rules: mark loop device as SYSTEMD_READY=0 if no file is attachedPeter Rajnoha2014-03-10
| | | | | | Check existence of loop/backing_file in sysfs and mark loop devices with SYSTEMD_READY if missing. Such loop files is uninitialized and it's not ready for use yet (there's no file attached).
* s390/getty-generator: initialize essential system terminals/consolesHendrik Brueckner2014-01-31
| | | | | | | | | | | | | | | | | | | | | | Ensure to start getty programs on all essential system consoles on Linux on System z. Add these essential devices to the list of virtualization_consoles to always generate getty configurations. For the sake of completion, the list of essential consoles is: /dev/sclp_line0 - Operating system messages applet (LPAR) /dev/ttysclp0 - Integrated ASCII console applet (z/VM and LPAR) /dev/ttyS0 - Already handled by systemd (3215 console on z/VM) /dev/hvc0 - Already handled by systemd (IUCV HVC terminal on z/VM) Depending on the environment, z/VM or LPAR, only a subset of these terminals are available. See also RH BZ 860158[1] "Cannot login via Operating System Console into RHEL7 instance installed on a LPAR". This bugzilla actually blocks the installation of Linux on System z instances in LPAR mode. [1] https://bugzilla.redhat.com/show_bug.cgi?id=860158
* rules: don't limit some of the rules to the "add" actionLennart Poettering2013-10-16
| | | | | | Devices should show up in systemd regardless whether the user invoked "udevadm trigger" or not. Before this change some devices might have suddenly disappeared due issuing that command.
* rules: expose loop block devices to systemdLennart Poettering2013-10-16
| | | | | | Since the kernel no longer exposes a large number of "dead" loop devices it is OK to expose them now in systemd, so let's do that. This has the benefit that mount dependencies on loop devices start to work.
* backlight: include ID_PATH in file names for backlight settingsLennart Poettering2013-10-14
| | | | | | Much like for rfkill devices we should provide some stability regarding enumeration order, hence include the stable bits of the device path in the file name we store settings under.
* rfkill: use ID_PATH as identifier for rfkill state filesLennart Poettering2013-10-14
| | | | | | Let's include the stable device path for the rfkill devices in the name of the file we store the rfkill state in, so that we have some stability regarding enumeration order.
* rfkill: add new rfkill tool to save/restore rfkill state across rebootsLennart Poettering2013-10-14
| | | | This works analogous to the existing backlight and random seed services
* backlight: always prefer "firmware"/"platform" backlights over "raw" ↵Lennart Poettering2013-10-14
| | | | backlights if we have both for the same device
* Add support for saving/restoring keyboard backlightsBastien Nocera2013-10-11
| | | | | | | | | | | | Piggy-backing on the display backlight code, this saves and restores keyboard backlights on supported devices. The detection code matches that of UPower: http://cgit.freedesktop.org/upower/tree/src/up-kbd-backlight.c#n173 https://bugs.freedesktop.org/show_bug.cgi?id=70367 [tomegun: also work for devices named "{smc,samsung,asus}::kbd_backlight"]
* backlight: instead of syspath use sysname for identifying backlight devicesLennart Poettering2013-08-14
| | | | This makes the description string of the backlight service a bit nicer.
* backlight: add minimal tool to save/restore screen brightness across rebootsLennart Poettering2013-08-14
| | | | | | | | | | As many laptops don't save/restore screen brightness across reboots, let's do this in systemd with a minimal tool, that restores the brightness as early as possible, and saves it as late as possible. This will cover consoles and graphical logins, but graphical desktops should do their own per-user stuff probably. This only touches firmware brightness controls for now.
* rules: only run systemd-sysctl when a network device is addedRoss Lagerwall2013-06-17
| | | | | | Otherwise, when a network device is renamed, systemd-sysctl is run twice with the same network device name: once for ACTION="add" and once for ACTION="move".
* udev: support multiple entries for ENV{SYSTEMD_ALIAS} and ENV{SYSTEM_WANTS}Kay Sievers2012-10-09
|
* rules: only mark MD disks, not partitions, with SYSTEMD_READY=0Kay Sievers2012-09-24
|
* 99-systemd.rules.in: ignore nbd in the "add" ueventHarald Hoyer2012-07-30
|
* rules/99-systemd.rules.in: ENV{SYSTEMD_READY}="0" for incomplete mdHarald Hoyer2012-07-30
|
* rules: avoid mounting raid devices too earlyMichal Schmidt2012-07-24
| | | | | | | | | /dev/md0 appears as soon as the first component of the raid array is added by incremental assembly rules. This is too early for systemd to attempt to mount the device. The device should be considered plugged after the raid array becomes active. https://bugzilla.redhat.com/show_bug.cgi?id=767561
* udev: trivial gtk-doc updateKay Sievers2012-04-14
|
* getty: VC devices are always available, we don't need to wait until they show upLennart Poettering2012-04-12
|
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-12
| | | | | | | | | | | | | | We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
* move imported udev into placeKay Sievers2012-04-04