summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* tmpfiles: create static device nodes before udev is startedTom Gundersen2013-04-121-0/+5
| | | | | | | | | | | | | 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.
* bus: add kdbus test caseLennart Poettering2013-04-121-1/+13
|
* bus: basic implementation of kdbus client sideLennart Poettering2013-04-111-0/+6
|
* keymap: Add HP EliteBook 8460pPali Rohar2013-04-091-0/+1
| | | | | | | Taken from https://code.launchpad.net/~pali/ubuntu/raring/udev/hp-elitebook-8460p/+merge/157420 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
* build-sys: prepare 201Lennart Poettering2013-04-081-9/+9
|
* build-sys: libsystemd-daemon.so is no longer required for pam_systemdLennart Poettering2013-04-051-1/+0
|
* build-sys: use LN_S in Makefile.amZbigniew Jędrzejewski-Szmek2013-04-051-2/+2
| | | | | | | For consistency only. We're Linux only, so it really makes no difference. https://bugs.freedesktop.org/show_bug.cgi?id=63036
* time: add suppot for fractional time specificationsLennart Poettering2013-04-031-1/+11
| | | | | 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.
* build-sys: "link" libsystemd-id128 against libsd-daemon-internalZbigniew Jędrzejewski-Szmek2013-04-031-1/+2
| | | | | | | | | | | | | 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.
* shared: rework env file readerLennart Poettering2013-04-031-1/+11
| | | | | | 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.
* stdio-bridge: rework stdio bridge to use libsystemd-busLennart Poettering2013-04-011-1/+3
|
* bus: reuse sd_is_socket() callLennart Poettering2013-04-011-1/+2
|
* journal-gatewayd: query PID 1 for virtalizationLennart Poettering2013-03-311-2/+4
| | | | | | | | | | | 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
* bus: parse matches locally and allow registration of callbacks for themLennart Poettering2013-03-311-2/+17
| | | | | This includes code to parse and split up match strings which will also be useful to calculate bloom filter masks when the time comes.
* bus: implement server mode, and anonymous authenticationLennart Poettering2013-03-301-1/+14
|
* build-sys,man: use XML entities to substite stringsZbigniew Jędrzejewski-Szmek2013-03-291-16/+27
| | | | | | | | | | | | | | | | | | | | | 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.
* build-sys: generate sed substitution from a listZbigniew Jędrzejewski-Szmek2013-03-291-40/+43
| | | | | I want to use the substitutions in different form for xml entities.
* Revert "build-sys: substitute strings in systemd.unit(5)"Zbigniew Jędrzejewski-Szmek2013-03-291-1/+1
| | | | | | | This reverts commits c78ab91132aab9193f3c17a9a206f8825ff4be84 and 185c3be03cec26023acc11b49553753aa7330a1d. It is simpler to just use includes...
* tests: add some silly tests for path-util.cZbigniew Jędrzejewski-Szmek2013-03-281-0/+7
|
* catalog: open up catalog internalsZbigniew Jędrzejewski-Szmek2013-03-281-4/+4
| | | | | | | | | | | | | 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.
* build-sys: remove papersize option from sphinxZbigniew Jędrzejewski-Szmek2013-03-281-2/+1
| | | | | We don't use it currently for anything (no latex output), but it was messing up stuff if /etc/papersize had comments.
* build-sys: prepare release 200Lennart Poettering2013-03-291-4/+4
|
* unit: replace remote-fs-setup.target by network-online.targetLennart Poettering2013-03-291-1/+1
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=787314
* readahead: cleanupsAuke Kok2013-03-261-1/+1
| | | | | - check for OOM - no need to use floats and round()
* readahead: chunk on spinning mediaAuke Kok2013-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* build-sys: bump version and .so revisionsLennart Poettering2013-03-261-4/+4
|
* build-sys: ship missing unit fileLennart Poettering2013-03-261-0/+1
|
* build-sys: create kernel/install.d directoriesKay Sievers2013-03-261-0/+2
|
* man: properly document the system targets that are also available for the ↵Lennart Poettering2013-03-251-1/+2
| | | | user instance
* units: introduce new timers.target and paths.target to hook timer/path units ↵Lennart Poettering2013-03-251-3/+7
| | | | into for boot
* build-sys: add missing sed substitution for DEBUGTTYKay Sievers2013-03-251-1/+2
|
* bus: split socket related code into bus-socket.[ch], to prepare for kdbus ↵Lennart Poettering2013-03-251-0/+2
| | | | backend
* hwdb: ID_PRODUCT_FROM_DATABASE --> ID_MODEL_FROM_DATABASEKay Sievers2013-03-231-2/+2
| | | | | | | | | | | | | | | | | 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
* build-sys: move acl searching code into libsystemd-aclZbigniew Jędrzejewski-Szmek2013-03-221-1/+7
| | | | | This loop over acls is a bit too much to keep inside of another loop.
* bus: implement full method call timeout logicLennart Poettering2013-03-211-1/+2
|
* MAkefile.am: whitespace cleanupKay Sievers2013-03-211-10/+10
|
* build-sys: include missing header in dist tarballMichael Biebl2013-03-211-0/+1
|
* shared: add simple priority queue implementationLennart Poettering2013-03-211-1/+13
|
* bus: hook up client with socket communicationLennart Poettering2013-03-201-1/+27
|
* bus: add basic implementation of a native bus client libraryLennart Poettering2013-03-201-0/+44
|
* udev: make firmware loading optional and disable by defaultTom Gundersen2013-03-181-4/+12
| | | | | | Distros that whish to support old kernels should set --with-firmware-dirs="/usr/lib/firmware/updates:/usr/lib/firmware" to retain the old behaviour.
* systemd-python: add systemd.daemon wrapping sd-daemonZbigniew Jędrzejewski-Szmek2013-03-151-0/+23
| | | | | | | | | Please see the documentation (e.g. pydoc3 systemd.daemon) for full description. As usual, systemd._daemon wraps the raw interface, while systemd.daemon provides the more pythonic API. sd_listen_fds, sd_booted, sd_is_fifo, sd_is_socket, sd_is_socket_unix, sd_is_socket_inet, sd_is_mq, and SD_LISTEN_FDS_START are currently wrapped.
* sysctl: add 50-default.confKay Sievers2013-03-151-0/+3
|
* sysctl: coredump.conf -> 50-coredump.confKay Sievers2013-03-151-3/+3
|
* Make initrd.target the default target in the initrdHarald Hoyer2013-03-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, rename root-fs.target to initrd-root-fs.target to clarify its usage. Mount units with "x-initrd-rootfs.mount" are now ordered before initrd-root-fs.target. As we sometimes construct /sysroot mounts in /etc/fstab in the initrd, we want these to be mounted before the initrd-root-fs.target is active. initrd.target can be the default target in the initrd. (normal startup) : : v basic.target | ______________________/| / | | sysroot.mount | | | v | initrd-root-fs.target | | | v | initrd-parse-etc.service (custom initrd services) | | v | (sysroot-usr.mount and | various mounts marked | with fstab option | x-initrd.mount) | | | v | initrd-fs.target | | \______________________ | \| v initrd.target | v initrd-cleanup.service isolates to initrd-switch-root.target | v ______________________/| / | | initrd-udevadm-cleanup-db.service | | (custom initrd services) | | | \______________________ | \| v initrd-switch-root.target | v initrd-switch-root.service | v switch-root
* build-sys: link libsystemd-login also against libsystemd-daemon-internalZbigniew Jędrzejewski-Szmek2013-03-131-1/+2
| | | | | | | | | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=62085 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libsystemd-login.so: undefined reference to `sd_listen_fds' In ee465038ce8 'build-sys: break dependency loop between libsystemd-id128.la and -shared.la', a partial fix was applied, and the use of functions from libsystemd-id128 was removed from libsystemd-shared. Nevertheless, fdset.c was still using sd_listen_fds, so libsystemd-login should be linked against libysystemd-daemon or libsystemd-daemon-internal. Tested-by: Elias Probst <mail@eliasprobst.eu>
* build-sys: add two new files to EXTRA_DISTZbigniew Jędrzejewski-Szmek2013-03-131-3/+7
| | | | | Also move custom-*.xsl EXTRA_DIST additions closer to where they are used.
* libudev: implement udev_device_set_attribute_value()Hannes Reinecke2013-03-131-3/+3
|
* add initrd-fs.target and root-fs.targetHarald Hoyer2013-03-131-0/+2
| | | | | | | | | | | | | | Instead of using local-fs*.target in the initrd, use root-fs.target for sysroot.mount and initrd-fs.target for /sysroot/usr and friends. Using local-fs.target would mean to carry over the activated local-fs.target to the isolated initrd-switch-root.target and thus in the real root. Having local-fs.target already active after deserialization causes ordering problems with the real root services and targets. We better isolate to targets for initrd-switch-root.target, which are only available in the initrd.
* build-sys: use -f with ln -sZbigniew Jędrzejewski-Szmek2013-03-131-2/+2
| | | | | Parallel builds would sometimes try to recreate the link, and fail since 'ln -s' would refuse to overwrite.