summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAge
* nspawn: add new option "--port=" for exposing container ports on the local hostLennart Poettering2015-01-13
| | | | 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-13
| | | | | | | | | | | | | | 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-13
| | | | rules, using libiptc
* udev: Add builtin/rule to export evdev information as udev propertiesCarlos Garnacho2015-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | 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-11
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=88271
* Add new function to filter fstab optionsZbigniew Jędrzejewski-Szmek2015-01-11
| | | | | | | | | | | | | | | | | | | | 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-11
|
* build-sys: fix link-order and avoid "label" functions in libsystemd-sharedKay Sievers2015-01-11
|
* push xorg information to the systemd --user instanceKay Sievers2015-01-09
|
* machinectl: show most recent log output in "machinectl status", tooLennart Poettering2015-01-08
|
* loginctl: show the 10 most recent log user/session log lines in "loginctl ↵Lennart Poettering2015-01-08
| | | | user-status" and "loginctl session-status"
* test-verbs: add unit tests for verbs minilibDave Reisner2015-01-08
|
* machine: add reference to machine-dbus.h to Makefile.amFilipe Brandenburger2015-01-05
| | | | | | | | 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-05
| | | | various other tools
* journald: process SIGBUS for the memory maps we set upLennart Poettering2015-01-05
| | | | | | | | | | | | | | 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-01
| | | | | | | | | | 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-01
| | | | | | | 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-29
| | | | | | | | | | | - 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-28
| | | | use of it from nspawn
* build-sys: update path in reference to sd-lldp.hFilipe Brandenburger2014-12-25
| | | | | | | 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-25
| | | | | | | 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-24
| | | | internet
* machined: introduce polkit for OpenLogin() callLennart Poettering2014-12-23
| | | | This way "machinectl login" can be opened up to run without privileges.
* build-sys: move core/build.h → shared/build.hLennart Poettering2014-12-23
| | | | | | | | 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-23
| | | | | | | 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-23
| | | | | | | | 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-20
| | | | [tomegun: fix Makefile-man.am, based on fix from Michael Biebl]
* sd-lldp: minor header cleanupTom Gundersen2014-12-19
| | | | | | | | | | | * (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-19
|
* machined/machinectl: add logic to show list of available imagesLennart Poettering2014-12-19
| | | | | | | | | 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-19
| | | | | | | | | | | | | | 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-19
| | | | | | | | | | | | | | | | | 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-19
| | | | | We should move loginctl, timedatectl, machinectl over to use this new API instead of a manual one.
* systemd-hwdb: introduce new toolTom Gundersen2014-12-18
| | | | | | | | 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-18
|
* shared: add minimal JSON tokenizerLennart Poettering2014-12-15
|
* build-sys: fix distcheckDave Reisner2014-12-14
| | | | | - 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-14
| | | | | | | 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-12
| | | | cap_to_name(), for compat reasons
* shared: add new btrfs-util.[ch] helpers for doing common btrfs operationLennart Poettering2014-12-12
|
* test-execute: add tests for UMask directiveRonny Chevalier2014-12-11
|
* build-sys: fix user unit m4 logicLennart Poettering2014-12-11
|
* libudev: make libudev-hwdb a wrapper around sd-hwdbTom Gundersen2014-12-11
|
* libsystemd: add sd-hwdb libraryTom Gundersen2014-12-11
| | | | | | | | | | | | | | | | 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-10
|
* build-sys: add missing file to CLEANFILESLennart Poettering2014-12-10
|
* build-sys: bump package and library versions in preparation for 218 releaseLennart Poettering2014-12-10
|
* build-sys: fix link-orderKay Sievers2014-12-10
|
* sd-bus: move common errors src/shared/bus-errors.h → ↵Lennart Poettering2014-12-10
| | | | | | 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-10
| | | | | Handle all aspects of ICMPv6 and DHCPv6 in a file of its own as is done with DHCPv4 and IPv4LL.