Commit Graph

752 Commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek 380d7cc5b7 Shrink TODO 2012-10-08 14:35:46 +02:00
Lennart Poettering 9b27910bb0 update TODO 2012-10-04 14:10:02 -04:00
Lennart Poettering b03bfa212d update TODO 2012-10-04 08:20:04 -04:00
Lennart Poettering 08f9588885 update TODO 2012-10-03 11:55:38 -04:00
Lennart Poettering 71ef24d095 TODO 2012-10-02 13:14:29 -04:00
Kay Sievers 7d8197d1f2 update TODO 2012-10-02 19:09:09 +02:00
Kay Sievers 9ee58bddeb update TODO 2012-10-02 18:18:41 +02:00
Kay Sievers f0ad654c68 update TODO 2012-10-02 18:07:57 +02:00
Lennart Poettering 1b89884ba3 update TODO 2012-09-27 17:18:38 +02:00
Lennart Poettering 1920e37ef9 update TODO 2012-09-24 23:26:46 +02:00
Lennart Poettering a07fdfa376 main: don't try to mout cpuset with cpu+cpuacct anymore
Turns out cpuset needs explicit initialization before we could make use
of it. Thus mounting cpuset with cpu/cpuacct would make it impossible to
just create a group in "cpu" and start it.
2012-09-24 11:35:51 +02:00
Lennart Poettering f801968466 journal: completely rework the mmap cache as I too dumb to actually understand it
Instead of doing hand optimized fd bisect arrays just use plain old
hashmaps. Now I can understand my own code again. Yay!

As a side effect this should fix some bad memory accesses caused by
accesses after mmap(), introduced in 189.
2012-09-21 20:52:23 +02:00
Lennart Poettering 409133be63 logind: allow users to override their own suspend/sleep inhibitors 2012-09-21 11:57:48 +02:00
Lennart Poettering 68e9f6e6be update TODO 2012-09-20 23:00:44 +02:00
Lennart Poettering 9e5f3dbb1c update TODO 2012-09-20 20:52:19 +02:00
Lennart Poettering 040f18ea8a util: overflow hardening 2012-09-20 11:08:27 +02:00
Lennart Poettering 06957305d7 update TODO 2012-09-19 15:46:43 +02:00
Zbigniew Jędrzejewski-Szmek 49111a708e systemctl: warn about triggering units only at the end
Instead of checking each unit separately, check once at the end. This
should avoid spurious warnings about a service being triggerable by
other stuff.
2012-09-19 08:27:34 +02:00
Zbigniew Jędrzejewski-Szmek 67445f4e22 core: move ManagerRunningAs to shared
Note: I did s/MANAGER/SYSTEMD/ everywhere, even though it makes the
patch quite verbose. Nevertheless, keeping MANAGER prefix in some
places, and SYSTEMD prefix in others would just lead to confusion down
the road. Better to rip off the band-aid now.
2012-09-18 19:53:34 +02:00
Lennart Poettering 2b4957a99e update TODO 2012-09-18 12:15:19 +02:00
Lennart Poettering c481f78be7 mount: don't mount securityfs in a container 2012-09-18 12:13:02 +02:00
Lennart Poettering 6569cae18e unit-printf: add specifiers for the host name, machine id, boot id 2012-09-18 11:53:47 +02:00
Lennart Poettering 41f9172f42 unit: split unit_printf() and friends into its own .c file 2012-09-18 11:27:56 +02:00
Lennart Poettering b7848021c3 execute: apply PAM logic only to main process if PermissionsStartOnly is set
https://bugs.freedesktop.org/show_bug.cgi?id=54176
2012-09-18 10:54:23 +02:00
Lennart Poettering c309067483 selinux: use existing library calls for audit data 2012-09-18 01:55:49 +02:00
Lennart Poettering e9ace802cf Update TODO 2012-09-18 01:17:03 +02:00
Lennart Poettering b14eda963c logind: split up inhibit acquire policy 2012-09-18 01:16:23 +02:00
Lennart Poettering 178cc7700c journald: log when we fail to forward messages to syslog
https://bugzilla.redhat.com/show_bug.cgi?id=847207
2012-09-17 23:59:26 +02:00
Lennart Poettering a866073d35 main: when transitioning from initrd to the main system log to kmsg
When the new PID is invoked the journal socket from the initrd might
still be around. Due to the default log target being journal we'd log to
that initially when the new main systemd initializes even if the kernel
command line included a directive to redirect systemd's logging
elsewhere.

With this fix we initially always log to kmsg now, if we are PID1, and
only after parsing the kernel cmdline try to open the journal if that's
desired.

(The effective benefit of this is that SELinux performance data is now
logged again to kmsg like it used to be.)
2012-09-17 17:47:47 +02:00
Lennart Poettering bfba3256a0 service: don't hit an assert if a service unit changes type and we get a spurious event from before 2012-09-17 14:56:44 +02:00
Lennart Poettering de34a42bca update TODO 2012-09-17 14:56:44 +02:00
Lennart Poettering 98a77df5fe logind: make sure there's always a getty available on TTY6
Previously, if X allocated all 6 TTYs (for multi-session for example) no
getty would be available anymore to guarantee console-based logins.

With the new ReserveVT= switch in logind.conf we can now choose one VT
(6 by default) that will always be subject to autovt-style activation,
i.e. we'll always have a getty on TTY6, and X will never take possession
of it.
2012-09-17 12:39:16 +02:00
Zbigniew Jędrzejewski-Szmek 4db17f291c build-sys: __secure_getenv lost dunder in libc 2.17 2012-09-17 00:21:25 +02:00
Lennart Poettering 49cb1ecf2d update TODO 2012-09-15 07:38:38 +02:00
Lennart Poettering 4ce849853c TODO: isolate items to fix before F18 2012-09-15 06:57:15 +02:00
Lennart Poettering dcf76484ec update TODO 2012-09-14 20:50:24 +02:00
Lennart Poettering 050a99bd7b man: update localtime(5) a bit 2012-09-14 20:45:37 +02:00
Lennart Poettering 424a19f8a2 timedate: assorted improvements
- Make writing/reading of /etc/timezone dependendent of HAVE_SYSV_COMPAT

- Introduce symlink_atomic() after all, and use it

- Use relative symlink for /etc/localtime
2012-09-14 20:02:52 +02:00
Lennart Poettering 67f3c40265 systemctl: show unit name when a job fails
https://bugzilla.redhat.com/show_bug.cgi?id=845028
https://bugzilla.redhat.com/show_bug.cgi?id=846483
2012-09-14 15:11:07 +02:00
Lennart Poettering a1cccad1fe update TODO 2012-09-13 17:11:10 +02:00
Lennart Poettering a8b10efaec readahead: use 20K instead of 16K as temporary request nr bump 2012-09-13 00:10:35 +02:00
Kay Sievers 9f26fa2217 update TODO 2012-09-12 21:28:52 +02:00
Kay Sievers 6db01ccb78 update TODO 2012-09-12 21:07:26 +02:00
Lennart Poettering 8556879e0d unit-name: rework unit_name_replace_instance function()
https://bugzilla.redhat.com/show_bug.cgi?id=855863
2012-09-12 04:46:38 +02:00
Lennart Poettering 4a30847b9d update TODO 2012-09-11 01:45:27 +02:00
Lennart Poettering b5b46d5995 when determining unit file list, include invalid unit names in an "invalid" state 2012-09-11 01:14:25 +02:00
Lennart Poettering 802840582c update TODO 2012-09-11 00:23:05 +02:00
Lennart Poettering 5e8b28838e update TODO 2012-09-10 22:45:20 +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 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 d87be9b0af nspawn: handle poweroff/reboot nicely in containers 2012-09-05 16:23:41 -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 438bacd18e update TODO 2012-09-04 13:39:18 -07:00
Lennart Poettering 88f89a9b6d update TODO -- hackfest edition 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 cde9cb343a util: make path_is_mount_point() recognize bind mounts, too 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 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
Lennart Poettering 38a60d7112 build-sys: prepare release 189 2012-08-23 02:46:22 +02:00
Lennart Poettering 8d1b002a2e service: introduce a proper service result if the start limit is hit 2012-08-22 05:02:33 +02:00
Lennart Poettering 99add6fd0b journalctl: complain if unprivileged users attempt to access the journal and persistant logging is off 2012-08-22 04:45:17 +02:00
Lennart Poettering c0d6e764d1 unit: add new ConditionHost= condition type 2012-08-22 01:51:53 +02:00
Lennart Poettering c0ca7aeec9 journalctl: be more friendly when informing about seal verification 2012-08-21 23:03:20 +02:00
Lennart Poettering d8b78264a5 update TODO 2012-08-21 17:38:29 +02:00
Lennart Poettering 50b3e64e27 update TODO 2012-08-21 17:19:32 +02:00
Lennart Poettering feb12d3ed2 journal: make libgcrypt dependency optional 2012-08-20 16:51:46 +02:00
Lennart Poettering f982e6f761 journal: set secure deletion flags for FSS file 2012-08-17 22:10:11 +02:00
Lennart Poettering abdf799316 man: extend documentation for RestartPreventExitStatus= and SuccessExitStatus= a bit 2012-08-14 18:37:45 +02:00
Lennart Poettering 7560fffcd2 journald: initial version of FSPRG hookup
This adds forward-secure authentication of journal files. This patch
includes key generation as well as tagging of journal files,
Verification of journal files will be added in a later patch.
2012-08-13 20:31:10 +02:00
Lennart Poettering 5a7e959984 update TODO 2012-08-13 16:27:17 +02:00
Lennart Poettering 68f160039e update TODO 2012-08-13 15:39:25 +02:00
Lennart Poettering f7357f59c3 update TODO 2012-08-09 17:25:22 +02:00
Lennart Poettering 0790b9fed4 update mailmap 2012-08-09 12:52:49 +02:00
Lennart Poettering df1c8f6ac8 update TODO 2012-08-09 02:10:44 +02:00
Lennart Poettering d7535514c3 update TODO 2012-08-08 21:44:40 +02:00
Lennart Poettering 5aea932fd5 update TODO 2012-08-08 19:19:45 +02:00
Lennart Poettering 918943c75f update TODO 2012-08-08 19:09:59 +02:00
Lennart Poettering fd4d89b2c0 update TODO 2012-08-08 18:43:56 +02:00
Kay Sievers d086fe4e08 TODO: misleading socket warning 2012-08-08 12:09:33 +02:00
Lennart Poettering 773ba90946 update TODO 2012-08-07 01:01:33 +02:00
Lennart Poettering de2c390731 journalctl: include corrupted files in output
If a journal file was rotated away because it was corrupted or dirty we
should still show its contents via "journalctl".
2012-08-07 00:51:17 +02:00
Lennart Poettering b3ac5f8cb9 mount-setup: change system mount propagation to shared by default
In order to make containers work nicely out of the box it is highly
desirable to have the mount propagation mode for the root fs is set as
"shared" by default so that containers receive system mounts by default.
(See mount --make-shared for more information).

As it is unlikely that the kernel will change the default to "shared"
for this, do this early at boot-up from PID 1. Setups which prefer the
default of "private" should undo this change via invoking "mount
--make-private /" or a similar command after boot.

In the long run /etc/fstab should take the propagation mode as a mount
option like any other, so that this may be used to change the default
mode. However, if fstab is not around or doesn't list / we still should
default to shared as propagation mode, hence this change now.
2012-08-06 18:35:01 +02:00
Shawn Landden 1421211924 continue work with error messages, log_oom()
Adds messages for formally silent errors: new "Failed on cmdline argument %s: %s".

Removes some specific error messages for -ENOMEM in mount-setup.c. A few specific
ones have been left in other binaries.
2012-08-06 16:37:01 +02:00
Lennart Poettering 8230e26dc9 update TODO 2012-08-06 16:36:13 +02:00
Kay Sievers 9cb48731b2 TODO: /etc/timezone 2012-08-06 15:09:46 +02:00
Lennart Poettering dcfc4b2e5c update TODO 2012-08-03 21:49:06 +02:00
Zbigniew Jędrzejewski-Szmek 871b876ecc man: document three new cgtop options 2012-08-03 18:12:07 +02:00
Lennart Poettering 3bea51c59d update TODO 2012-08-01 19:53:24 +02:00
Lennart Poettering 4d9909c93e update TODO 2012-08-01 19:53:23 +02:00
Kay Sievers 73fcda2737 update TODO 2012-07-30 20:03:00 +02:00
Lennart Poettering 7212a8a99e logind: add new loginctl lock-sessions command 2012-07-29 17:08:47 +02:00
Lennart Poettering 56d4fbf92e systemctl: append .service to unit names lacking suffix
https://bugs.freedesktop.org/show_bug.cgi?id=39386
2012-07-28 13:20:35 +02:00
Lennart Poettering 47ae7201b1 update TODO 2012-07-27 12:21:39 +02:00
Lennart Poettering 941e990db1 journalctl: add --priority= switch for filtering by priority 2012-07-27 10:32:37 +02:00
Lennart Poettering c51742d029 journald: log driver messages at LOG_INFO 2012-07-26 16:56:22 +02:00