summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* login: add new call sd_get_machine_names() to get a list of current virtual ↵Lennart Poettering2013-04-24
| | | | machines and containers
* nss-myhostname: resolve 'localhost' so that /etc/hosts becomes optionalLennart Poettering2013-04-24
| | | | | | | | | | | | | | This makes sure nss-myhostname not only resolves the local host name to 127.0.0.2/::1 but also the host name 'localhost: to 127.0.0.1/::1. This makes installation of /etc/passwd optional, as it usually only includes a mapping for 'localhost'. This change also resolves ::1 to the local hostname (as before), but also lists 'localhost' as an alias. This means look-ups are now fully reversible, even though they are 1:n mappings. Finally, the module will no longer erroneously claim that local IP addresses which aren't on the loopback device were.
* fileio: unify how we chop off whitespace from key and value in ↵Lennart Poettering2013-04-24
| | | | parse_env_file_internal()
* logind: don't busy loop if a job is still running but the delay timeout expiresLennart Poettering2013-04-24
|
* inhbit: show comm field of inhibiting processesLennart Poettering2013-04-24
|
* bus: add monitoring facility to busctlLennart Poettering2013-04-24
|
* do not create /dev/rtc symlink, let systemd search for it if neededKay Sievers2013-04-24
| | | | | | | | | | | The export of the RTCs hctosys flag is uneccesary, the kernel takes care of the persistemt clock management itself, without any need for: CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" "Chaotic hardware platforms" without native kernel persistent clock support will find the proper RTC with the logic rtc_open() without the need for a custom symlink.
* add bash completion for systemd-analyzeHarald Hoyer2013-04-24
|
* logind: properly enumerate user/session cgroups under their new suffixed namesLennart Poettering2013-04-24
|
* systemctl: show reverse dependencies or before/after orderingZbigniew Jędrzejewski-Szmek2013-04-24
| | | | Also update completion scripts a bit.
* Small cleanupZbigniew Jędrzejewski-Szmek2013-04-24
|
* readahead: be more verbose about creation failuresZbigniew Jędrzejewski-Szmek2013-04-24
| | | | | | systemd-readahead reports "Failed to create shared memory segment: No such file or directory", but it's unclear how it can happen. Be more verbose about failures.
* Add set_consume which always takes ownershipZbigniew Jędrzejewski-Szmek2013-04-24
| | | | Freeing in error path is the common pattern with set_put().
* Standarize on one spelling of symlink error messageZbigniew Jędrzejewski-Szmek2013-04-24
| | | | | It's polite to print the name of the link that wasn't created, and it makes little sense to print the target.
* test: make it easier to override kernel versionZbigniew Jędrzejewski-Szmek2013-04-24
|
* systemd: fall back to mounting /sys/fs/cgroup sans xattrZbigniew Jędrzejewski-Szmek2013-04-24
| | | | | | | | | xattrs on cgroup fs were added back in v3.6-rc3-3-g03b1cde. But we support kernels >= 2.6.39, and we should also support kernels compiled w/o xattr support, even if systemd is compiled with xattr support. Fall back to mounting without xattr support. Tested-by: Colin Walters <walters@verbum.org>
* kdbus: update kdbus.h from upstreamKay Sievers2013-04-24
|
* timer: make sure we restart timers even if units are still running or if one ↵Lennart Poettering2013-04-23
| | | | of their conditions fails
* update TODOLennart Poettering2013-04-23
|
* unit: rework trigger dependency logicLennart Poettering2013-04-23
| | | | | | | | | | | Instead of having explicit type-specific callbacks that inform the triggering unit when a triggered unit changes state, make this generic so that state changes are forwarded betwee any triggered and triggering unit. Also, get rid of UnitRef references from automount, timer, path units, to the units they trigger and rely exclsuively on UNIT_TRIGGER type dendencies.
* units: update user@.service to reflect new user cgroup pathsLennart Poettering2013-04-23
|
* bus: add cal to determine machine id of an owner of a serviceLennart Poettering2013-04-23
|
* man: link systemd-tmpfiles-setup-dev.serviceUmut Tezduyar2013-04-23
|
* bus: parse capability kdbus meta data of messagesLennart Poettering2013-04-23
|
* bus: parse audit metadata from kdbus messagesLennart Poettering2013-04-22
|
* bus: parse owner uid from cgroup path, tooLennart Poettering2013-04-22
|
* cgroup: make sure all our cgroup objects have a suffix and are properly escapedLennart Poettering2013-04-22
| | | | | | | | | | | | | | Session objects will now get the .session suffix, user objects the .user suffix, nspawn containers the .nspawn suffix. This also changes the user cgroups to be named after the numeric UID rather than the username, since this allows us the parse these paths standalone without requiring access to the cgroup file system. This also changes the mapping of instanced units to cgroups. Instead of mapping foo@bar.service to the cgroup path /user/foo@.service/bar we will now map it to /user/foo@.service/foo@bar.service, in order to ensure that all our objects are properly suffixed in the tree.
* core: there's no point to complain so loudly about non-isolatable boot targetsLennart Poettering2013-04-22
|
* nspawn: suffix the nspawn cgroups with ".nspawn"Lennart Poettering2013-04-22
| | | | | | | | | | | As discussed with Dan Berrange it's a good idea to suffix all objects in the cgroup tree with ".something", so that when the system is partitioned using a resource management tool we can drop objects of different types into the same partition directory without generate namespace conflicts. We'l add this to the Pax Control Group document as soon as write access to the fdo wiki is restored.
* nspawn: always use cg_get_path() to determine fs path for a cgroupLennart Poettering2013-04-22
|
* update TODOLennart Poettering2013-04-22
|
* units: rename systemd-static-nodes -> systemd-tmpfiles-setup-devTom Gundersen2013-04-22
| | | | This is really just a special case of systemd-tmpfiles-setup, moreover it could easily create more than static nodes.
* shell-completion: add shell completion for "systemctl help"Harald Hoyer2013-04-22
|
* systemd,nspawn: use extended attributes to store metadataZbigniew Jędrzejewski-Szmek2013-04-21
| | | | | | | | | | | | All attributes are stored as text, since root_directory is already text, and it seems easier to have all of them in text format. Attributes are written in the trusted. namespace, because the kernel currently does not allow user. attributes on cgroups. This is a PITA, and CAP_SYS_ADMIN is required to *read* the attributes. Alas. A second pipe is opened for the child to signal the parent that the cgroup hierarchy has been set up.
* bus: implement client logic for fd passingLennart Poettering2013-04-21
|
* TODO: remove dbus items which we will not touch anymoreKay Sievers2013-04-20
|
* TODO: journal enhancementsJosh Triplett2013-04-20
|
* hwdb: updateKay Sievers2013-04-20
|
* build-sys: prevent library underlinkingEvangelos Foutras2013-04-19
| | | | | Underlinking can cause subtle bugs like the recent issue with libnss_myhostname (which was fixed in commit 1e335af7).
* nss-myhostname: ensure that glibc's assert is usedDave Reisner2013-04-19
|
* logind-dbus: initialize result variableLukas Nykryn2013-04-19
|
* crypt-setup-generator: correctly check return of strdupLukas Nykryn2013-04-19
|
* core/killall: use procfs_file_allocaZbigniew Jędrzejewski-Szmek2013-04-19
|
* Reintroduce f_type comparison macroHarald Hoyer2013-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4826f0b7b5c0aefa08b8cc7ef64d69027f84da2c. Because statfs.t_type can be int on some architecures, we have to cast the const magic to the type, otherwise the compiler warns about signed/unsigned comparison, because the magic can be 32 bit unsigned. statfs(2) man page is also wrong on some systems, because f_type is not __SWORD_TYPE on some architecures. The following program: int main(int argc, char**argv) { struct statfs s; statfs(argv[1], &s); printf("sizeof(f_type) = %d\n", sizeof(s.f_type)); printf("sizeof(__SWORD_TYPE) = %d\n", sizeof(__SWORD_TYPE)); printf("sizeof(long) = %d\n", sizeof(long)); printf("sizeof(int) = %d\n", sizeof(int)); if (sizeof(s.f_type) == sizeof(int)) { printf("f_type = 0x%x\n", s.f_type); } else { printf("f_type = 0x%lx\n", s.f_type); } return 0; } executed on s390x gives for a btrfs: sizeof(f_type) = 4 sizeof(__SWORD_TYPE) = 8 sizeof(long) = 8 sizeof(int) = 4 f_type = 0x9123683e
* Update NEWSZbigniew Jędrzejewski-Szmek2013-04-18
|
* systemd-python: wrap sd_journal_add_conjunctionZbigniew Jędrzejewski-Szmek2013-04-18
|
* nspawn: create empty /etc/resolv.conf if necessaryZbigniew Jędrzejewski-Szmek2013-04-18
| | | | | | | | | | | | nspawn will overmount resolv.conf if it exists. Since e.g. default install with yum doesn't create /etc/resolv.conf, a container created with yum will not have network. This seems undesirable, and since we overmount the file anyway, let's create it too. Also, mounting a read-write /etc/resolv.conf in the container is treated as a failure, since it makes it possible to modify hosts /etc/resolv.conf from inside the container.
* build-sys: run 'make update-man-list'Lennart Poettering2013-04-19
|
* build-sys: prepare release 202Lennart Poettering2013-04-19
|
* journal: when iterating through a file we might lose messages when changing ↵Marius Vollmer2013-04-18
| | | | | | direction. https://bugs.freedesktop.org/show_bug.cgi?id=63672