summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-08-15networkd: don't respect domainname from DHCP by defaultTom Gundersen2-1/+7
Most routers will send garbage, so make this opt-in only.
2014-08-15sd-dhcp-lease: verify hostname and domainnames we receiveTom Gundersen1-4/+24
2014-08-14resolved: pull in domain names from sd-networkTom Gundersen2-5/+75
2014-08-14sd-network: add sd_network_linkg_get_domains()Tom Gundersen3-0/+16
For now this only exposes the domain name (DHCP Option 15), and not the search string (DHCP Option 119), which will be implemented in a follow-up patch.
2014-08-14machine_kill(): Don't kill the unit when killing the leaderEelco Dolstra1-0/+2
If "machinectl poweroff" or "machinectl reboot" is used on a systemd-nspawn container started with --keep-unit and --register, it should *only* send the appropriate signal to the leader PID (i.e. the container's systemd process). It shouldn't fall through to manager_kill_unit() to also send the signal to the unit. The latter ends up killing systemd-nspawn, which takes down the container prematurely.
2014-08-14resolved: clarify that LLMNR scopes must have a link assignedLennart Poettering1-0/+4
This is supposed to remove some compiler warnings: http://lists.freedesktop.org/archives/systemd-devel/2014-July/021393.html
2014-08-14update TODOLennart Poettering1-0/+7
2014-08-14core: do not add default dependencies to /usr mount unitJon Severinsson1-1/+2
This makes no difference if /usr was mounted in the initrd, and brings the behaviour of legacy systems closer to those with a propper initrd.
2014-08-14update TODOLennart Poettering1-2/+0
2014-08-14core: move status line ellipsation to 50% of the lineLennart Poettering1-1/+1
http://lists.freedesktop.org/archives/systemd-devel/2014-July/021591.html
2014-08-14update TODOLennart Poettering1-1/+7
2014-08-14analyze: some fixes to the --help textLennart Poettering1-3/+3
2014-08-14Revert "socket: add support for TCP fast Open"Lennart Poettering5-26/+0
This reverts commit 9528592ff8d7ff361da430285deba8196e8984d5. Apparently TFO is actually the default at least for the server side now. Also the setsockopt doesn't actually take a bool, but a qlen integer.
2014-08-14networkd: link - don't enter LINK_CONFIGURED more than onceTom Gundersen1-1/+2
2014-08-14networkd: link - print address lifetime for tracked addressesTom Gundersen1-8/+25
This should help in debugging issues with DHCP lease renewal.
2014-08-14socket: add support for TCP fast OpenSusant Sahani5-0/+26
TCP Fast Open (TFO) speeds up the opening of successiveTCP) connections between two endpoints.It works by using a TFO cookie in the initial SYN packet to authenticate a previously connected client. It starts sending data to the client before the receipt of the final ACK packet of the three way handshake is received, skipping a round trip and lowering the latency in the start of transmission of data.
2014-08-14update TODOLennart Poettering1-0/+9
2014-08-14update TODOLennart Poettering1-0/+2
2014-08-14socket: add support for tcp nagleSusant Sahani4-0/+21
This patch adds support for TCP TCP_NODELAY socket option. This can be configured via NoDelay conf parameter. TCP Nagle's algorithm works by combining a number of small outgoing messages, and sending them all at once. This controls the TCP_NODELAY socket option.
2014-08-14logind: add new session type "web" for PAM web clients, such as cockpitLennart Poettering3-4/+19
On request of Stef Walter.
2014-08-13util: allow strappenda to take any number of argsDave Reisner7-28/+32
This makes strappenda3 redundant, so we remove its usage and definition. Add a few tests along the way for sanity.
2014-08-14sd-event: drop _likely_()Tom Gundersen1-1/+1
This is not certain to be likely. Lennart says: a frequent usecase is invoking some function regularly in intervals in such a case every single iteration we'll have to rearm
2014-08-14timer: order OnCalendar units after timer-sync.target if DefaultDependencies=noTobias Geerinckx-Rice4-9/+22
Avoids triggering timers prematurely on systems with significantly inaccurate clocks, or some embedded platforms that lack one entirely.
2014-08-14udev: link-config - fix crash due to missing hwaddrTom Gundersen1-1/+2
Reported by: master.nosferatu@gmail.com
2014-08-14test: dhcp-server - fix testTom Gundersen1-1/+1
Reported by Corey Hammerton on G+
2014-08-14sd-dhcp-server: linebreaksTom Gundersen1-26/+47
Don't overflow unnecessarily.
2014-08-14sd-event: do not arm timers unnecessarilyTom Gundersen1-0/+15
Rather than recalculating the next timeout on every loop, we only do it when something changed.
2014-08-14networkctl: also use the same color logic when running "networkctl status" ↵Lennart Poettering1-9/+3
without arguments
2014-08-14networkctl: add the same color logic to "list" and "status" outputsLennart Poettering1-40/+52
And always put operational state first, setup state second.
2014-08-14networkctl: name setup state variable setup_stateLennart Poettering1-10/+10
2014-08-14networkctl: update column header to new 'setup' state namingLennart Poettering1-1/+1
2014-08-14resolved: enable LLMNRLennart Poettering1-3/+2
THis was accidentally broken, as we truned off LLMNR far to frequently, where we only wanted to turn off LLMNr on IPV6 on kernels lacking support for it.
2014-08-14resolved: allow passing on which protocol, family and interface to look ↵Lennart Poettering10-103/+284
something up Also, return on which protocol/family/interface we found something.
2014-08-14ldconfig: add configure option to disableUmut Tezduyar Lindskog3-5/+17
2014-08-13sd-networkd: rename link_get_state to link_get_setup_stateTom Gundersen4-6/+6
Suggested by Kay and Lennart.
2014-08-13sd-network: rename operstates 'down' -> 'off' and 'up' -> 'no-carrier'Tom Gundersen4-8/+14
Suggested by Lennart and Kay.
2014-08-13sd-network: /_get_link_/_link_get_/Tom Gundersen5-21/+21
The link is the 'object', so make this in line with our usual naming convention. Suggested by Kay and Lennart.
2014-08-13networkctl: color status dump without link nameDaniel Buch1-2/+10
Lets mimic colored operational state dump as if link name is appiled
2014-08-13timesyncd: don't trip up if networkd isn't running and can't tell us any NTP ↵Lennart Poettering1-3/+1
servers
2014-08-13journald: Fix off-by-one error in "Missed X kernel messages" warningEelco Dolstra1-1/+1
On receiving a message, "kernel_seqnum" is set to "serial + 1". So subtracting 1 will cause messages like "Missed 0 kernel messages", which should be "Missed 1 kernel messages".
2014-08-13sd-network: bring comments up-to-dateLennart Poettering1-1/+1
2014-08-13mount-setup: fix counting of early mounts without SMACKLennart Poettering1-1/+6
http://lists.freedesktop.org/archives/systemd-devel/2014-August/021772.html
2014-08-13update TODOLennart Poettering1-0/+4
2014-08-13journald: also increase the SendBuffer of /dev/log to 8MLennart Poettering1-1/+7
http://lists.freedesktop.org/archives/systemd-devel/2014-August/021825.html
2014-08-13switch-root: not only mkdir the parents but the target dirHarald Hoyer1-1/+1
switch-root would only mkdir the parents of the mount move directories. With this patch, the mount move target directory is created to make switch-root to an empty root directory work.
2014-08-13bus-bloom: Fix bloom filter calculationDenis Kenzior1-2/+3
i is being used incorrectly. It is used to refer to the number of indexes calculated so far (out of k). However, it is also incremented when a new hash key is being used. This means that the results are inconsistent with the desired behavior described in PORTING-DBUS1 document. The expected result is that for the default values of m and k (512, 8) the 1st hash key should produce 4 indexes. The second hash key is used for the next 4 and overall 8 indexes into m are calculated. The current behavior results in 6 indexes being calculated, 4 coming from hash key 1 and 2 others from hash key 5.
2014-08-13TODOTom Gundersen1-0/+1
2014-08-13TODOTom Gundersen1-2/+0
2014-08-13networkctl: add colors to admin state and fix alignmentTom Gundersen1-4/+19
It is useful to color in the admin state both to easily spot failed links, but also to quickly distinguish between links that are fully configured and in degraded mode (only IPv4LL) or in degraded mode and still waiting for DHCP.
2014-08-13sd-network: rename state INITALIZING to PENDING and expose as any other stateTom Gundersen4-12/+15
This is the state when we are waiting for udev to initialize the device, and waiting for libudev and rtnl to be in sync. In the future we probably will also be waiting for nl80211. At this point we do not yet have enough information to know whether or not networkd should be handling the device.