Lennart Poettering [Wed, 29 Oct 2014 16:58:43 +0000 (17:58 +0100)]
sd-bus: properly handle removals of non-existing matches
Lennart Poettering [Wed, 29 Oct 2014 16:08:18 +0000 (17:08 +0100)]
missing: no tabs please, we are british
Lennart Poettering [Wed, 29 Oct 2014 16:08:00 +0000 (17:08 +0100)]
update TODO
Lennart Poettering [Wed, 29 Oct 2014 16:07:47 +0000 (17:07 +0100)]
missing: simplify memfd ifdeffery
Lennart Poettering [Wed, 29 Oct 2014 16:06:32 +0000 (17:06 +0100)]
util: make use of the new getrandom() syscall if it is available when needing entropy
Doesn't require an fd, and could be a bit faster, so let's make use of
it, if it is available.
Susant Sahani [Mon, 21 Jul 2014 08:02:09 +0000 (13:32 +0530)]
sd-rtnl: add bridge port rtnl attributes.
Add bridge port attributes to sd-rtnl to configure
via networkd.
Susant Sahani [Mon, 21 Jul 2014 07:45:38 +0000 (13:15 +0530)]
sd-rtnl: add support to set packet family type
This patch adds functionality to set family type
in the rtnl message for example PF_BRIDGE.
Tom Gundersen [Wed, 29 Oct 2014 09:52:07 +0000 (10:52 +0100)]
sd-rtnl: mark nested attributes with the NLA_F_NESTED flag
The kernel mostly does not check this, but let's be consisntent and allways set it anyway. Based
on patch from Susant Sahani.
Tom Gundersen [Wed, 29 Oct 2014 09:50:33 +0000 (10:50 +0100)]
sd-rtnl: fix reading of nla type
We must filter out the 'network-byteorder' and 'nested' flags.
Susant Sahani [Tue, 22 Jul 2014 11:21:53 +0000 (16:51 +0530)]
networkd: add Patch of MTU discovery for IPIP and GRE
Add path of MTU disovery for IPIP and GRE Kind of tunnels
Susant Sahani [Tue, 22 Jul 2014 11:16:39 +0000 (16:46 +0530)]
networkd: add back path of MTU discovery for SIT
Lennart Poettering [Tue, 28 Oct 2014 19:36:32 +0000 (20:36 +0100)]
NEWS: well, it's Options= now, not Discard=
Kay Sievers [Tue, 28 Oct 2014 17:46:53 +0000 (18:46 +0100)]
build-sys: do not use "label" functions in libsystemd_shared
Lennart Poettering [Tue, 28 Oct 2014 17:10:48 +0000 (18:10 +0100)]
update NEWS
Lennart Poettering [Tue, 28 Oct 2014 17:07:20 +0000 (18:07 +0100)]
test: use assert_se() when testing tables so that we get a useful error when something fails
Lennart Poettering [Tue, 28 Oct 2014 17:06:58 +0000 (18:06 +0100)]
service: add missing state table entry
Umut Tezduyar Lindskog [Tue, 28 Oct 2014 15:35:40 +0000 (16:35 +0100)]
core: send sigabrt on watchdog timeout to get the stacktrace
if sigabrt doesn't do the job, follow regular shutdown
routine, sigterm > sigkill.
Lennart Poettering [Tue, 28 Oct 2014 16:27:38 +0000 (17:27 +0100)]
swap: don't add too many deps for swap files form /proc/swap
Kay Sievers [Tue, 28 Oct 2014 15:50:24 +0000 (16:50 +0100)]
udev: path_id - set supported_parent for well-known SCSI setups
Ronny Chevalier [Tue, 28 Oct 2014 15:04:21 +0000 (16:04 +0100)]
NEWS: fix typos
Kay Sievers [Tue, 28 Oct 2014 14:53:44 +0000 (15:53 +0100)]
NEWS: update
Tom Gundersen [Tue, 28 Oct 2014 14:42:57 +0000 (15:42 +0100)]
NEWS
Lennart Poettering [Tue, 28 Oct 2014 14:44:00 +0000 (15:44 +0100)]
update NEWS
Lennart Poettering [Tue, 28 Oct 2014 14:35:35 +0000 (15:35 +0100)]
update NEWS
Lennart Poettering [Tue, 28 Oct 2014 14:29:49 +0000 (15:29 +0100)]
build-sys: bump version number in preparation for release
Lennart Poettering [Tue, 28 Oct 2014 14:29:36 +0000 (15:29 +0100)]
build-sys: bump library versions in preparation for 217 release
Lennart Poettering [Tue, 28 Oct 2014 14:20:16 +0000 (15:20 +0100)]
NEWS: add contributor list in preparation for 217 release
Lennart Poettering [Tue, 28 Oct 2014 14:17:53 +0000 (15:17 +0100)]
update NEWS
Lennart Poettering [Tue, 28 Oct 2014 14:11:39 +0000 (15:11 +0100)]
polkit: actually generate new InteractiveAuthorizationRequired error on the right occasions
Lennart Poettering [Tue, 28 Oct 2014 14:06:30 +0000 (15:06 +0100)]
update TODO
Lennart Poettering [Tue, 28 Oct 2014 13:59:08 +0000 (14:59 +0100)]
sd-bus: add support for new InteractiveAuthorizationRequired error from dbus spec
Lennart Poettering [Tue, 28 Oct 2014 13:47:35 +0000 (14:47 +0100)]
update TODO
Lennart Poettering [Tue, 28 Oct 2014 13:38:47 +0000 (14:38 +0100)]
man: minor corrections on how the overall system states are actually defined
WaLyong Cho [Fri, 24 Oct 2014 12:15:25 +0000 (21:15 +0900)]
mac: add mac_ prefix to distinguish origin security apis
Lennart Poettering [Tue, 28 Oct 2014 13:31:17 +0000 (14:31 +0100)]
update TODO
Lennart Poettering [Tue, 28 Oct 2014 13:30:30 +0000 (14:30 +0100)]
swap: drop noauto/nofail bools from Swap structure
We nowadays always set them to "false" anyway, hence let's get rid of
them entirely.
Lennart Poettering [Tue, 28 Oct 2014 13:24:46 +0000 (14:24 +0100)]
swap: replace Discard= setting by a more generic Options= setting
For now, it's systemd itself that parses the options string, but as soon
as util-linux' swapon can take the option string directly with -o we
should pass it on unmodified.
Martin Pitt [Fri, 17 Oct 2014 13:01:01 +0000 (15:01 +0200)]
udev hwdb: Support shipping pre-compiled database in system images
In some cases it is preferable to ship system images with a pre-generated
binary hwdb database, to avoid having to build it at runtime, avoid shipping
the source hwdb files, or avoid storing large binary files in /etc.
So if hwdb.bin does not exist in /etc/udev/, fall back to looking for it in
UDEVLIBEXECDIR. This keeps the possibility to add files to /etc/udev/hwdb.d/
and re-generating the database which trumps the one in /usr/lib.
Add a new --usr flag to "udevadm hwdb --update" which puts the database
into UDEVLIBEXECDIR.
Adjust systemd-udev-hwdb-update.service to not generate the file in /etc if we
already have it in /usr.
Lennart Poettering [Tue, 28 Oct 2014 11:33:25 +0000 (12:33 +0100)]
update TODO
Lennart Poettering [Tue, 28 Oct 2014 11:32:25 +0000 (12:32 +0100)]
man: document that $XDG_SESSION_DESKTOP only takes a single item, not a list, unlike $XDG_CURRENT_DESKTOP
Lennart Poettering [Tue, 28 Oct 2014 11:31:11 +0000 (12:31 +0100)]
sd-login: let's not needlessly yell at users
While GNOME/KDE are generally capitalized, systemd tools generally are
not, hence let's not start doing so in the XDG_CURRENT_SESSION
environment variable.
Zbigniew Jędrzejewski-Szmek [Tue, 28 Oct 2014 03:14:23 +0000 (23:14 -0400)]
manager: print warning on console before reboot
It will be printed even if a prompt is blocking other messages.
Zbigniew Jędrzejewski-Szmek [Tue, 28 Oct 2014 03:02:54 +0000 (23:02 -0400)]
manager: convert ephemeral to enum
In preparation for subsequent changes.
Zbigniew Jędrzejewski-Szmek [Tue, 28 Oct 2014 02:16:11 +0000 (22:16 -0400)]
man: add table of manager states
Zbigniew Jędrzejewski-Szmek [Tue, 28 Oct 2014 02:34:28 +0000 (21:34 -0500)]
shell-completion: systemctl set-default,get-default,is-system-running
Zbigniew Jędrzejewski-Szmek [Tue, 28 Oct 2014 02:34:09 +0000 (21:34 -0500)]
rpm: add user macros
Zbigniew Jędrzejewski-Szmek [Sun, 26 Oct 2014 00:30:51 +0000 (20:30 -0400)]
manager: do not print anything while passwords are being queried
https://bugs.freedesktop.org/show_bug.cgi?id=73942
Zbigniew Jędrzejewski-Szmek [Tue, 28 Oct 2014 01:52:38 +0000 (21:52 -0400)]
cdrom_id: do not attempt to read past end of buffer
CID #1238437
Zbigniew Jędrzejewski-Szmek [Tue, 28 Oct 2014 01:31:29 +0000 (21:31 -0400)]
selinux: make sure we do not try to print missing fields
UID or GID of 0 is valid, so we cannot use that to distinguish whether
calls to sd_bus_creds_get_* succeeded, and the return value from the
function is the only way to know about missing fields. Print "n/a" if
the fields are missing.
CID #1238779
Timofey Titovets [Sat, 25 Oct 2014 21:17:24 +0000 (00:17 +0300)]
login: remove multi-seat-x
Lennart Poettering [Tue, 28 Oct 2014 01:19:37 +0000 (02:19 +0100)]
update TODO
Lennart Poettering [Tue, 28 Oct 2014 01:17:12 +0000 (02:17 +0100)]
Update NEWS
Lennart Poettering [Tue, 28 Oct 2014 00:49:39 +0000 (01:49 +0100)]
units: define appropriate job timeout actions when boot or shutdown timeouts 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.
Lennart Poettering [Tue, 28 Oct 2014 00:49:07 +0000 (01:49 +0100)]
job: optionally, when a job timeout is hit, also execute a failure action
Lennart Poettering [Tue, 28 Oct 2014 00:42:13 +0000 (01:42 +0100)]
core: remove system start timeout logic again
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.
Lennart Poettering [Mon, 27 Oct 2014 23:52:48 +0000 (00:52 +0100)]
update TODO
Lennart Poettering [Mon, 27 Oct 2014 22:50:51 +0000 (23:50 +0100)]
journald: be nice to coverity, add an extra assert
coverity otherwise assumes that the chain object might be NULL.
Lennart Poettering [Mon, 27 Oct 2014 17:09:07 +0000 (18:09 +0100)]
CODING_STYLE: don't clobber arguments on failure
Lennart Poettering [Mon, 27 Oct 2014 17:08:46 +0000 (18:08 +0100)]
calendarspec: parse 'quarterly' and 'semi-annually' as shortcuts
Tom Gundersen [Mon, 27 Oct 2014 16:39:18 +0000 (17:39 +0100)]
networkd: network - if no prefixlength is given, try to deduce one from the address class
In case of a class E or F address, ignore the address.
Tom Gundersen [Mon, 27 Oct 2014 16:38:03 +0000 (17:38 +0100)]
shared: in-addr-utils - add default_subnet_mask and default_prefixlen methods
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.
Tom Gundersen [Mon, 27 Oct 2014 16:28:29 +0000 (17:28 +0100)]
man: tmpfiles.d - recommend using b! and c!
We should avoid creating static device nodes at runtime.
Tom Gundersen [Mon, 27 Oct 2014 16:15:42 +0000 (17:15 +0100)]
units: tmpfiles-setup-dev - allow unsafe file creation to happen in /dev at boot
This will allow us to mark static device nodes with '!' to indicate that they should only be created at early boot.
Daniel Mack [Mon, 27 Oct 2014 16:02:31 +0000 (17:02 +0100)]
sd-bus: sync kdbus.h (ABI break)
Some comment fixes and header cleanups in kdbus.h, and the task capability
meta information has been factored out to its own struct.
Lennart Poettering [Mon, 27 Oct 2014 12:54:19 +0000 (13:54 +0100)]
man: document what "minutely" now means
Daniele Medri [Mon, 27 Oct 2014 07:42:42 +0000 (08:42 +0100)]
calendar: new case 'minutely'
Lennart Poettering [Mon, 27 Oct 2014 12:32:04 +0000 (13:32 +0100)]
update TODO
Lennart Poettering [Mon, 27 Oct 2014 12:31:56 +0000 (13:31 +0100)]
update NEWS
Lennart Poettering [Mon, 27 Oct 2014 12:06:11 +0000 (13:06 +0100)]
sd-bus: explicitly cast asprintf() return value away we are not interested in
Let's give coverity a hint what's going on here.
Lennart Poettering [Mon, 27 Oct 2014 12:04:12 +0000 (13:04 +0100)]
Revert "sd-bus: check return value of asprintf()"
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.
Michal Sekletar [Tue, 21 Oct 2014 16:38:42 +0000 (18:38 +0200)]
shutdown: do final unmounting only if not running inside the container
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
Ivan Shapovalov [Mon, 27 Oct 2014 09:07:36 +0000 (12:07 +0300)]
man: fix typos in description of SELinuxContextFromNet=
Tom Gundersen [Sun, 26 Oct 2014 13:01:27 +0000 (14:01 +0100)]
networkd: don't stop the dhcp server when link goes down
Michal Sekletar [Mon, 27 Oct 2014 10:08:26 +0000 (11:08 +0100)]
util: fix copy-paste error and actually set the new hostname
Reported-by: sztanpet on irc
Michal Sekletar [Tue, 21 Oct 2014 16:17:54 +0000 (18:17 +0200)]
util: introduce sethostname_idempotent
Function queries system hostname and applies changes only when necessary. Also,
migrate all client of sethostname to sethostname_idempotent while at it.
Zbigniew Jędrzejewski-Szmek [Sun, 26 Oct 2014 04:14:30 +0000 (00:14 -0400)]
journald: fix flushing
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.
Zbigniew Jędrzejewski-Szmek [Sat, 25 Oct 2014 19:15:28 +0000 (15:15 -0400)]
systemctl: do not ignore errors in symlink removal
On an ro fs, systemctl disable ... would fail silently.
Zbigniew Jędrzejewski-Szmek [Fri, 24 Oct 2014 20:09:35 +0000 (16:09 -0400)]
Rearrange Unit to make pahole happy
After all we have lots of those.
Zbigniew Jędrzejewski-Szmek [Sat, 25 Oct 2014 15:59:36 +0000 (11:59 -0400)]
calendarspec: fix typo in "annually"
https://bugs.freedesktop.org/show_bug.cgi?id=85447
Santiago Vila [Sat, 25 Oct 2014 14:40:30 +0000 (10:40 -0400)]
journalctl: correct help text for --until
http://bugs.debian.org/766598
Lennart Poettering [Fri, 24 Oct 2014 17:29:01 +0000 (19:29 +0200)]
bus-proxy: it's OK if getpeercred doesn't work
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
Lennart Poettering [Fri, 24 Oct 2014 17:24:53 +0000 (19:24 +0200)]
sd-bus: if we don't manage to properly allocate the error message for an 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
Lennart Poettering [Fri, 24 Oct 2014 17:10:09 +0000 (19:10 +0200)]
time: don't do comparison twice
Lennart Poettering [Fri, 24 Oct 2014 17:09:36 +0000 (19:09 +0200)]
time: minor simplification
Lennart Poettering [Fri, 24 Oct 2014 17:08:22 +0000 (19:08 +0200)]
time: earlier exit from format_timestamp_relative() on special times
Lennart Poettering [Fri, 24 Oct 2014 17:07:26 +0000 (19:07 +0200)]
time: also support 'infinity' syntax in parse_nsec()
Let's make parse_usec() and parse_nsec() work similar
Lennart Poettering [Fri, 24 Oct 2014 17:07:01 +0000 (19:07 +0200)]
update TODO
Lennart Poettering [Fri, 24 Oct 2014 17:06:23 +0000 (19:06 +0200)]
NEWS: more preparations for 217
Lennart Poettering [Fri, 24 Oct 2014 16:48:11 +0000 (18:48 +0200)]
delta: use wait_for_terminate_and_warn() to generate warnin when diff fails
Lennart Poettering [Fri, 24 Oct 2014 16:33:29 +0000 (18:33 +0200)]
calendar: make freeing a calendar spec object deal fine with NULL
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.
Lennart Poettering [Fri, 24 Oct 2014 16:32:30 +0000 (18:32 +0200)]
timesyncd: the IP_TOS sockopt is really just an optimization, we shouldn't fail if we can't set it
This partially undos
2f905e821e0342c36f5a5d3a51d53aabccc800bd
Lennart Poettering [Fri, 24 Oct 2014 14:52:55 +0000 (16:52 +0200)]
update TODO
Jan Janssen [Thu, 23 Oct 2014 17:37:29 +0000 (19:37 +0200)]
journalctl: Unify boot id lookup into common function get_boots
WaLyong Cho [Fri, 24 Oct 2014 04:51:09 +0000 (13:51 +0900)]
udev: do NOT re-label smack
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.
Lennart Poettering [Fri, 24 Oct 2014 11:44:45 +0000 (13:44 +0200)]
manager: Linux on hppa has fewer rtsigs, hence avoid using the higher ones there
https://bugs.freedesktop.org/show_bug.cgi?id=84931
Klaus Purer [Fri, 24 Oct 2014 11:03:15 +0000 (13:03 +0200)]
man: remove another gendered pronoun
Klaus Purer [Fri, 24 Oct 2014 11:00:57 +0000 (13:00 +0200)]
journald: removed gendered pronouns in comment
Lennart Poettering [Fri, 24 Oct 2014 10:30:43 +0000 (12:30 +0200)]
man: fix minor typo
Lennart Poettering [Fri, 24 Oct 2014 10:07:05 +0000 (12:07 +0200)]
man: add a link to the XDG basedir spec from the pam_sytemd man page
Lennart Poettering [Fri, 24 Oct 2014 10:02:44 +0000 (12:02 +0200)]
man: avoid gendered singular pronouns
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.