Lennart Poettering
2f6f1bc30c
selinux: close stdin/stdout/stderr before loading selinux policy
...
Let's make sure libselinux doesn't spew to stderr
2012-09-10 13:14:56 +02:00
Lennart Poettering
7762e02b17
journald: detect invalid header pointers correctly
2012-09-10 11:58:00 +02:00
Lennart Poettering
9d576438a1
unit: don't allow units to be gc'ed that still are referenced via UnitRef
2012-09-10 10:12:10 +02:00
Lennart Poettering
77030bd65f
inhibit: close all fds when invoking inhibited tool
2012-09-10 09:45:55 +02:00
Lennart Poettering
3137e0bd52
dbus: minor coding style fixes
2012-09-10 09:38:49 +02:00
Matthias Clasen
680258b112
Make systemd-inhibit --list work
...
The code in the print_inhibitors function had an unintended
unconditional early exit, causing it to never print any
inhibitors.
2012-09-10 09:32:50 +02:00
Lennart Poettering
54aa25e63c
build-sys: add libsystemd-id128-internal.la as dep to libsystemd-core.la
...
condition.c makes use of sd_id128_get_machine() after all.
Spotted by Khem Raj.
2012-09-10 09:28:42 +02:00
Mantas Mikulėnas
fa125f4e44
path-util: fall back to stat() if kernel does not support name_to_handle_at()
...
Fixes instant hang on kernels that do not have CONFIG_FHANDLE enabled.
2012-09-10 09:21:24 +02:00
Mantas Mikulėnas
8ac7549330
path-util: do not fail in path_is_mountpoint() if path doesn't exist
...
This was accidentally lost in commit 1640a0b6b0
.
2012-09-10 09:21:10 +02:00
Lennart Poettering
182b858fc2
journald: make splitting up of journal files per-user configurable
2012-09-07 23:40:00 +02:00
Lennart Poettering
a1a03e3075
journal: add call to determine current journal file disk usage
2012-09-07 23:20:28 +02:00
Lennart Poettering
ac59a798f2
main: fix syntax of net_prio cgroup controller
2012-09-07 22:22:15 +02:00
Lennart Poettering
2b43f939a4
journald: avoid logging to kmsg in the normal paths
2012-09-06 00:32:51 -07:00
Lennart Poettering
f687b27382
localed: system-setup-keyboard is no more on fedora
2012-09-05 23:54:09 -07:00
Lennart Poettering
a29271926a
man: document that ExecStart= doesn't understand shell command lines
2012-09-05 23:51:19 -07:00
Lennart Poettering
cb7ed9dfca
tmpfiles: don't attempt creation of device nodes when we run in a container
2012-09-05 23:42:05 -07:00
Lennart Poettering
dcc9ba80e1
systemctl: properly build flags for show_journal_by_unit()
2012-09-05 17:05:04 -07:00
Lennart Poettering
cd931c0a46
journalctl: show "Reboot" markers in output only when showing local-only entries
2012-09-05 16:52:46 -07:00
Lennart Poettering
9e8a535faa
journalctl: replace --local by --merge, i.e. don't interleave remote journals by default
2012-09-05 16:49:00 -07:00
Lennart Poettering
d87be9b0af
nspawn: handle poweroff/reboot nicely in containers
2012-09-05 16:23:41 -07:00
Lennart Poettering
cb7ec5645e
shutdown: in containers, invoke reboot(2), too. Then fallback to exit() if CAP_SYS_BOOT is missing
...
The kernel's PID namespaces support reboot(2) just fine, so let's make
use of it if possible.
2012-09-05 15:55:40 -07:00
Lennart Poettering
57371e5829
shutdown: remove explicit sync() invocations
...
The kernel implicitly does sync() anyway, hence there is no need to do
that in userspace explicitly. This makes the "-n" switch to halt(8) a
noop.
2012-09-05 15:32:57 -07:00
Lennart Poettering
3eabccc46c
nspawn: don't provide /dev/rtc0 in the container
...
Since RTCs are hardware devices and are very much shared resources we
should avoid to provide them in each container.
2012-09-05 15:27:07 -07:00
Lennart Poettering
a6e87e90ed
journalctl: rework JSON output mode
...
This splits the JSON output mode into different modes: json and
json-pretty. The former printing one entry per line, the latter showing
JSON objects nicely indented and in multiple lines to make it easier to
read for humans.
2012-09-05 15:25:32 -07:00
Lennart Poettering
04bc4a3f47
nspawn: generate a new randomized boot ID for each container
2012-09-05 14:39:16 -07:00
Lennart Poettering
9c1c7f712d
nspawn: if a file system comes pre-mounted, still do the read-only remounts
2012-09-05 14:16:41 -07:00
Lennart Poettering
f408b8f1bb
path: fix invalid variable access in path_is_mount_point()
2012-09-04 17:05:23 -07:00
Lennart Poettering
1640a0b6b0
path-util: in path_is_mount_point() fall back to the classic stat() test if fs does not support name_to_handle_at()
2012-09-04 16:37:57 -07:00
Lennart Poettering
014a9c777b
nspawn: skip mounts if already mounted
2012-09-04 16:33:13 -07:00
Lennart Poettering
e65aec12ae
nspawn: mount a clean instance of sysfs
2012-09-04 16:32:43 -07:00
Lennart Poettering
a8348796c0
missing: define name_to_handle_at on our own if it is missing
2012-09-04 15:30:24 -07:00
Lennart Poettering
438bacd18e
update TODO
2012-09-04 13:39:18 -07:00
Brandon Philips
e268b81e97
shared: logs-show: fflush after each output type
...
journalctl -f redirected to a pipe or file wasn't working for some
output formats but was working for json. It turns out only json was
doing an fflush.
Make all output formats flush.
2012-09-03 19:16:20 -07:00
Lennart Poettering
88f89a9b6d
update TODO -- hackfest edition
2012-09-03 18:59:05 -07:00
Lennart Poettering
be5412d854
main: jointly mount more controllers
...
After talking to the cgroup kernel folks at LPC we came to the
conclusion that it is probably a good idea to mount all CPU related
resp. all network related cgroup controllers together, both because they
are good defaults for admins and because this might prepare
for eventual kernel cleanups where the ability to mount them separately
is removed.
2012-09-03 18:59:05 -07:00
Lennart Poettering
1946b0bd55
journalctl: include logs from PID 1 about services in systemctl status
2012-09-03 18:59:05 -07:00
Lennart Poettering
268ba0ef60
readahead: a bit of reformatting
2012-09-03 18:59:05 -07:00
Lennart Poettering
cde9cb343a
util: make path_is_mount_point() recognize bind mounts, too
2012-09-03 18:59:05 -07:00
Lennart Poettering
ddffe89246
journal: don't pull in flush service from journald service
...
In the initrd we don't need the flush service hence don't attempt to
pull it in.
2012-09-03 18:59:05 -07:00
Lennart Poettering
7e75c5ac2d
unit: make sure structured logging is available before we enter the main boot phase
2012-09-03 18:59:05 -07:00
Lennart Poettering
c0387ebfb6
swap: don't try to shutdown swaps on shutdown in a container
2012-09-03 18:59:05 -07:00
Lennart Poettering
a5c3034fa7
swap: refuse start/stop of swaps in container
2012-09-03 18:59:05 -07:00
Lennart Poettering
024f268d63
shutdown: don't attempt read-only mounts in a container
2012-09-03 18:59:04 -07:00
Lennart Poettering
81270860a5
journal: suppress structured messages if they'd go to the console
2012-09-03 18:59:04 -07:00
Lennart Poettering
877d54e9b0
journal: generate structured journal messages for a number of events
2012-09-03 18:59:04 -07:00
Lennart Poettering
88fae6e044
shared: in code that might get called from suid programs use __secure_getenv() rather than getenv()
...
It's better to be safe than sorry.
2012-09-03 18:59:04 -07:00
Zbigniew Jędrzejewski-Szmek
fe1fed02c7
build-sys: xsltproc is required for man pages and gtk-doc
2012-08-25 02:01:44 +02:00
Yin Kangkai
70f09301d5
journal: add HAVE_XZ check to avoid build failure
...
Without this, build fail with --disable-xz or xz not installed.
2012-08-25 02:01:12 +02:00
Martin Pitt
32f0eca017
keymaps: Add "e" key for Acer Aspire 5720
...
https://launchpad.net/bugs/1009836
2012-08-24 07:11:20 +02:00
Allin Cottrell
4871690d9e
journald: add missing includes
2012-08-24 01:46:38 +02:00