summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-02-21man: suffix networkd config file options with "="Lennart Poettering2-55/+55
That's what we do for all options in the other man pages. It helps clarifying that these are options that values need to be assigned to.
2014-02-21man: split settings documentaiton in systemd.unit(5) into two sectionsLennart Poettering1-1/+6
2014-02-21man: don't document ".include" in configuration files anymore as first step ↵Lennart Poettering2-6/+9
to deprecate them one day
2014-02-21update TODOLennart Poettering1-0/+9
2014-02-21journald: ignore failure to watch hostname_fd on older kernelsDave Reisner1-0/+10
Prior to 3.2, /proc/sys/kernel/hostname isn't a pollable file and sd_event_add_io will return EPERM. Ignore this failure, since it isn't critical to journald operation. Reported and tested by user sraue on IRC.
2014-02-21ptyfwd: reset nonblocking modeLennart Poettering1-3/+8
Apparently bash doesn't turn off non-blocking mode on stdin/stdout when reading from it, so be nice to bash. Ideally bash would do this on its own for robustness reasons, though. https://bugs.freedesktop.org/show_bug.cgi?id=70622
2014-02-21NEWS: add name_to_handle_at() requirementKay Sievers1-0/+3
2014-02-21build-sys: make network files respect --rootprefixSamuli Suominen1-1/+1
With --rootprefix= systemd-udevd gets installed to /lib/systemd, and since the network configuration is also required during early boot, it should be available there with it. Using --prefix= is not an option since it would put everything, including pkg-config files, man pages, documentation, to / which is not wanted. This commit puts 99-default.link to /lib/systemd/network/ when required.
2014-02-21.network/.netdev/.link: allow to match on architectureTom Gundersen12-12/+53
2014-02-21configure: show if networkd is enabled in statusJason A. Donenfeld1-0/+1
2014-02-21man: there is no ExecStopPre= for service unitsLennart Poettering1-1/+1
https://bugs.freedesktop.org/show_bug.cgi?id=73177
2014-02-21install: enable networkd by defaultTom Gundersen1-0/+1
This treats it similarly to getty@tty1.service and remote-fs.target, which can be enabled/disabled, but defaults to enabled.
2014-02-21install: do not statically enable systemd-networkdJason A. Donenfeld2-3/+3
[tomegun: pruned the commit message as not to contradict the follow-up commit]
2014-02-21sd-event: Fix systemd crash when using timer units.Thomas Bächler1-1/+1
There was a copy-paste error introduced in commit c2ba3ad6604ef2e189d7e0a36d6911116e84d3ab which causes the following error when using timer units: Assertion '(x->type == SOURCE_MONOTONIC && y->type == SOURCE_MONOTONIC) || (x->type == SOURCE_REALTIME && y->type == SOURCE_REALTIME)' failed at src/libsystemd/sd-event/sd-event.c:264, function latest_time_prioq_compare(). Aborting.
2014-02-21systemctl: fix compiler warning in list_timers()Daniel Mack1-1/+1
get_next_elapse() will always fill 'next' with values when it returns >= 0. Hence, the compiler is wrong about this warning. Initialize 'next' nevertheless. src/systemctl/systemctl.c: In function ‘list_timers’: src/systemctl/systemctl.c:953:43: warning: ‘next.monotonic’ may be used uninitialized in this function [-Wmaybe-uninitialized] converted = nw.realtime - (nw.monotonic - next.monotonic); ^ In file included from ./src/shared/log.h:30:0, from src/systemctl/systemctl.c:46: ./src/shared/macro.h:137:38: warning: ‘next.realtime’ may be used uninitialized in this function [-Wmaybe-uninitialized] _a < _b ? _a : _b; \ ^ src/systemctl/systemctl.c:933:32: note: ‘next.realtime’ was declared here dual_timestamp next; ^
2014-02-21shared/architecture.h: fix preprocessor directivesDaniel Mack1-2/+2
Use 'if defined()', not 'ifdef defined()'. Fixes the following warning. CC src/shared/architecture.lo In file included from src/shared/architecture.c:24:0: src/shared/architecture.h:89:17: warning: extra tokens at end of #ifdef directive [enabled by default] # ifdef defined(WORDS_BIGENDIAN) ^
2014-02-20man: xinclude pkg-config noteZbigniew Jędrzejewski-Szmek11-63/+40
2014-02-20man: xinclude --host/--machineZbigniew Jędrzejewski-Szmek10-171/+45
As usual, those common options are pushed to the end.
2014-02-20man: xinclude --user/--systemZbigniew Jędrzejewski-Szmek5-52/+32
2014-02-20man: xinclude --help/--version/--no-pagerZbigniew Jędrzejewski-Szmek39-607/+221
2014-02-20build-sys: add conditionals and regenerate manpage listZbigniew Jędrzejewski-Szmek12-206/+206
The list of man pages is auto generated, based on conditonal='...' attributes in the man page itself.
2014-02-20man: ignore non-manpage files when generating makefileZbigniew Jędrzejewski-Szmek1-1/+7
2014-02-20manager: be more precise in message about restartZbigniew Jędrzejewski-Szmek2-3/+9
2014-02-21update TODOLennart Poettering1-11/+0
2014-02-21nspawn: when adding a veth interface to a bridge, use the "vb-" rather than ↵Lennart Poettering2-9/+20
"ve-" interface name prefix This way we can recognize the interfaces later on to apply different host-side configuration to them.
2014-02-21replace tabs with spaces in some filesJason St. John3-6/+6
Files: * hwdb/60-keyboard.hwdb * shell-completion/zsh/_systemd-coredumpctl * src/test/test-helper.h
2014-02-21core: Add AppArmor profile switchingMichael Scherer12-5/+144
This permit to switch to a specific apparmor profile when starting a daemon. This will result in a non operation if apparmor is disabled. It also add a new build requirement on libapparmor for using this feature.
2014-02-21selinux: Don't attempt to load policy in initramfs if it doesn't existColin Walters1-0/+7
Currently on at least Fedora, SELinux policy does not come in the initramfs. systemd will attempt to load *both* in the initramfs and in the real root. Now, the selinux_init_load_policy() API has a regular error return value, as well as an "enforcing" boolean. To determine enforcing state, it looks for /etc/selinux/config as well as the presence of "enforcing=" on the kernel command line. Ordinarily, neither of those exist in the initramfs, so it will return "unknown" for enforcing, and systemd will simply ignore the failure to load policy.
2014-02-21build-sys: don't use -Wcast-align anymoreLennart Poettering2-2/+1
We do a lot of these casts, and they are all OK, so let's get rid of the warning, to make things quieter. http://lists.freedesktop.org/archives/systemd-devel/2014-February/017174.html
2014-02-21build-sys: Fix compilation of nspawn when seccomp is not enabledMichael Scherer1-1/+5
2014-02-21missing: simplificationsLennart Poettering1-16/+8
2014-02-21build-sys: Add setns() functions if not in the C library.Holger Schurig2-2/+20
Debian Stable is still using glibc 2.13, which doesn't provide the setns(). So we detect this and provide a tiny wrapper that issues the setns syscall towards the kernel.
2014-02-21hostnamectl: should the sanitized arch, not the native uname() oneLennart Poettering2-1/+7
2014-02-21core: add new ConditionArchitecture() that checks the architecture returned ↵Lennart Poettering9-109/+505
by uname()'s machine field.
2014-02-20man: networkd/udev - add to [Match] documentationTom Gundersen2-3/+106
2014-02-20net-util: match - allow globbingTom Gundersen1-2/+3
For now support globbing for interface name and path.
2014-02-20bootctl: add bash completionThomas Hindoe Paaboel Andersen2-0/+63
2014-02-20sd-dhcp-client: prevent timer related memory leaksUmut Tezduyar Lindskog1-0/+4
2014-02-20networkd: netdev - allow filtering on kernel cmdline, host and virtTom Gundersen8-57/+94
2014-02-20network/link: Match - filter on kernel cmdline, host and virtTom Gundersen8-42/+121
2014-02-20condition: split out most of condition handling into libsystemd-shardTom Gundersen5-256/+324
The parts that require linknig to libcap, libselinux and friends stays in libsystemd-core.
2014-02-20condition: refactor a bitTom Gundersen1-50/+70
No functional change, just move code around a bit to make it simpler to split out some functions.
2014-02-20python: reindent _reader.cLennart Poettering1-582/+577
All files should follow our coding style, and that means 8ch indenting. Let's correct that.
2014-02-20macro: add nice macro for disabling -Wnonnull temporarilyLennart Poettering2-4/+12
2014-02-20macro: introduce nice macro for disabling -Wmissing-prototypes warnigsLennart Poettering7-26/+31
2014-02-20macro: introduce a nice macro for disabling -Wformat-nonliteral temporarilyLennart Poettering8-34/+32
2014-02-20update TODOLennart Poettering1-0/+4
2014-02-20util: get rid of warnings around assert_cc() macroLennart Poettering1-2/+21
Suggested by Holger Schurig.
2014-02-20journal: fix compiler warning in journal_file_append_data()Daniel Mack1-1/+1
gcc (4.8.2, arm) does not understand that journal_file_append_field() will always set 'fo' when it returns 0, so this warning is bogus. Anyway, fix it by initialiting fo = NULL.
2014-02-20journal: fix compiler warning in real_journal_next()Daniel Mack1-2/+2
gcc (4.8.2, arm) does not understand that next_beyond_location() will always set 'p' when it returns > 0. Initialize p in order to fix this.