summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* networkd: link - clarify log message when receiving address for unknown linkTom Gundersen2014-09-04
|
* networkd: link - do not manage loopback linksTom Gundersen2014-09-04
| | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=83134.
* networkd: link - save link flags when the link is addedTom Gundersen2014-09-04
| | | | Don't wait for the link to be fully synchronised.
* networkd: move carrier gained/lost handling from link_update_flags() to ↵Tom Gundersen2014-09-04
| | | | | | link_update() This allows us also to simplify link_has_carrier() a bit.
* Update TODOZbigniew Jędrzejewski-Szmek2014-09-03
|
* man: fix typoZbigniew Jędrzejewski-Szmek2014-09-03
|
* systemd: fix argument ordering in UnsetAndSetEnvironmentZbigniew Jędrzejewski-Szmek2014-09-03
| | | | Fixup for v208-615-g718db96199.
* localed: check for partially matching converted keymapsZbigniew Jędrzejewski-Szmek2014-09-03
| | | | | | | | | | | | | If a user specifies multiple X11 keymaps, with a (at least the first one) nonempty variant, and we don't match the whole combo, use a converted keymap which includes the variant in preference to the default, variantless, keymap. E.g.: We would convert X11 config "layout=fr variant=mac" to "fr-mac", but "layout=fr,us variant=mac," to "fr", because we don't have a converted keymap which would match "fr,us", and we don't have a legacy mapping for "fr,us". This is unexpected, and if we cannot match both, it is still better to match the primary mapping and use "fr-mac".
* localed: introduce helper function to simplify matchingZbigniew Jędrzejewski-Szmek2014-09-03
|
* localed: log locale/keymap changes in detailZbigniew Jędrzejewski-Szmek2014-09-03
| | | | | | | | | | | Converting X11 to legacy keymaps and back is a fucking mess. Let's make it at least possible to request detailed logs of what is being changed and why (LOG_DEBUG level). At LOG_INFO level, we would log the requested change of X11 or console keymap, but not the resulting change after conversion to console or X11. Make sure that every change of configuration on disk has a matching line in the logs.
* localed: remove free_and_copyZbigniew Jędrzejewski-Szmek2014-09-03
| | | | It was mostly a duplicate of free_and_strdup().
* localed: double free in error path and modernizationZbigniew Jędrzejewski-Szmek2014-09-03
| | | | | Very unlikely to trigger, but in principle strv_free could be called twice: once explictly, and once from cleanup.
* build-sys: configure option to disable hibernationUmut Tezduyar Lindskog2014-09-03
|
* man: two fixes, reported on irc by 'wget'Lennart Poettering2014-09-03
|
* update TODOLennart Poettering2014-09-03
|
* base-file-system: always generate error messages locallyLennart Poettering2014-09-03
| | | | | | | | Functions either should generate error messages for everything they do themselves, or for nothing and let the caller do it. But they certainly shouldn't generate errors for some messages but not for others. Since the function in this case is one that generates messages on its own, it really should do that for everything, not just for some things, hence.
* update TODOLukas Nykryn2014-09-03
| | | | | | | Yum was creating <container>/var/run/yum.pid and hence this directory was created before filesystem package could create the symlink /var/run -> /run. This should be now fixed in yum.
* initrd-parse-etc.service: ignore return code of daemon-reloadHarald Hoyer2014-09-03
| | | | | | It seems the return code of systemctl daemon-reload can be !=0 in some circumstances, which causes a failure of the unit and breaks booting in the initrd.
* base_filesystem_create: do not try to create "/root" if it existsHarald Hoyer2014-09-03
| | | | | | | | | | | The check, if the directory/file already exists is only executed, if there is a symlink target specified. In case of "/root", there is none, so it is unconditionally tried to create the directory. In case of a readonly filesystem, errno != EEXIST, but errno == EROFS, so base_filesystem_create() and switch_root does not succeed. This patch checks for existance not only in the symlink case.
* man: fix file extension in udev rules exampleZbigniew Jędrzejewski-Szmek2014-09-02
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=634736
* Revert "timesyncd: remove retry_timer logic which is covered by the server ↵Kay Sievers2014-09-02
| | | | | | | | | | | timeout" This reverts commit 665c6a9eab46b0b253af6566ca9fc70c866b3fcd. On Tue, Sep 2, 2014 at 3:17 PM, Miroslav Lichvar <mlichvar@redhat.com> wrote: > > With the other patch allowing missed replies included it's now getting > stuck as there is no timer to send the 2nd and 3rd request.
* timesyncd: don't reset polling interval when reselecting serverKay Sievers2014-09-02
| | | | Original patch from: Miroslav Lichvar <mlichvar@redhat.com>
* timesyncd: allow two missed replies before reselecting serverMiroslav Lichvar2014-09-02
| | | | | | After receiving a reply from the server, allow two missed replies before switching to another server to avoid unnecessary clock hopping when packets are getting lost in the network.
* timesyncd: remove retry_timer logic which is covered by the server timeoutKay Sievers2014-09-02
|
* timesyncd: wait before reconnecting to first serverMiroslav Lichvar2014-09-02
| | | | | | | | When all servers are exhausted, wait for one poll interval before trying to connect again to the first server in the list. Also, keep increasing the polling interval to make sure a client not getting any valid replies will not send requests to any server more frequently than is allowed by the maximum polling interval.
* sd-rtnl: don't assign to unused variableTom Gundersen2014-09-01
| | | | Reported by Thomas H.P. Andersen <phomes@gmail.com>.
* rules: remove firmware loading rulesZbigniew Jędrzejewski-Szmek2014-09-01
| | | | | | | | blueness> poettering, was there a reason for not removing 50-firmware.rules when you nuked userland firmware loading? Followup for v216-119-gbe2ea723b1.
* login: simplify controller handlingDavid Herrmann2014-09-01
| | | | | | | | Simplify the way we handler session-controllers and fix several shortcomings: * send ReleaseDevice() signals on forced session takeover * fix mem-leaks for busnames in case VT preparation fails (non-critical) * avoid passing pre-allocated names to helpers
* login: fix mem leakThomas Hindoe Paaboel Andersen2014-08-31
|
* config-parser: fix mem leakThomas Hindoe Paaboel Andersen2014-08-31
|
* journal-remote: fix check if realloc failedThomas Hindoe Paaboel Andersen2014-08-31
|
* test-network: fix off-by-one error in testTom Gundersen2014-08-31
|
* missing: add IFF_MULTI_QUEUETom Gundersen2014-08-31
| | | | | | This was added in 3.8, but we should building with 3.7 headers. Reported by Samuli Suominen <ssuominen@gentoo.org>.
* journalctl: Allow to disable line cap with --lines=allJan Janssen2014-08-31
|
* Quote unit names in suggested systemctl commandlinesZbigniew Jędrzejewski-Szmek2014-08-31
| | | | | | | | The fact that unit names have to be quoted can be a bit surprising. Show quotes in the hint commandline, but only after checking that this is necessary, since quotes are visually heavy and usually not needed. https://bugs.freedesktop.org/show_bug.cgi?id=82832
* units: update rescue.service and emergency.serviceZbigniew Jędrzejewski-Szmek2014-08-31
| | | | | ^D works in emergency.service too. One needs to log in when in rescue mode too.
* units: m4 is not needed for rescue.serviceZbigniew Jędrzejewski-Szmek2014-08-31
|
* units: make emergency.service conflict with rescue.serviceZbigniew Jędrzejewski-Szmek2014-08-30
| | | | | | | | They both use StandardInput=tty-force so they cannot be run concurrently. https://bugs.freedesktop.org/show_bug.cgi?id=82778 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757072
* timesyncd-manager: don't clear current_server_name if ServerAddress is NULLSteven Noonan2014-08-30
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=83091 [zj: add comment]
* sd-dhcp6-client: properly calculate buffer size when parsing optionsZbigniew Jędrzejewski-Szmek2014-08-30
| | | | | Also make pointer calculations more explicit so they are easier to understand.
* test-dhcp6-client: Fix option lengthPatrik Flykt2014-08-30
| | | | | | | | | | | | | | | | | | | | | The whole DHCPv6 test message length was incorrectly used as the length of DHCPv6 options causing the following bad memory access: $ build/test-dhcp6-client Assertion 'interface_index >= -1' failed at ../src/libsystemd-network/sd-dhcp6-client.c:129, function sd_dhcp6_client_set_index(). Ignoring. ================================================================= ==29135==ERROR: AddressSanitizer: global-buffer-overflow on address 0x7fe204aa9148 at pc 0x7fe204a5958f bp 0x7fff3e47d470 sp 0x7fff3e47d460 READ of size 1 at 0x7fe204aa9148 thread T0 #0 0x7fe204a5958e in option_parse_hdr ../src/libsystemd-network/dhcp6-option.c:145 #1 0x7fe204a59884 in dhcp6_option_parse ../src/libsystemd-network/dhcp6-option.c:165 #2 0x7fe204a4eb9c in test_advertise_option ../src/libsystemd-network/test-dhcp6-client.c:227 #3 0x7fe204a51c58 in main ../src/libsystemd-network/test-dhcp6-client.c:584 #4 0x7fe2031590df in __libc_start_main (/lib64/libc.so.6+0x200df) #5 0x7fe204a4cc5b (/home/test/systemd/build/test-dhcp6-client+0x25c5b) 0x7fe204aa9148 is located 2 bytes to the right of global variable 'msg_advertise' from '../src/libsystemd-network/test-dhcp6-client.c' (0x7fe204aa9080) of size 198 0x7fe204aa9148 is located 56 bytes to the left of global variable 'msg_reply' from '../src/libsystemd-network/test-dhcp6-client.c' (0x7fe204aa9180) of size 173 SUMMARY: AddressSanitizer: global-buffer-overflow ../src/libsystemd-network/dhcp6-option.c:145 option_parse_hdr
* cgroup-util: shorten cg_path_get_sessionZbigniew Jędrzejewski-Szmek2014-08-30
|
* systemd: fix error messageZbigniew Jędrzejewski-Szmek2014-08-30
|
* test-compress: also test with incompressible inputsZbigniew Jędrzejewski-Szmek2014-08-30
|
* journal/compress: use LZ4_compress_continue()Evangelos Foutras2014-08-30
| | | | | | | | | | | We can't use LZ4_compress_limitedOutput_continue() because in the worst-case scenario the compressed output can be slightly bigger than the input block. This generally affects very few blocks and is no reason to abort the compression process. I ran into this when I noticed that Chromium core dumps weren't being compressed. After switching to LZ4_compress_continue() a ~330MB Chromium core dump gets compressed to ~17M.
* sd-ipv4ll: name the correct sourceTom Gundersen2014-08-30
|
* Fix a few more typosRuben Kerkhof2014-08-30
|
* Update french translationSylvain Plantefève2014-08-30
|
* libudev: fix symbol version for udev_queue_flush() and udev_queue_get_fd()Michael Biebl2014-08-30
| | | | | Those symbols were introduced in commit 14cb733684d3c3f50d088a3a370ddf8e8894dfa4 and released in v215.
* udev: bump event timeout to 60 secondsKay Sievers2014-08-30
|