summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* logind: make session type and class settable via the same waysLennart Poettering2014-02-05
| | | | | | If the session type/class is set via environment variables, use that, and otherwise fallback to something that is set via the PAM module command line.
* logind: add new "wayland" session typeLennart Poettering2014-02-05
|
* core: don't wait for non-control/non-main processes when killing processes ↵Lennart Poettering2014-02-05
| | | | | | | | | | | on the host either Since the current kernel cgroup notification logic is easily confused by existing subgroups, let's do the same thing as in containers before. and just not wait for non-control and non-main processes. This should be corrected as soon as we have sane cgroup notifications from the kernel.
* kill: fix error returnLennart Poettering2014-02-05
|
* core: allow User=, Group=, Nice=, Environment=, Type= to be passed when ↵Lennart Poettering2014-02-05
| | | | creating a transient service
* Added attribute support for sd-rtnlSusant Sahani2014-02-05
| | | | | | Added sd_rtnl_message_append_u8 and few attribute support in sd_rtnl_message_append_u32 IFLA_GROUP, IFLA_TXQLEN, IFLA_NUM_TX_QUEUES, IFLA_NUM_RX_QUEUES
* nspawn: various fixes in selinux hookupLennart Poettering2014-02-04
| | | | | | | | | | | | | | | - As suggested, prefix argument variables with "arg_" how we do this usually. - As suggested, don't involve memory allocations when storing command line arguments. - Break --help text at 80 chars - man: explain that this is about SELinux - don't do unnecessary memory allocations when putting together mount option string
* Add SELinux support to systemd-nspawnDan Walsh2014-02-04
| | | | | | | | | | | | | | | | | This patch adds to new options: -Z PROCESS_LABEL This specifies the process label to run on processes run within the container. -L FILE_LABEL The file label to assign to memory file systems created within the container. For example if you wanted to wrap an container with SELinux sandbox labels, you could execute a command line the following chcon system_u:object_r:svirt_sandbox_file_t:s0:c0,c1 -R /srv/container systemd-nspawn -L system_u:object_r:svirt_sandbox_file_t:s0:c0,c1 -Z system_u:system_r:svirt_lxc_net_t:s0:c0,c1 -D /srv/container /bin/sh
* journal: Drop pkgconfig reference to libsystemd-id128.Colin Guthrie2014-02-04
| | | | This is now part of libsystemd.
* bus: when closing the bus don't end up in a recursive destruction deadlockLennart Poettering2014-02-03
|
* conf-parser: warn when we open configuration files with weird access bitsLennart Poettering2014-02-03
|
* build-sys: move -lresolv out of CFLAGSTom Gundersen2014-02-03
| | | | | | Thomas H.P. Andersen <phomes@gmail.com> wrote: > Does -lresolv belong in libsystemd_la_CFLAGS? I would have thought > that it should be in LIBADD for the lib and LDADD for the test.
* bus: update kdbus.h (ABI break)Kay Sievers2014-02-01
|
* networkd: remove unused variableTom Gundersen2014-02-01
|
* networkd: don't fail on DHCP errorsTom Gundersen2014-02-01
|
* s390/getty-generator: initialize essential system terminals/consolesHendrik Brueckner2014-01-31
| | | | | | | | | | | | | | | | | | | | | | Ensure to start getty programs on all essential system consoles on Linux on System z. Add these essential devices to the list of virtualization_consoles to always generate getty configurations. For the sake of completion, the list of essential consoles is: /dev/sclp_line0 - Operating system messages applet (LPAR) /dev/ttysclp0 - Integrated ASCII console applet (z/VM and LPAR) /dev/ttyS0 - Already handled by systemd (3215 console on z/VM) /dev/hvc0 - Already handled by systemd (IUCV HVC terminal on z/VM) Depending on the environment, z/VM or LPAR, only a subset of these terminals are available. See also RH BZ 860158[1] "Cannot login via Operating System Console into RHEL7 instance installed on a LPAR". This bugzilla actually blocks the installation of Linux on System z instances in LPAR mode. [1] https://bugzilla.redhat.com/show_bug.cgi?id=860158
* run: drop mistakenly committed test codeLennart Poettering2014-01-31
|
* core: fix oom checkLennart Poettering2014-01-31
|
* core: introduce new stop protocol for unit scopesLennart Poettering2014-01-31
| | | | | | | | | By specifiy a Controller property when creating the scope a client can specify a bus name that will be notified with a RequestStop bus signal when the scope has been asked to shut down, instead of sending SIGTERM to the scope processes themselves. https://bugzilla.redhat.com/show_bug.cgi?id=1032695
* util: use alloca0() intead of alloca() + memzero()Lennart Poettering2014-01-31
|
* networkd: dhcp - refactor handlerTom Gundersen2014-01-31
|
* networkd: don't check for ifindex in answer to RTM_NEWLINKTom Gundersen2014-01-31
| | | | | | The kernel will not be changed to support this, so drop the code. Listening for all RTM_NEWLINK messages and filtering on name is reliable, so it is not a problem.
* libsystemd-dhcp: Update secs field only when sending DiscoverPatrik Flykt2014-01-31
| | | | | | | | Compute the 'secs' field as seconds since start of lease acquisition procedure. Start off with a value of zero and increase it only for each resent DHCP discover message. See the discussion before and after http://www.ietf.org/mail-archive/web/dhcwg/current/msg05836.html and Section 3.1 of RFC 2131.
* libsystemd-dhcp: Fix stopping of DHCP clientPatrik Flykt2014-01-31
| | | | | Go back to Init state independent of the current state the client is in.
* libsystemd-dhcp: Compute UDP checksum only if setPatrik Flykt2014-01-31
| | | | | A checksum field with value zero means no UDP checksum has been computed for the packet.
* libsystemd-dhcp: Rename function to be clearer that options are parsedPatrik Flykt2014-01-31
|
* libsystemd-dhcp: DNS name option must be a multiple of 4 bytesPatrik Flykt2014-01-31
|
* use memzero(foo, length); for all memset(foo, 0, length); callsGreg KH2014-01-31
| | | | | | | | In trying to track down a stupid linker bug, I noticed a bunch of memset() calls that should be using memzero() to make it more "obvious" that the options are correct (i.e. 0 is not the length, but the data to set). So fix up all current calls to memset(foo, 0, length) to memzero(foo, length).
* analyze: fix plot issues when using gummibootThomas Hindoe Paaboel Andersen2014-01-31
| | | | It would crash and the legend in the bottom followed the time 0.0.
* tmpfiles: fix memory leak of exclude_prefixesZbigniew Jędrzejewski-Szmek2014-01-30
| | | | Missed in 5c795114.
* shared: net - use u32ctz to compute prefixlenTom Gundersen2014-01-30
|
* TODO: update sd-rtnl sectionTom Gundersen2014-01-30
|
* util: add u32ctz() call for determining ctz of uint32_tLennart Poettering2014-01-30
|
* networkd: netdev - reduce chance of race when receiving netdev's ifindexTom Gundersen2014-01-30
| | | | | | | | | | | | | When creating a new link, the kernel will not inform us about the new ifindex in its ack. We have to listen for newly created devices and deduce the new ifindex by matching on the ifname. We used to do this by waiting for a new device from libudev, but that is asking for trouble, as udev will happily rename the device before handing it to us. Listen on rtnl instead, the chance of the name being changed before reaching us is much smaller (if not nil). Kernel patch in the works to make this unneccessary.
* sd-rtnl: beef up rtnl-util a bitTom Gundersen2014-01-30
|
* sd-dhcp-client/net-util: make netmask_to_prefixlen genericTom Gundersen2014-01-30
| | | | | This was originally included in the dhcp-client at my request, but it is not really dhcp-specific and useful outside of it, so let's pull it out.
* networkd: address - add support for broadcastTom Gundersen2014-01-30
|
* net-util: verify the address familyTom Gundersen2014-01-30
| | | | | Error out if the address family is already set to something incompatible with the address being parsed.
* networkd: dhcpv4 - add notion of 'CriticalConnection'Tom Gundersen2014-01-30
| | | | | | | | | | These connections are never torn down, even when the DHCP specifications say that they should be. This is useful/necessary when the rootfs (or another critical fs) is mounted over this network connection, and dataloss would result if the connection is lost. This option defaults to off, but our initrd generator (TBD) will enable it when applicable.
* utmp: make sure we don't write the utmp reboot record twice on each bootLennart Poettering2014-01-30
| | | | (Also, only send the audit msg once, too)
* update-utmp: code modernizationsLennart Poettering2014-01-30
|
* update TODOLennart Poettering2014-01-29
|
* bus: when proxying messages from the bus driver patch the driver's ↵Lennart Poettering2014-01-29
| | | | well-known name into the sender
* bus: the owner of the bus driver name as reported by the driver'sLennart Poettering2014-01-29
| | | | | GetNameOwner() bus call is the bus driver name itself, for compatibility with dbus1
* nspawn: fix reboot event fd reuseLennart Poettering2014-01-29
|
* core: in containers, don't wait for cgroup empty notifications which will ↵Lennart Poettering2014-01-29
| | | | never come
* core: use a bit more PID_FMTLennart Poettering2014-01-29
|
* core: make sure to always go through both SIGTERM and SIGKILL states of unitsLennart Poettering2014-01-29
| | | | | | Given that we now have KillMode=mixed where SIGTERM might kill a smaller set than SIGKILL we need to make sure to always go explicitly throught the SIGKILL state to get the right end result.
* keymap: Add Toshiba EQUIUMMartin Pitt2014-01-29
| | | | Thanks Aleksander Kowalski <aleksander.kowalski.1@gmail.com>!
* service: allow KillMode=mixed in conjunction with PAMName=Lennart Poettering2014-01-29
|