summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* import: also add verification support to tar importerLennart Poettering2015-01-214-16/+66
|
* import: make verification code generic, in preparation for using it pull-tarLennart Poettering2015-01-215-224/+270
|
* import: improve loggingLennart Poettering2015-01-212-8/+5
|
* import: show download speed while downloadingLennart Poettering2015-01-211-1/+6
|
* import: add image verification using gpgLennart Poettering2015-01-215-77/+210
| | | | | | This also adds an initial keyring for the verification, that contains Ubuntu's and Fedora's key. We should probably add more entries sooner or later.
* test: eliminate shell wrapper for Python testMartin Pitt2015-01-202-29/+9
| | | | | | | | | | Use the parallel test runner's TEST_EXTENSIONS/*_LOG_COMPILER feature (https://www.gnu.org/software/automake/manual/html_node/Parallel-Test-Harness.html) to run *.py tests through $(PYTHON), and only if we have python available/enabled. This eliminates the need of having shell wrappers, thus drop test/rules-test.sh.
* test: simplify rules-test.sh wrapperMartin Pitt2015-01-202-7/+15
| | | | | | | | | Drop globbing of rules/*.rules in the rules-test.sh wrapper and move that logic into the actual test rule-syntax-check.py. This can still be called with individual rules files, but when being called without arguments it will now process all top_builddir/rules/*.rules. Preparation for dropping the shell wrappers altogether.
* nspawn: work around kernel bug with partition table probing on loopback devicesLennart Poettering2015-01-201-70/+74
| | | | | | | | | | | | | | | | | When we set up a loopback device with partition probing, the udev "change" event about the configured device is first passed on to userspace, only the the in-kernel partition prober is started. Since partition probing fails with EBUSY when somebody has the device open, the probing frequently fails since udev starts probing/opening the device as soon as it gets the notification about it, and it might do so earlier than the kernel probing. This patch adds a (hopefully temporary) work-around for this, that compares the number of probed partitions of the kernel with those of blkid and synchronously asks for reprobing until the numebrs are in sync. This really deserves a proper kernel fix.
* import: add a couple of additional suffixes to remove from raw imagesLennart Poettering2015-01-201-1/+3
|
* import: make image verification optionalLennart Poettering2015-01-205-19/+70
|
* sd-dhcp6-client: Remove unnecessary debug printoutPatrik Flykt2015-01-201-1/+0
|
* import: add a simple scheme for validating the SHA256 sums of downloaded raw ↵Lennart Poettering2015-01-207-61/+270
| | | | files
* import: be less aggressive when allocating memory for downloaded payloadLennart Poettering2015-01-201-0/+1
|
* import: improve logging a bitLennart Poettering2015-01-201-4/+6
|
* import: port pull-raw to helper tools implemented for pull-tarLennart Poettering2015-01-208-818/+272
| | | | | This allows us to reuse a lot more code, and simplify pull-raw drastically.
* import: add support for pulling raw tar balls as containersLennart Poettering2015-01-2010-18/+1450
| | | | | Ubuntu provides their cloud images optionally as tarball, hence also support downloading those.
* util: make http url validity checks more generic, and move them to util.cLennart Poettering2015-01-207-39/+45
|
* test: Use configured PythonMartin Pitt2015-01-203-4/+4
| | | | Don't hardcode "python" or /usr/bin/python, but use the configured $(PYTHON).
* test/rule-syntax-check.py: Fix for Python 3Martin Pitt2015-01-201-3/+3
| | | | Make this work with both Python 2 and 3.
* networkd: fix a typo in networkd-wait-online-manager.Rami Rosen2015-01-201-1/+1
| | | | subscibe->subscribe
* man: add networkctl(1)Zbigniew Jędrzejewski-Szmek2015-01-203-1/+178
|
* man: use one description of --no-legendZbigniew Jędrzejewski-Szmek2015-01-206-42/+18
|
* nspawn: add ipvlan supportTom Gundersen2015-01-202-0/+123
|
* networkd: netdev - add ipvlan supportTom Gundersen2015-01-1914-1/+176
|
* systemctl: do not show dots with --plainZbigniew Jędrzejewski-Szmek2015-01-191-15/+18
| | | | | | | | Plain implies a ... "plain" output. Also do not say "No jobs" with --no-legend. We skip reporting the number of jobs with --no-legend if there are any, and 0 is also a number, and should be skipped.
* nspawn: support dissecting GPT images that contain only a single generic ↵Lennart Poettering2015-01-192-39/+58
| | | | | | | linux partition This should allow running Ubuntu UEFI GPT Images with nspawn, unmodified.
* import: clarify when we are unpacking the qcow2 deviceLennart Poettering2015-01-191-0/+2
|
* inspawn: wait until udev has probed a loopback device before making us of itLennart Poettering2015-01-191-3/+62
|
* import: make sure don't leak the LZMA contextLennart Poettering2015-01-191-0/+1
|
* machined: refer to the disk space allocated for an image to "usage" rather ↵Lennart Poettering2015-01-195-19/+19
| | | | | | | than "size" After all, it's closer to the "du"-reported value than to the file sizes...
* qcow2: when dissecting qcow2, use btrfs clone ioctls for reflinking blocks ↵Lennart Poettering2015-01-194-0/+28
| | | | to target
* import: when downloading raw files, show simple progress reportsLennart Poettering2015-01-191-0/+48
|
* import: simplify the code a bitLennart Poettering2015-01-191-60/+59
|
* import-raw: when downloading raw images, generate sparse files if we canLennart Poettering2015-01-194-1/+110
|
* import-raw: set NOCOW flag on all raw images we createLennart Poettering2015-01-191-1/+5
|
* systemctl: fix import-environment description, trim help to 80 colsZbigniew Jędrzejewski-Szmek2015-01-192-8/+9
|
* journalctl: trim --help to fit in 80 columnsZbigniew Jędrzejewski-Szmek2015-01-191-14/+14
| | | | | | | Terminals tend to be 80 columns wide by default, and the help text is only supposed to be a terse reminder anyway. https://bugzilla.redhat.com/show_bug.cgi?id=1183771
* cgroup: fix typoDaniel Mack2015-01-191-1/+1
|
* Move DEFINE_TRIVIAL_CLEANUP_FUNC to macro.hZbigniew Jędrzejewski-Szmek2015-01-196-12/+10
| | | | | This remove the need for various header files to include the (relatively heavyweight) util.h.
* Add initialization helper for file_handle_unionZbigniew Jędrzejewski-Szmek2015-01-194-12/+4
|
* man: reindent tmpfiles.d(5)Zbigniew Jędrzejewski-Szmek2015-01-191-570/+478
| | | | Reindent to 2 spaces, use more markup.
* man: mention "wheel" and "adm" in journalctl(1)Zbigniew Jędrzejewski-Szmek2015-01-191-3/+8
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=70866
* man: reindent journalctl(1)Zbigniew Jędrzejewski-Szmek2015-01-191-957/+801
| | | | Reindent with two spaces, use non-breaking spaces, add <literal> tags.
* bus: drop systemd.kdbus_attach_flags_mask= cmdlineDavid Herrmann2015-01-181-18/+9
| | | | | | | There is no reason to provide our own attach_flags_mask. We can simply rely on kdbus.attach_flags_mask= which is read by the kernel *and* kmod. If it's set, we assume the user wants to override our setting, so we simply skip setting it.
* core: write kdbus.attach_flags_mask only on real bootDavid Herrmann2015-01-181-1/+1
| | | | | | The kernel module system is not namespaced, so no container should ever modify global options. Make sure we set the kdbus attach_flags_mask only on a real boot as PID1.
* libudev: fix check for too long packetTopi Miettinen2015-01-181-1/+1
| | | | | | | Don't use recvmsg(2) return value to check for too long packets (it doesn't work) but MSG_TRUNC flag. (David: add parantheses around condition)
* util: replace RUN_WITH_LOCALE with extended locale functionsCristian Rodríguez2015-01-183-47/+29
| | | | | | There were two callers, one can use strtod_l() and the other strptime_l(). (David: fix up commit-msg and coding-style)
* timesyncd: consider too long packets as invalidTopi Miettinen2015-01-181-1/+2
| | | | | | | | If the received NTP message from server didn't fit to our buffer, either it is doing something nasty or we don't know the protocol. Consider the packet as invalid. (David: add parantheses around conditional)
* bus-proxy: don't pretend everyone is rootDavid Herrmann2015-01-181-1/+1
| | | | | | While it's a lovely scenario, it's probably not really useful. Fix our GetConnectionUnixUser() to return the actual 'euid' which we asked for, not the possible uninitialized 'uid'.
* Revert "test-exec: do not skip all the tests"David Herrmann2015-01-181-20/+6
| | | | | | | | | | This reverts commit 68e68ca8106e7cd874682ae425843b48579c6539. We *need* root access to create cgroups. The only exception is if it is run from within a cgroup with "Delegate=yes". However, this is not always true and we really shouldn't rely on this. If your terminal runs from within a systemd --user instance, you're fine. Everyone else is not (like running from ssh, VTs, and so on..).