summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
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.
2012-10-16id128: introduce new SD_ID128_CONST_STR() macroLennart Poettering
2012-10-13build-sys: always distribute fileZbigniew Jędrzejewski-Szmek
2012-10-13journald: properly update message size after stripping the identifierZbigniew Jędrzejewski-Szmek
Valgrind says: ==29176== Conditional jump or move depends on uninitialised value(s) ==29176== at 0x412A85: cunescape_length_with_prefix (util.c:1565) ==29176== by 0x40B351: dev_kmsg_record (journald-kmsg.c:301) ==29176== by 0x40B653: server_read_dev_kmsg (journald-kmsg.c:347) ==29176== by 0x40B701: server_flush_dev_kmsg (journald-kmsg.c:365) ==29176== by 0x409DE7: main (journald.c:1535)
2012-10-11build-sys: check - fix typoKay Sievers
2012-10-11journalctl: implement --since= and --until for filtering by timeLennart Poettering
2012-10-10journal: when browsing the journal via browse.html allow clicking on entries ↵Lennart Poettering
to show their details
2012-10-09detect-virt: install with fs caps by default to allow unprivileged accessLennart Poettering
2012-10-03build-sys: prepare 194systemd/v194Lennart Poettering
2012-10-03vconsole: default to the kernel compiled-in fontTom Gundersen
No longer override the default kernel font if nothing is specified in vconsole.conf. The default kernel font[0] provides ISO-8859-1 and box characters. Users of Arabic, Cyrilic or Hebrew must set a different font manually as these character sets were provided by the old default font [1], but are not any longer. Rationale: * it is counter-intuitive that an empty vconsole.conf file is different from adding FONT=""; * the version of the default font shipped with Arch (which is the upstream one) behaves very badly during early boot[2] (which should admittedly be fixed in the font itself); * the kernel already supplies a default font, it seems reasonable to use that unless anything else is specified; * This also avoids a needless slow call to setfont; and * We don't want to work around problems in the kernel (in case the compiled-in font is not acceptable for whatever reason). [0]: <https://dev.archlinux.org/~tomegun/kernel.bdf> [1]: <https://dev.archlinux.org/~tomegun/latarcyrheb.bdf> [2]: <http://i.imgur.com/J2tM4.jpg>
2012-10-02audit: turn the audit fd into a static variableLennart Poettering
As audit is pretty much just a special kind of logging we should treat it similar, and manage the audit fd in a static variable. This simplifies the audit fd sharing with the SELinux access checking code quite a bit.
2012-10-02selinux: rework selinux access check logicLennart Poettering
a) Instead of parsing the bus messages inside of selinux-access.c simply pass everything pre-parsed in the functions b) implement the access checking with a macro that resolves to nothing on non-selinux builds c) split out the selinux checks into their own sources selinux-util.[ch] d) this unifies the job creation code behind the D-Bus calls Manager.StartUnit() and Unit.Start().
2012-09-28build-sys: prepare 193Lennart Poettering
2012-09-28journal: add minimal journal gateway daemon based on GNU libmicrohttpdLennart Poettering
This minimal HTTP server can serve journal data via HTTP. Its primary purpose is synchronization of journal data across the network. It serves journal data in three formats: text/plain: the text format known from /var/log/messages application/json: the journal entries formatted as JSON application/vnd.fdo.journal: the binary export format of the journal The HTTP server also serves a small HTML5 app that makes use of the JSON serialization to present the journal data to the user. Examples: This downloads the journal in text format: # systemctl start systemd-journal-gatewayd.service # wget http://localhost:19531/entries Same for JSON: # curl -H"Accept: application/json" http://localhost:19531/entries Access via web browser: $ firefox http://localhost:19531/
2012-09-25build-sys: prepare release 192systemd/v192Lennart Poettering
2012-09-24Revert "comment out uncommitted test source code"Lennart Poettering
This reverts commit b8bc868009372deb2f30263322572723e5968842. Added the test file now.
2012-09-23comment out uncommitted test source codeKay Sievers
2012-09-21build-sys: prepare release 191systemd/v191Lennart Poettering
2012-09-21journal: completely rework the mmap cache as I too dumb to actually ↵Lennart Poettering
understand it Instead of doing hand optimized fd bisect arrays just use plain old hashmaps. Now I can understand my own code again. Yay! As a side effect this should fix some bad memory accesses caused by accesses after mmap(), introduced in 189.
2012-09-21multi-seat-x: drop a lot of unnecessary codeLennart Poettering
2012-09-21Revert "multi-seat: drop multi-seat-x wrapper, as upstream X can handle ↵Lennart Poettering
multi-seat graphics on its own now" This reverts commit 636d30a0895f17eca8313d50f9b2fc1ec5e128da. Turns out we will need the multi-seat wrapper a bit longer, however without the fb-specific bits in it.
2012-09-21multi-seat: drop multi-seat-x wrapper, as upstream X can handle multi-seat ↵Lennart Poettering
graphics on its own now
2012-09-20build-sys: prepare v190Lennart Poettering
2012-09-18unit: split unit_printf() and friends into its own .c fileLennart Poettering
2012-09-18selinux: use existing library calls for audit dataLennart Poettering
2012-09-18selinux: add bus service access controlDaniel J Walsh
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch adds the ability to look at the calling process that is trying to do dbus calls into systemd, then it checks with the SELinux policy to see if the calling process is allowed to do the activity. The basic idea is we want to allow NetworkManager_t to be able to start and stop ntpd.service, but not necessarly mysqld.service. Similarly we want to allow a root admin webadm_t that can only manage the apache environment. systemctl enable httpd.service, systemctl disable iptables.service bad. To make this code cleaner, we really need to refactor the dbus-manager.c code. This has just become a huge if-then-else blob, which makes doing the correct check difficult. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBJBi8ACgkQrlYvE4MpobOzTwCdEUikbvRWUCwOb83KlVF0Nuy5 lRAAnjZZNuc19Z+aNxm3k3nwD4p/JYco =yops -----END PGP SIGNATURE-----
2012-09-17udev: add btrfs supportKay Sievers
All "btrfs" file systems will be registered with the kernel when they show up. Incomplete multi-device volumes will set SYSTEMD_READY=0, to prevent access until the volume is complete and fully registered.
2012-09-17directive-index: journal directivesZbigniew Jędrzejewski-Szmek
2012-09-17directive-index: system manager directivesZbigniew Jędrzejewski-Szmek
2012-09-17directive-index: add UDEV fieldsZbigniew Jędrzejewski-Szmek
2012-09-17man: generate an index of directivesZbigniew Jędrzejewski-Szmek
Systemd has a large (and growing) number of manpages. Sometimes it's not immediately obvious, where to look for a directive. Especially, when something is described in more than one place. Making sense of all the settings should be easier with an index.
2012-09-14man: remove timezone(5) and add localtime(5)Shawn Landden
2012-09-13rpm: expose preset dir as rpm macro and in systemd.pcLennart Poettering
2012-09-13python: make gcc shut upLennart Poettering
2012-09-13python: reindent to follow coding styleLennart Poettering
2012-09-13python: integrate David Strauss' python-systemd packageLennart Poettering
2012-09-11build-sys: perform autodetection of quota-tools binariesDave Reisner
Use AC_PATH_PROG to try and locate the quotaon and quotacheck binaries, falling back on hardcoded defaults when they can't be found.
2012-09-11when determining unit file list, include invalid unit names in an "invalid" ↵Lennart Poettering
state
2012-09-10build-sys: add libsystemd-id128-internal.la as dep to libsystemd-core.laLennart Poettering
condition.c makes use of sd_id128_get_machine() after all. Spotted by Khem Raj.
2012-09-07journal: add call to determine current journal file disk usageLennart Poettering
2012-09-05tmpfiles: don't attempt creation of device nodes when we run in a containerLennart Poettering
2012-09-03journal: don't pull in flush service from journald serviceLennart Poettering
In the initrd we don't need the flush service hence don't attempt to pull it in.
2012-09-03journal: generate structured journal messages for a number of eventsLennart Poettering
2012-08-25build-sys: xsltproc is required for man pages and gtk-docZbigniew Jędrzejewski-Szmek
2012-08-23build-sys: prepare release 189systemd/v189Lennart Poettering
2012-08-22journal: the ratelimiter is part of journaldLennart Poettering