summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-21gudev: replace regex with sym fileKay Sievers
2014-06-21pam_systemd: replace regex with sym fileKay Sievers
2014-06-21pam_systemd: rename source file to match the moduleKay Sievers
2014-06-21sd-dhcp-server: change default lease time form 1m to 1hTom Gundersen
The short lease was useful for testing, but in real-world usage it is pointless to keep leases this short. That said, the cost of lease renewal is really low, so we keep the lease still relatively short at one hour to not get into hard-to-hit problems with lease exhaustion etc.
2014-06-21sd-dhcp-server: fix broadcast of DHCP packetsTom Gundersen
The destination IP address should be INADDR_BROADCAST, but was accidentally left as INADDR_ANY.
2014-06-20util: treat fuse.sshfs as a network filesystemZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=73727
2014-06-20missing.h: add various network enumsZbigniew Jędrzejewski-Szmek
We used to check if e.g. IFLA_BOND_MAX is defined and provide fallback values in missing.h is it wasn't. But over time, various kernel versions added IFLA_* defines, so checking for IFLA_BOND_MAX is not enough if the kernel is new enough to have some of them but too old to have all. In case we detect that the latest known enum value is missing, #define most of them. https://bugs.freedesktop.org/show_bug.cgi?id=80095
2014-06-20build-sys: fail if python support requested but not foundZbigniew Jędrzejewski-Szmek
2014-06-20build-sys: check that compat-libs are enabled for "make dist"Filipe Brandenburger
Running "make dist" requires --enable-compat-libs since DIST_SOURCES will list generated files such as libsystemd-daemon.c. Tested: $ ./configure && make && make dist *** compat-libs must be enabled in order to make dist make: *** [dist-check-compat-libs] Error 1
2014-06-20build-sys: check that python is enabled for "make dist"Filipe Brandenburger
Running "make dist" requires Python support since some of the man page sources (such as man/systemd.index.xml and man/systemd.directives.xml) are generated by Python scripts, so break "make dist" and give an useful error message when Python or the Python lxml module is not available. Tested: $ ./configure --without-python && make && make dist *** python and python-lxml module must be installed and enabled in order to make dist make: *** [dist-check-python] Error 1
2014-06-20build-sys: configure --with-python when running distcheckFilipe Brandenburger
Python support is pretty much essential to create man pages, so we should make sure that distcheck will request it during configure. Tested: Successfully ran "make distcheck" and confirmed --with-python was present in the ./configure run inside the unpacked distribution directory.
2014-06-20build-sys: add verbosity to python-lxml detection in ./configureFilipe Brandenburger
Be verbose when checking if Python module lxml is available. Also warn that Python support will be disabled when the lxml module is not present. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=80005 Tested: - Without python-lxml package installed: $ ./configure checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for python lxml module... no configure: WARNING: *** python support requires python-xml module installed - With python-lxml package installed: $ ./configure checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for python lxml module... yes checking for PYTHON_DEVEL... yes ... Python: yes Python Headers: yes
2014-06-20build-sys: do not include id128-constants.h in the dist archiveFilipe Brandenburger
File src/python-systemd/id128-constants.h is auto generated and its generation does not require special tools, only sed. There is no point in bundling it in the distribution archive, so let's mark it as nodist_ to have it excluded. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=80006 Tested: Successfully ran "make dist" after ./configure --without-python.
2014-06-20util: do not strip /dev prefix twiceZbigniew Jędrzejewski-Szmek
2014-06-20Remove libattr mentions from READMECristian Rodríguez
It is no longer required.
2014-06-20sd-dhcp-server: remove unused cleanup functionThomas Hindoe Paaboel Andersen
Removes _cleanup_dhcp_lease_free_. While the automatic cleanup functions are great to have this one is never used and causes a warning in clang.
2014-06-20core: clean-up signal reset logic when reexecLennart Poettering
There's no need to save the old sigmask, if we are going to die. Let's simplify this. Also, reset all the signal handlers, so that we don't leave SIG_IGN set for some of them across reexec.
2014-06-20tmpfiles: copy/link /usr/share/factory/ files when the source argument is ↵Kay Sievers
omitted
2014-06-20po: add German translationBenjamin Steinwender
https://bugs.freedesktop.org/show_bug.cgi?id=79430
2014-06-20build-sys: fix indentation in make-man-rules generated outputFilipe Brandenburger
This fixes the footer where 7 spaces were used on the first line of EXTRA_DIST, but a Tab was clearly intended.
2014-06-20build-sys: add sysusers.d/systemd.conf to CLEANFILESFilipe Brandenburger
The sysusers.d/systemd.conf configuration file was originally introduced in commit 1b99214789101, but it was not marked for cleanup. This caused distcheck to complain about the file not being removed by distcleam. Tested: Successfully ran "make distcheck" with this patchset.
2014-06-20sysusers.d - fix typo in user definition fileJonathan Boulle
2014-06-20debug-generator: add new kernel cmdline option systemd.wants= to add units ↵Lennart Poettering
to the initial transaction
2014-06-20networkd: link - fix memleak of icmp6 structTom Gundersen
2014-06-20networkd: veth - fix creation of veth netdevTom Gundersen
Avoid freeing the netdev structure in the cleanup macro.
2014-06-20shared: fix search_and_fopen with alternate rootsMichael Marineau
Update for the current behavior of path_strv_resolve which now returns paths relative to the given root, not the full absolute paths.
2014-06-20test: ensure conf_files_list returns absolute pathsMichael Marineau
2014-06-20conf-files: include root in returned file pathsMichael Marineau
This restores the original root handling logic that was present prior to 112cfb18 when path expansion moved to path_strv_canonicalize_absolute. That behavior partially went away in 12ed81d9. Alternatively all users of conf_files_list* could be updated to concatenate the paths themselves as unit_file_query_preset did but since no user needs the un-concatenated form that is pointless duplication.
2014-06-20test: unit test for using alternate roots with path_strv_resolveMichael Marineau
2014-06-20shared: rename path_strv_canonicalize_absolute functionsMichael Marineau
Since 12ed81d9 path_strv_canonicalize_absolute leaves the search list relative to the given root directory instead of resolving paths to their true location as the name implies. To better reflect this behavior rename to the less strongly worded path_strv_resolve.
2014-06-19getty-generator: properly escape instance namesZbigniew Jędrzejewski-Szmek
Otherwise the add_symlink() function tries to make directories for each slash even for the slash after the @ symbol in the final link name, failing for /dev/3270/tty1. Based on a patch by Werner Fink <werner@suse.de>.
2014-06-19getty-generator: use strappendaZbigniew Jędrzejewski-Szmek
Allocating on the stack should be fine for the fixed number of items.
2014-06-19man: also describe an udev rule for bridge sysctlZbigniew Jędrzejewski-Szmek
2014-06-19man: document statically loading modules for sysctl settingsZbigniew Jędrzejewski-Szmek
https://bugzilla.redhat.com/show_bug.cgi?id=1022977 https://bugzilla.novell.com/show_bug.cgi?id=725412
2014-06-19units/systemd-sysctl.service.in: run after load-modulesCristian Rodríguez
Modules might or will register new sysctl options. [zj: This mechanism of adding modules just to reliably set sysctl attributes is not ideal. Nevertheless, sysctl for dynamically created attributes is simply broken, and this is the easiest workaround.] https://bugzilla.redhat.com/show_bug.cgi?id=1022977 https://bugzilla.novell.com/show_bug.cgi?id=725412
2014-06-19util.c: simplify rm_rf_children_dangerousZbigniew Jędrzejewski-Szmek
2014-06-19tests: add tests for strv_extendfRonny Chevalier
2014-06-19tests: add tests to test-utilRonny Chevalier
add tests for: - filename_is_safe - ascii_strlower - files_same - is_valid_documentation_url - file_in_same_dir - endswith - close_nointr - unlink_noerrno - readlink_and_make_absolute - read_one_char - ignore_signals - strshorten
2014-06-19tests: add missing returnRonny Chevalier
2014-06-20tests: fix test-icmp6-rsRonny Chevalier
Don't close the fd given to sd-icmp6-nd, since it will be aynschonously closed by sd_icmp6_nd_unref
2014-06-20sd-icmp6-nd: fix uninitialized fdRonny Chevalier
2014-06-20sd-dhcp6-client: fix uninitialized variablesRonny Chevalier
2014-06-20coredump: fix include of xattr.hFilipe Brandenburger
The correct path is now <sys/xattr.h> (from glibc-headers) and no longer <attr/xattr.h> (from libattr-devel.) Fixes: 34c10968cbe3b5591b3c0ce225b8694edd9709d0
2014-06-20sd-dhcp6-client: include dhcp6-protocol.h in the list of sourcesFilipe Brandenburger
If the file is not listed, then "make dist" will not include it. Tested: "make distcheck" works after this fix is applied. Fixes: 139b011ab81ccea1d51f09e0261a1c390115c6ff
2014-06-20sd-dhcp6-client: fix path of sd-icmp6-nd.h in Makefile.amFilipe Brandenburger
It was incorrectly looking for a file in src/libsystemd-network/ when the file was actually deployed to src/systemd/ instead. This broke "make dist". Tested: "make dist" works again after this patchset is applied. Fixes: f20a35cc0d537dd4cfc1054cf7936b04a1700f3a
2014-06-20sd-dhcp6-client: remove bogus dependency on dhcp6-icmp6.hFilipe Brandenburger
Makefile.am had a reference to it but it none of the sources included it. Tested: "make dist" works again after this patchset is applied. Fixes: 2ea8857effb833615b16d10fc7a19a7104c19e13
2014-06-20copy: don't eat up error from chown()/chmod()Lennart Poettering
The idea was to not fail on, nor to ignore errors from chown()/chmod(), but to proceed and simply return the most recent error...
2014-06-20units: order systemd-tmpfiles-clean.service after time-sync.targetLennart Poettering
That way, on systems lacking an RTC we don't false start removing aged files too early.
2014-06-19networkd: fix refcounting with UseMTU=yesSteven Noonan
The link was unintentionally being unreferenced instead of referenced for the MTU setup.
2014-06-19units: add missing caps so that GetAddresses() can workLennart Poettering