summaryrefslogtreecommitdiff
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* gitignore: ignore mypy cacheZbigniew Jędrzejewski-Szmek2020-05-301-1/+2
| | | | mypy is occasionally useful for checking python scripts.
* gitignore: add nspawn image lock and mkosi temporary filesYu Watanabe2018-09-071-0/+2
|
* gitignore: add .gdb_historyZbigniew Jędrzejewski-Szmek2018-07-161-0/+1
| | | | This is the default file gdb will use.
* Add mkosi.output/ to .gitignoreZbigniew Jędrzejewski-Szmek2017-11-291-0/+1
| | | | | It's not something that would ever be checked in, and mkosi along with systemd, so this directory is likely to appear.
* gitignore: ignore output file of mkid (#7081)John Lin2017-10-131-0/+1
| | | mkid is from https://www.gnu.org/software/idutils/
* build-sys: drop gitignore patterns for in-tree buildsZbigniew Jędrzejewski-Szmek2017-07-181-298/+0
| | | | ... and other autotools-generated files.
* mkosi: make use of BUILDDIR if it is setLennart Poettering2017-07-171-0/+2
| | | | | | | | This way, the new "mkosi.builddir" support proposed in PR: https://github.com/systemd/mkosi/pull/114 will be made use of automatically.
* gitignore: include mkosi -i files in gitignoreLennart Poettering2017-07-171-4/+6
| | | | (also: sort the entries again)
* Merge pull request #6194 from keszybz/urandom-magicZbigniew Jędrzejewski-Szmek2017-06-301-0/+1
|\ | | | | Fall back to /dev/urandom less and other random number improvements.
| * tests: add test-random-utilZbigniew Jędrzejewski-Szmek2017-06-281-0/+1
| | | | | | | | In case you're wondering: 16 aligns in a nice pyramid.
* | test-resolved-packet: add a simple test for our allocation functionsZbigniew Jędrzejewski-Szmek2017-06-271-0/+1
|/
* test-timesync: add first test for timesyncd conf parsingZbigniew Jędrzejewski-Szmek2017-05-251-0/+1
| | | | | | | | 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.
* gitignore: ignore /test-sd-dhcp-lease (#5983)Daniel Wang2017-05-171-0/+1
|
* tests,meson: add test-bus-vtable, compiled as C and C++Zbigniew Jędrzejewski-Szmek2017-05-131-0/+2
| | | | | | | | | | | | | | | | 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.
* gitignore: ignore all build* subdirs in main directoryZbigniew Jędrzejewski-Szmek2017-04-231-1/+1
| | | | | | | Now that meson builds require a separate build dir, everybody's bound to have at least one. So let's accept the convention that build*/ is for builds, and apply a blanket ignore rule, we shouldn't have any important files named build* in the main directory.
* Merge pull request #5131 from keszybz/environment-generatorsLennart Poettering2017-02-211-0/+2
|\ | | | | Environment generators
| * environment-generator: new generator to peruse environment.dZbigniew Jędrzejewski-Szmek2017-02-201-0/+1
| | | | | | | | | | | | | | | | Why the strange name: the prefix is necessary to follow our own advice that environment generators should have numerical prefixes. I also put -d- in the name because otherwise the name was very easy to mistake with systemd.environment-generator. This additional letter clarifies that this on special generator that supports environment.d files.
| * basic/util: move execute_directory() to separate fileZbigniew Jędrzejewski-Szmek2017-02-111-0/+1
| | | | | | | | It's a fairly specialized function. Let's make new files for it and the tests.
* | test-journal-importer: new test file to check the newly exported importer codeZbigniew Jędrzejewski-Szmek2017-02-151-0/+1
|/ | | | | Only one test case is added, but it is enough to check basic sanity of the code (single-line and binary fields and trusted fields, allocation and freeing).
* verity: add support for setting up verity-protected root disks in the initrdLennart Poettering2016-12-211-0/+2
| | | | | | | | | This adds a generator and a small service that will look for "roothash=" on the kernel command line and use it for setting up a very partition for the root device. This provides similar functionality to nspawn's existing --roothash= switch.
* fstab-generator: add support for volatile bootsLennart Poettering2016-12-211-0/+1
| | | | | | | | | | | | | | | | | | | | This adds support for a new kernel command line option "systemd.volatile=" that provides the same functionality that systemd-nspawn's --volatile= switch provides, but for host systems (i.e. systems booting with a kernel). It takes the same parameter and has the same effect. In order to implement systemd.volatile=yes a new service systemd-volatile-root.service is introduced that only runs in the initrd and rearranges the root directory as needed to become a tmpfs instance. Note that systemd.volatile=state is implemented different: it simply generates a var.mount unit file that is part of the normal boot and has no effect on the initrd execution. The way this is implemented ensures that other explicit configuration for /var can always override the effect of these options. Specifically, the var.mount unit is generated in the "late" generator directory, so that it only is in effect if nothing else overrides it.
* core: hook up MountFlags= to the transient unit logicLennart Poettering2016-12-131-0/+1
| | | | | This makes "systemd-run -p MountFlags=shared -t /bin/sh" work, by making MountFlags= to the list of properties that may be accessed transiently.
* Merge pull request #4795 from poettering/dissectZbigniew Jędrzejewski-Szmek2016-12-101-0/+2
|\ | | | | Generalize image dissection logic of nspawn, and make it useful for other tools.
| * dissect: add small "systemd-dissect" tool as wrapper around dissect-image.cLennart Poettering2016-12-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | This adds a small tool that may be used to look into OS images, and mount them to any place. This is mostly a friendlier version of test-dissect-image.c. I am not sure this should really become a proper command of systemd, hence for now do not install it into bindir, but simply libexecdir. This tool is already pretty useful since you can mount image files with it, honouring the various partitions correctly. I figure this is going to become more interesting if the dissctor learns luks and verity support.
| * util-lib: split out image dissecting code and loopback code from nspawnLennart Poettering2016-12-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds two new APIs to systemd: - loop-util.h is a simple internal API for allocating, setting up and releasing loopback block devices. - dissect-image.h is an internal API for taking apart disk images and figuring out what the purpose of each partition is. Both APIs are basically refactored versions of similar code in nspawn. This rework should permit us to reuse this in other places than just nspawn in the future. Specifically: to implement RootImage= in the service image, similar to RootDirectory=, but operating on a disk image; to unify the gpt-auto-discovery generator code with the discovery logic in nspawn; to add new API to machined for determining the OS version of a disk image (i.e. not just running containers). This PR does not make any such changes however, it just provides the new reworked API. The reworked code is also slightly more powerful than the nspawn original one. When pointing it to an image or block device with a naked file system (i.e. no partition table) it will simply make it the root device.
* | core: add "khash" API to src/basic/ (as wrapper around kernel AF_ALG)Lennart Poettering2016-11-291-0/+1
|/ | | | | | | | | | | | | | | | | Let's take inspiration from bluez's ELL library, and let's move our cryptographic primitives away from libgcrypt and towards the kernel's AF_ALG cryptographic userspace API. In the long run we should try to remove the dependency on libgcrypt, in favour of using only the kernel's own primitives, however this is unlikely to happen anytime soon, as the kernel does not provide Elliptic Curve APIs to userspace at this time, and we need them for the DNSSEC cryptographic. This commit only covers hashing for now, symmetric encryption/decryption or even asymetric encryption/decryption is not available for now. "khash" is little more than a lightweight wrapper around the kernel's AF_ALG socket API.
* .gitignore: ignore precompiled GCC headers (#4516)Daniel Mack2016-10-281-0/+1
| | | | Not sure since when this is the default behavior, but my local tree is full of such files. Let's ignore them for clarity.
* gitignore: add test-seccomp (#4498)Thomas H. P. Andersen2016-10-261-0/+1
|
* gitignore: ignore image.raw from mkosi (#4141)Davide Cavalca2016-09-141-0/+1
|
* sd-bus: add a small test case for sd_bus_trackLennart Poettering2016-08-221-0/+1
| | | | | This tests in particular that disconnecting results in the tracking object's handlers to be called.
* add a new tool for creating transient mount and automount unitsLennart Poettering2016-08-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | This adds "systemd-mount" which is for transient mount and automount units what "systemd-run" is for transient service, scope and timer units. The tool allows establishing mounts and automounts during runtime. It is very similar to the usual /bin/mount commands, but can pull in additional dependenices on access (for example, it pulls in fsck automatically), an take benefit of the automount logic. This tool is particularly useful for mount removable file systems (such as USB sticks), as the automount logic (together with automatic unmount-on-idle), as well as automatic fsck on first access ensure that the removable file system has a high chance to remain in a fully clean state even when it is unplugged abruptly, and returns to a clean state on the next re-plug. This is a follow-up for #2471, as it adds a simple client-side for the transient automount logic added in that PR. In later work it might make sense to invoke this tool automatically from udev rules in order to implement a simpler and safer version of removable media management á la udisks.
* keymap-util: add tests and fix one small bugZbigniew Jędrzejewski-Szmek2016-06-061-0/+1
| | | | | | | | | | | | | | When converting an empty x11 variant, we would not delete vconsole mapping properly. find_legacy_keymap() is made non-static. I think it's important to be able to test it. In principle we could also test it through the higher-level interface of x11_convert_to_vconsole, but x11_convert_to_vconsole also uses find_converted_keymap, and it's better to test at this lower level. Note that find_legacy_keymap might be a bit of a misnomer, because we'd probably want to keep kbd-model-map even if the "legacy" layouts went away. So we might want to change this name, but I'm leaving that for another commit.
* Trivial network cleanup (#3196)Thomas H. P. Andersen2016-05-051-1/+1
| | | | | | * gitignore: typo fix for test-networkd-conf * networkd: fix double include
* test-networkd-conf: add tests for the parsing functionsZbigniew Jędrzejewski-Szmek2016-05-031-0/+1
|
* nspawn: optionally fix up OS tree uid/gids for usernsLennart Poettering2016-04-251-0/+1
| | | | | | | | This adds a new --private-userns-chown switch that may be used in combination with --private-userns. If it is passed a recursive chmod() operation is run on the OS tree, fixing all file owner UID/GIDs to the right ranges. This should make user namespacing pretty workable, as the OS trees don't need to be prepared manually anymore.
* basic: remove rbtree code, it's unusedLennart Poettering2016-04-121-1/+0
| | | | | it's unused, and should we need it one day we can always resurrect it from git history.
* Merge pull request #2947 from keszybz/test-nssLennart Poettering2016-04-061-0/+1
|\ | | | | Add a test for nss modules and some related fixes
| * test-nss: test the resolution of various namesZbigniew Jędrzejewski-Szmek2016-04-051-0/+1
| | | | | | | | | | nss-dns is also "tested". It should be almost always available, and provides a reference for comparison.
* | tests: rename test-env-replace to test-env-utilZbigniew Jędrzejewski-Szmek2016-03-211-1/+1
| |
* | Merge pull request #2792 from ronnychevalier/rc/tests_movev2Zbigniew Jędrzejewski-Szmek2016-03-091-0/+12
|\ \ | | | | | | tests: move out unrelated tests from test-util to their own file
| * | tests: move xattr-util related tests to test-xattr-util.cRonny Chevalier2016-03-031-0/+1
| | |
| * | tests: move glob-util related tests to test-glob-util.cRonny Chevalier2016-03-031-0/+1
| | |
| * | tests: move io-util related tests to test-io-utilRonny Chevalier2016-03-031-0/+1
| | |
| * | tests: move proc-cmdline related tests to test-proc-cmdline.cRonny Chevalier2016-03-031-0/+1
| | |
| * | tests: move fs-util related tests to test-fs-util.cRonny Chevalier2016-03-031-0/+1
| | |
| * | tests: move fd-util related tests to test-fd-util.cRonny Chevalier2016-03-031-0/+1
| | |
| * | tests: move stat-util related tests to test-stat-util.cRonny Chevalier2016-03-031-0/+1
| | |
| * | tests: move cpu-set-util related tests to test-cpu-set-util.cRonny Chevalier2016-03-031-0/+1
| | |
| * | tests: move web-util related tests to test-web-util.cRonny Chevalier2016-03-031-0/+1
| | |
| * | tests: move alloc related tests to test-alloc-util.cRonny Chevalier2016-03-031-0/+1
| | |