summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-07-15udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /runKay Sievers
2012-07-15unit: avoid re-definition of enum for older gcc versionsKay Sievers
<koen> | ./src/shared/unit-name.h:29:23: error: redefinition of typedef 'UnitType' <koen> | ./src/core/unit.h:30:23: note: previous declaration of 'UnitType' was here
2012-07-15aquire_terminal(): fix uninitialized variableKay Sievers
./src/shared/util.c:2457:45: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
2012-07-15journal: align byte-buffer that gets cased to an objectKay Sievers
On Sun, Jul 15, 2012 at 2:00 PM, Koen Kooi <koen@dominion.thruhere.net> wrote: > | src/journal/sd-journal.c: In function 'sd_journal_process': > | src/journal/sd-journal.c:1891:21: warning: cast increases required alignment of target type [-Wcast-align] > | src/journal/sd-journal.c:1900:29: warning: cast increases required alignment of target type [-Wcast-align]
2012-07-15journal: avoid re-definition of enums for older gcc versionsKay Sievers
On Sun, Jul 15, 2012 at 2:00 PM, Koen Kooi <koen@dominion.thruhere.net> wrote: > | In file included from src/journal/sd-journal.c:37:0: > | src/journal/journal-internal.h:47:3: error: redefinition of typedef 'MatchType' > | src/journal/journal-internal.h:36:24: note: previous declaration of 'MatchType' was here > | src/journal/journal-internal.h:67:3: error: redefinition of typedef 'LocationType' > | src/journal/journal-internal.h:37:27: note: previous declaration of 'LocationType' was here
2012-07-14udev: avoid creating /dev/kmsg with fopen() to support CONFIG_PRINTK=nKay Sievers
2012-07-13unit: rename BindTo= to BindsTo=Lennart Poettering
all other dependencies are in 3rd person. Change BindTo= accordingly to BindsTo=. Of course, the dependency is widely used, hence we parse the old name too for compatibility.
2012-07-13shutdown: add missing includeLennart Poettering
2012-07-13man: document sd_journal_get_cutoff_realtime_usec()Lennart Poettering
2012-07-13man: document sd_journal_get_data() and friendsLennart Poettering
2012-07-13log: correct usage of logging API at a few placesLennart Poettering
2012-07-13main: only reopen /dev/console if we switch-root to a custom initHarald Hoyer
There's no point in reopening /dev/console if we reopen it anyway afterwards.
2012-07-13container: when shutting down in a container don't detach loop devicesLennart Poettering
We don't do device handling in containers, hence no loop devices either.
2012-07-13core: go on a killing spree when transitioning from initrd to main systemLennart Poettering
2012-07-13util: temporarily ignore SIGHUP while we are issuing TIOCSTTYLennart Poettering
2012-07-13test: hook up more tests with make checkLennart Poettering
2012-07-13util: rename join() to strjoin()Lennart Poettering
This is to match strappend() and the other string related functions.
2012-07-13man: document sd_journal_stream_fd()Lennart Poettering
2012-07-13man: move header file man pages from section 7 to 3Lennart Poettering
This way we can include documentation about minor macros/inline function within the introducionary man page in a sane way.
2012-07-13journal: properly export sd_journal_add_disjunction()Lennart Poettering
2012-07-13journalctl: show any printable Unicode characterZbigniew Jędrzejewski-Szmek
This makes sure we are OK in outputting all valid, non-control UTF-8 characters, instead of just printable 7bit ASCII.
2012-07-13journal: beef up journal matches considerablyLennart Poettering
we now can take multiple matches, and they will apply as AND if they apply to different fields and OR if they apply to the same fields. Also, terms of this kind can be combined with an overreaching OR.
2012-07-13journal: check fields we search for more carefullyLennart Poettering
2012-07-13journal: fix seeking by realtime/seqnumLennart Poettering
2012-07-13journal: fix bad memory accessLennart Poettering
2012-07-13journal: fix bisection logic for first entryLennart Poettering
2012-07-13journal: fix interleaving of files with different time sourcesLennart Poettering
2012-07-11journal: replace implicit flushing of journal by explicit oneLennart Poettering
The old automatism that the flushing of the journal from /run to /var was triggered by the appearance of /var/log/journal is broken if that directory is mounted from another host and hence always available to be useful as mount point. To avoid probelsm with this, introduce a new unit that is explicitly orderer after all mounte files systems and triggers the flushing.
2012-07-11journalctl: add a marker to log output for rebootsLennart Poettering
With this we'll print a marker "----- Reboot -----" between two subsequent lines with different boot IDs.
2012-07-11journal: rework directory enumeration/watch logicLennart Poettering
There's now sd_journal_new_directory() for watching specific journal directories. This is exposed in journalctl -D. sd_journal_wait() and sd_journal_process() now return whether changes in the journal are invalidating or just appending. We now create inotify kernel watches only when we actually need them
2012-07-10journal: introduce sd_journal_wait() to simplify writing synchronous clientsLennart Poettering
2012-07-10journald: use "persistent", not "permanent" as storage optionLennart Poettering
"permanent" is simply the wrong term and we use "persistant" in most other contexts to correct this.
2012-07-10selinux: turn of libselinux' internal loggingLennart Poettering
2012-07-10switch-root: reopen /dev/console before we switch rootLennart Poettering
2012-07-10util: rm_rf() refuse cleaning non-memory file systems, as extra paranoiaLennart Poettering
2012-07-10util: add extra safety check to in_initrd()Lennart Poettering
initrds can only be on tmpfs or ramfs, so check for that
2012-07-10mount: fix for complex automountsMalte Starostik
If accessing an automount point triggers more changes to /proc/self/mountinfo than just to add the directly wanted mount, these changes can lead to spurious -ENODEV notifications on the automount unit causing the request to fail when in fact the mount will be setup right afterwards.
2012-07-10systemctl: filter shown units by their load stateZbigniew Jędrzejewski-Szmek
E.g. systemctl --all -t masked gives the list of masked units. The -t/--type option is reused. This is possible because unit types and unit load states are called differently, so it is possible to distinguish what the user meant. Using the same option also means that the interface is user for the user: less options to remember.
2012-07-10unit: Move UnitLoadState definitions from core/unit.c to shared/unit-name.cZbigniew Jędrzejewski-Szmek
This makes it possible to use them from systemctl without linking against the core.
2012-07-10unit: get rid of UnitVTable.suffix, which is now unusedLennart Poettering
2012-07-10unit-name: remove unit_name_is_valid_no_type() and move unit_name_is_valid() ↵Lennart Poettering
to unit-name.h
2012-07-10systemctl: check the argument to -t for invalid valuesZbigniew Jędrzejewski-Szmek
Systemctl accepted anything as the argument for -t, and simply said '0 units found'. It is better to catch this user error early.
2012-07-10unit: Move UnitType definitions from core/unit.c to shared/unit-name.cZbigniew Jędrzejewski-Szmek
This makes it possible to use them from systemctl without linking against the core. A string->enum lookup table is added.
2012-07-09cryptsetup: add keyfile-offset= supportTom Gundersen
This is useful if your keyfile is a block device, and you want to use a specific part of it, such as an area between the MBR and the first partition. This feature is documented in the Arch wiki[0], and has been supported by the Arch initscripts, so would be nice to get this into systemd. This requires libcryptsetup >= 1.4.2 (released 12.4.2012). Acked-by: Paul Menzel <paulepanter@users.sourceforge.net> [0]: <https://wiki.archlinux.org/index.php/System_Encryption_with_LUKS# Storing_the_key_between_MBR_and_1st_partition>
2012-07-09udev: never touch device nodes with symlink requestsKay Sievers
2012-07-09paranoia: refuse rm_rf("/")Lennart Poettering
2012-07-09MeeGo: Remove build support for MeeGo distribution.Auke Kok
The MeeGo distribution is still a supported distribution, but will probably not see an updated version of systemd anymore. Most of the development is focussing on Tizen now, and the generic support for building --with-distro=other is more than adequate enough. This patch removes the support as a custom configuration build target in systemd. People who are still building this for the MeeGo distribution should build as "other" distro.
2012-07-09man: document sd_print() and friendsLennart Poettering
2012-07-05udev: network device renaming - immediately give up if the target name isn't ↵Kay Sievers
available
2012-07-05udev: add some O_CLOEXECKay Sievers