summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-23fstab-generator: simplify add_root_mountZbigniew Jędrzejewski-Szmek
2014-06-23man: fix path in crypttab(5)Zbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=75816
2014-06-24build-sys: do not run coverage if build failedRonny Chevalier
2014-06-24tests: add test-ratelimitRonny Chevalier
2014-06-24tests: add tests to test-unit-nameRonny Chevalier
add tests for: - unit_instance_is_valid - unit_prefix_is_valid - unit_name_change_suffix - unit_name_build - unit_name_is_instance - build_subslice - unit_name_to_instance - unit_name_escape
2014-06-23cryptsetup: don't add unit dependency on /dev/null devices when it is listed ↵Lennart Poettering
as password file As special magic, don't create device dependencies for /dev/null. Of course, there might be similar devices we might want to include, but given that none of them really make sense to specify as password source there's really no point in checking for anything else here. https://bugs.freedesktop.org/show_bug.cgi?id=75816
2014-06-23core: You can not put the cached result of use_smack fct, as we are not sure ↵Ronan Le Martret
the "/sys" is mounted. So we should mount "sys" before "/proc" https://bugs.freedesktop.org/show_bug.cgi?id=77646
2014-06-23core: make sure Environment fields passed in for transient units are ↵Hristo Venev
properly written to unit files https://bugs.freedesktop.org/show_bug.cgi?id=76744
2014-06-23vconsole: also copy character maps (not just fonts) from vt1 to vt2, vt3, ...Carl Schaefer
https://bugs.freedesktop.org/show_bug.cgi?id=78796
2014-06-23coredump: never write more than the configured processing size limit to diskLennart Poettering
2014-06-23coredumpctl: show comm name next to PIDLennart Poettering
2014-06-23coredump: quit early if we cannot store ay coredump to diskLennart Poettering
2014-06-23coredumpctl: include timestamp information in "coredumpctl info" outputLennart Poettering
2014-06-23README: mention that elfutils is an (optional) dependency nowLennart Poettering
2014-06-23coredump: also escape spaces in comm fields when formatting file namesLennart Poettering
2014-06-22README: add gobject-introspectionZbigniew Jędrzejewski-Szmek
2014-06-22core/snapshot: log info when snapshots are created and removedZbigniew Jędrzejewski-Szmek
Snapshot mechanism is not used very much, but snapshot creation/destruction should be at least as verbose as normal unit starting/stopping.
2014-06-22core/transaction: avoid misleading error message when unit not foundZbigniew Jędrzejewski-Szmek
There's no point in telling the user to look at the logs when an attempt to load the unit file failed with ENOENT. https://bugzilla.redhat.com/show_bug.cgi?id=996133
2014-06-22core/transaction: reindent and split very long linesZbigniew Jędrzejewski-Szmek
2014-06-22Add systemd-coredumpctl as an alias for coredumpctlZbigniew Jędrzejewski-Szmek
Should make the transition easier for exisiting users.
2014-06-22readahead: avoid gcc warning about formatZbigniew Jędrzejewski-Szmek
src/readahead/readahead-common.c:55:17: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 7 has type ‘__off64_t’ [-Wformat=] log_debug("Not preloading file %s with size out of bounds %zu", fn, st->st_size); ^
2014-06-22dhcp-network: don't bother with IP fragmentsMichal Sekletar
2014-06-22build-sys: require elfutils >= 158Michael Marineau
The recently added stacktrace support in 8d4e028f uses functions added in elfutils 158. Check for one of the new functions to avoid attempting to build against older versions.
2014-06-22man: untabify systemd-resolved.service.xmlZbigniew Jędrzejewski-Szmek
2014-06-22fix systemd-resolved reference in man pageJonathan Boulle
Guess this was missed in the copy-paste :-)
2014-06-22fix in_addr_prefix_intersect for 32bitsMarc-Antoine Perennou
shifting from a non fixed number of bits >= to the size of the type leads to weird results, handle the special case of << 32 to fix it. This was causing a test failure from test-socket-util: Assertion 'in_addr_prefix_intersect(f, &ua, apl, &ub, bpl) == result' failed at /var/tmp/paludis/build/sys-apps-systemd-scm/work/systemd-scm/src/test/test-socket-util.c:147, function test_in_addr_prefix_intersect_one(). Aborting. Minimal reproducer: paludisbuild@Lou /tmp $ cat test.c static void test(unsigned m) { unsigned nm = 0xFFFFFFFFUL << (32-m); printf("%u: %x\n", m, nm); } int main (void) { test(1); test(0); return 0; } paludisbuild@Lou /tmp $ gcc -m32 -std=gnu99 test.c -o test32 paludisbuild@Lou /tmp $ ./test32 1: 80000000 0: ffffffff paludisbuild@Lou /tmp $ gcc -std=gnu99 test.c -o test64 paludisbuild@Lou /tmp $ ./test64 1: 80000000 0: 0
2014-06-22update .gitignoreRonny Chevalier
2014-06-22consistently order cleanup attribute before typeThomas Hindoe Paaboel Andersen
2014-06-22tests: add test_fdset_removeRonny Chevalier
2014-06-22tests: add test-asyncRonny Chevalier
2014-06-22tests: add test-capabilityRonny Chevalier
2014-06-22build-sys: add -pthread flag for libsystemd-sharedRonny Chevalier
src/shared/async.c uses pthread so it will fail at link time if we link only to libsystemd-shared and use async
2014-06-21build-sys: replace nm with $(NM)Kay Sievers
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.