chiark / gitweb /
Lennart Poettering [Mon, 21 Jan 2013 02:19:36 +0000 (03:19 +0100)]
update TODO
Lennart Poettering [Mon, 21 Jan 2013 00:28:13 +0000 (01:28 +0100)]
update TODO
Lennart Poettering [Mon, 21 Jan 2013 00:27:32 +0000 (01:27 +0100)]
efi: set a nice description string in the ESP units
Lennart Poettering [Mon, 21 Jan 2013 00:12:51 +0000 (01:12 +0100)]
efi: properly create symlink dir
Lennart Poettering [Mon, 21 Jan 2013 00:04:05 +0000 (01:04 +0100)]
build-sys: add makefile to bootchart
Lennart Poettering [Mon, 21 Jan 2013 00:02:53 +0000 (01:02 +0100)]
efi: add efi boot generator that automatically mounts the ESP to /boot
Lennart Poettering [Sat, 19 Jan 2013 03:41:33 +0000 (04:41 +0100)]
util: move is_efiboot() to efivars.c
Kay Sievers [Sun, 20 Jan 2013 15:18:00 +0000 (16:18 +0100)]
shutdown: loop - convert to enumerate match
Kay Sievers [Sun, 20 Jan 2013 03:12:29 +0000 (04:12 +0100)]
TODO: update loader variables
Jonathan Callen [Wed, 25 Jul 2012 02:45:22 +0000 (22:45 -0400)]
execute: Fix seccomp support on x32
In the x32 ABI, syscall numbers start at 0x40000000. Mask that bit on
x32 for lookups in the syscall_names array and syscall_filter and ensure
that syscall.h is parsed correctly.
[zj: added SYSCALL_TO_INDEX, INDEX_TO_SYSCALL macros.]
Kay Sievers [Sat, 19 Jan 2013 15:01:26 +0000 (16:01 +0100)]
udev: net_id - add link to the wiki page
Lennart Poettering [Sat, 19 Jan 2013 03:20:23 +0000 (04:20 +0100)]
core: if the bootloader supports it, determine firmware and boot loader delay
This allows us to print simple performance data of all parts of the boot now:
- firmware
- boot loader
- kernel
- initrd
- userspace
This only works for bootloaders which support passing TSC data via EFI
variables. As of now that's only gummiboot.
Michał Bartoszkiewicz [Fri, 18 Jan 2013 20:33:59 +0000 (21:33 +0100)]
tmpfiles: do not make /run/nologin executable
Lennart Poettering [Sat, 19 Jan 2013 01:11:01 +0000 (02:11 +0100)]
update TODO
Lennart Poettering [Sat, 19 Jan 2013 00:18:01 +0000 (01:18 +0100)]
unit: fix typo
Lennart Poettering [Sat, 19 Jan 2013 00:13:52 +0000 (01:13 +0100)]
update TODO
Lennart Poettering [Thu, 17 Jan 2013 20:20:23 +0000 (21:20 +0100)]
update TODO
Lennart Poettering [Sat, 19 Jan 2013 00:01:41 +0000 (01:01 +0100)]
unit: optionally allow making cgroup attribute changes persistent
Lennart Poettering [Fri, 18 Jan 2013 23:59:19 +0000 (00:59 +0100)]
cgroup: additional validity checks for cgroup attribute names
Lennart Poettering [Fri, 18 Jan 2013 23:11:45 +0000 (00:11 +0100)]
update TODO
Lennart Poettering [Fri, 18 Jan 2013 23:11:36 +0000 (00:11 +0100)]
build-sys: prune the list of directories we create on install
Zbigniew Jędrzejewski-Szmek [Fri, 18 Jan 2013 21:49:48 +0000 (16:49 -0500)]
build-sys: add autoconf macro to pick macro for x32 compatibility
Lennart Poettering [Fri, 18 Jan 2013 17:22:55 +0000 (18:22 +0100)]
man: update suggested yum command line in nspawn(1)
Lennart Poettering [Fri, 18 Jan 2013 17:13:01 +0000 (18:13 +0100)]
nspawn: add audit caps to default set to keep
Due to the brokeness of much of the userspace audit code we cannot
really start too many systems without the audit caps set. To make nspawn
easier to use just add the audit caps by default.
To boot up containers successfully the kernel's auditing needs to be
turned off still (use "audit=0" on the kernel command line), but at
least no manual caps have to be passed anymore.
In the long run auditing will be fixed for containers and ve virtualized
properly at which time it should be safe to enable these caps anyway.
Zbigniew Jędrzejewski-Szmek [Fri, 18 Jan 2013 06:13:27 +0000 (01:13 -0500)]
core/cgroup-util: simplify functions and add tests
Zbigniew Jędrzejewski-Szmek [Fri, 18 Jan 2013 06:13:26 +0000 (01:13 -0500)]
core/group-util: merge two functions
Mirco Tischler [Thu, 17 Jan 2013 17:55:09 +0000 (18:55 +0100)]
man: document the _SYSTEMD_USER_UNIT journal field
Mirco Tischler [Thu, 17 Jan 2013 17:55:08 +0000 (18:55 +0100)]
systemctl: print the user session journal for user session units.
Mirco Tischler [Thu, 17 Jan 2013 17:55:07 +0000 (18:55 +0100)]
logs-show: add show_journal_by_user_unit
Print the journal for a user session unit. For now this filters by
_SYSTEMD_USER_UNIT and USER_UNIT and additionally _UID.
Mirco Tischler [Thu, 17 Jan 2013 17:55:06 +0000 (18:55 +0100)]
core: log USER_UNIT instead of UNIT if in user session
Mirco Tischler [Thu, 17 Jan 2013 17:55:05 +0000 (18:55 +0100)]
journal: log _SYSTEMD_USER_UNIT for user session units
Zbigniew Jędrzejewski-Szmek [Fri, 18 Jan 2013 15:57:11 +0000 (10:57 -0500)]
util: modernization and test for load_env_file
Michal Vyskocil [Fri, 18 Jan 2013 09:05:10 +0000 (10:05 +0100)]
util: continuation support for load_env_file
Variable definitions can be written on more than one line - if each ends
with a backslash, then is concatenated with a previous one. Only
backslash and unix end of line (\n) are treated as a continuation.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=58083
[zj: squashed two patches together; cleaned up grammar; removed
comment about ignoring trailing backslash -- it is not ignored.]
Document continuation support in systemd.exec
Zbigniew Jędrzejewski-Szmek [Fri, 18 Jan 2013 06:41:01 +0000 (01:41 -0500)]
journal-gatewayd,man: document new HTTPS options
Zbigniew Jędrzejewski-Szmek [Thu, 17 Jan 2013 06:53:01 +0000 (01:53 -0500)]
journal-gatewayd: return nice error on unsupported methods
Returns "HTTP/1.0 406 Not Acceptable" instead of silently
closing the connection.
Zbigniew Jędrzejewski-Szmek [Wed, 28 Nov 2012 17:32:01 +0000 (18:32 +0100)]
journal-gatewayd: allow pipelining
The request must not be answered immediately (at first call to
response_handler()), but on the second. This is also important
for authentication, which cannot be performed on the first call.
Before:
% wget -O/dev/null -S https://localhost:19531/
--2012-11-28 18:29:43-- https://localhost:19531/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:19531... connected.
HTTP request sent, awaiting response...
HTTP/1.1 301 Moved Permanently
Connection: close
Content-Length: 87
Location: /browse
Content-Type: text/html
Date: Wed, 28 Nov 2012 17:29:44 GMT
Location: /browse [following]
--2012-11-28 18:29:43-- https://localhost:19531/browse
Connecting to localhost (localhost)|127.0.0.1|:19531... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Connection: close
Content-Length: 23260
Content-Type: text/html
Date: Wed, 28 Nov 2012 17:29:44 GMT
Length: 23260 (23K) [text/html]
After:
% wget --no-check-certificate -O/dev/null -S https://localhost:19531/
--2012-11-28 18:30:05-- https://localhost:19531/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:19531... connected.
HTTP request sent, awaiting response...
HTTP/1.1 301 Moved Permanently
Content-Length: 87
Location: /browse
Content-Type: text/html
Date: Wed, 28 Nov 2012 17:30:05 GMT
Location: /browse [following]
--2012-11-28 18:30:05-- https://localhost:19531/browse
Reusing existing connection to localhost:19531.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Content-Length: 23260
Content-Type: text/html
Date: Wed, 28 Nov 2012 17:30:06 GMT
Length: 23260 (23K) [text/html]
Zbigniew Jędrzejewski-Szmek [Wed, 28 Nov 2012 17:00:09 +0000 (18:00 +0100)]
journal-gatewayd: always log oom() in addition to returning error
Zbigniew Jędrzejewski-Szmek [Mon, 26 Nov 2012 15:39:46 +0000 (16:39 +0100)]
share/log: skip file/line/func info if empty
The new microhttpd logger doesn't know this information. It is
better to log nothing than fake values.
Zbigniew Jędrzejewski-Szmek [Mon, 26 Nov 2012 15:39:46 +0000 (16:39 +0100)]
share/log: unify two code paths
Explicit zeroing is replaced with initialization to {0}.
No functional change.
Zbigniew Jędrzejewski-Szmek [Sun, 25 Nov 2012 22:54:31 +0000 (23:54 +0100)]
journal-gatewayd: redirect microhttpd messages to journal
A prefix ("microhttpd: ") is added to the log lines to make it easy to
distinguish the source.
Zbigniew Jędrzejewski-Szmek [Sun, 25 Nov 2012 22:26:15 +0000 (23:26 +0100)]
journal-gatewayd: SSL support
For now the certificates are passed around as options to the
program. This might not be the most convenient under "production",
but makes for fairly easy testing.
Zbigniew Jędrzejewski-Szmek [Sun, 25 Nov 2012 22:21:22 +0000 (23:21 +0100)]
journal-gatewayd: unify two code paths
In preparation for adding more options, split out the option
handling code.
Zbigniew Jędrzejewski-Szmek [Fri, 18 Jan 2013 04:49:05 +0000 (23:49 -0500)]
build-sys: keep noninstallable tests in noinst_tests
Repeating all tests in noinst_PROGRAMS and TESTS is pointless.
This way it is also clearer which noinst_PROGRAMs are not
part of the test suite.
Lennart Poettering [Fri, 18 Jan 2013 00:48:46 +0000 (01:48 +0100)]
update TODO
Lennart Poettering [Fri, 18 Jan 2013 00:44:41 +0000 (01:44 +0100)]
systemctl: add new "get-cgroup-attr" to query current cgroup attribute value
Also adds a pair of bus calls for this to the daemon.
Lennart Poettering [Thu, 17 Jan 2013 23:53:06 +0000 (00:53 +0100)]
systemctl: it's probably a good idea not to alter return parameters if we fail
We generally follow the rule not to touch return values unless we
succeed, so for the sake of uniformity do the same here.
Lennart Poettering [Thu, 17 Jan 2013 23:52:45 +0000 (00:52 +0100)]
systemctl: no need to check this explicitly, we already checked it a few lines up anyway, so let's just assert
Lennart Poettering [Thu, 17 Jan 2013 23:51:46 +0000 (00:51 +0100)]
systemctl: we can make this faster and shorten it a bit with strv_extend()
Now that strv_extend() is not so slow anymore, we can make use of it, to
shorten our code a bit.
Lennart Poettering [Thu, 17 Jan 2013 23:47:19 +0000 (00:47 +0100)]
strv: make strv_extend() smarter
Lennart Poettering [Thu, 17 Jan 2013 23:36:12 +0000 (00:36 +0100)]
systemctl: make list-dependencies default to default.target
Lennart Poettering [Thu, 17 Jan 2013 23:29:47 +0000 (00:29 +0100)]
systemctl: we can use nulstr_contains() for this lookup
It's a bit easier to read...
Kay Sievers [Thu, 17 Jan 2013 23:15:25 +0000 (00:15 +0100)]
hwdb: update
Lukas Nykryn [Thu, 17 Jan 2013 20:34:11 +0000 (21:34 +0100)]
systemctl add command list-dependencies
systemctl list-dependencies lists all unit's dependecies and
recursively expands all subsidiary target units into a tree.
Primary purpose for this command is to show all units which are
enabled in specified target.
Lennart Poettering [Thu, 17 Jan 2013 16:38:00 +0000 (17:38 +0100)]
util: fix bad memory access
Kay Sievers [Thu, 17 Jan 2013 16:00:50 +0000 (17:00 +0100)]
TODO: remove vconsole items
We should not pimp up the kernel's VC stuff, it's too linited and
fragile.
At the moment not even the font uploaded early during bootup does
survive the KMS driver taking over the framebuffer driver. We
surely don't want to make promises about colors or resolution.
The future is fullscreen KMS/kmscon/wayland/... based terminals using
X fonts, keymaps, input methods, and not the old school too limited
kernel VC stuff. So leave the kernel VCs as they are, and don't expect
wonders.
Nestor Ovroy [Thu, 17 Jan 2013 13:55:30 +0000 (05:55 -0800)]
core: corrects check of strduped controller string
In commit
246aa6d (core: add bus API and systemctl commands for altering
cgroup parameters during runtime), when rewriting unit_add_one_default_cgroup
to prefered style, the check of strduped b->controller was incorrectly
changed to check the containing structure. Correct it.
Lennart Poettering [Thu, 17 Jan 2013 03:52:19 +0000 (04:52 +0100)]
service: properly signal permanent failure of a service to its socket
This makes sure that a service is not indefinitely restarted in a tight
loop if it fails before it is able to process its socket.
This corrects the breakage introduced with
8d1b002a2e389e79a2414491523de549783abf73. Shame on me.
Kay Sievers [Thu, 17 Jan 2013 02:30:55 +0000 (03:30 +0100)]
TODO: update udev
Kay Sievers [Thu, 17 Jan 2013 02:30:07 +0000 (03:30 +0100)]
udev: net_id - suppress bcma core == 0
Lennart Poettering [Thu, 17 Jan 2013 01:49:57 +0000 (02:49 +0100)]
update TODO
Lennart Poettering [Thu, 17 Jan 2013 01:27:06 +0000 (02:27 +0100)]
units: for all unit settings that take lists, allow the empty string for resetting the lists
https://bugzilla.redhat.com/show_bug.cgi?id=756787
Lennart Poettering [Thu, 17 Jan 2013 01:24:49 +0000 (02:24 +0100)]
dbus: add Unit's PartOf and ConsistsOf deps to introspection XML
Kay Sievers [Thu, 17 Jan 2013 01:09:49 +0000 (02:09 +0100)]
udev: net_id - handle "bcma" buses
Lennart Poettering [Wed, 16 Jan 2013 23:11:27 +0000 (00:11 +0100)]
update TODO
Kay Sievers [Wed, 16 Jan 2013 23:00:02 +0000 (00:00 +0100)]
udev: path_id - clarify comment about the kernel ATA naming problem
Lennart Poettering [Wed, 16 Jan 2013 20:09:03 +0000 (21:09 +0100)]
service: ignore dependencies on $syslog and $local_fs in LSB scripts
We no longer allow early-boot init scripts, however in late boot the
syslog socket and local mounts are established anyway, so let's simplify
our dep graph a bit.
If $syslog doesn't resolve to syslog.target anymore there's no reason to
keep syslog.target around anymore. Let's remove it.
Note that many 3rd party service unit files order themselves after
syslog.target. These will be dangling dependencies now, which should be
unproblematic, however.
Thomas Hindoe Paaboel Andersen [Wed, 16 Jan 2013 20:01:30 +0000 (21:01 +0100)]
man: typo fixes
Lukas Nykryn [Mon, 14 Jan 2013 17:16:50 +0000 (18:16 +0100)]
systemctl,loginctl,cgls: do not ellipsize cgroup members when --full is specified
New file output.h with output flags and modes.
--full parameter also for cgls and loginctl.
Include 'all' parameter in flags (show_cgroup_by_path, show_cgroup,
show_cgroup_and_extra, show_cgroup_and_extra_by_spec).
get_process_cmdline with max_length == 0 will not ellipsize output.
Replace LINE_MAX with 0 in some calls of get_process_cmdline.
[zj: Default to --full when under pager for clgs.
Drop '-f' since it wasn't documented and didn't actually work.
Reindent a bit.
]
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 20:02:00 +0000 (15:02 -0500)]
logs-show: automatic cleanup
Lennart Poettering [Wed, 16 Jan 2013 16:57:08 +0000 (17:57 +0100)]
man: document logind's IdleAction= and IdleActionSec=
Kay Sievers [Wed, 16 Jan 2013 04:02:53 +0000 (05:02 +0100)]
TODO: Fedora 19 - /var/log/journal/
Kay Sievers [Wed, 16 Jan 2013 04:01:04 +0000 (05:01 +0100)]
TODO: add autofs expire details
Kay Sievers [Wed, 16 Jan 2013 03:35:54 +0000 (04:35 +0100)]
shutdown: ignore loop devices without a backing file
Kay Sievers [Wed, 16 Jan 2013 03:22:46 +0000 (04:22 +0100)]
TODO: update
Kay Sievers [Wed, 16 Jan 2013 03:20:14 +0000 (04:20 +0100)]
doc: disable "make check" for gtk-doc
Kay Sievers [Wed, 16 Jan 2013 02:46:38 +0000 (03:46 +0100)]
service: sysv - remove distribution specific targets
Systemd should not introduce any new facilities. Distributions which still
need to support their non-standard/legacy facilities should add them as
patches to their packaging.
The following facilities are no longer recognized:
$x-display-manager
$mail-transfer-agent
$mail-transport-agent
$mail-transfer-agent
$smtp
$null
This target is no longer available:
mail-transfer-agent.target
Lennart Poettering [Wed, 16 Jan 2013 02:51:56 +0000 (03:51 +0100)]
shutdown: in the final umount loop don't use MNT_FORCE
MNT_FORCE is honoured by NFS and FUSE and allows unmounting of the FS
even if consumers still use it. For our brute-force loop we rely on
EBUSY being reported as long as a file system is still used by a
loopback device or suchlike. Hence, drop MNT_FORCE to make EBUSY
reliable.
Dave Reisner [Tue, 15 Jan 2013 23:49:31 +0000 (18:49 -0500)]
systemctl: fix assertion hit by incorrect comparison
Lennart Poettering [Tue, 15 Jan 2013 20:45:37 +0000 (21:45 +0100)]
load-fragment: fix bad memory access
Lennart Poettering [Tue, 15 Jan 2013 20:37:17 +0000 (21:37 +0100)]
load-fragment: replace specifiers in path unit's Unit= setting
Michał Bartoszkiewicz [Sat, 12 Jan 2013 22:05:52 +0000 (23:05 +0100)]
core: do not make sockets dependent on lo
/sys/subsystem/net/devices/lo is never considered active, so sockets
with BindToDevice=lo would never be activated.
David Herrmann [Sun, 13 Jan 2013 11:28:38 +0000 (12:28 +0100)]
journalctl: quit on I/O error
This makes journalctl quit on ferror() conditions on stdout. It fixes an
annoying bug if you pipe its output through 'less' and press 'q'. Without
this fix journalctl will continue reading all journal data until EOF which
can take quite some time. For instance on my machine:
david-nb ~ # time journalctl | wc -l
327240
real 1m13.039s
user 1m0.217s
sys 0m10.467s
However, expected behavior is journalctl to quit when its pager closed the
output pipe.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Lennart Poettering [Tue, 15 Jan 2013 19:50:18 +0000 (20:50 +0100)]
update TODO
Michal Sekletar [Fri, 11 Jan 2013 16:06:23 +0000 (17:06 +0100)]
logind: remove unused variable
Michal Sekletar [Fri, 11 Jan 2013 16:06:22 +0000 (17:06 +0100)]
core: use correct argument of type JobResult
Kay Sievers [Tue, 15 Jan 2013 19:32:57 +0000 (20:32 +0100)]
vconsole: use /dev/vcsa1-15 to check for allocated VTs
Lennart Poettering [Tue, 15 Jan 2013 17:17:53 +0000 (18:17 +0100)]
man: add reference to wiki doc from DefaultControllers= setting
Lennart Poettering [Tue, 15 Jan 2013 17:13:34 +0000 (18:13 +0100)]
units: add reference to new wiki page to all api mount units
Lennart Poettering [Tue, 15 Jan 2013 17:13:15 +0000 (18:13 +0100)]
update TODO
Lennart Poettering [Tue, 15 Jan 2013 17:10:11 +0000 (18:10 +0100)]
man: correct order of precedence for fstab units
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 15:34:59 +0000 (10:34 -0500)]
make-man-index: work around UnicodeDecodeError
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 03:17:49 +0000 (22:17 -0500)]
man: generate xml not html for index
This way we also get a man page. The output is not as polished.
I hope that it doesn't matter too much.
index.html is not generated now, the page is called
systemd.index.html. If necessary, an install hook should be added.
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 03:08:33 +0000 (22:08 -0500)]
man: add links to directive index to see-alsos
systemd.directives(5) is renamed to systemd.directives(7).
Section 7 is "Miscellaneous".
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 02:58:22 +0000 (21:58 -0500)]
make-directive-index: link to systemd options
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 02:34:19 +0000 (21:34 -0500)]
make-directive-index: count how many directives and pages are shown
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 02:02:49 +0000 (21:02 -0500)]
make-directive-index: remove duplicated list of sections
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 01:18:36 +0000 (20:18 -0500)]
man: add bootchart.conf to directives index
Lennart Poettering [Tue, 15 Jan 2013 15:27:11 +0000 (16:27 +0100)]
localectl: fix typo in man page
https://bugs.freedesktop.org/show_bug.cgi?id=59247
Kay Sievers [Tue, 15 Jan 2013 14:57:12 +0000 (15:57 +0100)]
vconsole: copy font to tty1-15
Oleksii Shevchuk [Tue, 15 Jan 2013 10:58:42 +0000 (12:58 +0200)]
Typo fix