summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* journald: be more careful when we try to flush the runtime journal to disk ↵v203Lennart Poettering2013-05-072-1/+7
| | | | | | | | and the disk is close to being full Bump the minimal size of the journal so that we can be sure creating the journal file will always succeed. Previously the minimum size was smaller than a empty jounral file...
* NEWS: typo fixLennart Poettering2013-05-061-1/+1
|
* build-sys: prepare new releaseLennart Poettering2013-05-063-6/+88
|
* core: escape unit name from udevMUNEDA Takahiro2013-05-061-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | This patch escapes a unit name which was derived from udev. Please imagine following udev rule. ACTION=="online|offline", TAG+="systemd", ENV{SYSTEMD_WANTS}="muneda@%p.service" ACTION=="online|offline", TAG+="systemd", ENV{SYSTEMD_WANTS}="muneda@%r.service" ACTION=="online|offline", TAG+="systemd", ENV{SYSTEMD_WANTS}="muneda@%S.service" When unit name is derived from udev via udev_device_get_property_value(), the name may contains '/' if ENV{SYSTEMD_WANTS} has the udev options $devpath(%p), $root(%r), or $sys(%S). However, '/' is a invalid char for unit name so processing of this rule fails as Invalid argument with following message. Apr 22 13:21:37 localhost systemd[1]: Failed to load device unit: Invalid argument Apr 22 13:21:37 localhost systemd[1]: Failed to process udev device event: Invalid argument This patch escapes those invalid chars in a unit name. Tested with 202, and confirmed to apply cleanly on top of commit 195f8e36. Thanks, Takahiro
* systemd-sleep: add support for freeze and standbyZbigniew Jędrzejewski-Szmek2013-05-0615-192/+653
| | | | | | | | | | | | | | | | | | | | | | | | | A new config file /etc/systemd/sleep.conf is added. It is parsed by systemd-sleep and logind. The strings written to /sys/power/disk and /sys/power/state can be configured. This allows people to use different modes of suspend on systems with broken or special hardware. Configuration is shared between systemd-sleep and logind to enable logind to answer the question "can the system be put to sleep" as correctly as possible without actually invoking the action. If the user configured systemd-sleep to only use 'freeze', but current kernel does not support it, logind will properly report that the system cannot be put to sleep. https://bugs.freedesktop.org/show_bug.cgi?id=57793 https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=7e73c5ae6e7991a6c01f6d096ff8afaef4458c36 http://lists.freedesktop.org/archives/systemd-devel/2013-February/009238.html SYSTEM_CONFIG_FILE and USER_CONFIG_FILE defines were removed since they were used in only a few places and with the addition of /etc/systemd/sleep.conf it becomes easier to just append the name of each file to the dir name.
* fileio: split write_one_line_file into twoZbigniew Jędrzejewski-Szmek2013-05-062-9/+18
| | | | | The new function allows one to write to an already open file.
* zsh_completion: complete only pids for systemd-coredumpctlDaniel Wallace2013-05-061-4/+5
| | | | | | | | | | | | | | Instead of completing the whole line, which doesn't work, only complete the pid, but still show the whole line so the user can see which command was which. Users can also let the parameter expansion sort the completion by date instead of by pid, by setting zstyle ':completion:*:*:systemd-coredumpctl:*' sort no so that the zshcompsys doesn't sort the _describe function for only systemd-coredumpctl.
* man: fix typos in systemd.specialRoss Lagerwall2013-05-061-2/+2
|
* man: clarify behaviour of Also= in unit filesLennart Poettering2013-05-061-6/+7
|
* man: correct SIGUSR1 semantics for journaldLennart Poettering2013-05-061-6/+6
|
* core: unit_inactive_or_pending() should actually do as it claimsLennart Poettering2013-05-061-0/+3
|
* update TODOLennart Poettering2013-05-061-0/+3
|
* condition, man: Add support for ConditionSecurity=apparmorNirbheek Chauhan2013-05-062-1/+4
| | | | | | | Checking for the apparmor directory in securityfs means the apparmor module is loaded and enabled, and hence should suffice as a test. https://bugs.freedesktop.org/show_bug.cgi?id=63312
* quota: use QUOTACHECK path correctly as tested in configure.acLennart Poettering2013-05-062-15/+14
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=63555
* nspawn: explain that we look for /etc/os-release in the container directoryLennart Poettering2013-05-062-1/+10
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=64014
* hwdb: updateKay Sievers2013-05-062-20/+140
|
* TODO: updateKay Sievers2013-05-061-0/+3
|
* kernel-install: add default install scriptsHarald Hoyer2013-05-065-71/+116
| | | | | | | | | | | | | Do the depmod in the kernel-install hooks, so hooks can produce/install kernel modules and be part of the depmod. Also move the basic boot loader entry creation and removal to a plugin script. If PRETTY_NAME is not defined in /etc/os-release, fallback to PRETTY_NAME="Linux $KERNEL_VERSION". Add documentation for everything in the man page.
* keymap/findkeyboards: avoid throwaway attribute-walkVille Skyttä2013-05-031-1/+1
|
* Spelling fixesVille Skyttä2013-05-036-6/+6
|
* man: provide "permalinks" to sections and termsZbigniew Jędrzejewski-Szmek2013-05-031-0/+78
| | | | | So no one needs to say "go to fd.o/software/systemd/man, open page X, then scroll down to section 3, and look for ..." anymore.
* systemctl: use GREEDY_REALLOC in one more placeZbigniew Jędrzejewski-Szmek2013-05-031-2/+1
|
* journal: as a µ-opt, use sizeof instead of strlenZbigniew Jędrzejewski-Szmek2013-05-031-10/+14
|
* cgroup: when escaping a cgroup object name, also escape names that start ↵Lennart Poettering2013-05-032-1/+10
| | | | with a dot
* update TODOLennart Poettering2013-05-031-1/+1
|
* systemctl: add --plain option to list-dependenciesLukas Nykryn2013-05-032-17/+42
| | | | This patch adds more script-friendly output for list-dependencies.
* journal: Set the default keep free value to 15% (up from 5%)Colin Guthrie2013-05-032-2/+2
| | | | | | | As some SSDs are still seeing performance degredation when reaching 85% usage the default value of 5% seems a little low. Set this to 15% by default.
* core: bump simultaneous bus connection limit to 512Lennart Poettering2013-05-031-1/+1
|
* cryptsetup: downgrade world-writable warning againLennart Poettering2013-05-031-1/+5
| | | | This semi-reverts 8973790ee6f62132b1b57de15c4edaef2c097004.
* update TODOLennart Poettering2013-05-031-0/+4
|
* man: add various filenames to the indexZbigniew Jędrzejewski-Szmek2013-05-0314-39/+67
| | | | | | | | | | Everything which is an absolute filename marked with <filename></filename> lands in the index, unless noindex= attribute is present. Should make it easier for people to find stuff when they are looking at a file on disk. Various formatting errors in manpages are fixed, kernel-install(1) is restored to formatting sanity.
* build-sys: tell rsync no to tranfer times and permissionsZbigniew Jędrzejewski-Szmek2013-05-021-4/+4
| | | | | | | | | | When rsyncing to fd.o, rsync would fail on symlinks in man/. We don't care about the times too much anyway. rsync will set times to "now", which is fine, since modification times don't matter much outside of each uploader's machine anyway. The point is to complete all steps of the transfer, so Python documentation is properly updated.
* man: link to socket activation blog entriesZbigniew Jędrzejewski-Szmek2013-05-022-2/+8
|
* build-sys: "link" python _reader and pam_systemd against libsd-daemon-internalZbigniew Jędrzejewski-Szmek2013-05-021-1/+3
| | | | | | | | | | The same old story as d3b9e0ff: those two use libsystemd-shared, and in turn, some functions in libsystemd-shared use libsystemd-daemon. The fact that *those* functions are used neither by the python modules in question nor pam_systemd isn't always enough. Currently, I'm seeing linking failures with -flto. The result of adding libsystemd-daemon-internal to the list of linked libraries should be harmless, with no change in size or final link requirements.
* time-dst: use _cleanup_Zbigniew Jędrzejewski-Szmek2013-05-022-40/+32
|
* Add __attribute__((const, pure, format)) in various placesZbigniew Jędrzejewski-Szmek2013-05-0272-275/+291
| | | | | | | | I'm assuming that it's fine if a _const_ or _pure_ function calls assert. It is assumed that the assert won't trigger, and even if it does, it can only trigger on the first call with a given set of parameters, and we don't care if the compiler moves the order of calls.
* hashmap.h: fix coding style issueDaniel Buch2013-05-031-7/+7
|
* test-hashmap.c: add unit-test for hashmapDaniel Buch2013-05-032-1/+519
|
* kdbus: update kdbus.h from upstreamKay Sievers2013-05-022-75/+47
|
* bootchart: cleanup unused structs and globalsAuke Kok2013-05-021-8/+0
|
* Dynamically allocate bootchart logsNathaniel Chen2013-05-025-143/+437
| | | | | | | Instead of storing bootchart sample data in arrays, this patch moves storage to linked lists so that there is no more limit on samples. This patch also fixes parsing of /proc/<pid>/smaps in kernels > 3.7.
* Add help option to bootchart man pageNathaniel Chen2013-05-022-1/+6
| | | | | | | | Bootchart has a help option. For the sake of consistency, this patch adds it to the man page. Also, the TODO is updated. Bootcharts were added to the journal in commit c4d58b0.
* kdbus: update kdbus.h from upstreamKay Sievers2013-05-022-69/+81
|
* nspawn: inherit the exit status of containerDave Reisner2013-05-021-1/+1
| | | | | If we get as far as successfully starting the container, nspawn should inherit the exit status of the child container process as its own.
* Annotate some functions as _const_Cristian Rodríguez2013-05-011-6/+6
| | | | | hexchar,unhexchar,octchar,unoctchar,decchar,undecchar are all const functions.
* dbus-execute: fix introspectionRonny Chevalier2013-05-011-3/+2
| | | | | Add missing property and remove duplicate properties already in src/core/dbus-kill.h
* cgls: add --machine/-MZbigniew Jędrzejewski-Szmek2013-05-018-46/+63
| | | | | cg_get_machine_path is modified to include the escaped machine name + ".nspawn" if the machine argument is nonnull.
* zsh_completion: fix udevadm monitor flagsDaniel Wallace2013-05-011-1/+1
| | | | | The brackets in the _arguments description of udevadm monitor need to be escaped.
* zsh-completion: add s-a critical-chainZbigniew Jędrzejewski-Szmek2013-05-012-4/+10
|
* util: Add _sentinel_ to strextend()Colin Walters2013-04-301-1/+1
| | | | Since it must be NULL terminated.