summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAge
* udev: add builtin 'keyboard' to manage key mappingsKay Sievers2013-07-10
|
* static-nodes: move creation of static nodes from udevd to tmpfilesTom Gundersen2013-07-08
| | | | | | | | | | | | | As of kmod v14, it is possible to export the static node information from /lib/modules/`uname -r`/modules.devname in tmpfiles.d(5) format. Use this functionality to let systemd-tmpfilesd create the static device nodes at boot, and drop the functionality from systemd-udevd. As an effect of this we can move from systemd-udevd to systemd-tmpfiles-setup-dev: * the conditional CAP_MKNOD (replaced by checking if /sys is mounted rw) * ordering before local-fs-pre.target (see 89d09e1b5c65a2d97840f682e0932c8bb499f166)
* tests: add tests for string lookup tablesZbigniew Jędrzejewski-Szmek2013-07-05
| | | | | The tests check if the tables have entries for all values in the enum, and that the entries are unique.
* build-sys: bump/correct library versionsLennart Poettering2013-07-03
|
* build-sys: two files were missing in distcheckZbigniew Jędrzejewski-Szmek2013-07-02
| | | | One is a typo, the other one doesn't actually exist yet.
* build-sys: work around automake issue with files with a leading '-'Kay Sievers2013-07-02
| | | | | | We should probably work around it, until it is sorted out. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14728
* build-sys: install rpm macros file to /usr/lib/rpm/macros.dFedora systemd team2013-07-02
| | | | | | | | RPM macros are moved from /etc to /usr, in the sprit of moving in the direction of empty /etc. RPM gained support for the new directory recently, in v. 4.10.90: https://bugzilla.redhat.com/show_bug.cgi?id=846679.
* machined: split out machine registration stuff from logindLennart Poettering2013-07-02
| | | | | | | Embedded folks don't need the machine registration stuff, hence it's nice to make this optional. Also, I'd expect that machinectl will grow additional commands quickly, for example to join existing containers and suchlike, hence it's better keeping that separate from loginctl.
* keymap: remove non-existing driver string matchesKay Sievers2013-07-01
| | | | There are no such strings for input devices in the kernel.
* core: add new "scope" unit type for making a unit of pre-existing processesLennart Poettering2013-07-01
| | | | | | | | | | | | | | | | | "Scope" units are very much like service units, however with the difference that they are created from pre-existing processes, rather than processes that systemd itself forks off. This means they are generated programmatically via the bus API as transient units rather than from static configuration read from disk. Also, they do not provide execution-time parameters, as at the time systemd adds the processes to the scope unit they already exist and the parameters cannot be applied anymore. The primary benefit of this new unit type is to create arbitrary cgroups for worker-processes forked off an existing service. This commit also adds a a new mode to "systemd-run" to run the specified processes in a scope rather then a transient service.
* build-sys: "link" libsystemd-id128.so with libsystemd-labelZbigniew Jędrzejewski-Szmek2013-06-29
| | | | | | | | Fixed build on debian wheezy: ./.libs/libudev.so: undefined reference to `cg_create' Appears to have no influence on the resulting binaries and libraries. Cf. b5fafdf63f.
* keymap: Add Samsung Series 3장동준2013-06-28
| | | | Signed-off-by: Martin Pitt <martinpitt@gnome.org>
* core: add transient unitsLennart Poettering2013-06-28
| | | | | | | | | | | | | | | | | | Transient units can be created via the bus API. They are configured via the method call parameters rather than on-disk files. They are subject to normal GC. Transient units currently may only be created for services (however, we will extend this), and currently only ExecStart= and the cgroup parameters can be configured (also to be extended). Transient units require a unique name, that previously had no configuration file on disk. A tool systemd-run is added that makes use of this functionality to run arbitrary command lines as transient services: $ systemd-run /bin/ping www.heise.de Will cause systemd to create a new transient service and run ping in it.
* test: Add list testcaseJan Janssen2013-06-27
|
* core: general cgroup reworkLennart Poettering2013-06-27
| | | | | | | | | | | | | | | | Replace the very generic cgroup hookup with a much simpler one. With this change only the high-level cgroup settings remain, the ability to set arbitrary cgroup attributes is removed, so is support for adding units to arbitrary cgroup controllers or setting arbitrary paths for them (especially paths that are different for the various controllers). This also introduces a new -.slice root slice, that is the parent of system.slice and friends. This enables easy admin configuration of root-level cgrouo properties. This replaces DeviceDeny= by DevicePolicy=, and implicitly adds in /dev/null, /dev/zero and friends if DeviceAllow= is used (unless this is turned off by DevicePolicy=).
* build-sys: make intltool and distcheck happyZbigniew Jędrzejewski-Szmek2013-06-20
|
* logind: add infrastructure to keep track of machines, and move to slicesLennart Poettering2013-06-20
| | | | | | | | | | | | | | | | | | | | - This changes all logind cgroup objects to use slice objects rather than fixed croup locations. - logind can now collect minimal information about running VMs/containers. As fixed cgroup locations can no longer be used we need an entity that keeps track of machine cgroups in whatever slice they might be located. Since logind already keeps track of users, sessions and seats this is a trivial addition. - nspawn will now register with logind and pass various bits of metadata along. A new option "--slice=" has been added to place the container in a specific slice. - loginctl gained commands to list, introspect and terminate machines. - user.slice and machine.slice will now be pulled in by logind.service, since only logind.service requires this slice.
* units: add default units for system.slice, user.slice, machine.sliceLennart Poettering2013-06-18
|
* core: add new .slice unit type for partitioning systemsLennart Poettering2013-06-17
| | | | | | | | | | | | In order to prepare for the kernel cgroup rework, let's introduce a new unit type to systemd, the "slice". Slices can be arranged in a tree and are useful to partition resources freely and hierarchally by the user. Each service unit can now be assigned to one of these slices, and later on login users and machines may too. Slices translate pretty directly to the cgroup hierarchy, and the various objects can be assigned to any of the slices in the tree.
* build-sys: add 'man' targetZbigniew Jędrzejewski-Szmek2013-06-12
| | | | Useful when working just on the documentation.
* build-sys: don't install quotaon.service twiceRoss Burton2013-06-12
| | | | | | | | | | quotaon.service is already installed through dist_systemunit_DATA, so it doesn't need to be added to nodist_systemunit_DATA. Installing the same file twice results in a race condition where the install process can fail. https://bugs.freedesktop.org/show_bug.cgi?id=65659 [zj: actually remove quotaon.service from the other list.]
* tests: add testcase for skipping-entries-on-direction-change-bugMarius Vollmer2013-06-10
| | | | | | This test case failed until a3e6f050de8. Taken from https://bugs.freedesktop.org/show_bug.cgi?id=65255.
* Makefile.am: merge conditionalsTom Gundersen2013-06-03
| | | | | Merge all ENABLE_TMPFILES conditionals into one, and merge two ENABLE_EFI conditionals. Also make sure the .in files are always distributed.
* build-sys: option to disable tmpfilesUmut Tezduyar2013-06-02
|
* keymap: Add Logitech USB (iTouch)Martin Pitt2013-05-24
| | | | https://launchpad.net/bugs/1152377
* bus: add benchmark tool to determine the right threshold for copying vs. memfdLennart Poettering2013-05-22
|
* bus: add a more comprehensive test for the bloom filter logicLennart Poettering2013-05-20
|
* bus: add minimal locking around the memfd cacheLennart Poettering2013-05-17
| | | | | | | We want to allow clients to process an sd_bus_message on a different thread than it was received on. Since unreffing a bus message might readd some of its memfds to the memfd cache add some minimal locking around the cache.
* bus: make bus ref counting atomicLennart Poettering2013-05-16
| | | | | This is preparation to allow sd_bus_message obejcts to be processed in a different thread from their originating sd_bus object.
* utmp: turn systemd-update-utmp-shutdown.service into a normal runtime serviceLennart Poettering2013-05-16
| | | | | | | | | | With this change systemd-update-utmp-shutdown.service is replaced by systemd-update-utmp.service which is started at boot and stays around until shutdown. This allows us to properly order the unit against both /var/log and auditd. https://bugzilla.redhat.com/show_bug.cgi?id=853104 https://bugs.freedesktop.org/show_bug.cgi?id=64365
* units: rework systemd-random-seed-{load,save}.service to be a single serviceLennart Poettering2013-05-15
| | | | | | That way ordering it with MountsRequiredFor= works properly, as this no longer results in mount units start requests to be added to the shutdown transaction that conflict with stop requests for the same unit.
* bus: add support for adding memfds into message payloadLennart Poettering2013-05-15
|
* bus: add new API for kdbus memfd functionalityLennart Poettering2013-05-10
|
* build-sys: add convinience 'make python-shell'Zbigniew Jędrzejewski-Szmek2013-05-09
| | | | | | This will launch $(PYTHON) with $LD_LIBRARY_PATH and $PYTHONPATH as ./configure-d and DESTDIR-ed. Use as: make install DESTDIR=/var/tmp/inst python-shell
* build-sys: prepare 204Lennart Poettering2013-05-09
|
* systemd-python: add wrappers for easy functions in sd-loginZbigniew Jędrzejewski-Szmek2013-05-08
| | | | sd_get_uids, sd_get_seats, sd_get_sessions, and sd_get_machine_names.
* build-sys: properly mkdir for GENERAL_ALIASESZbigniew Jędrzejewski-Szmek2013-05-07
| | | | | | | Previous commit (20d408766) was broken. The problem is not connected to DESTDIR being set or not, but to the fact that targets in $GENERAL_ALIASES have directory components, so mkdir -p wasn't recursing deep enough.
* build-sys: properly mkdir with DESTDIR setZbigniew Jędrzejewski-Szmek2013-05-07
| | | | | grawity> ln: failed to create symbolic link ‘/home/grawity/pkg/aur/systemd-git/pkg/systemd//etc/systemd/system/multi-user.target.wants/remote-fs.target’: No such file or directory
* build-sys: prepare new releaseLennart Poettering2013-05-06
|
* systemd-sleep: add support for freeze and standbyZbigniew Jędrzejewski-Szmek2013-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | A new config file /etc/systemd/sleep.conf is added. It is parsed by systemd-sleep and logind. The strings written to /sys/power/disk and /sys/power/state can be configured. This allows people to use different modes of suspend on systems with broken or special hardware. Configuration is shared between systemd-sleep and logind to enable logind to answer the question "can the system be put to sleep" as correctly as possible without actually invoking the action. If the user configured systemd-sleep to only use 'freeze', but current kernel does not support it, logind will properly report that the system cannot be put to sleep. https://bugs.freedesktop.org/show_bug.cgi?id=57793 https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=7e73c5ae6e7991a6c01f6d096ff8afaef4458c36 http://lists.freedesktop.org/archives/systemd-devel/2013-February/009238.html SYSTEM_CONFIG_FILE and USER_CONFIG_FILE defines were removed since they were used in only a few places and with the addition of /etc/systemd/sleep.conf it becomes easier to just append the name of each file to the dir name.
* quota: use QUOTACHECK path correctly as tested in configure.acLennart Poettering2013-05-06
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=63555
* kernel-install: add default install scriptsHarald Hoyer2013-05-06
| | | | | | | | | | | | | Do the depmod in the kernel-install hooks, so hooks can produce/install kernel modules and be part of the depmod. Also move the basic boot loader entry creation and removal to a plugin script. If PRETTY_NAME is not defined in /etc/os-release, fallback to PRETTY_NAME="Linux $KERNEL_VERSION". Add documentation for everything in the man page.
* build-sys: tell rsync no to tranfer times and permissionsZbigniew Jędrzejewski-Szmek2013-05-02
| | | | | | | | | | When rsyncing to fd.o, rsync would fail on symlinks in man/. We don't care about the times too much anyway. rsync will set times to "now", which is fine, since modification times don't matter much outside of each uploader's machine anyway. The point is to complete all steps of the transfer, so Python documentation is properly updated.
* build-sys: "link" python _reader and pam_systemd against libsd-daemon-internalZbigniew Jędrzejewski-Szmek2013-05-02
| | | | | | | | | | The same old story as d3b9e0ff: those two use libsystemd-shared, and in turn, some functions in libsystemd-shared use libsystemd-daemon. The fact that *those* functions are used neither by the python modules in question nor pam_systemd isn't always enough. Currently, I'm seeing linking failures with -flto. The result of adding libsystemd-daemon-internal to the list of linked libraries should be harmless, with no change in size or final link requirements.
* test-hashmap.c: add unit-test for hashmapDaniel Buch2013-05-03
|
* units: add an easy-to-use unit template file systemd-nspawn@.service for ↵Lennart Poettering2013-04-30
| | | | running containers as system services
* add bash completion for systemd-analyzeHarald Hoyer2013-04-24
|
* units: rename systemd-static-nodes -> systemd-tmpfiles-setup-devTom Gundersen2013-04-22
| | | | This is really just a special case of systemd-tmpfiles-setup, moreover it could easily create more than static nodes.
* build-sys: prepare release 202Lennart Poettering2013-04-19
|
* systemd-logind: Fix linking by reordering libraries in LDADDJosh Triplett2013-04-18
| | | | | | | | | 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'