chiark / gitweb /
Lennart Poettering [Mon, 15 Oct 2012 23:01:55 +0000 (01:01 +0200)]
update TODO
Andrew Eikum [Mon, 15 Oct 2012 18:59:12 +0000 (13:59 -0500)]
Reword sentences that contain psuedo-English "resp."
As you likely know, Arch Linux is in the process of moving to systemd.
So I was reading through the various systemd docs and quickly became
baffled by this new abbreviation "resp.", which I've never seen before
in my English-mother-tongue life.
Some quick Googling turned up a reference:
<http://www.transblawg.eu/index.php?/archives/870-Resp.-and-other-non-existent-English-wordsNicht-existente-englische-Woerter.html>
I guess it's a literal translation of the German "Beziehungsweise", but
English doesn't work the same way. The word "respectively" is used
exclusively to provide an ordering connection between two lists. E.g.
"the prefixes k, M, and G refer to kilo-, mega-, and giga-,
respectively." It is also never abbreviated to "resp." So the sentence
"Sets the default output resp. error output for all services and
sockets" makes no sense to a natural English speaker.
This patch removes all instances of "resp." in the man pages and
replaces them with sentences which are much more clear and, hopefully,
grammatically valid. In almost all instances, it was simply replacing
"resp." with "or," which the original author (Lennart?) could probably
just do in the future.
The only other instances of "resp." are in the src/ subtree, which I
don't feel privileged to correct.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Zbigniew Jędrzejewski-Szmek [Mon, 15 Oct 2012 16:14:09 +0000 (16:14 +0000)]
journalctl: skip informational messages in export/json modes
Lukas Nykryn [Mon, 15 Oct 2012 12:51:27 +0000 (14:51 +0200)]
systemctl: don't mangle name when it is a path
systemctl enable, disable, ... can also accept full path and in this case
we don't need to alter it.
https://bugzilla.redhat.com/show_bug.cgi?id=866346
Lennart Poettering [Mon, 15 Oct 2012 14:28:04 +0000 (16:28 +0200)]
update TODO
Zbigniew Jędrzejewski-Szmek [Sun, 14 Oct 2012 15:29:38 +0000 (15:29 +0000)]
journalctl: make --follow really work
Zbigniew Jędrzejewski-Szmek [Sat, 13 Oct 2012 19:21:07 +0000 (19:21 +0000)]
journalctl: make --follow work again
Stopped working after
cfbc22ab 'journalctl: implement --since= and
--until for filtering by time'.
Zbigniew Jędrzejewski-Szmek [Sat, 13 Oct 2012 17:50:53 +0000 (17:50 +0000)]
journal-verify: get rid of an unused variable
When compiling without gcrypt, gcc emits an annoying warning.
Zbigniew Jędrzejewski-Szmek [Sat, 13 Oct 2012 16:09:09 +0000 (16:09 +0000)]
journald: add missing include
./src/journal/journald.h:123:114: warning: ‘struct ucred’ declared inside parameter list [enabled by default]
Zbigniew Jędrzejewski-Szmek [Sat, 13 Oct 2012 11:13:50 +0000 (13:13 +0200)]
build-sys: always distribute file
Zbigniew Jędrzejewski-Szmek [Sat, 13 Oct 2012 11:08:17 +0000 (13:08 +0200)]
journal-gatewayd: rename variables to avoid -Wshadow warning
Zbigniew Jędrzejewski-Szmek [Sat, 13 Oct 2012 09:31:54 +0000 (11:31 +0200)]
journald: properly update message size after stripping the identifier
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)
Zbigniew Jędrzejewski-Szmek [Fri, 12 Oct 2012 12:56:19 +0000 (12:56 +0000)]
journal: fix build in VALGRIND compatibility mode
Zbigniew Jędrzejewski-Szmek [Mon, 8 Oct 2012 17:02:30 +0000 (17:02 +0000)]
log: introduce a macro to format message id
The MESSAGE_ID=... stanza will appear in countless number of places.
It is just too long to write it out in full each time.
Incidentally, this also fixes a typo of MESSSAGE is three places.
Kay Sievers [Thu, 11 Oct 2012 20:31:23 +0000 (22:31 +0200)]
build-sys: check - fix typo
Sebastian Ott [Tue, 9 Oct 2012 13:57:54 +0000 (15:57 +0200)]
udev: path_id - add scm support
Add support for scm block devices. Introduced here:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=
f30664e2
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Lennart Poettering [Thu, 11 Oct 2012 14:42:46 +0000 (16:42 +0200)]
journalctl: implement --since= and --until for filtering by time
Martin Pitt [Thu, 11 Oct 2012 06:21:17 +0000 (08:21 +0200)]
rules: Fix persistent input symlinks for interface 00
Commits
5e9eb156c and
32567f8 introduced persistent symlinks for input devices
with more than one interface. However, this does not ensure stability for the
"default" interface, i. e. with interface number 00 or a nonexisting one. If a
device with a higher interface number appears first, it'll claim the symlink
name without an interface number, and the "interface 00" device won't get any.
Fix this by creating the default symlink only for interface 00 or a nonexisting
one, so that we properly partition the two cases over the two rules.
https://launchpad.net/bugs/
1057824
Lennart Poettering [Thu, 11 Oct 2012 00:37:10 +0000 (02:37 +0200)]
journal: support epxorting the journal in a format suitable for text/event-stream
Lennart Poettering [Wed, 10 Oct 2012 23:57:36 +0000 (01:57 +0200)]
journal: take scroll events in the entire white box in browse.html
Lennart Poettering [Wed, 10 Oct 2012 23:52:35 +0000 (01:52 +0200)]
journal: make buttons bigger in browse.html
Lennart Poettering [Wed, 10 Oct 2012 22:38:20 +0000 (00:38 +0200)]
journal: use localstorage instead of cookies in browse.html and store where the current position
Lennart Poettering [Wed, 10 Oct 2012 22:04:54 +0000 (00:04 +0200)]
journal: move buttons to the center in browse.html
Kay Sievers [Wed, 10 Oct 2012 21:59:29 +0000 (23:59 +0200)]
journal: add mousewheel scrolling to browse.html
Lennart Poettering [Wed, 10 Oct 2012 21:49:21 +0000 (23:49 +0200)]
journal: add keyboard navigation to browse.html
Lennart Poettering [Wed, 10 Oct 2012 21:14:32 +0000 (23:14 +0200)]
journal: properly HTML escape more output in browse.html
Mantas Mikulėnas [Wed, 10 Oct 2012 21:00:25 +0000 (23:00 +0200)]
journal: properly escape HTML entities in browse.html
Lennart Poettering [Wed, 10 Oct 2012 20:39:45 +0000 (22:39 +0200)]
journal: when browsing the journal via browse.html allow clicking on entries to show their details
Lennart Poettering [Wed, 10 Oct 2012 20:24:28 +0000 (22:24 +0200)]
journal: drop path name from cursor strings
we had this mostly for debugging purposes and it was ignored when
parsing anyway, so let's get rid of it
Lennart Poettering [Wed, 10 Oct 2012 20:23:06 +0000 (22:23 +0200)]
update TODO
Martin Pitt [Wed, 10 Oct 2012 16:56:01 +0000 (18:56 +0200)]
keymap: Fix scan codes > 0x7FFFFFFF
According to Linux drivers/input/evdev.c, scan codes are unsigned, not int nor
uint32_t.
Thanks to Dejan Tosovic <dejan@post.com> for reporting this!
Lennart Poettering [Wed, 10 Oct 2012 00:41:27 +0000 (02:41 +0200)]
gatewayd: beef up browse.html a bit
Lennart Poettering [Tue, 9 Oct 2012 23:57:06 +0000 (01:57 +0200)]
journal: fix seeking backwards in gateway daemon
Lennart Poettering [Tue, 9 Oct 2012 23:37:38 +0000 (01:37 +0200)]
journal: update comments a bit
Lennart Poettering [Tue, 9 Oct 2012 23:35:24 +0000 (01:35 +0200)]
journalctl: properly parse --cursor= long getopt in addition to short -c
Lennart Poettering [Tue, 9 Oct 2012 23:34:27 +0000 (01:34 +0200)]
journal: make sure sd_journal_seek_cursor() seeks to the specified entry if it exists, not one after it
Lennart Poettering [Tue, 9 Oct 2012 20:25:32 +0000 (22:25 +0200)]
detect-virt: install with fs caps by default to allow unprivileged access
Lennart Poettering [Mon, 8 Oct 2012 23:31:27 +0000 (01:31 +0200)]
journal: implement follow mode for HTTP GET in gatewayd
Lennart Poettering [Mon, 8 Oct 2012 23:17:29 +0000 (01:17 +0200)]
journal: add matching support to gatewayd
Lennart Poettering [Mon, 8 Oct 2012 22:43:18 +0000 (00:43 +0200)]
logind: expose missing signals in Session bus objects
Kay Sievers [Mon, 8 Oct 2012 22:49:15 +0000 (00:49 +0200)]
udev: fix rule-syntax-check.py
Kay Sievers [Mon, 8 Oct 2012 22:16:50 +0000 (00:16 +0200)]
udev: support multiple entries for ENV{SYSTEMD_ALIAS} and ENV{SYSTEM_WANTS}
Kay Sievers [Mon, 8 Oct 2012 20:02:01 +0000 (22:02 +0200)]
README: update
Kay Sievers [Mon, 8 Oct 2012 19:54:39 +0000 (21:54 +0200)]
udev: remove SYMLINK "unique" option
Kay Sievers [Mon, 8 Oct 2012 18:50:20 +0000 (20:50 +0200)]
udev: fix test
Lennart Poettering [Mon, 8 Oct 2012 18:07:50 +0000 (20:07 +0200)]
update TODO
Martin Mikkelsen [Thu, 4 Oct 2012 12:27:29 +0000 (14:27 +0200)]
shared: fix broken string_is_safe
Lukas Nykryn [Thu, 4 Oct 2012 07:49:04 +0000 (09:49 +0200)]
dbus-manager: check return of unit_dbus_path
Reply of dbus_message_new_method_return was check twice and
path from unit_dbus_path was not.
Zbigniew Jędrzejewski-Szmek [Sun, 7 Oct 2012 07:25:23 +0000 (09:25 +0200)]
Shrink TODO
Kay Sievers [Sun, 7 Oct 2012 16:21:38 +0000 (18:21 +0200)]
udev: allow firmware requests to bypass the dependency tracking
The removal of the TIMEOUT= handling in udevd put firmware requests into the
devpath parent/child dependency tracking. Drivers which block in module_init()
asking userspace for firmware ran into a 30 sec device timeout.
The whole firmware loading willl hopefully move into the kernel and
the fragile-since-day-one fake async driver-core device dance involving
udev can be retired:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=
abb139e75c2cdbb955e840d6331cb5863e409d0e
Dave Reisner [Sat, 6 Oct 2012 20:32:17 +0000 (16:32 -0400)]
sysctl: avoiding exiting with error on -EEXIST
If the final key in any sysctl.d file is a duplicate, systemd-sysctl
will exit with an error (and no explaination why). Ignore this, as
duplicate keys are to be expected when overriding settings in the
directory hierarchy.
Dave Reisner [Thu, 4 Oct 2012 19:09:15 +0000 (15:09 -0400)]
man/systemd-halt.service: fix typo
Fix reference to "system-shutdown" as being a binary.
Lennart Poettering [Thu, 4 Oct 2012 18:10:02 +0000 (14:10 -0400)]
update TODO
Lennart Poettering [Thu, 4 Oct 2012 18:08:17 +0000 (14:08 -0400)]
dbus: expose Virtualization ID on PID1's bus interface
This allows unprivileged clients to check for the used virtualization
even when lacking the privileges that some of the virtualization tests
require.
https://bugzilla.gnome.org/show_bug.cgi?id=684801
Lennart Poettering [Thu, 4 Oct 2012 12:19:42 +0000 (08:19 -0400)]
update TODO
Zbigniew Jędrzejewski-Szmek [Thu, 4 Oct 2012 11:12:23 +0000 (11:12 +0000)]
systemctl: colorize number of units listed
Zbigniew Jędrzejewski-Szmek [Thu, 4 Oct 2012 11:01:10 +0000 (11:01 +0000)]
systemctl: do not print header if no units listed
Сковорода Никита Андреевич [Wed, 3 Oct 2012 01:48:19 +0000 (05:48 +0400)]
man: handle-sleep-key is invalid, replace it with handle-suspend-key and handle-hibernate-key in systemd-inhibit help and man.
Lennart Poettering [Wed, 3 Oct 2012 18:32:29 +0000 (14:32 -0400)]
build-sys: prepare 194
Lennart Poettering [Wed, 3 Oct 2012 18:18:55 +0000 (14:18 -0400)]
man: document behaviour of ListenStream= with only a port number in regards to IPv4/IPv6
Lennart Poettering [Wed, 3 Oct 2012 17:29:20 +0000 (13:29 -0400)]
dbus: add some more safety checks before accepting data from bus clients
Lennart Poettering [Wed, 3 Oct 2012 15:50:45 +0000 (11:50 -0400)]
journal-send: simplification
Lennart Poettering [Wed, 3 Oct 2012 15:37:44 +0000 (11:37 -0400)]
journald: only accept fds from certain directories
Lennart Poettering [Wed, 3 Oct 2012 15:37:06 +0000 (11:37 -0400)]
update TODO
Lennart Poettering [Wed, 3 Oct 2012 15:36:57 +0000 (11:36 -0400)]
selinux: properly free dbus error
Colin Walters [Tue, 2 Oct 2012 22:15:14 +0000 (18:15 -0400)]
build-sys: fix !HAVE_SELINUX case
Tom Gundersen [Wed, 3 Oct 2012 13:57:40 +0000 (15:57 +0200)]
vconsole: default to the kernel compiled-in keymap
No longer override the default kernel keymap if nothing is specified in
vconsole.conf.
The default should be to do nothing (i.e., use what is already in the
kernel) unless the distro/admin has explicitly requested it.
Tom Gundersen [Tue, 25 Sep 2012 20:22:05 +0000 (22:22 +0200)]
vconsole: default to the kernel compiled-in font
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>
Lennart Poettering [Tue, 2 Oct 2012 21:56:54 +0000 (17:56 -0400)]
selinux: remove anything PID1-specific from selinux-access.[ch] so that we can reuse it in logind
Lennart Poettering [Tue, 2 Oct 2012 21:40:09 +0000 (17:40 -0400)]
audit: turn the audit fd into a static variable
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.
Lennart Poettering [Tue, 2 Oct 2012 21:07:00 +0000 (17:07 -0400)]
selinux: rework selinux access check logic
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().
Lennart Poettering [Tue, 2 Oct 2012 17:11:26 +0000 (13:11 -0400)]
TODO
Kay Sievers [Tue, 2 Oct 2012 17:09:09 +0000 (19:09 +0200)]
update TODO
Kay Sievers [Tue, 2 Oct 2012 16:18:41 +0000 (18:18 +0200)]
update TODO
Kay Sievers [Tue, 2 Oct 2012 16:04:18 +0000 (18:04 +0200)]
update TODO
Dave Reisner [Tue, 2 Oct 2012 15:52:29 +0000 (11:52 -0400)]
man: fix invalid links to generator wiki pages
s/Generator/Generators/
Lukas Nykryn [Mon, 1 Oct 2012 07:53:33 +0000 (09:53 +0200)]
journald: assert target instead of page
page is a local, yet unitialized, variable.
Zbigniew Jędrzejewski-Szmek [Tue, 2 Oct 2012 12:42:10 +0000 (14:42 +0200)]
shared: fail mkdir_p if the target exists and is not a directory
This makes mkdir_p actually behave like mkdir -p.
Zbigniew Jędrzejewski-Szmek [Tue, 2 Oct 2012 08:58:31 +0000 (10:58 +0200)]
nspawn: use automatic cleanup and provide debug info
The documentation for --link-journal is also reworded.
Zbigniew Jędrzejewski-Szmek [Tue, 2 Oct 2012 07:38:37 +0000 (09:38 +0200)]
trivial: fix typo
Tollef Fog Heen [Mon, 1 Oct 2012 19:48:15 +0000 (21:48 +0200)]
Minor typo
Tollef Fog Heen [Mon, 1 Oct 2012 19:40:58 +0000 (21:40 +0200)]
Be consistent about "." vs no "." at the end of lines"
Lennart Poettering [Mon, 1 Oct 2012 18:50:00 +0000 (14:50 -0400)]
pam: check environ[] for XDG_SEAT as fallback
This is useful for systems such as kmscon which want to invoke classic
/sbin/login but use it on multiple seats.
Daniel J Walsh [Fri, 28 Sep 2012 14:26:59 +0000 (10:26 -0400)]
selinux: fix various problems
Lennart Poettering [Fri, 28 Sep 2012 13:42:34 +0000 (15:42 +0200)]
journald: rework auto-rotation logic
Lennart Poettering [Fri, 28 Sep 2012 13:41:20 +0000 (15:41 +0200)]
journald: close sd_journal context after flushing to /var
Dave Reisner [Fri, 28 Sep 2012 00:48:13 +0000 (20:48 -0400)]
tmpfiles: restore previous behavior for F/f
d4e9eb91ea changed the behavior for the F and f actions, wrongly sending
them to glob_item(). Restore the old behavior and shortcut straight to
write_one_file().
Lennart Poettering [Fri, 28 Sep 2012 00:18:55 +0000 (02:18 +0200)]
man: correct the default logging rate limit to actually say what the code implements
Lennart Poettering [Thu, 27 Sep 2012 23:34:38 +0000 (01:34 +0200)]
build-sys: prepare 193
Lennart Poettering [Thu, 27 Sep 2012 22:59:10 +0000 (00:59 +0200)]
journal: add missing browse.html file
Lennart Poettering [Thu, 27 Sep 2012 22:46:32 +0000 (00:46 +0200)]
journal: add minimal journal gateway daemon based on GNU libmicrohttpd
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/
Lennart Poettering [Thu, 27 Sep 2012 21:28:54 +0000 (23:28 +0200)]
sd-journal: properly parse cursor strings
Lennart Poettering [Thu, 27 Sep 2012 21:27:10 +0000 (23:27 +0200)]
logs-show: various cleanups
Among other cleanups this introduces a threshold for the size of binary
blobs we serialize as integer arrays in the JSON output. THis can be
disabled via --all.
Lennart Poettering [Thu, 27 Sep 2012 21:25:23 +0000 (23:25 +0200)]
journalctl: add --cursor switch
Lennart Poettering [Thu, 27 Sep 2012 15:18:13 +0000 (17:18 +0200)]
update TODO
Lennart Poettering [Thu, 27 Sep 2012 15:18:08 +0000 (17:18 +0200)]
build-sys: bump revision
Tom Gundersen [Thu, 27 Sep 2012 14:36:44 +0000 (16:36 +0200)]
udev: don't let systemd-udev-settle delay basic.target
It is no longer possible to manually enable systemd-udev-settle.service,
so its only use is by legacy services explicitly pulling it in. It makes
sense for these services to also explicitly order themselves after
udev-settle.service, which makes After=basic.target redundant.
This should reduce the negative effect on boot-time of having to enable
legacy services such as lvm.service.
Robert Milasan [Thu, 27 Sep 2012 13:51:58 +0000 (15:51 +0200)]
udev: collect - use snprintf()
Kay Sievers [Thu, 27 Sep 2012 13:16:03 +0000 (15:16 +0200)]
udev: remove Install section from systemd-udev-settle.service
Legacy tool on-demand pull-in the settling, it should never run
by default, nothing orders against is anyway.
Lennart Poettering [Tue, 25 Sep 2012 20:23:57 +0000 (22:23 +0200)]
build-sys: prepare release 192