summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2012-11-24build-sys: drop TARGET_UBUNTULennart Poettering
TARGET_UBUNTU is effectively the same as TARGET_DEBIAN. Given the Ubuntu is unlikely to use systemd anytime soon there's no point in keeping this separate.
2012-11-23util: split off time related calls from util.[ch] into time-util.[ch]Lennart Poettering
2012-11-23timer: implement calendar time eventsLennart Poettering
2012-11-21build-sys: add zsh completion bits to EXTRA_DISTsystemd/v196Lennart Poettering
2012-11-21build-sys: prepare 196Lennart Poettering
2012-11-20journal: document new catalog APIsLennart Poettering
2012-11-20build-sys: make loadable module support optionalTom Gundersen
kmod is unecessary if loadable module support is disabled in the kernel, so make the dependency optional.
2012-11-20build-sys: fix sysvcompat handling in distcheckTom Gundersen
Distcheck would fail due to sysvinit dir being set, but not sysvrcnd dir: # ./configure --enable-gtk-doc --with-sysvrcd-path=/etc/rc.d # --with-sysvinit-path=/etc/rc.d # make distcheck ... configure: error: *** You need both --with-sysvinit-path=PATH and --with-sysvrcd-path=PATH to enable SysV compatibility support, or both empty to disable it. make: *** [distcheck] Error 1 This also allows sysvcompat support to be disabled from distcheck.
2012-11-17hwdb: revert hwdb.bin back to /etc/udevZbigniew Jędrzejewski-Szmek
> Kay: udev is early boot without /var. /var is entirely taboo for udev. This partially reverts commit ee623f0d0c04a9c8da4953ddc29862c8c4945458 (moving hwdb.bin is reverted, but the uninstall hook and cosmetic changes remain).
2012-11-16hwdb: use $(localstatedir)/lib/udev/hwdb.bin for the binary databaseZbigniew Jędrzejewski-Szmek
It's not configuration, so it doesn't belong in udev. Also, remove the catalog when uninstalling udev.
2012-11-16journal: use $(localstatedir)/lib/systemd/catalog for the catalogZbigniew Jędrzejewski-Szmek
The path doesn't change in the standard configuration. Also, give full path to the journalctl binary in the hook, since it might be installed outside of $PATH. Also, add uninstall hook to remove the binary catalog.
2012-11-16rpm: update RPM macros to include definitions for more drop-in directories ↵Lennart Poettering
and for reloading/rebuilding configuration More specifically this adds a number of macros that resolve to directories for udev rules, hwdb entries, tmpfiles and sysctl. Thsi also includes three new macros for rebuilding the hwbd/catalog index when a package drops in new files
2012-11-16build-sys: udev - create hwdb with make installKay Sievers
2012-11-16build-sys: fix catalog-update-hook with older systemdZbigniew Jędrzejewski-Szmek
The hook would fail if preexisting journalctl doesn't support --update-catalog. Also, the catalog would be updated before new catalog files were installed. Both issues are fixed by moving to INSTALL_DATA_HOOK instead of INSTALL_EXEC_HOOK, since the hook is now executed after both journalctl and catalog files are installed.
2012-11-16build-sys: update catalog on installationZbigniew Jędrzejewski-Szmek
2012-11-16udev: make blkid optionalAnders Olofsson
I'm building systemd for an embedded system and we would prefer not having to include the entire util-linux package just to get a libblkid whose functionality we don't need.
2012-11-15journal: implement message catalogLennart Poettering
The message catalog can be used to attach short help texts to log lines, keyed by their MESSAGE_ID= fields. This is useful to help the administrator understand the context and cause of a message, find possible solutions and find further related documentation. Since this is keyed off MESSAGE_ID= this will only work for native journal messages. The message catalog supports i18n, and is useful to augment english language system messages with explanations in the local language. This commit only includes short explanatory messages for a few example message IDs, we'll add more complete documentation for the relevant systemd messages later on.
2012-11-15sched: Only setting CPUSchedulingPriority=rr doesn't workHolger Hans Peter Freyther
A service that only sets the scheduling policy to round-robin fails to be started. This is because the cpu_sched_priority is initialized to 0 and is not adjusted when the policy is changed. Clamp the cpu_sched_priority when the scheduler policy is set. Use the current policy to validate the new priority. Change the manual page to state that the given range only applies to the real-time scheduling policies. Add a testcase that verifies this change: $ make test-sched-prio; ./test-sched-prio [test/sched_idle_bad.service:6] CPU scheduling priority is out of range, ignoring: 1 [test/sched_rr_bad.service:7] CPU scheduling priority is out of range, ignoring: 0 [test/sched_rr_bad.service:8] CPU scheduling priority is out of range, ignoring: 100
2012-11-15tests: add tests for config_parse_execZbigniew Jędrzejewski-Szmek
2012-11-14build-sys: store journald code in a noinst libraryZbigniew Jędrzejewski-Szmek
The point is to allow the use of journald functions by other binaries. Before, journald code was split into multiple files (journald-*.[ch]), but all those files all required functions from journald.c. And journald.c has its own main(). Now, it is possible to link against those functions, e.g. from test binaries. This constitutes a fix for https://bugzilla.redhat.com/show_bug.cgi?id=872638. The patch does the following: 1. rename journald.h to journald-server.h and move corresponding code to journald-server.c. 2. add journald-server.c and other journald-*.c parts to libsystemd-journal-internal. 3. remove journald-syslog.c from test_journal_syslog_SOURCES, since it is now contained in libsystemd-journal-internal. There are no code changes, apart from the removal of a few static's, to allow function calls between files.
2012-11-14shared: add API for replacing @FOO@ style variables in stringsLennart Poettering
2012-11-09hwdb: change pci.ids locationTom Gundersen
According to pciutils' TODO, the sourceforge location is scheduled for removal, use the new one instead.
2012-11-09udev: hwdb - add usb class descriptionsKay Sievers
2012-11-09udev: hwdb - add pci class descriptionsKay Sievers
2012-11-09udev: net_id - add builtin to retrieve data for network devicesKay Sievers
2012-11-09hwdb: OUI - use ID_OUI_FROM_DATABASE=Kay Sievers
2012-11-07hwdb: add IEEE OUI dataKay Sievers
2012-11-03bash-completion > shell-completionKay Sievers
2012-11-02shared: add timer_get_dst()Kay Sievers
2012-10-31service: drop special HTTP server target, as it is a bad idea anf Fedora ↵Lennart Poettering
specific This was premarily intended to support the LSB facility $httpd which is only known by Fedora, and a bad idea since it lacks any real-life usecase. Similar, drop support for some other old Fedora-specific facilities. Also, document the rules for introduction of new facilities, to clarify the situation for the future.
2012-10-28udev: get rid of SYSCONFDIRKay Sievers
2012-10-28logind: support for hybrid sleep (i.e. suspend+hibernate at the same time)Lennart Poettering
2012-10-27libudev: import hwdb and export lookup interfaceKay Sievers
2012-10-26journal: provide an API that allows client to figure out whether they need ↵Lennart Poettering
to recheck the journal manually for changes in regular intervals Network file systems generally do not offer inotify() that would work across the network. We hence cannot rely on inotify() exclusiely in those case. Provide an API to determine these cases, and suggest doing manual regular rechecks. Note that this is not complete yet, as we need to rescan journal dirs on network file systems explicitly to find new/removed files
2012-10-26keymap: Add HP EliteBook 8440pMartin Pitt
Thanks to Glen Ditchfield <gjditchfield@acm.org>! https://launchpad.net/bugs/1071579
2012-10-26journal: introduce entry array chain cacheLennart Poettering
When traversing entry array chains for a bisection or for retrieving an item by index we previously always started at the beginning of the chain. Since we tend to look at the same chains repeatedly, let's cache where we have been the last time, and maybe we can skip ahead with this the next time. This turns most bisections and index lookups from O(log(n)*log(n)) into O(log(n)). More importantly however, we seek around on disk much less, which is good to reduce buffer cache and seek times on rotational disks.
2012-10-25udev: hwdb: add acpi/pnp vendor description fileKay Sievers
2012-10-23udev: add hardware database supportKay Sievers
2012-10-23build-sys: prepare 195Lennart Poettering
2012-10-22shared: move sparse-endian.h from journalKay Sievers
2012-10-22build-sys: fix distcheckKay Sievers
2012-10-22shared: strbuf - add string de-duplication facilityKay Sievers
2012-10-21man: add man page for localectlLennart Poettering
2012-10-19journal: add tool to extract coredumpsZbigniew Jędrzejewski-Szmek
'systemd-coredumpctl' will list available coredumps: PID UID GID sig exe 32452 500 500 11 /home/zbyszek/systemd/build/journalctl 32666 500 500 11 /usr/lib64/valgrind/memcheck-amd64-linux ... 'systemd-coredumpctl dump PID' will write the coredump to specified file or stdout.
2012-10-19locale: add client tool localectl similar to hostnamectl/timedatectlLennart Poettering
2012-10-18journal: add ability to list values a specified field can take in all ↵Lennart Poettering
entries of the journal The new 'unique' API allows listing all unique field values that a field specified by a field name can take in all entries of the journal. This allows answering queries such as "What units logged to the journal?", "What hosts have logged into the journal?", "Which boot IDs have logged into the journal?". Ultimately this allows implementation of tools similar to lastlog based on journal data. Note that listing these field values will not work for journal files created with older journald, as the field values are not indexed in older files.
2012-10-18units: rework systemd-exit.service to terminate systemd via signal rather ↵Lennart Poettering
than bus This should make session termination more reliable, as D-Bus doesn't have to be around anymore for this to succeed.
2012-10-17hostname: add new hostnamectl tool as text client for hostnamedLennart Poettering
2012-10-17docs: install README files into /var/log and 7etc/rc.d/init.dLennart Poettering
On systemd systems seasoned admins might be surprised to see that the init scripts and log files are gone. To ease the transition let's place some README files there, that hopefully help clearing up the situation.
2012-10-17timedatectl: introduce new command line client for timedatedLennart Poettering
Much like logind has a client in loginctl, and journald in journalctl introduce timedatectl, to change the system time (incl. RTC), timezones and related settings.