summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: drop automake supportZbigniew Jędrzejewski-Szmek2017-07-181-6916/+0
| | | | | v2: - also mention m4
* build-sys: install udev rule 70-joystick.{rules,hwdb} (#6363)Christian Hesse2017-07-141-0/+1
| | | | | * meson: install udev files 70-joystick.{rules,hwdb} * Makefile: install udev file 70-joystick.hwdb
* build-sys: fix automake buildLennart Poettering2017-07-031-3/+3
| | | | | | Lennart broke the automake build in d4cbada2a95667c4d5d4310298bfcb446b1357b5. Let's fix that again, to unfuck the CIs.
* Merge pull request #6218 from poettering/v234-preLennart Poettering2017-07-031-2/+2
|\ | | | | preparation for v234
| * build-sys: bump versions in prepare for v234Lennart Poettering2017-06-271-2/+2
| |
* | Merge pull request #6194 from keszybz/urandom-magicZbigniew Jędrzejewski-Szmek2017-06-301-0/+7
|\ \ | | | | | | Fall back to /dev/urandom less and other random number improvements.
| * | tests: add test-random-utilZbigniew Jędrzejewski-Szmek2017-06-281-0/+7
| | | | | | | | | | | | In case you're wondering: 16 aligns in a nice pyramid.
* | | build-sys: fix installation of new 60-input-id.rulesZbigniew Jędrzejewski-Szmek2017-06-281-1/+1
| | | | | | | | | | | | Fixup for 38887d1bd5eb037a532279b2b75d6a87ce381419.
* | | Merge pull request #6214 from keszybz/resolved-packet-sizeLennart Poettering2017-06-281-0/+14
|\ \ \ | | | | | | | | Resolved packet size
| * | | test-resolved-packet: add a simple test for our allocation functionsZbigniew Jędrzejewski-Szmek2017-06-271-0/+14
| | |/ | |/|
* | | rules: move input_id rule to a separate fileMichal Suchanek2017-06-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This places the input_id call after the evdev hwdb calls. With this the hwdb fixups in evdev can affect the device capabilities assigned in input_id. Remove the ID_INPUT_KEY dependency in atkbd rule because it is now not assigned at this point.
* | | Use same script to build key list in Makefile and mesonMichal Suchanek2017-06-271-2/+2
|/ /
* | hwdb: Add ID_INPUT_JOYSTICK_INTEGRATION property (#5413)hadess2017-06-261-0/+1
|/ | | | | | | | When the joystick is integrated directly into the machine, knowing that the device is internal allows us to disable attached functionality when the device is not used or inaccessible. For example, this allows disabling rumble and accelerometer on flip-console-like devices like the GPD-XD.
* make nss-systemd support conditional (#6155)Waldemar Brodkorb2017-06-241-0/+2
| | | This allows the nss-systemd module to be disabled on minimal installations.
* nspawn: hook var-lib-machines.mount to machines.target and remote-fs.targetFelipe Sateler2017-06-211-2/+16
| | | | | | | | | | /var can be on a remote filesystem, thus hooking it to local-fs.target is not correct. Also, only install the mount unit when machined is enabled, because machined is the one managing the underlying device, and thus makes no sense without machined. Fixes #1175
* build: *really* install tmpfiles.d/systemd-remote.conf when necessary (#6061)Franck Bui2017-05-311-8/+5
| | | | | | | | | | | | | This fixes commit 5e354b22520bbb02e which was an attempt to avoid installation of tmpfiles.d/systemd-remote.conf when it was not needed (ie HAVE_REMOTE=false). Before this fix and with the autotool build, systemd-remote.conf was distributed and also installed (although it was empty) even though HAVE_REMOTE=false. That's what happens when doing last second changes without retesting... While at it, update tmpfiles.d/.gitignore (var.conf was missing as well since commit a083537e5d11b).
* build: only install tmpfiles.d/systemd-remote.conf when necessary (#6051)Franck Bui2017-05-301-5/+9
| | | | | Also only include the relevant parts for systemd-journal-remote and systemd-journal-upload when needed.
* Merge pull request #5999 from mbiebl/timesyncd-fallback-serverZbigniew Jędrzejewski-Szmek2017-05-251-0/+19
|\ | | | | timesyncd: don't use compiled-in list if FallbackNTP has been configured
| * test-timesync: add first test for timesyncd conf parsingZbigniew Jędrzejewski-Szmek2017-05-251-0/+19
| | | | | | | | | | | | | | | | We parse the string supplied in NTP_SERVERS during configuration under an assert_se(). Right now we will accept pretty much anything there, but in case we are more picky in the future, add a simple test which checks that we can actually parse whatever is in NTP_SERVERS so that we don't fail the assertion at runtime.
* | test: ensure 'InaccessiblePaths=/proc' option works (#6017)Timothée Ravier2017-05-251-0/+1
| | | | | | Test case for PR #5985.
* | tmpfiles: Remove unnecessary utmp file creation (#6006)codekipper2017-05-241-1/+2
|/ | | | If utmp is disabled (--disable-utmp) then there is no need to create the wtmp and btmp files.
* Merge pull request #5990 from keszybz/logindDjalal Harouni2017-05-211-1/+1
|\ | | | | A bunch of sd-login improvements
| * test-login: make the test non-manualZbigniew Jędrzejewski-Szmek2017-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test-login.c is largely rewritten to use _cleanup_ and give more meaningful messages (function names are used instead of creative terms like "active session", so that when something unexpected is returned, it's much easier to see what function is responsible). The monitoring part is only activated if '-m' is passed on the command line. It runs against the information from /run/systemd/ in the live system, but that should be OK: logind/sd-login interface is supposed to be stable and both backwards and forwards compatible. If not running in a login session, some tests are skipped. Those two changes together mean that it's possible to run test-login in the test suite. Tests for sd_pid_get_{unit,user_unit,slice} are added.
* | Merge pull request #5598 from pfl/ndisc_prefix_delegationLennart Poettering2017-05-191-0/+16
|\ \ | | | | | | Initial Router Advertisment implementation
| * | test-ndisc-ra: Add Router Advertisement test casesPatrik Flykt2017-05-151-0/+11
| | | | | | | | | | | | | | | | | | | | | Add tests for prefix creation, router variable setting and finally verify that a Router Advertisement is properly formatted when sending. Also check that there is a Router Advertisment with zero lifetime when Router Advertisement sending is stopped.
| * | networkd-radv: Helper function for Router Advertisement initializationPatrik Flykt2017-05-151-0/+2
| | | | | | | | | | | | | | | Add a helper function for configuring Router Advertisement on a specific network link. Add the prefixes that are going to be advertised.
| * | sd-radv: Add Router Advertisement prefix handlingPatrik Flykt2017-05-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define Router Advertisement prefix structure. Add the Prefix Information ICMPv6 option defined in RFC 4861 to the prefix information structure, as it will simplify sending a Prefix Information option later on. In order to handle endianness correctly, the structure is redefined here instead of using the one in netinet/icmp6.h. Add functions to create and modify prefix information and set default values as defined in RFC 4861, Section 6.2.1.
* | | Merge pull request #5957 from keszybz/test-c++Lennart Poettering2017-05-171-0/+7
|\ \ \ | |/ / |/| | Test compilation under C++
| * | tests,meson: add test-bus-vtable, compiled as C and C++Zbigniew Jędrzejewski-Szmek2017-05-131-0/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test is mostly a compilation test that checks that various defines in sd-bus-vtable.h are valid C++. The code is executed, but the results are not checked (apart from sd-bus functions not returning an error). test-bus-objects contains pretty extensive tests for this functionality. The C++ version is only added to meson, since it's simpler there. Because of the .cc extension, meson will compile the executable with c++. This test is necessary to properly check the macros in sd-bus-vtable.h. Just running the headers through g++ is not enough, because the macros are not exercised. Follow-up for #5941.
* | network: Implement DHCP Option 119 (Domain Search List) (#5932)Daniel Wang2017-05-131-0/+9
|/ | | | | | | | This adds a modified version of dhcp6_option_parse_domainname() that is able to parse compressed domain names, borrowing the idea from dns_packet_read_name(). It also adds pieces in networkd-link and networkd-manager to properly save/load the added option field. Resolves #2710.
* Merge pull request #5432 from keszybz/udev-loggingLennart Poettering2017-05-121-1/+31
|\ | | | | udev logging separation
| * Rip out setting of the log level from udev_new and put it in a new functionZbigniew Jędrzejewski-Szmek2017-05-071-0/+1
| | | | | | | | | | | | | | | | This function is internal to systemd code, so external users of libudev will not see those log messages. I think this is better. If we want to allow that, the function could be put in libudev and exported. v2: check that the string is more than one char before stripping quotes
| * udev: use LOG_REALM_UDEV in all udev codeZbigniew Jędrzejewski-Szmek2017-05-071-1/+30
| | | | | | | | | | | | | | | | | | | | | | Any call to set/query/use the log level in the code with LOG_REALM=LOG_REALM_UDEV refers to log_max_level[1]. In particular this means that systemd code using the libudev library uses does not set the log level for log calls done in libudev. Fixes #4525. v2: - also update meson's meson.build
* | nss-resolve: drop the internal fallback to libnss_dns (#5945)Zbigniew Jędrzejewski-Szmek2017-05-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we could not communicate with systemd-resolved, we would call into libnss_dns. libnss_dns would return NOTFOUND for stuff like "localhost" and other names resolved by nss-myhostname, which we would fall under the !UNAVAIL= condition and cause resolution to fail. So the following recommended configuration in nsswitch.conf would not work: hosts: resolve [!UNAVAIL=return] dns myhostname Remove the internal fallback code completely so that the fallback logic can be configured in nsswitch.conf. Tested with hosts: resolve [!UNAVAIL=return] myhostname and hosts: resolve [!UNAVAIL=return] dns myhostname Fixes #5742.
* | resolved: support libidn2 in addition to libidnZbigniew Jędrzejewski-Szmek2017-05-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libidn2 2.0.0 supports IDNA2008, in contrast to libidn which supports IDNA2003. https://bugzilla.redhat.com/show_bug.cgi?id=1449145 From that bug report: Internationalized domain names exist for quite some time (IDNA2003), although the protocols describing them have evolved in an incompatible way (IDNA2008). These incompatibilities will prevent applications written for IDNA2003 to access certain problematic domain names defined with IDNA2008, e.g., faß.de is translated to domain xn--fa-hia.de with IDNA2008, while in IDNA2003 it is translated to fass.de domain. That not only causes incompatibility problems, but may be used as an attack vector to redirect users to different web sites. v2: - keep libidn support - require libidn2 >= 2.0.0 v3: - keep dns_name_apply_idna caller dumb, and keep the #ifdefs inside of the function. - use both ±IDN and ±IDN2 in the version string
* | sd-boot: added shim signature/MOK validation (#5702)Max Resch2017-05-091-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for booting in a SecureBoot environment with shim as a preloader. Install an appropriate UEFI security policy to check PE signature of a chained kernel or UEFI application (using LoadImage()) against the MOK database maintained by shim, using shim's installed BootServices. Implementation details for installing the security policy are based on code from the LinuxFoundation's SecureBoot PreLoader, part of efitools licensed under LGPL 2.1 Current signed (by Microsoft) versions of shim (Versions 0.8 & 0.9) so not install a security policy by themselves, future Versions of shim might (a compile time switch exists in rectent git versions), so in the future this PR might become unnecessary.
* | build: Add missing SECCOMP_CFLAGS to test-seccomp and test-execute targets ↵John Paul Adrian Glaubitz2017-05-091-0/+5
|/ | | | (#5924)
* build-sys: don't generate index.html with --disable-manpages (#5865)Michael Biebl2017-04-301-0/+2
| | | | | | Don't generate man/index.html and the dependent man/systemd.index.html if man pages have been disabled. Closes #5854
* Merge pull request #5529 from ssahani/labelLennart Poettering2017-04-291-0/+2
|\ | | | | networkd / sd-netlink: add support for address label
| * networkd: add support for address labelSusant Sahani2017-04-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IPv6 address labels are used for address selection; they are described in RFC 3484. Precedence is managed by userspace, and only the label itself is stored in the kernel. enp0s25.network [Match] Name=enp0s25 [Network] DHCP=yes Address = 2001:db8:f00:baa::b [AddressLabel] Label=199 Prefix=2001:db8:41::/64 [AddressLabel] Label=11 Prefix=2001:db8:31::/64 [AddressLabel] Label=123 Prefix=2001:db8:21::/64 [AddressLabel] Label=124 Prefix=2001:db8:11::/64 [sus@maximus label]$ ip addrlabel list prefix ::1/128 label 0 prefix ::/96 label 3 prefix ::ffff:0.0.0.0/96 label 4 prefix 2001:db8:41::/64 dev enp0s25 label 199 prefix 2001:db8:31::/64 dev enp0s25 label 11 prefix 2001:db8:21::/64 dev enp0s25 label 123 prefix 2001:db8:11::/64 dev enp0s25 label 124 prefix 2001::/32 label 6 prefix 2001:10::/28 label 7 prefix 3ffe::/16 label 12 prefix 2002::/16 label 2 prefix fec0::/10 label 11 prefix fc00::/7 label 5 prefix ::/0 label 1
* | build-sys: only install libexecdir/resolv.conf if resolved is enabled (#5826)userwithuid2017-04-271-3/+3
|/ | | as mentioned in https://github.com/systemd/systemd/pull/5811
* Merge pull request #5704 from keszybz/mesonEvgeny Vereshchagin2017-04-251-17/+5
|\ | | | | meson: build systemd using meson
| * test-efi-create-disk.sh: allow running from separate build dir, hook up to mesonZbigniew Jędrzejewski-Szmek2017-04-231-2/+2
| | | | | | | | | | | | This allow test-efi-disk.img to be created under meson. The invocation of qemu is not converted yet, in particular because the command-line used in Makefile.am is outdated.
| * meson: add hwdb/update targetZbigniew Jędrzejewski-Szmek2017-04-231-12/+2
| |
| * journal/fsprg: set -Wno-pointer-arithm only for that fileZbigniew Jędrzejewski-Szmek2017-04-231-3/+1
| | | | | | | | | | | | | | | | | | | | Both gcc and clang issue a host of warnings about void pointers used in arithmetic. The warning must be ignored in that file to avoid multiple warnings. Makefile.am used to set this for all libsystemd-journal-internal.a sources, because there's no finer granularity for warnings. Let's just set it for this one file.
* | networkd: Introduce GENEVE netdevSusant Sahani2017-04-251-0/+2
| | | | | | | | This work enables cration of geneve tunnel
* | Merge pull request #5354 from msekletar/issue-518Lennart Poettering2017-04-241-1/+2
|\ \ | |/ |/| service: serialize information about currently executing command
| * tests: add new test for issue #518Michal Sekletar2017-04-111-1/+2
| |
* | Makefile.am: remove duplicated rules for efiZbigniew Jędrzejewski-Szmek2017-04-211-26/+15
| | | | | | | | | | | | | | | | Specifying the same rule with a slightly different dep list was not useful, since make cannot distinguish rules with the same input / output. (It possibly could have two rules with different dependency list, but here all dependencies that are different between the two rules are always present, so the two rules are effectively the same.)
* | Makefile.am: link dbus-org.freedesktop.network1 alias in /etcZbigniew Jędrzejewski-Szmek2017-04-191-4/+2
| | | | | | | | | | This makes dbus-org.freedesktop.network1.service like dbus-org.freedesktop.resolve1.service. When systemd-networkd.service is disabled, the alias is also removed.