Commit graph

14506 commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek 27d14fb331 man: update link to LSB
https://bugzilla.redhat.com/show_bug.cgi?id=1073402
2014-03-06 08:11:14 -05:00
Lennart Poettering 0939968c77 update TODO 2014-03-06 05:04:51 +01:00
Lennart Poettering 965e5c5daf core: include partition label in .device description fields 2014-03-06 05:04:51 +01:00
Lennart Poettering 646e392e10 logind: fix reference to systemd-user-sessions.service 2014-03-06 05:04:51 +01:00
Lennart Poettering 1ebab691c7 gpt-auto-generation: set a pretty description string 2014-03-06 05:04:51 +01:00
Lennart Poettering 9533ad1f42 units: don't use the word 'Reboot' for Startup, but simply 'Boot' 2014-03-06 05:04:51 +01:00
Lennart Poettering d1a6f44125 units: properly capitalize the unit description 2014-03-06 05:04:51 +01:00
Lennart Poettering 9788205f45 man: bring gpt-auto-generator up to date 2014-03-06 05:04:51 +01:00
Lennart Poettering 1af7211984 gpt-auto-generator: properly handle LUKS partitions 2014-03-06 05:04:51 +01:00
Lennart Poettering 58d081428a unit-name: modernizations 2014-03-06 05:04:51 +01:00
Lennart Poettering 744198e925 cryptsetup: some fixes 2014-03-06 04:00:42 +01:00
Lennart Poettering bd44e61b04 core: correctly unregister PIDs from PID hashtables 2014-03-06 04:00:42 +01:00
Lennart Poettering aa62a8936f util: add timeout to generator execution 2014-03-06 04:00:42 +01:00
Lennart Poettering 6a3f892a23 update TODO 2014-03-06 04:00:42 +01:00
Lennart Poettering e48fdd8443 generators: rework mount generators
- Add support for finding and mounting /srv based on GPT data, similar
  to how we already handly /home.

- Share the fsck logic between GPT, EFI and fstab generators

- Make sure we never run the EFI generator inside containers

- Drop DefaultDependencies=no from EFI mount units

- Other fixes
2014-03-06 04:00:41 +01:00
Umut Tezduyar Lindskog 848e3e24b0 man: ipv4 link-local 2014-03-05 21:46:31 +01:00
Lennart Poettering 7040b626e8 systemd-run: don't print error messages twice 2014-03-05 19:03:10 +01:00
Lennart Poettering 4de33e7f32 systemd-run: make sure --nice=, --uid=, --gid=, --setenv= also work in --scope mode 2014-03-05 19:03:10 +01:00
Tom Gundersen 69629de9c8 networkd: listen to changes to the MAC address
Bridges will change their MAC address when other devices are enslaved. We need
the correct MAC address to acquire a DHCP lease, so take note of it whenever
it changes.
2014-03-05 11:53:29 +01:00
Tom Gundersen 3b35ade3fd sd-rtnl: do not blindly enter containers in message_read()
We need a separate container_enter() function, which will be part of a largerg
API change. For now, just fix message_read().
2014-03-05 11:52:32 +01:00
Tom Gundersen 02ec5cd78a sd-dhcp-client: log the MAC address we are using 2014-03-05 11:07:15 +01:00
Mark Oteiza 0ad6148e87 networkd: restore logic for enslaving to a master bonding interface
This partially reverts commit 54abf46, which unintentionally removed the
enslaving support for bonding interfaces
2014-03-05 10:41:20 +01:00
Zbigniew Jędrzejewski-Szmek a9a245c128 journal: forget file after encountering an error
If we encounter an inconsistency in a file, let's just
ignore it. Otherwise, after previous patch, we would try,
and fail, to use this file in every invocation of sd_journal_next
or sd_journal_previous that happens afterwards.
2014-03-05 00:17:27 -05:00
Zbigniew Jędrzejewski-Szmek fb099c8d2a journal: assume that next entry is after previous entry
With a corrupted file, we can get in a situation where two entries
in the entry array point to the same object. Then journal_file_next_entry
will find the first one using generic_arrray_bisect, and try to move to
the second one, but since the address is the same, generic_array_get will
return the first one. journal_file_next_entry ends up in an infinite loop.

https://bugzilla.redhat.com/show_bug.cgi?id=1047039
2014-03-05 00:17:27 -05:00
Lennart Poettering 32f2443099 update TODO 2014-03-05 04:41:40 +01:00
Lennart Poettering 760b9d7cba core: don't override NoNewPriviliges= from SystemCallFilter= if it is already explicitly set 2014-03-05 04:41:01 +01:00
Lennart Poettering e567439ec6 systemd-run: support all currently exported properties with -p 2014-03-05 04:08:04 +01:00
Lennart Poettering d584f63894 core: make the LimitXYZ= properties settable for transient service units 2014-03-05 04:08:04 +01:00
Lennart Poettering 1ac67edb7c systemd-run: add some extra safety checks 2014-03-05 04:08:04 +01:00
Lennart Poettering 981ee55194 man: document missing options of systemd-run 2014-03-05 03:37:48 +01:00
Lennart Poettering df31a6c0fe systemd-run: add new --property= switch that can set arbitrary properties for the unit that is created
The code for parsing these properties is shared with "systemctl
set-property", which means all the resource control settings are
immediately available.
2014-03-05 03:36:22 +01:00
Lennart Poettering 53ede806cb strv: add new STR_IN_SET() macro that operates similar to IN_SET() but for strings 2014-03-05 03:34:48 +01:00
Lennart Poettering efc141b8ff update TODO 2014-03-05 02:31:10 +01:00
Lennart Poettering 517d56b1d0 missing: if RLIMIT_RTTIME is not defined by the libc, then we need a new define for the max number of rlimits, too 2014-03-05 02:31:09 +01:00
Lennart Poettering a049d1a972 core: when passing resource limit values to client, map RLIM_INFINITY into portable value (uint64_t) -1 2014-03-05 02:31:09 +01:00
Thomas Hindoe Paaboel Andersen 207017017d add bash completion for systemd-cat 2014-03-04 23:17:07 +01:00
Umut Tezduyar Lindskog 86bafac954 architecture: Add cris 2014-03-04 21:06:05 +01:00
Lennart Poettering 726a6e9630 update TODO 2014-03-04 20:02:50 +01:00
Lennart Poettering 1c231f5648 logind: make $XDG_RUNTIME_DIR a per-user tmpfs
This way each user allocates from his own pool, with its own size limit.

This puts the size limit by default to 10% of the physical RAM size but
makes it configurable in logind.conf.
2014-03-04 20:02:50 +01:00
Zbigniew Jędrzejewski-Szmek b5d742138f Do not print invalid UTF-8 in error messages
Inexplicably, 550a40ec ('core: do not print invalid utf-8 in error
messages') only fixed two paths. Convert all of them now.
2014-03-04 10:04:50 -05:00
Zbigniew Jędrzejewski-Szmek 6e18964d3a Introduce strv_consume which takes ownership
This mirrors set_consume and makes the common use a bit nicer.
2014-03-04 10:04:50 -05:00
Zbigniew Jędrzejewski-Szmek e062dec5ae shutdownd: modernizations 2014-03-04 10:02:09 -05:00
Zbigniew Jędrzejewski-Szmek 61376f96a9 logind: small simplifications 2014-03-04 10:02:09 -05:00
Umut Tezduyar Lindskog 2149158578 man: networkd - fix typo 2014-03-04 10:51:42 +01:00
Lennart Poettering 5e11d962c0 build-sys: work around broken ln --relative -s -f
As it appears "ln -s --relative" in conjunction with "-f" is broken,
let's work around that by explicitly remove the destination of the
symlink before we create it.

https://bugzilla.redhat.com/show_bug.cgi?id=1072103
2014-03-03 23:48:57 +01:00
Umut Tezduyar Lindskog 5c1d3fc93d sd-network: IPv4 link-local support [v2]
Implements IPv4LL with respect to RFC 3927
(http://tools.ietf.org/rfc/rfc3927.txt) and integrates it
with networkd. Majority of the IPv4LL state machine is
taken from avahi (http://avahi.org/) project's autoip.

IPv4LL can be enabled by IPv4LL=yes under [Network]
section of .network file.

IPv4LL works independent of DHCP but if DHCP lease is
aquired, then LL address will be dropped.

[tomegun: removed a trailing newline and a compiler warning]
2014-03-03 23:24:34 +01:00
Tom Gundersen b6b8adbff4 networkd: wait-online - fix typo 2014-03-03 23:24:34 +01:00
Lennart Poettering 7ba4fedb80 update TODO 2014-03-03 23:18:25 +01:00
Lennart Poettering e4e703c307 core: fix assert when trying to serialize non-initialized bus peer tracker object 2014-03-03 23:18:25 +01:00
Thomas Hindoe Paaboel Andersen 4d46396131 silence warning 2014-03-03 22:39:55 +01:00