summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-28Update NEWSLennart Poettering
2014-10-28units: define appropriate job timeout actions when boot or shutdown timeouts ↵Lennart Poettering
are hit Using the new JobTimeoutAction= setting make sure we power off the machine after basic.target is queued for longer than 15min but not executed. Similar, if poweroff.target is queued for longer than 30min but does not complete, forcibly turn off the system. Similar, if reboot.target is queued for longer than 30min but does not complete, forcibly reboot the system.
2014-10-28job: optionally, when a job timeout is hit, also execute a failure actionLennart Poettering
2014-10-28core: remove system start timeout logic againLennart Poettering
The system start timeout as previously implemented would get confused by long-running services that are included in the initial system startup transaction for example by being cron-job-like long-running services triggered immediately at boot. Such long-running jobs would be subject to the default 15min timeout, esily triggering it. Hence, remove this again. In a subsequent commit, introduce per-target job timeouts instead, that allow us to control these timeouts more finegrained.
2014-10-28update TODOLennart Poettering
2014-10-27journald: be nice to coverity, add an extra assertLennart Poettering
coverity otherwise assumes that the chain object might be NULL.
2014-10-27CODING_STYLE: don't clobber arguments on failureLennart Poettering
2014-10-27calendarspec: parse 'quarterly' and 'semi-annually' as shortcutsLennart Poettering
2014-10-27networkd: network - if no prefixlength is given, try to deduce one from the ↵Tom Gundersen
address class In case of a class E or F address, ignore the address.
2014-10-27shared: in-addr-utils - add default_subnet_mask and default_prefixlen methodsTom Gundersen
These use the (deprecated) IPv4 address classes to deduce the corresponding subnet masks. This is useful when addresses without subnet masks and prefix lengths are given. Make use of these new functions from sd-dhcp-lease.
2014-10-27man: tmpfiles.d - recommend using b! and c!Tom Gundersen
We should avoid creating static device nodes at runtime.
2014-10-27units: tmpfiles-setup-dev - allow unsafe file creation to happen in /dev at bootTom Gundersen
This will allow us to mark static device nodes with '!' to indicate that they should only be created at early boot.
2014-10-27sd-bus: sync kdbus.h (ABI break)Daniel Mack
Some comment fixes and header cleanups in kdbus.h, and the task capability meta information has been factored out to its own struct.
2014-10-27man: document what "minutely" now meansLennart Poettering
2014-10-27calendar: new case 'minutely'Daniele Medri
2014-10-27update TODOLennart Poettering
2014-10-27update NEWSLennart Poettering
2014-10-27sd-bus: explicitly cast asprintf() return value away we are not interested inLennart Poettering
Let's give coverity a hint what's going on here.
2014-10-27Revert "sd-bus: check return value of asprintf()"Lennart Poettering
This reverts commit b1543c4c93855b61b40118e9f14a0423dac2e078. We check b->address anyway, no need to check the return value, especially given that the other #ifdef branch don't get the same treatment.
2014-10-27shutdown: do final unmounting only if not running inside the containerMichal Sekletar
If we run in the container then we run in a mount namespace. If namespace dies then kernel should do unmounting for us, hence we skip unmounting in containers. Also, it may be the case that we no longer have capability to do umount, because we are running in the unprivileged container. See: http://lists.freedesktop.org/archives/systemd-devel/2014-October/023536.html
2014-10-27man: fix typos in description of SELinuxContextFromNet=Ivan Shapovalov
2014-10-27networkd: don't stop the dhcp server when link goes downTom Gundersen
2014-10-27util: fix copy-paste error and actually set the new hostnameMichal Sekletar
Reported-by: sztanpet on irc
2014-10-27util: introduce sethostname_idempotentMichal Sekletar
Function queries system hostname and applies changes only when necessary. Also, migrate all client of sethostname to sethostname_idempotent while at it.
2014-10-26journald: fix flushingZbigniew Jędrzejewski-Szmek
Commit 74055aa762 'journalctl: add new --flush command and make use of it in systemd-journal-flush.service' broke flushing because journald checks for the /run/systemd/journal/flushed file before opening the permanent journal. When the creation of this file was postponed, flushing stoppage ensued.
2014-10-25systemctl: do not ignore errors in symlink removalZbigniew Jędrzejewski-Szmek
On an ro fs, systemctl disable ... would fail silently.
2014-10-25Rearrange Unit to make pahole happyZbigniew Jędrzejewski-Szmek
After all we have lots of those.
2014-10-25calendarspec: fix typo in "annually"Zbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=85447
2014-10-25journalctl: correct help text for --untilSantiago Vila
http://bugs.debian.org/766598
2014-10-24bus-proxy: it's OK if getpeercred doesn't workLennart Poettering
We should use the data if we can (if stdin/stdout is an AF_UNIX socket), but still work if we can't (if stdin/stdout are pipes, like in the SSH case). This effectively reverts 55534fb5e4742b0db9ae5e1e0202c53804147697
2014-10-24sd-bus: if we don't manage to properly allocate the error message for an ↵Lennart Poettering
sd_bus_error, just go on sd_bus_error_setfv() must initialize the sd_bus_error value to some sensible value and then return a good errno code matching that. If it cannot work at all it should set the error statically to the OOM error. But if it can work half-way (i.e. initialize the name, but not the message) it should do so and still return the correct errno number for it. This effectively reverts 8bf13eb1e02b9977ae1cd331ae5dc7305a305a09
2014-10-24time: don't do comparison twiceLennart Poettering
2014-10-24time: minor simplificationLennart Poettering
2014-10-24time: earlier exit from format_timestamp_relative() on special timesLennart Poettering
2014-10-24time: also support 'infinity' syntax in parse_nsec()Lennart Poettering
Let's make parse_usec() and parse_nsec() work similar
2014-10-24update TODOLennart Poettering
2014-10-24NEWS: more preparations for 217Lennart Poettering
2014-10-24delta: use wait_for_terminate_and_warn() to generate warnin when diff failsLennart Poettering
2014-10-24calendar: make freeing a calendar spec object deal fine with NULLLennart Poettering
In order to make object destruction easier (in particular in combination with _cleanup_) we usually make destructors deal with NULL objects as NOPs. Change the calendar spec destructor to follow the same scheme.
2014-10-24timesyncd: the IP_TOS sockopt is really just an optimization, we shouldn't ↵Lennart Poettering
fail if we can't set it This partially undos 2f905e821e0342c36f5a5d3a51d53aabccc800bd
2014-10-24update TODOLennart Poettering
2014-10-24journalctl: Unify boot id lookup into common function get_bootsJan Janssen
2014-10-24udev: do NOT re-label smackWaLyong Cho
If selinux is disabled and smack is only enabled, smack label is relable-ed by label_fix. To avoid, make only be labeled for selinux.
2014-10-24manager: Linux on hppa has fewer rtsigs, hence avoid using the higher ones thereLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=84931
2014-10-24man: remove another gendered pronounKlaus Purer
2014-10-24journald: removed gendered pronouns in commentKlaus Purer
2014-10-24man: fix minor typoLennart Poettering
2014-10-24man: add a link to the XDG basedir spec from the pam_sytemd man pageLennart Poettering
2014-10-24man: avoid gendered singular pronounsLennart Poettering
Using "their" as pronoun in these places is confusing since it is more associated with plural rather than singular, and the sentence already contains a plural. The word "her/his" apparently offends some people, hence let's avoid the problem altogether and just name the noun again.
2014-10-24man: minor addition to coredumpctl exampleLennart Poettering