chiark / gitweb /
elogind.git
9 years agocore: rename unit_destroy_cgroup() to unit_destroy_cgroup_if_empty() since it's not...
Lennart Poettering [Tue, 9 Dec 2014 01:31:42 +0000 (02:31 +0100)]
core: rename unit_destroy_cgroup() to unit_destroy_cgroup_if_empty() since it's not quite as destructive as it sounds nowadays

9 years agocgroup: Handle error when destroying cgroup
Ross Lagerwall [Sat, 29 Nov 2014 15:27:14 +0000 (15:27 +0000)]
cgroup: Handle error when destroying cgroup

If a cgroup fails to be destroyed (most likely because there are still
processes running as part of a service after the main pid exits), don't
free and remove the cgroup unit from the manager.  This fixes a
regression introduced by the cgroup rework in v205 where systemd would
forget about processes still running after the unit becomes inactive.
(This can happen when the main pid exits and KillMode=process or none).

9 years agofstab-generator: Allow mount.usr without mount.usrflags, honor rw/ro
Michael Marineau [Mon, 8 Dec 2014 19:05:31 +0000 (11:05 -0800)]
fstab-generator: Allow mount.usr without mount.usrflags, honor rw/ro

There is no need to require mount.usrflags. The original implementation
assumed that a btrfs subvolume would always be needed but that is not
applicable to systems that do not use btrfs for /usr.

Similar to using rootflags= for the default of mount.usrflags=, append
the classic 'ro' and 'rw' flags to the mount options.

9 years agofstab-generator: free all allocated strings
Lennart Poettering [Tue, 9 Dec 2014 01:22:44 +0000 (02:22 +0100)]
fstab-generator: free all allocated strings

9 years agounits: make sure container-getty@.service stops restarting when the pts device it...
Lennart Poettering [Tue, 9 Dec 2014 01:12:11 +0000 (02:12 +0100)]
units: make sure container-getty@.service stops restarting when the pts device it is bound to is gone

We only want to restart the getty as long as the pts device is still
around. As soon as it is gone, the service should be removed to.

http://lists.freedesktop.org/archives/systemd-devel/2014-December/026048.html

9 years agoupdate TODO
Lennart Poettering [Tue, 9 Dec 2014 01:05:19 +0000 (02:05 +0100)]
update TODO

9 years agonspawn: make sure macvlan MAC addresses are stable
Lennart Poettering [Tue, 9 Dec 2014 00:20:09 +0000 (01:20 +0100)]
nspawn: make sure macvlan MAC addresses are stable

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

9 years agosd-rtnl: fix size check in sd_rtnl_message_append_string()
Lennart Poettering [Tue, 9 Dec 2014 00:09:21 +0000 (01:09 +0100)]
sd-rtnl: fix size check in sd_rtnl_message_append_string()

9 years agoupdate TODO
Lennart Poettering [Mon, 8 Dec 2014 23:08:31 +0000 (00:08 +0100)]
update TODO

9 years agosd-bus: catch up with current kdbus, don't do matches on kdbus monitor connections
Lennart Poettering [Mon, 8 Dec 2014 23:01:36 +0000 (00:01 +0100)]
sd-bus: catch up with current kdbus, don't do matches on kdbus monitor connections

9 years agoupdate TODO
Lennart Poettering [Mon, 8 Dec 2014 22:52:08 +0000 (23:52 +0100)]
update TODO

9 years agobus-proxy: fix compat with autostarted services
Lennart Poettering [Mon, 8 Dec 2014 22:47:19 +0000 (23:47 +0100)]
bus-proxy: fix compat with autostarted services

9 years agoload-fragment: remove wrong ifdef guard
Zbigniew Jędrzejewski-Szmek [Mon, 8 Dec 2014 22:24:34 +0000 (17:24 -0500)]
load-fragment: remove wrong ifdef guard

config_parse_warn_compat is now always used for removed options.

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

9 years agonetworkd: manager - enumerate addresses globally, rather than per-link
Tom Gundersen [Mon, 8 Dec 2014 18:54:06 +0000 (19:54 +0100)]
networkd: manager - enumerate addresses globally, rather than per-link

The kernel always returns all addresses, rather than only for the given link, so let's only enumerate once.

9 years agojournal: Fix navigating backwards missing entries
Olivier Brunel [Fri, 5 Dec 2014 15:06:45 +0000 (16:06 +0100)]
journal: Fix navigating backwards missing entries

With DIRECTION_UP (i.e. navigating backwards) in generic_array_bisect() when the
needle was found as the last item in the array, it wasn't actually processed as
match, resulting in entries being missed.

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

9 years agonetworkd: link - typo
Tom Gundersen [Mon, 8 Dec 2014 17:36:49 +0000 (18:36 +0100)]
networkd: link - typo

9 years agosd-rtnl: fix bogus warning about dropping 20 bytes from multi-part messages
Tom Gundersen [Mon, 8 Dec 2014 17:36:16 +0000 (18:36 +0100)]
sd-rtnl: fix bogus warning about dropping 20 bytes from multi-part messages

Nothing was being dropped, we just failed to account for the NLMSG_DONE.

9 years agonetworkd: route - ignore unknown address family
Tom Gundersen [Mon, 8 Dec 2014 12:58:48 +0000 (13:58 +0100)]
networkd: route - ignore unknown address family

9 years agoudev: link-config - simplify net-match
Tom Gundersen [Sun, 7 Dec 2014 12:00:01 +0000 (13:00 +0100)]
udev: link-config - simplify net-match

9 years agoCheck return value from reading name_assign_type attr
Dave Reisner [Sat, 6 Dec 2014 18:34:27 +0000 (13:34 -0500)]
Check return value from reading name_assign_type attr

This file won't exist on kernels earlier than 3.17.

9 years agonetworkd: update manpage for optional Gateway=
Mantas Mikulėnas [Mon, 8 Dec 2014 11:53:30 +0000 (13:53 +0200)]
networkd: update manpage for optional Gateway=

Following commit 59580681f5f.

9 years agotimer: timer can be a transient unit
WaLyong Cho [Mon, 8 Dec 2014 15:03:53 +0000 (00:03 +0900)]
timer: timer can be a transient unit

9 years agobus: StartTransientUnit can have aux unit
WaLyong Cho [Mon, 8 Dec 2014 15:03:52 +0000 (00:03 +0900)]
bus: StartTransientUnit can have aux unit

9 years agoupdate TODO
Lennart Poettering [Sat, 6 Dec 2014 01:41:03 +0000 (02:41 +0100)]
update TODO

9 years agosd-bus: rework ELF error mapping table magic
Lennart Poettering [Sat, 6 Dec 2014 01:39:15 +0000 (02:39 +0100)]
sd-bus: rework ELF error mapping table magic

The ELF magic cannot work for consumers of our shard library, since they
are in a different module. Hence make all the ELF magic private, and
instead introduce a public function to register additional static
mapping table.

9 years agoremove duplicated includes
Thomas Hindoe Paaboel Andersen [Sat, 6 Dec 2014 08:43:31 +0000 (09:43 +0100)]
remove duplicated includes

9 years agonet_setup/networkd: warn if matching is done on possibly unstable ifname
Tom Gundersen [Fri, 5 Dec 2014 14:56:10 +0000 (15:56 +0100)]
net_setup/networkd: warn if matching is done on possibly unstable ifname

9 years agoupdate TODO
Lennart Poettering [Fri, 5 Dec 2014 13:09:33 +0000 (14:09 +0100)]
update TODO

9 years agoman: fix reference to obsolete command "systemctl dump"
Felipe Sateler [Fri, 5 Dec 2014 13:08:38 +0000 (14:08 +0100)]
man: fix reference to obsolete command "systemctl dump"

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

9 years agosd-bus: follow kdbus changes (ABI break)
Daniel Mack [Fri, 5 Dec 2014 09:03:00 +0000 (10:03 +0100)]
sd-bus: follow kdbus changes (ABI break)

Implement a recent change in the kdbus pool logic:

PAYLOAD_VEC_OFF items are now referencing offsets relative to the
connection's pool, not to the item itself. Follow this change in
sd-bus.

9 years agocryptsetup-generator: Add support for naming luks devices on kernel cmdline
Jan Janssen [Tue, 2 Dec 2014 17:49:30 +0000 (18:49 +0100)]
cryptsetup-generator: Add support for naming luks devices on kernel cmdline

9 years agocryptsetup-generator: Add support for UUID-specific key files on kernel command line
Jan Janssen [Tue, 2 Dec 2014 17:49:29 +0000 (18:49 +0100)]
cryptsetup-generator: Add support for UUID-specific key files on kernel command line

9 years agocryptsetup-generator: Split main() into more functions and use hasmaps
Jan Janssen [Tue, 2 Dec 2014 17:49:28 +0000 (18:49 +0100)]
cryptsetup-generator: Split main() into more functions and use hasmaps

9 years agoman: there's actually no "fail" fstab option, but only "nofail"
Lennart Poettering [Thu, 4 Dec 2014 23:47:38 +0000 (00:47 +0100)]
man: there's actually no "fail" fstab option, but only "nofail"

9 years agonetworkd: add basic [Link] settings to .network files
Tom Gundersen [Thu, 4 Dec 2014 20:57:13 +0000 (21:57 +0100)]
networkd: add basic [Link] settings to .network files

This allows the default link settings (set in .link files) to be overridden per Network. Only MTU and MACAddress is supported for now.

9 years agogitignore: ignore generated systemd-bootchart.service
WaLyong Cho [Thu, 4 Dec 2014 03:46:06 +0000 (12:46 +0900)]
gitignore: ignore generated systemd-bootchart.service

9 years agosd-bus: add extra assert check
Lennart Poettering [Thu, 4 Dec 2014 19:30:46 +0000 (20:30 +0100)]
sd-bus: add extra assert check

9 years agotmpfiles, man: Add xattr support to tmpfiles
Maciej Wereski [Thu, 4 Dec 2014 09:32:10 +0000 (10:32 +0100)]
tmpfiles, man: Add xattr support to tmpfiles

This patch makes it possible to set extended attributes on files created
by tmpfiles. This can be especially used to set SMACK security labels on
volatile files and directories.

It is done by adding new line of type "t". Such line should contain
attributes in Argument field, using following format:

name=value

All other fields are ignored.

If value contains spaces, then it must be surrounded by quotation marks.
User can also put quotation mark in value by escaping it with backslash.

Example:
D /var/run/cups - - - -
t /var/run/cups - - - - security.SMACK64=printing

9 years agomissing: define NET_NAME_UNKNOWN
Colin Walters [Thu, 4 Dec 2014 18:12:40 +0000 (13:12 -0500)]
missing: define NET_NAME_UNKNOWN

It's only exposed to userspace since

  commit 685343fc3ba61a1f6eef361b786601123db16c28
  Author:     Tom Gundersen <teg@jklm.no>
  AuthorDate: Mon Jul 14 16:37:22 2014 +0200
  Commit:     David S. Miller <davem@davemloft.net>
  CommitDate: Tue Jul 15 16:12:01 2014 -0700

to the kernel.

9 years agoudev: net_setup - allow matching on OriginalName=
Tom Gundersen [Thu, 4 Dec 2014 17:12:55 +0000 (18:12 +0100)]
udev: net_setup - allow matching on OriginalName=

This has been requested repeatedly, so let's give it a go. We explicitly do not allow matching
on names that have already been changed (from a previous udev run, or otherwise), and matching
on unpredictable names (ethX) is discouraged (but not currently disallowed).

We also currently allow:

[Match]
Name=veth0

[Link]
Name=my-name0
SomeOtherSetting=true

Which means that the link file will be applied the first time it is invoked, but
not on subsequent invocations, which may be surprising.

9 years agomissing: apparently, there's a world beyond x86..
David Herrmann [Thu, 4 Dec 2014 15:45:00 +0000 (16:45 +0100)]
missing: apparently, there's a world beyond x86..

..so make them cry and print a warning if __NR_memfd_create is not
defined. This should make syscall() fail with -ENOSYS, thus trigger a
suitable runtime error-path.

9 years agosd-rtnl: fix compile
Tom Gundersen [Thu, 4 Dec 2014 15:36:28 +0000 (16:36 +0100)]
sd-rtnl: fix compile

No idea how this appeared to compile for me. Mea culpa.

9 years agoupdate TODO
Lennart Poettering [Thu, 4 Dec 2014 15:17:26 +0000 (16:17 +0100)]
update TODO

9 years agosmack-util: remove warning when building without SMACK support
Lennart Poettering [Thu, 4 Dec 2014 15:17:18 +0000 (16:17 +0100)]
smack-util: remove warning when building without SMACK support

9 years agosd-rtnl: rename sd_rtnl_message_route_get_{dst,src}_len to *_prefixlen
Tom Gundersen [Thu, 4 Dec 2014 15:14:06 +0000 (16:14 +0100)]
sd-rtnl: rename sd_rtnl_message_route_get_{dst,src}_len to *_prefixlen

This makes the API more consistent.

9 years agohwdb: Update database of Bluetooth company identifiers
Marcel Holtmann [Thu, 4 Dec 2014 15:07:49 +0000 (16:07 +0100)]
hwdb: Update database of Bluetooth company identifiers

9 years agonetworkd: tunnel - allow INADDR_ANY as the local address
Tom Gundersen [Thu, 4 Dec 2014 14:55:46 +0000 (15:55 +0100)]
networkd: tunnel - allow INADDR_ANY as the local address

9 years agonetworkd: add support for source routing
Tom Gundersen [Thu, 4 Dec 2014 14:52:21 +0000 (15:52 +0100)]
networkd: add support for source routing

9 years agoudevd: SAS: use SAS addr + PHY id in by-path whenever possible.
Maurizio Lombardi [Mon, 22 Sep 2014 09:48:57 +0000 (11:48 +0200)]
udevd: SAS: use SAS addr + PHY id in by-path whenever possible.

This patch changes the naming scheme for sas disks. The original names used
disk's sas address and lun, the new scheme uses sas address of the
nearest expander (if available) and a phy id of the used connection.
If no expander is used, the phy id of hba phy is used.
Note that names that refer to RAID or other abstract devices are
unchanged.

Name in raid configuration:
hba_pci_address-sas-raid_sas_address-lunY-partZ

Name in expander bare disk configuration:
hba_pci_address-sas-expander_sas_address-phyX-lunY-partZ

Name format without expanders:
hba_pci_address-sas-phyX-lunY-partZ

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
9 years agonetworkd: fix compile
Tom Gundersen [Thu, 4 Dec 2014 11:19:57 +0000 (12:19 +0100)]
networkd: fix compile

Rebase failure on my side.

9 years agonetworkctl: use the shared functions for enumerating the local gateways
Tom Gundersen [Thu, 4 Dec 2014 11:19:27 +0000 (12:19 +0100)]
networkctl: use the shared functions for enumerating the local gateways

9 years agonetworkd: Add bridge port path cost
Susant Sahani [Sat, 15 Nov 2014 03:17:16 +0000 (08:47 +0530)]
networkd: Add bridge port path cost

This patch add support to specify path cost of the
bridge port to be configured via conf file.

Exampe: conf

file: br.netdev

[NetDev]
Name=br-test
Kind=bridge

file: br.network
[Match]
Name=em1

[Network]
Bridge=br-test

[BridgePort]
Cost=332

 bridge link
2: em1 state UP : <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master
br-test state disabled priority 32 cost 332

9 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.

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

9 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.

9 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.

9 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.

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

9 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

9 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

9 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

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

9 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

9 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

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

9 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

9 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

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

9 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

9 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

9 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.

9 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).

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

V2: found another one

9 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

9 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

9 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.

9 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

9 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'.

9 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.

9 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).

9 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.

9 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.

9 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

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

9 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

9 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.

9 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()

9 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)

9 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.

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

9 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

9 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

9 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

9 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"

9 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.

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

9 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

9 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.

9 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

9 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