chiark / gitweb /
Lennart Poettering [Fri, 13 Jul 2012 17:32:11 +0000 (19:32 +0200)]
man: document sd_journal_get_realtime_usec()
Lennart Poettering [Fri, 13 Jul 2012 17:00:48 +0000 (19:00 +0200)]
man: document sd_journal_get_data() and friends
Lennart Poettering [Fri, 13 Jul 2012 16:28:08 +0000 (18:28 +0200)]
man: document sd_journal_next()
Lennart Poettering [Fri, 13 Jul 2012 13:49:34 +0000 (15:49 +0200)]
man: document sd_journal_open()
Lennart Poettering [Fri, 13 Jul 2012 13:45:45 +0000 (15:45 +0200)]
log: correct usage of logging API at a few places
Harald Hoyer [Fri, 13 Jul 2012 12:44:52 +0000 (14:44 +0200)]
main: only reopen /dev/console if we switch-root to a custom init
There's no point in reopening /dev/console if we reopen it anyway
afterwards.
Lennart Poettering [Fri, 13 Jul 2012 12:42:25 +0000 (14:42 +0200)]
container: when shutting down in a container don't detach loop devices
We don't do device handling in containers, hence no loop devices either.
Lennart Poettering [Fri, 13 Jul 2012 12:41:57 +0000 (14:41 +0200)]
core: go on a killing spree when transitioning from initrd to main system
Lennart Poettering [Fri, 13 Jul 2012 11:55:35 +0000 (13:55 +0200)]
util: temporarily ignore SIGHUP while we are issuing TIOCSTTY
Lennart Poettering [Fri, 13 Jul 2012 11:50:39 +0000 (13:50 +0200)]
test: hook up more tests with make check
Lennart Poettering [Fri, 13 Jul 2012 11:41:01 +0000 (13:41 +0200)]
util: rename join() to strjoin()
This is to match strappend() and the other string related functions.
Lennart Poettering [Fri, 13 Jul 2012 00:19:07 +0000 (02:19 +0200)]
man: fix man page chapter in Makefile.am
Lennart Poettering [Fri, 13 Jul 2012 00:18:45 +0000 (02:18 +0200)]
man: document sd_journal_stream_fd()
Lennart Poettering [Thu, 12 Jul 2012 23:50:05 +0000 (01:50 +0200)]
man: move header file man pages from section 7 to 3
This way we can include documentation about minor macros/inline function
within the introducionary man page in a sane way.
Lennart Poettering [Thu, 12 Jul 2012 23:16:15 +0000 (01:16 +0200)]
journal: properly export sd_journal_add_disjunction()
Zbigniew Jędrzejewski-Szmek [Thu, 12 Jul 2012 23:07:41 +0000 (01:07 +0200)]
journalctl: show any printable Unicode character
This makes sure we are OK in outputting all valid, non-control UTF-8
characters, instead of just printable 7bit ASCII.
Lennart Poettering [Thu, 12 Jul 2012 22:32:21 +0000 (00:32 +0200)]
update TODO
Lennart Poettering [Thu, 12 Jul 2012 22:29:26 +0000 (00:29 +0200)]
journal: beef up journal matches considerably
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.
Lennart Poettering [Thu, 12 Jul 2012 22:10:37 +0000 (00:10 +0200)]
journal: check fields we search for more carefully
Lennart Poettering [Thu, 12 Jul 2012 15:36:51 +0000 (17:36 +0200)]
journal: fix seeking by realtime/seqnum
Lennart Poettering [Thu, 12 Jul 2012 15:36:24 +0000 (17:36 +0200)]
journal: fix bad memory access
Lennart Poettering [Thu, 12 Jul 2012 15:36:04 +0000 (17:36 +0200)]
journal: fix bisection logic for first entry
Lennart Poettering [Thu, 12 Jul 2012 15:35:04 +0000 (17:35 +0200)]
journal: fix interleaving of files with different time sources
Lennart Poettering [Wed, 11 Jul 2012 22:06:24 +0000 (00:06 +0200)]
build-sys: avoid duplicate inclusion of log.c in tools
Before: shared code such as log.c was linked once into the public
libraries (where it is entirely hidden) and once into the various tools
which might use those libraries. This is suboptimal, as this way static
variables such as the maximum log level are instantiated twice in all
tools.
After: our build the public libraries a second time, as a convenience
libary, and link our tools against those. Hence all tools use only a
single instance of everything.
Kay Sievers [Wed, 11 Jul 2012 01:32:28 +0000 (03:32 +0200)]
update TODO
Lennart Poettering [Wed, 11 Jul 2012 00:45:00 +0000 (02:45 +0200)]
update TODO
Lennart Poettering [Wed, 11 Jul 2012 00:41:16 +0000 (02:41 +0200)]
journal: replace implicit flushing of journal by explicit one
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.
Lennart Poettering [Tue, 10 Jul 2012 23:36:55 +0000 (01:36 +0200)]
journalctl: add a marker to log output for reboots
With this we'll print a marker "----- Reboot -----" between two
subsequent lines with different boot IDs.
Lennart Poettering [Tue, 10 Jul 2012 23:08:38 +0000 (01:08 +0200)]
journal: rework directory enumeration/watch logic
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
Lennart Poettering [Tue, 10 Jul 2012 19:46:11 +0000 (21:46 +0200)]
journal: introduce sd_journal_wait() to simplify writing synchronous clients
Lennart Poettering [Tue, 10 Jul 2012 17:44:19 +0000 (19:44 +0200)]
update TODO
Lennart Poettering [Tue, 10 Jul 2012 17:39:27 +0000 (19:39 +0200)]
journald: use "persistent", not "permanent" as storage option
"permanent" is simply the wrong term and we use "persistant" in most
other contexts to correct this.
Lennart Poettering [Tue, 10 Jul 2012 17:36:29 +0000 (19:36 +0200)]
update TODO
Lennart Poettering [Tue, 10 Jul 2012 17:28:26 +0000 (19:28 +0200)]
selinux: turn of libselinux' internal logging
Lennart Poettering [Tue, 10 Jul 2012 17:20:30 +0000 (19:20 +0200)]
update TODO
Lennart Poettering [Tue, 10 Jul 2012 17:19:59 +0000 (19:19 +0200)]
switch-root: reopen /dev/console before we switch root
Lennart Poettering [Tue, 10 Jul 2012 17:06:59 +0000 (19:06 +0200)]
update TODO
Lennart Poettering [Tue, 10 Jul 2012 17:05:58 +0000 (19:05 +0200)]
util: rm_rf() refuse cleaning non-memory file systems, as extra paranoia
Lennart Poettering [Tue, 10 Jul 2012 16:46:26 +0000 (18:46 +0200)]
util: add extra safety check to in_initrd()
initrds can only be on tmpfs or ramfs, so check for that
Malte Starostik [Tue, 5 Jun 2012 19:10:28 +0000 (21:10 +0200)]
mount: fix for complex automounts
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.
Lennart Poettering [Tue, 10 Jul 2012 16:06:06 +0000 (18:06 +0200)]
update TODO
Zbigniew Jędrzejewski-Szmek [Tue, 10 Jul 2012 16:03:03 +0000 (18:03 +0200)]
systemctl: filter shown units by their load state
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.
Zbigniew Jędrzejewski-Szmek [Tue, 10 Jul 2012 15:18:09 +0000 (17:18 +0200)]
unit: Move UnitLoadState definitions from core/unit.c to shared/unit-name.c
This makes it possible to use them from systemctl without linking
against the core.
Lennart Poettering [Tue, 10 Jul 2012 15:04:42 +0000 (17:04 +0200)]
unit: get rid of UnitVTable.suffix, which is now unused
Lennart Poettering [Tue, 10 Jul 2012 15:03:11 +0000 (17:03 +0200)]
unit-name: remove unit_name_is_valid_no_type() and move unit_name_is_valid() to unit-name.h
Lennart Poettering [Tue, 10 Jul 2012 14:54:08 +0000 (16:54 +0200)]
update TODO
Zbigniew Jędrzejewski-Szmek [Wed, 6 Jun 2012 14:56:19 +0000 (16:56 +0200)]
systemctl: check the argument to -t for invalid values
Systemctl accepted anything as the argument for -t, and simply said '0
units found'. It is better to catch this user error early.
Zbigniew Jędrzejewski-Szmek [Wed, 6 Jun 2012 14:56:18 +0000 (16:56 +0200)]
unit: Move UnitType definitions from core/unit.c to shared/unit-name.c
This makes it possible to use them from systemctl without linking
against the core. A string->enum lookup table is added.
Lennart Poettering [Tue, 10 Jul 2012 14:46:15 +0000 (16:46 +0200)]
update TODO
Lennart Poettering [Mon, 9 Jul 2012 22:33:13 +0000 (00:33 +0200)]
update TODO
Lennart Poettering [Mon, 9 Jul 2012 22:32:22 +0000 (00:32 +0200)]
update TODO
Lennart Poettering [Mon, 9 Jul 2012 22:03:14 +0000 (00:03 +0200)]
update TODO
Tom Gundersen [Fri, 29 Jun 2012 12:36:37 +0000 (14:36 +0200)]
cryptsetup: add keyfile-offset= support
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>
Kay Sievers [Mon, 9 Jul 2012 16:13:41 +0000 (18:13 +0200)]
udev: never touch device nodes with symlink requests
Lennart Poettering [Mon, 9 Jul 2012 15:30:22 +0000 (17:30 +0200)]
paranoia: refuse rm_rf("/")
Auke Kok [Fri, 6 Jul 2012 00:20:02 +0000 (17:20 -0700)]
MeeGo: Remove build support for MeeGo distribution.
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.
Lennart Poettering [Mon, 9 Jul 2012 14:04:21 +0000 (16:04 +0200)]
man: explain why people should/shouldn't use sd_journal_print()
Paul Menzel [Sat, 7 Jul 2012 11:09:18 +0000 (13:09 +0200)]
man/sd-id128: Fix endian*n*ess
At least Wikipedia writes it that way [1].
[1] https://en.wikipedia.org/wiki/Endianness
Paul Menzel [Sat, 7 Jul 2012 11:03:27 +0000 (13:03 +0200)]
man/sd-id128: Fix typos, grammar and wording
• 2 was replaced by »two« in one place to avoid some ambiguity.
Paul Menzel [Mon, 2 Jul 2012 15:43:34 +0000 (17:43 +0200)]
man/tmpfiles.d.xml: Add missing full stop
Lennart Poettering [Mon, 9 Jul 2012 13:46:21 +0000 (15:46 +0200)]
man: document sd_print() and friends
Lennart Poettering [Fri, 6 Jul 2012 15:50:00 +0000 (17:50 +0200)]
man: document libsystemd-id128
Kay Sievers [Thu, 5 Jul 2012 15:40:50 +0000 (17:40 +0200)]
udev: network device renaming - immediately give up if the target name isn't available
Kay Sievers [Thu, 5 Jul 2012 15:33:24 +0000 (17:33 +0200)]
udev: add some O_CLOEXEC
Kay Sievers [Thu, 5 Jul 2012 14:53:08 +0000 (16:53 +0200)]
udev: ata_id - fixup all 8 not only 6 bytes of the fw_rev string
The last two digits are in the wrong order:
$ hdparm -I /dev/sda | grep Revision
4PC10362
$ /lib/udev/ata_id -x /dev/sda | grep REVISION
4PC10326
Lennart Poettering [Tue, 3 Jul 2012 23:12:25 +0000 (01:12 +0200)]
man: update man pages to reflect the driver= to load-modules= rename
Lennart Poettering [Tue, 3 Jul 2012 22:37:12 +0000 (00:37 +0200)]
man: document Restart= a bit more
Lennart Poettering [Tue, 3 Jul 2012 22:23:42 +0000 (00:23 +0200)]
service: flush the start counter in "systemctl reset-failed"
Lennart Poettering [Tue, 3 Jul 2012 22:12:13 +0000 (00:12 +0200)]
man: clarify that StartLimitInterval= also applies to manual starts
Lennart Poettering [Tue, 3 Jul 2012 22:07:33 +0000 (00:07 +0200)]
man: explain StartLimitRate= in conjunction with Restart= a bit better
Lennart Poettering [Tue, 3 Jul 2012 19:22:08 +0000 (21:22 +0200)]
readahead: fix calculation of percentage
Lennart Poettering [Tue, 3 Jul 2012 14:27:59 +0000 (16:27 +0200)]
update NEWS
Lennart Poettering [Tue, 3 Jul 2012 14:25:50 +0000 (16:25 +0200)]
mount-setup: don't complain if we try to fix the label of a dir beneath a mount but can't due to EROFS
Lennart Poettering [Tue, 3 Jul 2012 14:15:57 +0000 (16:15 +0200)]
hashmap: make hashmap_clear() work on NULL hashmaps
Lennart Poettering [Tue, 3 Jul 2012 14:09:36 +0000 (16:09 +0200)]
load-fragment: a few modernizations
Lennart Poettering [Tue, 3 Jul 2012 13:37:04 +0000 (15:37 +0200)]
timedate: uniq'ify ntp units list
Lennart Poettering [Tue, 3 Jul 2012 12:07:10 +0000 (14:07 +0200)]
journal: default ImportKernel=no until we make use of structured logging
Lennart Poettering [Tue, 3 Jul 2012 11:31:09 +0000 (13:31 +0200)]
units: add reference to wiki so syslog.socket
Lennart Poettering [Tue, 3 Jul 2012 10:25:53 +0000 (12:25 +0200)]
journal: move Storage=auto stanza to right file
Lennart Poettering [Tue, 3 Jul 2012 10:23:33 +0000 (12:23 +0200)]
journald: handle /proc/kmsg reads returning 0 more nicely
Lennart Poettering [Tue, 3 Jul 2012 09:58:16 +0000 (11:58 +0200)]
journal: fix iteration through journal if one file is corrupt
Lennart Poettering [Tue, 3 Jul 2012 00:01:56 +0000 (02:01 +0200)]
update TODO
Lennart Poettering [Tue, 3 Jul 2012 00:00:05 +0000 (02:00 +0200)]
timedated: replace ntp-units file with an ntp-units.d drop-in dir
To be considered by timedated for NTP a package simply has to drop in
/usr/lib/systemd/ntp-units.d/foobar.list and write one or more unit
names into it. The first one listed is the one that is enabled.
Lennart Poettering [Mon, 2 Jul 2012 21:21:41 +0000 (23:21 +0200)]
build-sys: bump version
Colin Guthrie [Mon, 2 Jul 2012 19:35:14 +0000 (21:35 +0200)]
units: Rename systemd-udev.service to systemd-udevd.service
This naming convention is more inline with other systemd daemon
unit names (systemd-logind.service, systemd-localed.service etc)
The companion .socket units have also been renamed, however the
-trigger and -settle units keep their current name as these are
not directly related to daemon process itself.
Kay Sievers [Mon, 2 Jul 2012 18:44:05 +0000 (20:44 +0200)]
udev: static nodes - fix default permissions if no rules is given
<falconindy> kay: just curious -- it looks like nodes created by udev from
modules.devname all have 000 perms, and there's nothing in udev that attempts
to change this. is it intended?
<falconindy> c--------- 1 root root 10, 223 Jul 1 23:10 uinput
<kay> falconindy: we might miss the default of 0600
<falconindy> seems like it
<kay> falconindy: stuff that has a rule works i guess
<kay> falconindy: i'll add the 0600 now
Kay Sievers [Mon, 2 Jul 2012 13:05:26 +0000 (15:05 +0200)]
modules load: rename kernel command line option to (rd.)modules-load=
Lennart Poettering [Mon, 2 Jul 2012 12:33:04 +0000 (14:33 +0200)]
units: rename systemd-debug-shell.service to debug-shell.service
The systemd- prefix for services should be reserved only for services
that invoke our own code rather than generic, external code.
Colin Guthrie [Mon, 2 Jul 2012 08:15:53 +0000 (09:15 +0100)]
mageia: Correct usage of M4_DEFINES vs. M4_DISTRO_FLAG.
This seems to have been a problem since mageia support was merged,
as upstream had changed how this bit worked without us realising.
Colin Guthrie [Mon, 2 Jul 2012 08:15:52 +0000 (09:15 +0100)]
mageia: Change the unit for prefdm.service to make it work a bit more like Fedora
Do not wait for some of the Fedora units that we have traditionally not
waited for in Mageia or Mandriva before it.
Lennart Poettering [Mon, 2 Jul 2012 09:44:40 +0000 (11:44 +0200)]
man: fix journalctl man page in regards to --this-boot
Lennart Poettering [Mon, 2 Jul 2012 09:43:02 +0000 (11:43 +0200)]
timedate: fix ntp-units comment
Lennart Poettering [Mon, 2 Jul 2012 09:38:32 +0000 (11:38 +0200)]
core: mention if we are run from an initial RAM disk
Lennart Poettering [Mon, 2 Jul 2012 09:38:03 +0000 (11:38 +0200)]
NEWS: Prepare NEWS file for next release
Lennart Poettering [Sun, 1 Jul 2012 18:17:48 +0000 (20:17 +0200)]
journald: add Storage= setting to control where the journal is stored
Lennart Poettering [Sun, 1 Jul 2012 16:59:55 +0000 (18:59 +0200)]
manager: turn notify socket into abstract namespace socket again
sd_notify() should work for daemons that chroot() as part of their
initilization, hence it's a good idea to use an abstract namespace
socket which is not affected by chroot.
Lennart Poettering [Sun, 1 Jul 2012 16:47:40 +0000 (18:47 +0200)]
journalctl: add new switch -b to show data from current boot only
Lennart Poettering [Sun, 1 Jul 2012 15:37:21 +0000 (17:37 +0200)]
timedated: replace systemd-timedated-ntp.target logic with simpler scheme
The previous systemd-timedated-ntp.target was suffering by the problem
that NTP implementations enabled via the machanism could not be disabled
the obvious way on the "systemctl disable" command line. Replace
systemd-timedated-ntp.target by a list of implementations we try in
turn. The list is encoded in $pkgdatadir/ntp-units.
Kay Sievers [Mon, 2 Jul 2012 01:37:28 +0000 (03:37 +0200)]
udev: man - clarify escaping and replacing for SYMLINK+=
Dave Reisner [Mon, 2 Jul 2012 01:09:18 +0000 (03:09 +0200)]
udevd: fix bogus mkdir invocation
The filename parameter passed to mkdir can't contain anything but a
garbage value at this point. This was meant to be the full pathname to
the new udev DB, as the mkdir_parents() call before it won't create the
trailing child directory.
[replace mkdir_parents() + mkdir() with mkdir_p() -- kay]