1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
Commit Graph

7845 Commits

Author SHA1 Message Date
Michael Olbrich
a6927d7ffc service: add watchdog timestamp
This patch adds WatchdogTimestamp[Monotonic] to the systemd service
D-Bus API. The timestamp is updated to the current time when the
service calls 'sd_nofity("WATCHDOG=1\n")'.
Using a timestamp instead of an 'alive' flag has two advantages:
1. No timeout is needed to define when a service is no longer alive.
   This simplifies both configuration (no timeout value) and
   implementation (no timeout event).
2. It is more robust. A 'dead' service might not be detected should
    systemd 'forget' to reset an 'alive' flag. It is much less likely
    to get a valid new timestamp if a service died.
2012-02-01 19:29:19 +01:00
Lennart Poettering
c4aa65e714 logind: add GetSessionByPID() bus call 2012-02-01 19:04:54 +01:00
Andreas Schwab
2b2823b4b5 ata_id: fix identify string fixup 2012-02-01 12:58:27 +01:00
Kay Sievers
09db3f5b66 ata_id: whitespace fixes 2012-02-01 12:58:27 +01:00
James M. Leddy
705b2a87cc keymap: Fix touchpad toggle button on Lenovo Ideapad
https://launchpad.net/bugs/922405

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2012-02-01 05:49:46 +01:00
Michal Schmidt
ede3deb425 socket: typo in dump output 2012-02-01 00:00:34 +01:00
Lennart Poettering
9b221b63e5 logind: if we have to stop a session, kill at least its leader 2012-01-31 23:51:39 +01:00
Lennart Poettering
7e64c73a93 update TODO 2012-01-31 23:13:25 +01:00
Lennart Poettering
9ba1a15985 load-fragment: properly parse size values denoted in bytes 2012-01-31 20:53:34 +01:00
Lennart Poettering
be19b7df6e journal: increase compression threshold for objects from 64 to 512
Apparently the perfomance price for compression is to steep to apply it
for all objects >= 64 and < 512 in size, as measured by Arjan Van De
Ven, hence increase the threshold to 512 which yields better results.
2012-01-31 20:38:53 +01:00
Ray Strode
8906b207d1 login: lock down input devices on extra seats
We need to tell the X server to grab the keyboards
and mice associated with a hotplugged seat, so that
it doesn't have the ability to control the kernel
vt consoles.
2012-01-31 20:00:36 +01:00
Lennart Poettering
b3e0604274 update TODO 2012-01-31 18:23:52 +01:00
Kay Sievers
927f3bc468 extras: cdrom_id - create only /dev/cdrom 2012-01-30 19:03:05 +01:00
Kay Sievers
4f552cc7a0 pkg-config: rootlibexecdir -> systemdutildir
Better don't export historic names for split / vs. /usr filesysystems.
2012-01-30 16:32:18 +01:00
Kay Sievers
19b66dc57c extras: cdrom_id - create /dev/cdrom and conditionally /dev/dvd for sr0
Udev does no longer automatically create udev rules in /etc from the
device hotplug path.

No device name reservation will happen anymore; this model creates
too many problems for setups with many device changes or media which
is booted on different hardware.

Enumerated device names which are based on device discovery order or
on persistent on-disk name reservation will in general not be supported
by udev in the future. It is a problem that can not be solved properly,
and it always creates new problems at the same time it tries to solve
the original one. Udev will no longer pretend it can solve these issues,
and people should switch to available alternatives which provide the
far better compromise.

From now on, udev will only create /dev/cdrom for the first optical
drive, and if the drive is capable /dev/dvd. No other devices will
get any compatibility symlinks or enumerated device names like cdrom1,
cdrom2, and so on. The /dev/cdrom and /dev/dvd links have by default
a negative link priority, which will cause them to be overwritten by
any other device which clains the same names with already existing
udev rules.

If stable device names are needed, the /dev/disk/by-id/ links, which
uniquely identify a specific piece of hardware should be used. The links
usually contain a device serial number and the link names will not depend
on device discovery order.

If completely identical devices with identical or no serial number
need to be handled at the same time, the /dev/disk/by-path/ links can
be used. These links depend on the physical port which is used to connect
the device. It will change when the same device is moved to a different
port or host adapter.

If custom names are needed, custom udev rules which match on specific
device properties need to be added by the administrator.
2012-01-30 15:20:12 +01:00
Kay Sievers
46d4274bb0 configure: show ROOTPREFIX in firmware path option help text 2012-01-30 14:53:28 +01:00
Michal Schmidt
512947d46f main: don't force text mode in console_setup()
When systemd starts, plymouth may be already displaying progress
graphically. Do not switch the console to text mode at that time.
All other users of reset_terminal_fd() do the switch as before.

This avoids a graphical glitch with plymouth, especially visible with
vesafb, but could be also seen as a sub-second blink with radeon.

https://bugzilla.redhat.com/show_bug.cgi?id=785548
2012-01-29 21:55:51 +01:00
Kay Sievers
f13289ffdf release 180 2012-01-29 05:53:06 +01:00
Kay Sievers
e7f3289033 do not stop rule processing when device node is no longer around
Device nodes might have been deleted again by the kernel before an
'add' or 'change' event is even started. We need to run all rules,
regardless of the state in /dev.
2012-01-29 05:48:45 +01:00
Mike Kazantsev
9c07474c6f logind: add sys_tty_config capability, to let it use VT_ACTIVATE ioctl on "activate" action 2012-01-27 21:14:01 +01:00
Lennart Poettering
02b16a19a4 logind: make sure we create /var/lib/systemd before using it 2012-01-27 20:48:28 +01:00
Mike Kazantsev
d8c9d1f9e4 build-sys: add creation of /var/lib/systemd path, used by logind 2012-01-27 19:56:44 +01:00
Lennart Poettering
ab8da6c266 pkg-config: export libexecdir, so that that gdm can use it to find the x server wrapper 2012-01-27 19:06:34 +01:00
Lennart Poettering
7d9eaa8461 socket: if SO_RCVBUFFORCE fails, fall back to SO_RCVBUF, to have at least a little effect 2012-01-27 18:58:02 +01:00
Lennart Poettering
bb99a35a87 log: increase socket buffers for logging by default 2012-01-27 18:57:37 +01:00
Lennart Poettering
632117b71f log: never delay logging if the log server is stuck, always drop messages quickly 2012-01-27 18:14:06 +01:00
Kay Sievers
a3642381eb builtin: blkid - add missing ID_ prefix for PART_ENTRY_* keys 2012-01-26 17:56:18 +01:00
Michal Schmidt
da375869ff mount: fix automount regression
Tom Gundersen noticed a regression where comment=systemd.automount in
fstab no longer prevented the adding of the After=foo.mount dependency
into local-fs.target. He bisected it to commit 9ddc4a26.

It turns out that clearing the default_dependencies flag is necessary
after all, in order to avoid complementing of Wants= with After= in the
target unit. We still want to add the dependencies on quota units and
umount.target though.
2012-01-26 01:19:19 +01:00
Kay Sievers
6528a3938f build-sys: we need to install shipped man pages without xsltproc installed 2012-01-25 16:54:24 +01:00
Lennart Poettering
d657c51f14 README: update header line 2012-01-25 02:20:38 +01:00
Lennart Poettering
bbd9b8c213 build-sys: enable automake's check-news option 2012-01-25 01:12:23 +01:00
Lennart Poettering
7f62569d70 build-sys: bump release 2012-01-25 01:07:31 +01:00
Lennart Poettering
220a21d38f build-sys: include NEWS file for v38, v39 2012-01-25 01:02:41 +01:00
Lennart Poettering
7d39db92c5 virt: detect LXC+libvirt containers 2012-01-25 00:13:05 +01:00
Lennart Poettering
caa9488700 man: document systemd-cgtop tool 2012-01-25 00:12:47 +01:00
Kay Sievers
3163ddd40d Makefile: update kernel.org hooks 2012-01-25 00:11:21 +01:00
Kay Sievers
9c15822291 release 179 2012-01-25 00:01:24 +01:00
Kay Sievers
9c4eda1260 fix path to extras 2012-01-24 15:12:46 +01:00
Lennart Poettering
be70cdd67a login: fix multi-seat check 2012-01-24 05:15:04 +01:00
Lennart Poettering
b16f53046d login: extend comments in multi-seat-x 2012-01-24 04:32:09 +01:00
Kay Sievers
e605cf7782 use sysname() for devices without a device node 2012-01-24 04:29:59 +01:00
Kay Sievers
e483478115 build-sys: enable everything for 'make distcheck' 2012-01-24 03:20:46 +01:00
Lennart Poettering
36db9a8d5b login: add multi-session X wrapper
In preparation for https://bugzilla.gnome.org/show_bug.cgi?id=655380 we
decided it's better to include the multi-seat X wrapper in systemd,
rather than gdm. (Side effect: this makes this accessible for other
DMs)

This is a stop-gap for now, until X gins proper multi-seat graphics
support at which point this code will go away without replacement.
2012-01-23 23:34:36 +01:00
Lennart Poettering
36e43bddd0 update TODO 2012-01-23 22:03:32 +01:00
Lennart Poettering
b61c90514e update TODO 2012-01-23 22:02:43 +01:00
Lennart Poettering
a558d00381 journal: move journal TODO into main TODO 2012-01-23 22:01:29 +01:00
Lennart Poettering
7c69716810 util: use /dev/rtc symlink if possible before we go searching for a suitable device 2012-01-23 21:56:55 +01:00
Kay Sievers
385ff54383 update TODO 2012-01-23 16:15:20 +01:00
Kay Sievers
a7ef118174 move variable inside condition 2012-01-23 05:21:13 +01:00
Kay Sievers
0ecfcbd4f7 print warning when rules try to rename kernel device nodes 2012-01-23 05:15:12 +01:00