summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2013-05-03test-hashmap.c: add unit-test for hashmapDaniel Buch
2013-04-30units: add an easy-to-use unit template file systemd-nspawn@.service for ↵Lennart Poettering
running containers as system services
2013-04-24add bash completion for systemd-analyzeHarald Hoyer
2013-04-22units: rename systemd-static-nodes -> systemd-tmpfiles-setup-devTom Gundersen
This is really just a special case of systemd-tmpfiles-setup, moreover it could easily create more than static nodes.
2013-04-19build-sys: prepare release 202Lennart Poettering
2013-04-18systemd-logind: Fix linking by reordering libraries in LDADDJosh Triplett
libsystemd-audit needs functions from libsystemd-shared, so libsystemd-audit needs to appear first. Otherwise: CCLD systemd-logind ./.libs/libsystemd-audit.a(audit.o): In function `audit_session_from_pid': /home/josh/src/systemd/src/shared/audit.c:50: undefined reference to `detect_container'
2013-04-18buildsys: Add --disable-tests to avoid building testsHenrik Grindal Bakken
This patch adds --disable-tests to configure. It is based on a patch posted by Thierry Reding in 2010. The motivation for adding it is that some tests fail link-time when cross-compiling. The patch adds a new Makefile variable -- manual_tests -- and uses that instead of noinst_PROGRAMS. However, if ENABLE_TESTS is true, the former is added to the latter. It also renames noinst_tests to simply tests.
2013-04-17build-sys: make sure kdbus.h is part of tarballZbigniew Jędrzejewski-Szmek
Also fix 'update-man-list' rule and add rules for new man pages.
2013-04-15bootchart: put the bootchart into the journal.Auke Kok
This bit of code is mostly stolen from coredump.c. We construct a simple journal message and append the bootchart file in the journal automatically. You can extract the latest bootchart from the current boot with something like: $ journalctl -b MESSAGE_ID=9f26aa562cf440c2b16c773d0479b518 --field=BOOTCHART which prints it to stdout. None of the other logic is touched. The journal entry is created even if bootchart was run manually, which is probably wrong.
2013-04-14kdbus: generare bloom filters properly for messages we sendLennart Poettering
2013-04-12tmpfiles: create static device nodes before udev is startedTom Gundersen
Since v183, the contents of /usr/lib/udev/devices is no longer copied to /dev on boot, rather systemd-tmpfiles should be used instead. However, as systemd-tmpfiles --create is only ran long after udevd has been started, it is no longer possible to use udev rules to assign permissions to the static nodes. This calls systemd-tmpfiles --create early, before udev is started, and restricts the call to /dev, which is known to be mounted already. In the future, this could also take over the creation of static device nodes from systemd-udevd.
2013-04-12bus: add kdbus test caseLennart Poettering
2013-04-11bus: basic implementation of kdbus client sideLennart Poettering
2013-04-09keymap: Add HP EliteBook 8460pPali Rohar
Taken from https://code.launchpad.net/~pali/ubuntu/raring/udev/hp-elitebook-8460p/+merge/157420 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
2013-04-08build-sys: prepare 201Lennart Poettering
2013-04-05build-sys: libsystemd-daemon.so is no longer required for pam_systemdLennart Poettering
2013-04-05build-sys: use LN_S in Makefile.amZbigniew Jędrzejewski-Szmek
For consistency only. We're Linux only, so it really makes no difference. https://bugs.freedesktop.org/show_bug.cgi?id=63036
2013-04-03time: add suppot for fractional time specificationsLennart Poettering
We can now parse "0.5s" as the same as "500ms". In fact, we can parse "3.45years" correctly, too, and any other unit and fraction length.
2013-04-03build-sys: "link" libsystemd-id128 against libsd-daemon-internalZbigniew Jędrzejewski-Szmek
georgem> libsystemd-id128.so: undefined reference to `sd_listen_fds' In some toolchains (--as-needed not used or not working), the toolchain doesn't drop this dependency. It is introduced because sd-id128.so is linked against sd-shared.la, and some functions therein use libsystemd-daemon, but libsd-id128 doesn't use any of those functions. This results in no change in libsystemd-id128.so when the unused symbols are properly stripped.
2013-04-03shared: rework env file readerLennart Poettering
Implement this with a proper state machine, so that newlines and escaped chars can appear in string assignments. This should bring the parser much closer to shell.
2013-04-01stdio-bridge: rework stdio bridge to use libsystemd-busLennart Poettering
2013-04-01bus: reuse sd_is_socket() callLennart Poettering
2013-03-31journal-gatewayd: query PID 1 for virtalizationLennart Poettering
Since journal-gatewayd is now running unprivileged, and detecting virtalization requires privileges, query PID1 via D-Bus for the used virtualization. This is also the first time we use libsystemd-bus for more than just testing. https://bugs.freedesktop.org/show_bug.cgi?id=62173
2013-03-31bus: parse matches locally and allow registration of callbacks for themLennart Poettering
This includes code to parse and split up match strings which will also be useful to calculate bloom filter masks when the time comes.
2013-03-30bus: implement server mode, and anonymous authenticationLennart Poettering
2013-03-29build-sys,man: use XML entities to substite stringsZbigniew Jędrzejewski-Szmek
This makes it easier to add substitutions to man pages, avoiding the separate transformation step. mkdir -p's are removed from the rule, because xsltproc will will create directories on it's own. All in all, two or three forks per man page are avoided, which should make things marginally faster. Unfortunately python parsers must too be tweaked to handle entities. This isn't particularly easy: with lxml a custom Resolver can be used, but the stdlib etree doesn't support external entities *at all*. So when running without lxml, the entities are just removed. Right now it doesn't matter, since the entities are not indexed anyway. But I intend to add indexing of filenames in the near future, and then the index generated without lxml might be missing a few lines. Oh well.
2013-03-29build-sys: generate sed substitution from a listZbigniew Jędrzejewski-Szmek
I want to use the substitutions in different form for xml entities.
2013-03-29Revert "build-sys: substitute strings in systemd.unit(5)"Zbigniew Jędrzejewski-Szmek
This reverts commits c78ab91132aab9193f3c17a9a206f8825ff4be84 and 185c3be03cec26023acc11b49553753aa7330a1d. It is simpler to just use includes...
2013-03-28tests: add some silly tests for path-util.cZbigniew Jędrzejewski-Szmek
2013-03-28catalog: open up catalog internalsZbigniew Jędrzejewski-Szmek
In order to write tests for the catalog functions, they are made non-static and start taking a 'database' parameter, which is the name of a file with the preprocessed catalog entries. This makes it possible to make test-catalog part of the normal test suite, since it now only operates on files in /tmp. Some more tests are added.
2013-03-28build-sys: remove papersize option from sphinxZbigniew Jędrzejewski-Szmek
We don't use it currently for anything (no latex output), but it was messing up stuff if /etc/papersize had comments.
2013-03-29build-sys: prepare release 200Lennart Poettering
2013-03-29unit: replace remote-fs-setup.target by network-online.targetLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=787314
2013-03-26readahead: cleanupsAuke Kok
- check for OOM - no need to use floats and round()
2013-03-26readahead: chunk on spinning mediaAuke Kok
Readahead has all sorts of bad side effects depending on your storage media. On rotating disks, it may be degrading startup performance if enough requests are queued spanning linearly over all blocks early at boot, and mount, blkid and friends want to insert reads to the start of these block devices after. The end result is that on spinning disks with ext3/4 that udev and mounts take a very long time, and nothing really happens until readahead is completely finished. This has the net effect that the CPU is almost entirely idle for the entire period that readahead is working. We could have finished starting up quite a lot of services in this time if we were smarter at how we do readahead. This patch sorts all requests into 2 second "chunks" and sub-sorts each chunk by block. This adds a single cross-drive seek per "chunk" but has the benefit that we will have a lot of the blocks we need early on in the boot sequence loaded into memory faster. For a comparison of how before/after bootcharts look (ext4 on a mobile 5400rpm 250GB drive) please look at: http://foo-projects.org/~sofar/blocked-tests/ There are bootcharts in the "before" and "after" folders where you should be able to see that many low-level services finish 5-7 seconds earlier with the patch applied (after).
2013-03-26build-sys: bump version and .so revisionsLennart Poettering
2013-03-26build-sys: ship missing unit fileLennart Poettering
2013-03-26build-sys: create kernel/install.d directoriesKay Sievers
2013-03-25man: properly document the system targets that are also available for the ↵Lennart Poettering
user instance
2013-03-25units: introduce new timers.target and paths.target to hook timer/path units ↵Lennart Poettering
into for boot
2013-03-25build-sys: add missing sed substitution for DEBUGTTYKay Sievers
2013-03-25bus: split socket related code into bus-socket.[ch], to prepare for kdbus ↵Lennart Poettering
backend
2013-03-23hwdb: ID_PRODUCT_FROM_DATABASE --> ID_MODEL_FROM_DATABASEKay Sievers
With the conversion from pci-db + usb-db to hwdb, the property got accitentially renamed. Move the name back to the long established identifier *MODEL* instead of *PRODUCT*. $ git grep -l ID_MODEL_FROM_DATABASE hwdb/20-pci-vendor-model.hwdb hwdb/20-usb-vendor-model.hwdb hwdb/ids-update.pl man/systemd.device.xml rules/78-sound-card.rules src/core/device.c src/cryptsetup/cryptsetup.c
2013-03-22build-sys: move acl searching code into libsystemd-aclZbigniew Jędrzejewski-Szmek
This loop over acls is a bit too much to keep inside of another loop.
2013-03-21bus: implement full method call timeout logicLennart Poettering
2013-03-21MAkefile.am: whitespace cleanupKay Sievers
2013-03-21build-sys: include missing header in dist tarballMichael Biebl
2013-03-21shared: add simple priority queue implementationLennart Poettering
2013-03-20bus: hook up client with socket communicationLennart Poettering
2013-03-20bus: add basic implementation of a native bus client libraryLennart Poettering