d35c1bb1f4b90993124f817f6f54a933e3be5f6b |
|
01-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
rfkill: rework and make it listen on /dev/rfkill
With this rework we introduce systemd-rfkill.service as singleton that
is activated via systemd-rfkill.socket that listens on /dev/rfkill. That
way, we get notified each time a new rfkill device shows up or changes
state, in which case we restore and save its current setting to disk.
This is nicer than the previous logic, as this means we save/restore
state even of rfkill devices that are around only intermittently, and
save/restore the state even if the system is shutdown abruptly instead
of cleanly.
This implements what I suggested in #1019 and obsoletes it. |
ea7b52374caa7f687c7e09b0102dbf834e5d2d88 |
|
12-Mar-2015 |
Kay Sievers <kay@vrfy.org> |
rules: systemd - remove legacy "ram" from block device blacklist |
812bd1e6ab4c463507557f2bdbb8875fedd92ade |
|
21-Nov-2014 |
Lennart Poettering <lennart@poettering.net> |
units: make sure rfkill service is bount to the actual hardware |
1b600437bac3c0676cc72f589909c4cbfe38ba10 |
|
07-Oct-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
/proc/sys prefixes are not necessary for sysctl anymore |
b5df2eabf3fdd3e1663bc4c948812472084f3e96 |
|
31-Jul-2014 |
Kevin Wells <wellsie1116@gmail.com> |
rules: allow systemd to manage loop device partitions
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. |
64dfe7b74446bd56e2d0e1588f900372ac13ae42 |
|
15-Jul-2014 |
Kay Sievers <kay@vrfy.org> |
rules: consistently use "?*" instead of "*?" |
fc6c7fe9becdd70ae6b671c396f2ad2db0b71cd7 |
|
13-Mar-2014 |
Hendrik Brueckner <brueckner@redhat.com> |
getty: Start getty on 3270 terminals available on Linux on System z
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 |
ebc54302d7fc70927d5dc119e178ff03f6a911ed |
|
10-Mar-2014 |
Peter Rajnoha <prajnoha@redhat.com> |
rules: mark loop device as SYSTEMD_READY=0 if no file is attached
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). |
07901fc142504efb67c07875a588933dc59a3955 |
|
31-Jan-2014 |
Hendrik Brueckner <brueckner@redhat.com> |
s390/getty-generator: initialize essential system terminals/consoles
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 |
e0d856dd48d640f3d95efe7b769edec02373cc74 |
|
16-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
rules: don't limit some of the rules to the "add" action
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. |
da999068475a8c62113de45fe10103bef0b6016a |
|
16-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
rules: expose loop block devices to systemd
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. |
be3f52f4ed02a9256b1577719677b32a17b525ac |
|
14-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
backlight: include ID_PATH in file names for backlight settings
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. |
f6f738db7273f8a2092ac372852f37f2a34cea17 |
|
14-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
rfkill: use ID_PATH as identifier for rfkill state files
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. |
3990f247652c3bd41e4ea074e6302277eb9c7aa3 |
|
14-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
rfkill: add new rfkill tool to save/restore rfkill state across reboots
This works analogous to the existing backlight and random seed services |
0f4ba83c397e807939a4eb0b2cbd04ad4ab548cc |
|
14-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
backlight: always prefer "firmware"/"platform" backlights over "raw" backlights if we have both for the same device |
1a0464230c08506c3fd715ff7cc56660df3a85ca |
|
11-Oct-2013 |
Bastien Nocera <hadess@hadess.net> |
Add support for saving/restoring keyboard backlights
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"] |
875c6e1b48f37a07dfbb80d6653c73f205e94260 |
|
14-Aug-2013 |
Lennart Poettering <lennart@poettering.net> |
backlight: instead of syspath use sysname for identifying backlight devices
This makes the description string of the backlight service a bit nicer. |
3731acf1acfb4a6eb68374a5b137f3b368f63381 |
|
14-Aug-2013 |
Lennart Poettering <lennart@poettering.net> |
backlight: add minimal tool to save/restore screen brightness across reboots
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. |
c647f10918940b5d11870df6d008c6c3180bdc41 |
|
17-Jun-2013 |
Ross Lagerwall <rosslagerwall@gmail.com> |
rules: only run systemd-sysctl when a network device is added
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". |
07845c142b41083bc759a18e601123aa5f6864f1 |
|
09-Oct-2012 |
Kay Sievers <kay@vrfy.org> |
udev: support multiple entries for ENV{SYSTEMD_ALIAS} and ENV{SYSTEM_WANTS} |
d2fff1ced447c09c6601a6617300467ccd81660b |
|
24-Sep-2012 |
Kay Sievers <kay@vrfy.org> |
rules: only mark MD disks, not partitions, with SYSTEMD_READY=0 |
45646bb0d1ac8f17a8401cf5c51034475719c7e1 |
|
30-Jul-2012 |
Harald Hoyer <harald@redhat.com> |
99-systemd.rules.in: ignore nbd in the "add" uevent |
44b5651f19b60a84dbfdbb0ea13196b784080c8b |
|
30-Jul-2012 |
Harald Hoyer <harald@redhat.com> |
rules/99-systemd.rules.in: ENV{SYSTEMD_READY}="0" for incomplete md |
a96e4839d5ba1b2cbc75d9a998b5f8ccfbb39544 |
|
24-Jul-2012 |
Michal Schmidt <mschmidt@redhat.com> |
rules: avoid mounting raid devices too early
/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 |
3306a5316851e3c7af12514d45c46da590f37311 |
|
14-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: trivial gtk-doc update |
88e995fd720a93460e7c3f38ac24512e6d96b3e8 |
|
12-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
getty: VC devices are always available, we don't need to wait until they show up |
5430f7f2bc7330f3088b894166bf3524a067e3d8 |
|
12-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
relicense to LGPLv2.1 (with exceptions)
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. |
3e2147858f21943d5f4a781c60f33ac22c6096ed |
|
04-Apr-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
move imported udev into place |