Lennart Poettering
7a8a6e8854
man: document sd_journal_get_realtime_usec()
2012-07-13 19:32:11 +02:00
Lennart Poettering
4171a6676c
man: document sd_journal_get_data() and friends
2012-07-13 19:00:48 +02:00
Lennart Poettering
67c3cf4f9e
man: document sd_journal_next()
2012-07-13 18:28:08 +02:00
Lennart Poettering
3bb55eee6a
man: document sd_journal_open()
2012-07-13 15:49:34 +02:00
Lennart Poettering
4b2615684b
log: correct usage of logging API at a few places
2012-07-13 15:45:45 +02:00
Harald Hoyer
a504223d9a
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.
2012-07-13 14:46:14 +02:00
Lennart Poettering
910212e738
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.
2012-07-13 14:42:25 +02:00
Lennart Poettering
bd3fa1d243
core: go on a killing spree when transitioning from initrd to main system
2012-07-13 14:41:57 +02:00
Lennart Poettering
32c4bef882
util: temporarily ignore SIGHUP while we are issuing TIOCSTTY
2012-07-13 13:55:35 +02:00
Lennart Poettering
95ea1b90cc
test: hook up more tests with make check
2012-07-13 13:50:39 +02:00
Lennart Poettering
b7def68494
util: rename join() to strjoin()
...
This is to match strappend() and the other string related functions.
2012-07-13 13:41:01 +02:00
Lennart Poettering
184850e8a7
man: fix man page chapter in Makefile.am
2012-07-13 02:19:07 +02:00
Lennart Poettering
a81df0ad90
man: document sd_journal_stream_fd()
2012-07-13 02:18:45 +02:00
Lennart Poettering
cb07866b1b
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.
2012-07-13 01:50:05 +02:00
Lennart Poettering
3913ac2041
journal: properly export sd_journal_add_disjunction()
2012-07-13 01:16:15 +02:00
Zbigniew Jędrzejewski-Szmek
ba961854dd
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.
2012-07-13 01:07:41 +02:00
Lennart Poettering
3a419b9848
update TODO
2012-07-13 00:32:33 +02:00
Lennart Poettering
cbdca8525b
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.
2012-07-13 00:32:32 +02:00
Lennart Poettering
362a3f8122
journal: check fields we search for more carefully
2012-07-13 00:32:32 +02:00
Lennart Poettering
91a31dde6e
journal: fix seeking by realtime/seqnum
2012-07-13 00:32:32 +02:00
Lennart Poettering
ecf68b1d38
journal: fix bad memory access
2012-07-13 00:32:32 +02:00
Lennart Poettering
a536e2613f
journal: fix bisection logic for first entry
2012-07-13 00:32:32 +02:00
Lennart Poettering
c4aff78b2d
journal: fix interleaving of files with different time sources
2012-07-13 00:32:32 +02:00
Lennart Poettering
474abe33bb
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.
2012-07-13 00:32:32 +02:00
Kay Sievers
347e1b6df0
update TODO
2012-07-11 03:32:28 +02:00
Lennart Poettering
d957be9bae
update TODO
2012-07-11 02:45:00 +02:00
Lennart Poettering
b8156be03f
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.
2012-07-11 02:41:16 +02:00
Lennart Poettering
14a65d65a0
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.
2012-07-11 01:36:55 +02:00
Lennart Poettering
a963990ff4
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
2012-07-11 01:08:38 +02:00
Lennart Poettering
e02d1cf72d
journal: introduce sd_journal_wait() to simplify writing synchronous clients
2012-07-10 21:46:11 +02:00
Lennart Poettering
166503dada
update TODO
2012-07-10 19:44:19 +02:00
Lennart Poettering
205c4d1d6a
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.
2012-07-10 19:39:27 +02:00
Lennart Poettering
805623aaa4
update TODO
2012-07-10 19:36:29 +02:00
Lennart Poettering
dbc655d58d
selinux: turn of libselinux' internal logging
2012-07-10 19:28:26 +02:00
Lennart Poettering
3131f6c362
update TODO
2012-07-10 19:20:30 +02:00
Lennart Poettering
cd3bd60a2e
switch-root: reopen /dev/console before we switch root
2012-07-10 19:19:59 +02:00
Lennart Poettering
94163dd543
update TODO
2012-07-10 19:06:59 +02:00
Lennart Poettering
f56d5db919
util: rm_rf() refuse cleaning non-memory file systems, as extra paranoia
2012-07-10 19:05:58 +02:00
Lennart Poettering
825c6fe5eb
util: add extra safety check to in_initrd()
...
initrds can only be on tmpfs or ramfs, so check for that
2012-07-10 18:46:26 +02:00
Malte Starostik
36fcd77e02
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.
2012-07-10 18:27:03 +02:00
Lennart Poettering
a9f55579e8
update TODO
2012-07-10 18:06:06 +02:00
Zbigniew Jędrzejewski-Szmek
c147dc42f8
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.
2012-07-10 18:05:47 +02:00
Zbigniew Jędrzejewski-Szmek
f69614f811
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.
2012-07-10 17:18:49 +02:00
Lennart Poettering
bcbe497e5a
unit: get rid of UnitVTable.suffix, which is now unused
2012-07-10 17:16:50 +02:00
Lennart Poettering
5f73969991
unit-name: remove unit_name_is_valid_no_type() and move unit_name_is_valid() to unit-name.h
2012-07-10 17:07:32 +02:00
Lennart Poettering
0bf07cb5e4
update TODO
2012-07-10 17:07:32 +02:00
Zbigniew Jędrzejewski-Szmek
6d97280899
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.
2012-07-10 17:07:32 +02:00
Zbigniew Jędrzejewski-Szmek
0a9f8ed00c
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.
2012-07-10 16:48:08 +02:00
Lennart Poettering
c66d36e5b5
update TODO
2012-07-10 16:46:15 +02:00
Lennart Poettering
d246fbb054
update TODO
2012-07-10 00:33:13 +02:00