chiark / gitweb /
elogind.git
5 years agonetworkd: support vxlan parameters
Susant Sahani [Sat, 15 Nov 2014 02:54:59 +0000 (08:24 +0530)]
networkd: support vxlan parameters

V3: fix copy paste error
V4: Make manual and config more readable

Add vxlan paramertes to config.

5 years agoupdate TODO
Lennart Poettering [Thu, 4 Dec 2014 03:17:09 +0000 (04:17 +0100)]
update TODO

5 years agortnl: order local addresses/gateways by the address itself as last resort
Lennart Poettering [Thu, 4 Dec 2014 03:16:29 +0000 (04:16 +0100)]
rtnl: order local addresses/gateways by the address itself as last resort

This way we can be sure that the returned list is stable regarding
modifications in the kernel.

5 years agoselinux: figure out selinux context applied on exec() before closing all fds
Michal Sekletar [Wed, 12 Nov 2014 12:53:27 +0000 (13:53 +0100)]
selinux: figure out selinux context applied on exec() before closing all fds

We need original socket_fd around otherwise mac_selinux_get_child_mls_label
fails with -EINVAL return code. Also don't call setexeccon twice but rather pass
context value of SELinuxContext option as an extra argument.

5 years agounits: skip mounting /dev/hugepages if we don't have CAP_SYS_ADMIN
Michal Sekletar [Wed, 12 Nov 2014 14:19:42 +0000 (15:19 +0100)]
units: skip mounting /dev/hugepages if we don't have CAP_SYS_ADMIN

Preparation for allowing systemd to run gracefully in containers lacking
CAP_SYS_ADMIN.

5 years agoutf8: minor simplifications
Lennart Poettering [Thu, 4 Dec 2014 01:36:04 +0000 (02:36 +0100)]
utf8: minor simplifications

5 years agoutf8: when escaping unprintable unichars, escape the whole unichar, not just the...
Lennart Poettering [Thu, 4 Dec 2014 01:27:14 +0000 (02:27 +0100)]
utf8: when escaping unprintable unichars, escape the whole unichar, not just the first byte of it

5 years agobootchart: escape non printable process name
WaLyong Cho [Wed, 12 Nov 2014 10:49:32 +0000 (19:49 +0900)]
bootchart: escape non printable process name

5 years agoutf8: intruduce utf8_escape_non_printable
WaLyong Cho [Wed, 12 Nov 2014 10:49:31 +0000 (19:49 +0900)]
utf8: intruduce utf8_escape_non_printable

5 years agobootchart: add standalone bootchart service
WaLyong Cho [Sat, 15 Nov 2014 06:42:11 +0000 (15:42 +0900)]
bootchart: add standalone bootchart service

5 years agortnl: when querying local addresses and gateways, take address family into account
Lennart Poettering [Thu, 4 Dec 2014 00:41:12 +0000 (01:41 +0100)]
rtnl: when querying local addresses and gateways, take address family into account

5 years agosd-bus: avoid a null dereference
Thomas Hindoe Paaboel Andersen [Wed, 3 Dec 2014 23:23:27 +0000 (00:23 +0100)]
sd-bus: avoid a null dereference

5 years agosystemctl: fix a leak
Thomas Hindoe Paaboel Andersen [Wed, 3 Dec 2014 23:14:37 +0000 (00:14 +0100)]
systemctl: fix a leak

5 years agotest-path-util: fix a leak
Thomas Hindoe Paaboel Andersen [Wed, 3 Dec 2014 23:05:20 +0000 (00:05 +0100)]
test-path-util: fix a leak

5 years agovconsole: don't hard-code systemd-vconsole-setup binary path
Michael Biebl [Sat, 29 Nov 2014 05:35:38 +0000 (06:35 +0100)]
vconsole: don't hard-code systemd-vconsole-setup binary path

5 years agonetworkctl: remove unused variable
Thomas Hindoe Paaboel Andersen [Wed, 3 Dec 2014 22:50:38 +0000 (23:50 +0100)]
networkctl: remove unused variable

5 years agoutil: don't shadow variable
Thomas Hindoe Paaboel Andersen [Sat, 29 Nov 2014 23:37:16 +0000 (00:37 +0100)]
util: don't shadow variable

environ is already defined in unistd.h

5 years agoresolved: don't resolve the hostname "gateway" with LLMNR, leave that to nss-myhostname
Lennart Poettering [Wed, 3 Dec 2014 21:23:41 +0000 (22:23 +0100)]
resolved: don't resolve the hostname "gateway" with LLMNR, leave that to nss-myhostname

5 years agortnl: make checks for default routes more strict
Lennart Poettering [Wed, 3 Dec 2014 21:23:06 +0000 (22:23 +0100)]
rtnl: make checks for default routes more strict

Also check that the source netmask is 0, not only the destination
netmask.

5 years agonss-myhostname: always resolve the host name "gateway" to the local default gateway
Lennart Poettering [Wed, 3 Dec 2014 20:42:58 +0000 (21:42 +0100)]
nss-myhostname: always resolve the host name "gateway" to the local default gateway

This is useful inside of containers or local networks to intrdouce a
stable name of the default gateway host (in case of containers usually
the host, in case of LANs usually local router).

5 years agonetworkd: fix typo
Torstein Husebø [Wed, 3 Dec 2014 19:59:00 +0000 (20:59 +0100)]
networkd: fix typo

V2: found another one

5 years agoudevd: don't take reference for NULL rtnl object
Tom Gundersen [Wed, 3 Dec 2014 19:00:28 +0000 (20:00 +0100)]
udevd: don't take reference for NULL rtnl object

5 years agostrv: add calls to add two entries to an strv at once
Lennart Poettering [Wed, 3 Dec 2014 17:31:51 +0000 (18:31 +0100)]
strv: add calls to add two entries to an strv at once

5 years agolocaled: log xkbcommon errors
Jan Synacek [Wed, 3 Dec 2014 13:56:56 +0000 (14:56 +0100)]
localed: log xkbcommon errors

The errors are prefixed with "libxkbcommon" to provide some context,
because they are quite confusing without it. With the prefix, we at
least know where they come from.

5 years agonspawn: correct EEXIST check when creating directory to mount /tmp in
Lennart Poettering [Wed, 3 Dec 2014 16:52:51 +0000 (17:52 +0100)]
nspawn: correct EEXIST check when creating directory to mount /tmp in

https://bugs.freedesktop.org/show_bug.cgi?id=86309

5 years agobuild-sys: update man-list
David Herrmann [Wed, 3 Dec 2014 16:01:54 +0000 (17:01 +0100)]
build-sys: update man-list

Run 'make update-man-list'.

5 years agomachine-id-commit: add man pages
Didier Roche [Mon, 24 Nov 2014 10:14:22 +0000 (11:14 +0100)]
machine-id-commit: add man pages

Add man pages for systemd-machine-id-commit.service and
systemd-machine-id-commit.

5 years agomachine-id-commit: add unit file
Didier Roche [Mon, 24 Nov 2014 09:12:06 +0000 (10:12 +0100)]
machine-id-commit: add unit file

The unit file only active the machine-id-commit helper if /etc is mounted
writable and /etc/machine-id is an independant mount point (should be a tmpfs).

5 years agomachine-id-commit: Introduce machine-id-commit binary
Didier Roche [Mon, 24 Nov 2014 08:54:18 +0000 (09:54 +0100)]
machine-id-commit: Introduce machine-id-commit binary

This binary enables to commit transient machine-id on disk if it becomes
writable.

5 years agomachine-id-setup: add a machine_id_commit call to commit on disk a transient machine-id
Didier Roche [Mon, 24 Nov 2014 08:43:29 +0000 (09:43 +0100)]
machine-id-setup: add a machine_id_commit call to commit on disk a transient machine-id

If /etc was read only at boot time with an empty /etc/machine-id, the latter
will be mounted as a tmpfs and get reset at each boot. If the system becomes rw
later, this functionality enables to commit in a race-free manner the
transient machine-id to disk.

5 years agomachine-id-setup: casting const away is ugly, let's not do it if there's no reason to
Lennart Poettering [Wed, 3 Dec 2014 02:13:34 +0000 (03:13 +0100)]
machine-id-setup: casting const away is ugly, let's not do it if there's no reason to

5 years agoupdate TODO
Lennart Poettering [Wed, 3 Dec 2014 02:13:14 +0000 (03:13 +0100)]
update TODO

5 years agomachine-id-setup: Factorize some machine-id-setup functions to be reused
Didier Roche [Mon, 24 Nov 2014 08:40:57 +0000 (09:40 +0100)]
machine-id-setup: Factorize some machine-id-setup functions to be reused

5 years agorfkill: rework how we generate file names from rfkill devices
Lennart Poettering [Wed, 3 Dec 2014 01:02:11 +0000 (02:02 +0100)]
rfkill: rework how we generate file names from rfkill devices

Generate the file name from ID_PATH plus the rfkill type (wlan,
bluetooth, ...) and ignore the rfkill device name, since it apparently
is not a stable identifier.

Also, ensure that devices disappearing don't result in broken services,
simply exit cleanly.

5 years agolibudev: set errno properly in all error conditions of udev_device_new_from_syspath()
Lennart Poettering [Wed, 3 Dec 2014 00:59:42 +0000 (01:59 +0100)]
libudev: set errno properly in all error conditions of udev_device_new_from_syspath()

5 years agoDISTRO_PORTING: add full path for /usr/lib/systemd/systemd and fix grammar
Chris Atkinson [Tue, 2 Dec 2014 13:30:59 +0000 (08:30 -0500)]
DISTRO_PORTING: add full path for /usr/lib/systemd/systemd and fix grammar

(David: fixed up some trailing whitespace and commit-message)

5 years agoshared: add format helpers for printing MAC addresses
Tom Gundersen [Tue, 2 Dec 2014 13:19:15 +0000 (14:19 +0100)]
shared: add format helpers for printing MAC addresses

Use these in networctl.

5 years agoupdate TODO
Lennart Poettering [Tue, 2 Dec 2014 12:22:47 +0000 (13:22 +0100)]
update TODO

5 years agorc-local: drop SysVStartPriority= field which is now obsolete
Lennart Poettering [Tue, 2 Dec 2014 12:08:10 +0000 (13:08 +0100)]
rc-local: drop SysVStartPriority= field which is now obsolete

5 years agobus-proxy: don't log bus policy every single time we run
Lennart Poettering [Tue, 2 Dec 2014 11:58:44 +0000 (12:58 +0100)]
bus-proxy: don't log bus policy every single time we run

5 years agobusctl: fix 'command line' style output of properties
Lennart Poettering [Tue, 2 Dec 2014 11:58:13 +0000 (12:58 +0100)]
busctl: fix 'command line' style output of properties

5 years agosystemctl: show unit file preset state in "systemctl status" output"
Lennart Poettering [Tue, 2 Dec 2014 01:38:18 +0000 (02:38 +0100)]
systemctl: show unit file preset state in "systemctl status" output"

5 years agomanager: log deserialization errors only at LOG_DEBUG level
Lennart Poettering [Mon, 1 Dec 2014 23:19:05 +0000 (00:19 +0100)]
manager: log deserialization errors only at LOG_DEBUG level

During upgrades and when transitioning between different systemd
versions in initrd and on the host we have to expect that some
serialization fields are unknown or parse incorrectly. This shouldn't
really be considered an error, hence downgrade the log messages about
it to debug. This way we can still trace it, but it doesn't confuse
users.

This kinda reverts 46849c3f.

5 years agoupdate TODO
Lennart Poettering [Mon, 1 Dec 2014 23:16:14 +0000 (00:16 +0100)]
update TODO

5 years agocore: OOM really shouldn't be considered a deserialization parse failure
Lennart Poettering [Mon, 1 Dec 2014 23:15:13 +0000 (00:15 +0100)]
core: OOM really shouldn't be considered a deserialization parse failure

5 years agonetworkctl: print the Gateway in the status output
Tom Gundersen [Tue, 2 Dec 2014 00:05:52 +0000 (01:05 +0100)]
networkctl: print the Gateway in the status output

This is the IP address of the default route on the link, if present. A
description is printed when available (the manufacturer of the gateway NIC based
on its MAC address).

In the future we should prefer LLDP information over MAC info.

5 years agosd-rtnl: route - allow GETROUTE with AF_UNSPEC
Tom Gundersen [Tue, 2 Dec 2014 09:46:14 +0000 (10:46 +0100)]
sd-rtnl: route - allow GETROUTE with AF_UNSPEC

5 years agoshared: udev-util - add hwdb cleanup macro
Tom Gundersen [Tue, 2 Dec 2014 09:19:14 +0000 (10:19 +0100)]
shared: udev-util - add hwdb cleanup macro

5 years agosd-rtnl: add sd_rtnl_message_{new_neigh,neigh_get_{family,ifindex}}
Tom Gundersen [Tue, 2 Dec 2014 00:35:11 +0000 (01:35 +0100)]
sd-rtnl: add sd_rtnl_message_{new_neigh,neigh_get_{family,ifindex}}

5 years agosd-rtnl: add typesystem for RTM_*NEIGH
Tom Gundersen [Tue, 2 Dec 2014 00:23:47 +0000 (01:23 +0100)]
sd-rtnl: add typesystem for RTM_*NEIGH

5 years agosd-rtnl: add a bit more debugging in case a message is dropped
Tom Gundersen [Mon, 1 Dec 2014 23:59:34 +0000 (00:59 +0100)]
sd-rtnl: add a bit more debugging in case a message is dropped

5 years agosd-rtnl: message - allow checking for attributes without reading out their contents
Tom Gundersen [Mon, 1 Dec 2014 23:59:02 +0000 (00:59 +0100)]
sd-rtnl: message - allow checking for attributes without reading out their contents

5 years agosd-rtnl: add sd_rtnl_message_route_get_family
Tom Gundersen [Mon, 1 Dec 2014 23:58:17 +0000 (00:58 +0100)]
sd-rtnl: add sd_rtnl_message_route_get_family

5 years agobuild-sys: configure the list of system users, files and directories
Łukasz Stelmach [Fri, 28 Nov 2014 14:59:59 +0000 (15:59 +0100)]
build-sys: configure the list of system users, files and directories

Choose which system users defined in sysusers.d/systemd.conf and files
or directories in tmpfiles.d/systemd.conf, should be provided depending
on comile-time configuration.

5 years agoman: BusName= is not optional for Type!=bus
Umut Tezduyar Lindskog [Sun, 30 Nov 2014 08:32:39 +0000 (09:32 +0100)]
man: BusName= is not optional for Type!=bus

http://lists.freedesktop.org/archives/systemd-devel/2014-November/025492.html

5 years agoman: delete ZX as sole compression; "Compress=" as boolean
Chris Atkinson [Mon, 1 Dec 2014 03:13:06 +0000 (22:13 -0500)]
man: delete ZX as sole compression; "Compress=" as boolean

In man journald.conf, removes reference to XZ as sole form of
compression. See commit d89c8fdf48c7bad5816b9f2e77e8361721f22517.

In man coredump.conf, clarifies that "Compression=" controls existence,
not type, of compression.

5 years agoresolved: make TXT RR generation and parsing more in-line with RFC 6763, section 6.1
Lennart Poettering [Mon, 1 Dec 2014 02:08:55 +0000 (03:08 +0100)]
resolved: make TXT RR generation and parsing more in-line with RFC 6763, section 6.1

The RFC says to encode an single empty TXT string instead of an empty
TXT array. It also says to treat a zero-length TXT RR as a TXT array
with a single zero-length string.

5 years agoupdate TODO
Lennart Poettering [Mon, 1 Dec 2014 02:06:50 +0000 (03:06 +0100)]
update TODO

5 years agocore: warn and ignore SysVStartPriority=
Zbigniew Jędrzejewski-Szmek [Sun, 30 Nov 2014 15:42:53 +0000 (10:42 -0500)]
core: warn and ignore SysVStartPriority=

Option was being parsed but not used for anything.

5 years agoWhen warning about unsupported options, be more detailed
Zbigniew Jędrzejewski-Szmek [Sun, 30 Nov 2014 15:21:49 +0000 (10:21 -0500)]
When warning about unsupported options, be more detailed

5 years agoupdate TODO
Lennart Poettering [Sun, 30 Nov 2014 23:21:04 +0000 (00:21 +0100)]
update TODO

5 years agocgroup-util: Don't send SIGCONT after SIGKILL
Ross Lagerwall [Sat, 29 Nov 2014 11:31:30 +0000 (11:31 +0000)]
cgroup-util: Don't send SIGCONT after SIGKILL

5 years agotimesyncd: minor simplification
Lennart Poettering [Sun, 30 Nov 2014 01:31:38 +0000 (02:31 +0100)]
timesyncd: minor simplification

5 years agojournald: close passed fds we cannot make sense of
Lennart Poettering [Sat, 29 Nov 2014 23:51:45 +0000 (00:51 +0100)]
journald: close passed fds we cannot make sense of

This is mostly likely the audit socket, and we really should close it
if we cannot make sense of it, since as long as it is open the kernel
might disable the kmsg forwarding of audit msgs, and we should avoid
that, since audit msgs might get completely lost then.

I also downgraded the log message we show a bit, after all things should
really work fine, and we proceed fine with it.

5 years agoman: document that we set both soft and hard limits for Limit directives
Ronny Chevalier [Sun, 30 Nov 2014 19:28:36 +0000 (20:28 +0100)]
man: document that we set both soft and hard limits for Limit directives

See
http://cgit.freedesktop.org/systemd/systemd/tree/src/core/load-fragment.c#n1100

5 years agoman: fix typos
Ronny Chevalier [Sun, 30 Nov 2014 19:20:59 +0000 (20:20 +0100)]
man: fix typos

5 years agoman: document equivalence between Limit directives and ulimit
Ronny Chevalier [Sun, 30 Nov 2014 19:12:13 +0000 (20:12 +0100)]
man: document equivalence between Limit directives and ulimit

See https://bugs.freedesktop.org/show_bug.cgi?id=80341

5 years agoman: fix link to systemd-networkd-wait-online.service in systemd-networkd.service(8)
Chris Mayo [Sun, 30 Nov 2014 14:44:25 +0000 (14:44 +0000)]
man: fix link to systemd-networkd-wait-online.service in systemd-networkd.service(8)

5 years agoman: add a link to systemd-coredump(8) in Description of coredump.conf(5)
Chris Mayo [Sun, 30 Nov 2014 14:45:29 +0000 (14:45 +0000)]
man: add a link to systemd-coredump(8) in Description of coredump.conf(5)

5 years agoterminal/screen: fix GL/GR double-mapping
David Herrmann [Sun, 30 Nov 2014 13:37:12 +0000 (14:37 +0100)]
terminal/screen: fix GL/GR double-mapping

We must not call screen_map() multiple times for the same input char. Fix
the double-mapping for GL/GR maps are correctly applied.

5 years agodelta: Fix broken separator support
Alison Chaiken [Sun, 30 Nov 2014 11:14:48 +0000 (12:14 +0100)]
delta: Fix broken separator support

systemd-delta man page promises that multiple types of deltas will be
concatenated if they are listed with a comma as separator.  Replace
FOREACH_WORD() with FOREACH_WORD_SEPARATOR() to restore the functionality.

5 years agobuild-sys: add missing tests files to EXTRA_DIST
Ronny Chevalier [Sun, 30 Nov 2014 02:17:20 +0000 (03:17 +0100)]
build-sys: add missing tests files to EXTRA_DIST

5 years agocore: remove unused variables
Ronny Chevalier [Sun, 30 Nov 2014 01:33:35 +0000 (02:33 +0100)]
core: remove unused variables

5 years agonetwork: remove unused variable
Ronny Chevalier [Sun, 30 Nov 2014 01:16:30 +0000 (02:16 +0100)]
network: remove unused variable

5 years agotests: use assert_se instead of assert
Ronny Chevalier [Sun, 30 Nov 2014 01:16:19 +0000 (02:16 +0100)]
tests: use assert_se instead of assert

Otherwise they can be optimized away with -DNDEBUG

5 years agoresolve: remove unused variable
Ronny Chevalier [Sun, 30 Nov 2014 01:04:50 +0000 (02:04 +0100)]
resolve: remove unused variable

5 years agosystemctl: remove unused variable
Thomas Hindoe Paaboel Andersen [Sat, 29 Nov 2014 23:36:16 +0000 (00:36 +0100)]
systemctl: remove unused variable

5 years agoNEWS: Document new .conf.d configuration directories
Josh Triplett [Sat, 29 Nov 2014 22:01:47 +0000 (14:01 -0800)]
NEWS: Document new .conf.d configuration directories

Also provide guidance to distributions, to make sure they don't start
dropping files in the configuration directories in /etc/.

5 years agoudev: strings in C are NUL-terminated anyway, no need to add a second NUL...
Lennart Poettering [Sat, 29 Nov 2014 23:21:49 +0000 (00:21 +0100)]
udev: strings in C are NUL-terminated anyway, no need to add a second NUL...

5 years agojournald-remote,journal-upload: Support .d directories in the usual search paths
Josh Triplett [Sat, 29 Nov 2014 09:07:28 +0000 (01:07 -0800)]
journald-remote,journal-upload: Support .d directories in the usual search paths

5 years agotimesyncd: Support timesyncd.conf.d directories in the usual search paths
Josh Triplett [Sat, 29 Nov 2014 09:07:21 +0000 (01:07 -0800)]
timesyncd: Support timesyncd.conf.d directories in the usual search paths

5 years agoresolved: Support resolved.conf.d directories in the usual search paths
Josh Triplett [Sat, 29 Nov 2014 09:07:11 +0000 (01:07 -0800)]
resolved: Support resolved.conf.d directories in the usual search paths

5 years agocoredump: Support coredump.conf.d directories in the usual search paths
Josh Triplett [Sat, 29 Nov 2014 09:06:48 +0000 (01:06 -0800)]
coredump: Support coredump.conf.d directories in the usual search paths

5 years agobootchart: Support bootchart.conf.d directories in the usual search paths
Josh Triplett [Sat, 29 Nov 2014 09:06:41 +0000 (01:06 -0800)]
bootchart: Support bootchart.conf.d directories in the usual search paths

5 years agosystemd-sleep: Support sleep.conf.d directories in the usual search paths
Josh Triplett [Sat, 29 Nov 2014 09:06:28 +0000 (01:06 -0800)]
systemd-sleep: Support sleep.conf.d directories in the usual search paths

5 years agojournald: Support journald.conf.d directories in the usual search paths
Josh Triplett [Sat, 29 Nov 2014 09:06:20 +0000 (01:06 -0800)]
journald: Support journald.conf.d directories in the usual search paths

5 years agocore: Support system.conf.d and user.conf.d directories in the usual search paths
Josh Triplett [Sat, 29 Nov 2014 09:06:04 +0000 (01:06 -0800)]
core: Support system.conf.d and user.conf.d directories in the usual search paths

5 years agoman: Factor out a common snippet for .d directories and precedence
Josh Triplett [Sat, 29 Nov 2014 09:05:43 +0000 (01:05 -0800)]
man: Factor out a common snippet for .d directories and precedence

Several manpages contain duplicate text describing a standard set of .d
configuration directories, with the usual sorting, precedence,
overrides, and so on.  Factor this common text out using XInclude before
proliferating it even further.

5 years agoman/logind.conf.xml: Make "man logind.conf.d" work too
Josh Triplett [Sat, 29 Nov 2014 09:05:20 +0000 (01:05 -0800)]
man/logind.conf.xml: Make "man logind.conf.d" work too

5 years agosystemctl: add edit verb
Ronny Chevalier [Wed, 29 Oct 2014 15:22:02 +0000 (16:22 +0100)]
systemctl: add edit verb

It helps editing units by either creating a drop-in file, like
/etc/systemd/system/my.service.d/override.conf, or by copying the
original unit from /usr/lib/systemd/ to /etc/systemd/ if the --full
option is specified.

It invokes an editor on temporary files related to the unit files and
if the editor exited successfully, then it renames the temporary files
to their original names (e.g. my.service or override.conf) and
daemon-reload is invoked.

If the temporary file is empty the modification is canceled.

See https://bugzilla.redhat.com/show_bug.cgi?id=906824

5 years agoman: update description of default extension for isolate
Chris Atkinson [Fri, 28 Nov 2014 20:27:56 +0000 (15:27 -0500)]
man: update description of default extension for isolate

5 years agonspawn: fix unused variable warning
Zbigniew Jędrzejewski-Szmek [Sat, 29 Nov 2014 16:06:05 +0000 (11:06 -0500)]
nspawn: fix unused variable warning

5 years agodelta: diff returns 1 when files differ, ignore this
Zbigniew Jędrzejewski-Szmek [Sat, 29 Nov 2014 15:28:01 +0000 (10:28 -0500)]
delta: diff returns 1 when files differ, ignore this

https://bugs.debian/org/771397

5 years agoshared: install - report error if mask symlink can not be marked for removal
Tom Gundersen [Sat, 29 Nov 2014 10:14:48 +0000 (11:14 +0100)]
shared: install - report error if mask symlink can not be marked for removal

5 years agoshared: time-dst - ensure nulstr is null terminated
Tom Gundersen [Sat, 29 Nov 2014 09:40:21 +0000 (10:40 +0100)]
shared: time-dst - ensure nulstr is null terminated

Fixes CID #1237772.

5 years agoREADME: notice kernel config for CPUQuota
WaLyong Cho [Tue, 18 Nov 2014 15:13:43 +0000 (00:13 +0900)]
README: notice kernel config for CPUQuota

5 years agomount: use DEFINE_TRIVIAL_CLEANUP_FUNC
Zbigniew Jędrzejewski-Szmek [Fri, 28 Nov 2014 22:04:24 +0000 (17:04 -0500)]
mount: use DEFINE_TRIVIAL_CLEANUP_FUNC

5 years agoudev: rules - ignore the lack of trailing newline
Tom Gundersen [Fri, 28 Nov 2014 20:51:45 +0000 (21:51 +0100)]
udev: rules - ignore the lack of trailing newline

Also accept '\r' as newline character.

This dropps warnings of the type:

  invalid key/value pair in file /usr/lib/udev/rules.d/40-usb-media-players.rules
  on line 26, starting at character 25 ('')

5 years agoudev: rules - print the first invalid character
Tom Gundersen [Fri, 28 Nov 2014 20:46:34 +0000 (21:46 +0100)]
udev: rules - print the first invalid character

The current code would print the character following the first invalid
character.

Given an udev rules-file without a trailing newline we would otherwise print
garbage:

  invalid key/value pair in file /usr/lib/udev/rules.d/40-usb-media-players.rules
  on line 26, starting at character 25 ('m')

This is now changed to print

  invalid key/value pair in file /usr/lib/udev/rules.d/40-usb-media-players.rules
  on line 26, starting at character 25 ('')

(still not very good as printing \0 just gives the empty string)

5 years agoudev: rules - modernise add_rule a bit
Tom Gundersen [Fri, 28 Nov 2014 20:44:31 +0000 (21:44 +0100)]
udev: rules - modernise add_rule a bit