Commit Graph
57095 Commits
Author SHA1 Message Date
Lennart Poettering 91805b3bcb dbus: downgrade a few log messages 2010-08-12 01:02:19 +02:00
Lennart Poettering 674cdd1933 dbus: fix capability serialization 2010-08-12 01:01:55 +02:00
Lennart Poettering 449648c430 conf-parser: don't crash if an assignment is read before a section header 2010-08-12 01:01:30 +02:00
Lennart Poettering afea26ad7d main: disable nscd properly, if possible 2010-08-11 23:31:07 +02:00
Lennart Poettering 444a79d340 dbus: properly pass capabilities 2010-08-11 23:19:28 +02:00
Lennart Poettering 1e59887dc9 gc: remove a lot of unused code 2010-08-11 23:19:04 +02:00
Lennart Poettering e51bc1a23e selinux: split off selinux calls into seperate file label.c 2010-08-11 22:58:34 +02:00
Lennart Poettering 7fab9d01b5 pahole: rearrange structs to make them smaller 2010-08-11 22:37:10 +02:00
Lennart Poettering e364ad0628 clang: fix numerous little issues found with clang-analyzer 2010-08-11 22:04:25 +02:00
Lennart Poettering 10f8e83cbb manager: serialize/deserialize startup time, too 2010-08-11 20:19:27 +02:00
Lennart Poettering 19b68260aa audit: remove double header inclusion 2010-08-11 17:55:54 +02:00
Lennart Poettering e543deaeb5 audit: initialize audit only if it is enabled 2010-08-11 17:52:01 +02:00
Lennart Poettering eaf9102011 target: don't synthesize a runlevel property for targets anymore since we don't need it anymore and it is crutfy 2010-08-11 17:46:27 +02:00
Kay Sievers 8a5b0ff5ef release 161 2010-08-11 15:43:17 +02:00
Kay Sievers 4f7f02b7ba cdrom_id: do not bail out when we can not read the TOC like for empty CDRW 2010-08-11 15:38:48 +02:00
Harald Hoyer 1b3b6c2df7 cdrom_id: READ TOC before READ DISC INFORMATION fixes qemu 2010-08-11 15:21:33 +02:00
Lennart Poettering 830f6caa77 audit: smaller fixes to audit hookup 2010-08-11 15:19:50 +02:00
Lennart Poettering 2ee68f7211 systemctl: beef up highlighting of service states a little 2010-08-11 15:19:31 +02:00
Kay Sievers 36b6aca5c1 cdrom_id: whitespace fix 2010-08-11 15:04:05 +02:00
Kay Sievers ebd189621f do not rename the database on device rename
Harald Hoyer discovered some incorrect behavior while debugging
problems with network interface renaming:

Udev events might be queued for devices which are renamed. A new
device registered the same time may claime the old name and create
a database entry for it. The current rename logic would move over
this databse entry to the wrong device.
2010-08-11 14:34:32 +02:00
Kay Sievers ce9a42bec4 always log error when renaming a network interface fails 2010-08-11 14:29:49 +02:00
Lennart Poettering cd6d0a456b utmp: enable systemd-update-utmp by default 2010-08-11 04:38:55 +02:00
Lennart Poettering 41b02ec77e unit: make sure a job for a service of type 'finish' succeeds if the process terminates cleanly 2010-08-11 04:03:13 +02:00
Lennart Poettering 6c073082e7 socket: disable GC for pre-allocated per-connection service until it is used 2010-08-11 02:07:59 +02:00
Lennart Poettering 4927fcae48 audit,utmp: implement audit logic and rip utmp stuff out of the main daemon and into a helper binary 2010-08-11 01:44:38 +02:00
Lennart Poettering b95cf3629e util: when replacing env vars replace unset envvars by nothing
This makes it easier to support /etc/sysconfig/xxxx with command line
env vars in style of $OPTIONS which might or might not be set.
2010-08-11 01:44:38 +02:00
Lennart Poettering 3454f9e519 conf: add commented default SysVConsole= value 2010-08-11 01:44:37 +02:00
Lennart Poettering b5e9dba8d6 unit: rename OnlyByDependency= to RefuseManualStart= and introduce RefuseManualStop=
Some unit shall never be start on user request (e.g. shutdown.target)
others never be stopped on user request (e.g. auditd.servce), hence
offer options for both.
2010-08-11 01:44:37 +02:00
Jan Drzewiecki cf2205a198 cdrom_id: Fix state for fresh DVD-RW
Fresh DVD-RW in restricted overwite mode reports itself as "appendable"; change
it to "blank" to make it consistent with what gets reported after blanking, and
what userspace expects.

For the exotic case where some uses multi-track recording on a DVD-RW in
sequential mode, we need to tell apart sequential and restricted overwrite
modes, so keep separate states for them internally.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-10 23:37:14 +02:00
Harald Hoyer ef5304bc8d rule_generator/write_net_rules: prevent interface to be named "eth"
find_next_available() would return "eth" instead of "eth0"
2010-08-10 16:48:37 +02:00
Harald Hoyer 09c0310302 udev-event.c: rename interface to <src>-<dest>, if <dest> taken
e.g. if eth0 should be eth3 and eth3 is waiting to be renamed,
eth0 was renamed to eth0_rename. The kernel would take eth0 as the name
for a new interface and this new eth0 could also become eth0_rename, if
the target name is also taken. To prevent this name clash, the
interfaces are now renamed to <src>-<dest> and the rename is logged.
2010-08-10 16:46:48 +02:00
Kay Sievers c11f89b61a fix broken "compile warning fix" 2010-08-10 08:07:28 +02:00
Richard Hughes 2d57b4f8ec udev-acl: add DDC_DEVICE to the types that are managed
DDC_DEVICEs are control points for high-end monitors such as the
HP DreamColor. The DDC/CI interface allows userspace applications
to upload custom colorspaces and interact with the display without
using the monitor hardware controls.
2010-08-10 08:04:37 +02:00
Kay Sievers 77d98d666a update fixme 2010-08-10 07:14:46 +02:00
Lennart Poettering add060fea4 build-sys: prepare release 7 2010-08-10 03:47:00 +02:00
Lennart Poettering 1310609b05 unit: hook plymouth into the boot
https://bugzilla.redhat.com/show_bug.cgi?id=619922
2010-08-10 03:44:05 +02:00
Lennart Poettering 1f31e8d3a6 units: ignore exit codes of killall scripts 2010-08-10 00:30:53 +02:00
Lennart Poettering 33b8d91917 update fixme 2010-08-10 00:27:57 +02:00
Lennart Poettering 61bec80cf3 getty: properly synchronize of tty devices being plugged in 2010-08-10 00:21:25 +02:00
Lennart Poettering 1e532d14ad units: make sure that killall does not wait for the tty 2010-08-10 00:08:13 +02:00
Lennart Poettering 47342320a0 main: fix auto restarting of units after a configuration reload 2010-08-09 23:53:49 +02:00
Lennart Poettering 76143638fd swap: properly enter maintenance mode on failure 2010-08-09 22:44:52 +02:00
Lennart Poettering 69dd2852bb manager: when two pending jobs conflict, keep the one that "conflicts", remove the one that is "conflicted"
This gives the writer of units control which unit is kept and which is
stopped when two units conflict.
2010-08-09 22:32:30 +02:00
Lennart Poettering 6e98720f14 service: hide output of sysv scripts if quiet is passed on the kernel cmdline 2010-08-09 18:00:24 +02:00
Lennart Poettering 5de6b30219 service: properly remember if a sysv is actually enabled
Previously we checked the SysV priority value to figure out if a SysV
unit was enabled or not, since th value was mostly read from the S
startup links. Since we read this value from the LSB headers as a
fallback we hence ended up considering a lot more services enabled than
were actually enabled.

This patch adds an explicit boolean which encodes whether a sysv service
is enabled or not via S links.

https://bugzilla.redhat.com/show_bug.cgi?id=615293
2010-08-09 17:12:25 +02:00
Lennart Poettering 2cf3143ac3 service: show restart value in dump 2010-08-09 17:07:05 +02:00
Lennart Poettering 04ade7d215 dbus: don't call bus_path_escape() with NULL unit name
Fixes an assertion triggerable via D-Bus.

https://bugzilla.redhat.com/show_bug.cgi?id=622008
2010-08-09 17:07:05 +02:00
Lennart Poettering 6d4fc029d9 systemctl: show exit code only if it is actually set 2010-08-09 17:06:18 +02:00
Kay Sievers 00bfd428a9 update fixme 2010-08-09 16:19:04 +02:00
Yin Kangkai ae8011a084 udev: fix compile warning
CC     udev/udevd.o
In file included from udev/udev.h:27,
                 from udev/udevd.c:47:
./libudev/libudev-private.h: In function ‘udev_selinux_setfscreateconat’:
./libudev/libudev-private.h:230: warning: declaration of ‘dirfd’ shadows a global declaration
/usr/include/dirent.h:224: warning: shadowed declaration is here

Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-08 20:37:37 +02:00