Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-04-16 | nspawn: introduce the new /machine/ tree in the cgroup tree and move ↵ | Lennart Poettering | |
containers there Containers will now carry a label (normally derived from the root directory name, but configurable by the user), and the container's root cgroup is /machine/<label>. This label is called "machine name", and can cover both containers and VMs (as soon as libvirt also makes use of /machine/). libsystemd-login can be used to query the machine name from a process. This patch also includes numerous clean-ups for the cgroup code. | |||
2013-04-16 | util: make sure result of hostname_cleanup() passes hostname_is_valid() | Lennart Poettering | |
2013-04-16 | logind: filter configured cgroup controller lists | Lennart Poettering | |
2013-04-16 | logind: when looking for cgroup prefixes, allocate from stack | Lennart Poettering | |
2013-04-16 | libudev: remove udev_monitor_new_from_socket() symbol | Michael Biebl | |
This function was removed in v183, so drop it from the symbols versioning file. | |||
2013-04-16 | bus: copy iteration macro from the kernel | Kay Sievers | |
2013-04-16 | bus: catch up with kernel changes | Kay Sievers | |
2013-04-15 | bootchart: put the bootchart into the journal. | Auke Kok | |
This bit of code is mostly stolen from coredump.c. We construct a simple journal message and append the bootchart file in the journal automatically. You can extract the latest bootchart from the current boot with something like: $ journalctl -b MESSAGE_ID=9f26aa562cf440c2b16c773d0479b518 --field=BOOTCHART which prints it to stdout. None of the other logic is touched. The journal entry is created even if bootchart was run manually, which is probably wrong. | |||
2013-04-15 | bus: fix missing macro argument renaming | Kay Sievers | |
<fdo-vcs> systemd kay master * b1454bf src/libsystemd-bus/ bus-kernel.c kdbus.h <fdo-vcs> systemd bus: catch up with kernel changes <kmacleod> kay: randomly looked at your commit, it looks like in KDBUS_FOREACH_ITEM you missed changing a (d) to an (i) in (uint8_t*) (d) < (uint8_t*) (k) + (k)->size; ? <kay> kmacleod: hah, so there *is* a reason for using _foo in macros :) <kay> kmacleod: thanks! | |||
2013-04-15 | bus: catch up with kernel changes | Kay Sievers | |
2013-04-15 | audit: since nspawn now sets CAP_AUDIT_CONTROL for containers we cannot user ↵ | Lennart Poettering | |
this anymore to skip audit session ID retrieval As audit is still broken in containers we need a reliable way how we can determine whether the audit data we read from 7proc is actually useful. Previously we used CAP_AUDIT_CONTROL for this, since nspawn removed that from the nspawn container. This has changed a while back however, which means we used audit data of host system in the container. This adds an explicit container check to the audit calls, so that all audit data is turned off in containers. This should fix session creation with pam_systemd/logind in nspawn containers. | |||
2013-04-15 | core: let's make our log messages proper sentences with full stops | Lennart Poettering | |
2013-04-15 | core: always create /user and /machine top-level cgroup dirs | Lennart Poettering | |
This allows clients to put inotify watches on these trees to watch for state changes, without having to wait until these dirs are created. This introduces the new top-level /machine cgroup dir as canonical location where OS containers and VMs shall be located (as discussed with the libvirt folks). | |||
2013-04-15 | do not change console to non-unicode for LANG=C | Harald Hoyer | |
If systemd-vconsole-setup was started with LANG=C (no locale.conf), then it would set the console to non-unicode, which is not what we want. | |||
2013-04-15 | Fix spelling errors using 'codespell' tool | Anatol Pomozov | |
2013-04-15 | sd-login: add a sd_pid_get_user_unit() call | Lennart Poettering | |
2013-04-15 | bus: handle env vars safely | Lennart Poettering | |
Make sure that our library is safe for usage in SUID programs when it comes to env var handling | |||
2013-04-15 | kdbus: parse cgroup meta data, too | Lennart Poettering | |
2013-04-15 | localectl: read X11 keymaps from the correct file | Lennart Poettering | |
As reported by Sergey Udaltsov. | |||
2013-04-14 | udev/ata_id: zero out variable properly | Zbigniew Jędrzejewski-Szmek | |
b8a2b0f76 'use initalization instead of explicit zeroing' introduced a bug where only the first sizeof(uint_t*) bytes would be zeroed out, instead of the whole array. | |||
2013-04-14 | bus: remove two unused variables | Zbigniew Jędrzejewski-Szmek | |
2013-04-14 | systemd-python: fix formatting in docstring | Zbigniew Jędrzejewski-Szmek | |
2013-04-14 | readahead-analyze: avoid division-by-0 | Zbigniew Jędrzejewski-Szmek | |
Also remove a few casts and use _cleanup_fclose_ to simplify logic. | |||
2013-04-14 | MurmurHash3: actually inline functions | Zbigniew Jędrzejewski-Szmek | |
"__attribute__((always_inline))" does not replace "inline" and they still need to be used together. This fixes "always_inline function might not be inlinable [-Wattributes]" warning in gcc 4.7 Idea-from-patch-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> | |||
2013-04-14 | kdbus: generare bloom filters properly for messages we send | Lennart Poettering | |
2013-04-14 | kdbus: update kdbus.h from upstream | Lennart Poettering | |
2013-04-14 | bus: always explicitly rewind read index before passing message to caller or ↵ | Lennart Poettering | |
callback | |||
2013-04-14 | bus: fix counting of argN= matches | Lennart Poettering | |
2013-04-14 | util: introduce alloca0() and use it at a number of places | Lennart Poettering | |
2013-04-14 | bus: zero data structure and catch up with error value change | Kay Sievers | |
2013-04-14 | kdbus: also parse cmdline message attribute | Lennart Poettering | |
2013-04-14 | kdbus: make name acquirement ioctls valgrind clean | Lennart Poettering | |
2013-04-13 | Include <fcntl.h> instead of <sys/fcntl.h> | Zbigniew Jędrzejewski-Szmek | |
<fcntl.h> is POSIX. On Linux, <sys/fcntl.h> simply includes <fcntl.h>, so there should be on difference. On Android likewise, except that there is some more stuff. QNX has only <fcntl.h>. https://bugs.freedesktop.org/show_bug.cgi?id=63423 | |||
2013-04-13 | fileio: in envfiles, do not skip lines following empty lines | Zbigniew Jędrzejewski-Szmek | |
https://bugs.freedesktop.org/show_bug.cgi?id=63477 | |||
2013-04-13 | Remove a few NULLs | Zbigniew Jędrzejewski-Szmek | |
Just {} is used in a lot of places now, and there's nothing special abose those few. | |||
2013-04-13 | kdbus: parse even more kernel meta data fields | Lennart Poettering | |
2013-04-13 | kdbus: update to newest kdbus API | Lennart Poettering | |
2013-04-12 | journal: fix broken tags _SOURCE_REALTIME_TIMESTAMP and _MACHINE_ID | Mirco Tischler | |
2013-04-12 | systemctl: new verb 'list-sockets' | Zbigniew Jędrzejewski-Szmek | |
LISTEN UNIT ACTIVATES /dev/initctl systemd-initctl.socket systemd-initctl.service /dev/log systemd-journald.socket systemd-journald.service ... [::]:19531 systemd-journal-gatewayd.socket systemd-journal-gatewayd.service kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service 17 sockets listed. Pass --all to see loaded but inactive sockets, too. | |||
2013-04-12 | util: add wrapper for realloc to avoid specyfing type | Zbigniew Jędrzejewski-Szmek | |
2013-04-12 | kdbus: make our little test pass cleanly again | Lennart Poettering | |
2013-04-12 | kbdus: add null bloom filter to our messages | Lennart Poettering | |
This makes things work again with the requirements of the kernel on bloom filters. | |||
2013-04-12 | kdbus: use a valid service name for testing | Lennart Poettering | |
2013-04-12 | kdbus: update kdbus.h from upstream | Lennart Poettering | |
2013-04-12 | kdbus: make sure msg structure is properly initialized | Lennart Poettering | |
2013-04-12 | bus: don't calculate kmsg message too large | Lennart Poettering | |
2013-04-12 | bus: add kdbus test for name registry | Lennart Poettering | |
2013-04-12 | dbus: fill in kdbus sender+destination from kdbus data | Lennart Poettering | |
2013-04-12 | bus: rename KDBUS_CMD_FNAME_POLICY_NONE -> KDBUS_CMD_FNAME_POLICY_OPEN | Kay Sievers | |
2013-04-12 | bus: test - re-enable check for returned error | Kay Sievers | |