summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* nspawn: add new option "--port=" for exposing container ports on the local hostLennart Poettering2015-01-131-0/+5
| | | | This exposes an IP port on the container as local port using DNAT.
* networkd: add minimal IP forwarding and masquerading support to .network filesLennart Poettering2015-01-131-0/+10
| | | | | | | | | | | | | | This adds two new settings to networkd's .network files: IPForwarding=yes and IPMasquerade=yes. The former controls the "forwarding" sysctl setting of the interface, thus controlling whether IP forwarding shall be enabled on the specific interface. The latter controls whether a firewall rule shall be installed that exposes traffic coming from the interface as coming from the local host to all other interfaces. This also enables both options by default for container network interfaces, thus making "systemd-nspawn --network-veth" have network connectivity out of the box.
* shared: add minimal firewall manipulation helpers for establishing NAT ↵Lennart Poettering2015-01-131-1/+32
| | | | rules, using libiptc
* udev: Add builtin/rule to export evdev information as udev propertiesCarlos Garnacho2015-01-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This rule is only run on tablet/touchscreen devices, and extracts their size in millimeters, as it can be found out through their struct input_absinfo. The first usecase is exporting device size from tablets/touchscreens. This may be useful to separate policy and application at the time of mapping these devices to the available outputs in windowing environments that don't offer that information as readily (eg. Wayland). This way the compositor can stay deterministic, and the mix-and-match heuristics are performed outside. Conceivably, size/resolution information can be changed through EVIOCSABS anywhere else, but we're only interested in values prior to any calibration, this rule is thus only run on "add", and no tracking of changes is performed. This should only remain a problem if calibration were automatically applied by an earlier udev rule (read: don't). v2: Folded rationale into commit log, made a builtin, set properties on device nodes themselves v3: Use inline function instead of macro for mm. size calculation, use DECIMAL_STR_MAX, other code style issues v4: Made rule more selective v5: Minor style issues, renamed to a more generic builtin, refined rule further.
* catalog: add pt_BR translationRafael Ferreira2015-01-111-0/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=88271
* Add new function to filter fstab optionsZbigniew Jędrzejewski-Szmek2015-01-111-0/+9
| | | | | | | | | | | | | | | | | | | | This fixes parsing of options in shared/generator.c. Existing code had some issues: - it would treate whitespace and semicolons as seperators. fstab(5) is pretty clear that only commas matter. And the syntax does not allow for spaces to be inserted in the field in fstab. Whitespace might be escaped, but then it should not seperate options. Treat whitespace and semicolons as any other character. - it assumed that x-systemd.device-timeout would always be followed by "=". But this is not guaranteed, hasmntopt will return this option even if there's no value. Uninitialized memory could be read. - some error paths would log, and inconsistently, some would just return an error code. Filtering is split out to a separate function and tests are added. Similar code paths in other places are adjusted to use the new function.
* test-path-lookup: add simple test for path lookup functionsZbigniew Jędrzejewski-Szmek2015-01-111-0/+9
|
* build-sys: fix link-order and avoid "label" functions in libsystemd-sharedKay Sievers2015-01-111-26/+23
|
* push xorg information to the systemd --user instanceKay Sievers2015-01-091-0/+4
|
* machinectl: show most recent log output in "machinectl status", tooLennart Poettering2015-01-081-0/+2
|
* loginctl: show the 10 most recent log user/session log lines in "loginctl ↵Lennart Poettering2015-01-081-0/+2
| | | | user-status" and "loginctl session-status"
* test-verbs: add unit tests for verbs minilibDave Reisner2015-01-081-1/+8
|
* machine: add reference to machine-dbus.h to Makefile.amFilipe Brandenburger2015-01-051-0/+1
| | | | | | | | Commit 003dffde2c1b93 ("machined: Move image discovery logic into src/shared, so that we can make use of it from nspawn") moved some definitions from machine.h to a new machine-dbus.h, but did not include it in Makefile.am Tested that `make distcheck` works after this fix.
* udevadm,..: make --help output of udev tools more like the output of the ↵Lennart Poettering2015-01-051-1/+2
| | | | various other tools
* journald: process SIGBUS for the memory maps we set upLennart Poettering2015-01-051-1/+10
| | | | | | | | | | | | | | Even though we use fallocate() it appears that file systems like btrfs will trigger SIGBUS on certain low-disk-space situation. We should handle that, hence catch the signal, add it to a list of invalidated pages, and replace the page with an empty memory area. After each write check if SIGBUS was triggered, and consider the write invalid if it was. This should make journald a lot more robust with file systems where fallocate() is not reliable, for example all CoW file systems (btrfs...), where changing written data can fail with disk full errors. https://bugzilla.redhat.com/show_bug.cgi?id=1045810
* build-sys: Fix install location of systemd.pcMartin Pitt2015-01-011-3/+1
| | | | | | | | | | systemd.pc contains "libdir" which can be architecture specific. Thus it needs to be installed into libdir/pkgconfig/ instead of datadir/pkgconfig. As nothing else is using pkgconfigdata any more, remove it entirely. Note that udev.pc does not contain architecture specific values and thus can be kept in /usr/share/pkgconfig/.
* build-sys: fix build issue with machines.targetPhilippe De Swert2015-01-011-2/+2
| | | | | | | When doing "make clean" the unit/machines.target file gets deleted. This causes a build error later on when trying to rebuild systemd. V2: The file probably belongs to dist_systemunit_DATA
* units: rework systemd-nspawn@.service unitLennart Poettering2014-12-291-0/+1
| | | | | | | | | | | - Unescape instance name so that we can take almost anything as instance name. - Introduce "machines.target" which consists of all enabled nspawns and can be used to start/stop them altogether - Look for container directory using -M instead of harcoding the path in /var/lib/container
* machined: Move image discovery logic into src/shared, so that we can make ↵Lennart Poettering2014-12-281-3/+4
| | | | use of it from nspawn
* build-sys: update path in reference to sd-lldp.hFilipe Brandenburger2014-12-251-1/+1
| | | | | | | The file was moved from src/libsystemd-network to src/systemd in commit 7a6f1457462840 ("sd-lldp: minor header cleanup"). This fixes "make distcheck".
* machined: beef up machined image listing with creation/modification times of ↵Lennart Poettering2014-12-251-0/+1
| | | | | | | subvolumes We make use of the btrfs subvol crtime for this, and for gpt images of a manually managed xattr, if we can.
* import: add a new "pull-gpt" verb for downloading GPT disk images from the ↵Lennart Poettering2014-12-241-0/+2
| | | | internet
* machined: introduce polkit for OpenLogin() callLennart Poettering2014-12-231-0/+6
| | | | This way "machinectl login" can be opened up to run without privileges.
* build-sys: move core/build.h → shared/build.hLennart Poettering2014-12-231-3/+3
| | | | | | | | After all, pretty much all our tools include it, and it should hence be shared. Also move sysfs-show.h from core/ to login/, since it has no point to exist in core.
* core: rearrange code so that libsystemd/sd-bus/ does not include header ↵Lennart Poettering2014-12-231-9/+9
| | | | | | | files from core Stuff in src/shared or src/libsystemd should *never* include code from src/core or any of the tools, so don't do that here either. It's not OK!
* import: rename 'poll-dck' to 'pull-dkr'Lennart Poettering2014-12-231-2/+2
| | | | | | | | I figure "pull-dck" is not a good name, given that one could certainly read the verb in a way that might be funny for 16year-olds. ;-) Also, don't hardcode the index URL to use, make it runtime and configure time configurable instead.
* build: add option to disable hwdbUmut Tezduyar Lindskog2014-12-201-0/+2
| | | | [tomegun: fix Makefile-man.am, based on fix from Michael Biebl]
* sd-lldp: minor header cleanupTom Gundersen2014-12-191-0/+1
| | | | | | | | | | | * (potentially) public headers must reside in src/systemd/ (not in src/libsystemd*) * some private (not prefixed with sd_) functions moved from sd-lldp.h to lldp-internal.h * introduce lldp-util.h for the cleanup macro, as these should not be public * rename the cleanup macro, we always name them _cleanup_foo_, never _cleanup_sd_foo_ * mark some function arguments as 'const'
* machined: add a full bus object for imagesLennart Poettering2014-12-191-1/+2
|
* machined/machinectl: add logic to show list of available imagesLennart Poettering2014-12-191-1/+3
| | | | | | | | | This adds a new bus call to machined that enumerates /var/lib/container and returns all trees stored in it, distuingishing three types: - GPT disk images, which are files suffixed with ".gpt" - directory trees - btrfs subvolumes
* networkd: Introduce Link Layer Discovery Protocol (LLDP)Susant Sahani2014-12-191-2/+25
| | | | | | | | | | | | | | This patch introduces LLDP support to networkd. it implements the receiver side of the protocol. The Link Layer Discovery Protocol (LLDP) is an industry-standard, vendor-neutral method to allow networked devices to advertise capabilities, identity, and other information onto a LAN. The Layer 2 protocol, detailed in IEEE 802.1AB-2005.LLDP allows network devices that operate at the lower layers of a protocol stack (such as Layer 2 bridges and switches) to learn some of the capabilities and characteristics of LAN devices available to higher layer protocols.
* import: add new minimal tool "systemd-import" for pulling down foreign ↵Lennart Poettering2014-12-191-0/+26
| | | | | | | | | | | | | | | | | containers and install them locally This adds a simply but powerful tool for downloading container images from the most popular container solution used today. Use it like this: # systemd-import pull-dck mattdm/fedora # systemd-nspawn -M fedora This will donwload the layers for "mattdm/fedora", and make them available locally as /var/lib/container/fedora. The tool is pretty complete, as long as it's only about pulling down images, or updating them. Pushing or searching is not supported yet.
* util: add generalization of verb parsing for command line toolsLennart Poettering2014-12-191-1/+3
| | | | | We should move loginctl, timedatectl, machinectl over to use this new API instead of a manual one.
* systemd-hwdb: introduce new toolTom Gundersen2014-12-181-24/+45
| | | | | | | | This pulls out the hwdb managment from udevadm into an independent tool. The old code is left in place for backwards compatibility, and easy of testing, but all documentation is dropped to encourage use of the new tool instead.
* networkd: add FDB supportAlin Rauta2014-12-181-0/+1
|
* shared: add minimal JSON tokenizerLennart Poettering2014-12-151-0/+10
|
* build-sys: fix distcheckDave Reisner2014-12-141-2/+1
| | | | | - fix misspelling in filename (intenal -> internal) - remove deleted hwdb-related file (nuked with sd-hwdb refactor)
* build-sys: always distribute systemd-consoled.service.inDave Reisner2014-12-141-3/+3
| | | | | | | Similar to how we handle other facilities that can be flagged out at configure time, we should always distribute this input file. http://lists.freedesktop.org/archives/systemd-devel/2014-December/026272.html
* cap-list: return lower-case capability names, similar to libcap's ↵Lennart Poettering2014-12-121-1/+1
| | | | cap_to_name(), for compat reasons
* shared: add new btrfs-util.[ch] helpers for doing common btrfs operationLennart Poettering2014-12-121-2/+11
|
* test-execute: add tests for UMask directiveRonny Chevalier2014-12-111-0/+2
|
* build-sys: fix user unit m4 logicLennart Poettering2014-12-111-1/+1
|
* libudev: make libudev-hwdb a wrapper around sd-hwdbTom Gundersen2014-12-111-1/+2
|
* libsystemd: add sd-hwdb libraryTom Gundersen2014-12-111-1/+6
| | | | | | | | | | | | | | | | This is libudev-hwdb, but decoupled from libudev and in the libsystemd style. The core code is unchanged, apart from the following minor changes: - hwdb.bin located in /**/systemd/hwdb/ take preference over the ones located in /**/udev/ - properties are stored internally in an OrderedHashmap, rather than a linked list. - a new API call allows individual properties to be queried directly, rather than iterating over them all - the iteration over properties have been moved inside the library, rather than exposing a list directly - the unused 'flags' parameter was dropped
* build-sys: update Lennart's private targetLennart Poettering2014-12-101-3/+6
|
* build-sys: add missing file to CLEANFILESLennart Poettering2014-12-101-0/+3
|
* build-sys: bump package and library versions in preparation for 218 releaseLennart Poettering2014-12-101-2/+2
|
* build-sys: fix link-orderKay Sievers2014-12-101-4/+4
|
* sd-bus: move common errors src/shared/bus-errors.h → ↵Lennart Poettering2014-12-101-2/+2
| | | | | | src/libsystemd/sd-bus/bus-common-errors.h Stuff in src/shared/ should not use stuff from src/libsystemd/ really.
* networkd-dhcp6: Move ICMPv6 and DHCPv6 configuration to new filePatrik Flykt2014-12-101-0/+1
| | | | | Handle all aspects of ICMPv6 and DHCPv6 in a file of its own as is done with DHCPv4 and IPv4LL.