c7472ce088fe5f062fcc7a71cf3c797fbdc58ddd |
|
29-Jan-2016 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
test-resolve-tables: new "test", useful to print mappings |
7e7d8ffc7f5a81b00806082531014b98a26da639 |
|
27-Jan-2016 |
Sylvain Plantefève <sylvain.plantefeve@gmail.com> |
.gitignore: add test-ask-password-api |
0c5eb0562abec6f845f07c30b2ad2515900ec1e5 |
|
27-Jan-2016 |
Lennart Poettering <lennart@poettering.net> |
nss: block various signals while running NSS lookups
Let's make sure our poll() calls don't get interrupted where they shouldn't (SIGALRM, ...), but allow them to be
interrupted where they should (SIGINT, ...).
Fixes #1965 |
b5eb973b39665d6a66f5a498fbdb511765e646e2 |
|
25-Jan-2016 |
Lennart Poettering <lennart@poettering.net> |
resolve: rename "systemd-resolve-host" tool to simply "systemd-resolve"
The tool resolves way more than just hosts, hence give it a more generic name. This should be safe, as the tool is
currently undocumented. Before we add documentation for it, let's get the name right.
This also moves the C source into src/resolve/ (from src/resolve-host/), since the old name is a misnomer now. Also,
since it links directly to many of the C files of resolved it really belongs into resolved's directory anyway. |
ecab97b280c509801af386e747d6ba19d43f4454 |
|
21-Jan-2016 |
Evgeny Vereshchagin <evvers@ya.ru> |
.gitignore: add test-dnssec-complex
This is a follow-up for 412577e |
a0e4cae82065edae47885614d73c534171aa8f7b |
|
07-Dec-2015 |
David Herrmann <dh.herrmann@gmail.com> |
basic: add RB-Tree implementation
This adds an self-standing RB-Tree implementation to src/basic/. This
will be needed for NSEC RR lookups, since we need "close lookups", which
hashmaps (not even ordered-hashmaps) can give us in reasonable time. |
fe39daf2c13d60421f8965f617125b3bff50645c |
|
07-Dec-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: add test-rlimit-util |
eb588312e8ff21d1fa315c48e07d7cb93d7f183f |
|
04-Dec-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
.gitignore: add test-dnssec
This is a follow-up for 2b442ac87838be7c326 |
5bb5b236fe8c663b7d4db5ccaf3e3e7942bf6abd |
|
29-Nov-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
test-acl-util: add new test
For now, only add_acls_for_user is tested. When run under root, it
actually sets the acls. When run under non-root, it sets the acls for
the user, which does nothing, but at least calls the functions. |
8cb9bee994d61547f739d4fd731ae25c72c98004 |
|
19-Nov-2015 |
Martin Pitt <martin.pitt@ubuntu.com> |
gitignore: only ignore .html files in man/
src/journal-remote/browse.html is git-tracked source and should not be ignored.
Avoid accidentally ignoring similar ones in the future. |
23bfbe7fdb85b1c8749101810e9f34e36fd42731 |
|
15-Nov-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
gitignore: add test-install-root |
0f8980e48bfffebd54d58b1f48bd392ef01cb96e |
|
03-Nov-2015 |
Tom Gundersen <teg@jklm.no> |
sd-pppoe: drop
It is really unclear if we want to / have the resources to support this fully, so drop it
for now. It can easily be brought back if a killer usecase emerges.
Note that this code was never hooked up, so this does not remove any features. |
9fe4ea21bec739bfe0ebac5565f0539b0e25b317 |
|
02-Nov-2015 |
Lennart Poettering <lennart@poettering.net> |
string-util: rework memory_erase() so that it cannot be optimized away
memory_erase() so far just called memset(), which the compiler might
optimize away under certain conditions if it feels there's benefit in
it. C11 knows a new memset_s() call that is like memset(), but may not
be optimized away. Ideally, we'd just use that call, but glibc currently
does not support it. Hence, implement our own simplistic version of it.
We use a GCC pragma to turn off optimization for this call, and also use
the "volatile" keyword on the pointers to ensure that gcc will use the
pointers as-is. According to a variety of internet sources, either one
does the trick. However, there are also reports that at least the
volatile thing isn't fully correct, hence let's add some snake oil and
employ both techniques.
https://news.ycombinator.com/item?id=4711346 |
bb269eed0e447a2f973677246959b403d480ed63 |
|
28-Oct-2015 |
Filipe Brandenburger <filbranden@google.com> |
test-parse-util: Move parse-util tests into their own test case
Tests for the functions defined in src/basic/parse-util.c. Reorder them
to match the order in which the functions are defined in the source
file. Adjusted the list of include files to remove the ones no longer
needed in test-util.c.
Tested that `make check` still passes as expected. Also checked the
number of lines removed from test-util.c matches the expected, as an
additional verification that no tests were dropped or duplicated in the
move. |
23a3c916179873d755b863d14b14c6e7f4d0f2de |
|
28-Oct-2015 |
Filipe Brandenburger <filbranden@google.com> |
test-extract-word: Move extract-word tests into their own test case
Tests for the functions defined in src/basic/extract-word.c.
Tested that `make check` still passes as expected. |
d8c3019b02051bb3252bb9054cde340124bf274f |
|
28-Oct-2015 |
Filipe Brandenburger <filbranden@google.com> |
build-sys: Keep .gitignore sorted
Let's try to keep it that way! :-) |
d02608170e599b1ffbc7c9a22062bae2579d6e36 |
|
26-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util: remove lookup_uid(), replace by uid_to_name()
So far we had two pretty much identical calls in user-util.[ch]:
lookup_uid() and uid_to_name(). Get rid of the former, in favour of the
latter, and while we are at it, rewrite it, to use getpwuid_r()
correctly, inside an allocation loop, as POSIX intended. |
3ad0c5d8a4e2e2fa7ffcccd7f3457f577908494e |
|
22-Oct-2015 |
Tom Gundersen <teg@jklm.no> |
sd-icmp6-nd: rename files to sd-ndisc
The actual code rename will follow. The reason for the change of name is to make it
simpler and more uniform with how we name other libraries (we don't include the
underlying protocol). The new name also matches the naming in the kernel (which
is particularly relevent here as we expect to let the kernel do some parts of
the protocol and we do others). |
a245d90a898c2e1a77258aeb4b8a189ec771e804 |
|
05-Oct-2015 |
Tom Gundersen <teg@jklm.no> |
test: siphash24 - add regression test |
4a9b1dd4ad38e54e6b7df99fe3366ceddd1fa572 |
|
29-Sep-2015 |
Lennart Poettering <lennart@poettering.net> |
machine-id-commit: merge machine-id-commit functionality into machine-id-setup
And remove machine-id-commit as separate binary.
There's really no point in keeping this separate, as the sources are
pretty much identical, and have pretty identical interfaces. Let's unify
this in one binary.
Given that machine-id-commit was a private binary of systemd (shipped in
/usr/lib/) removing the tool is not an API break.
While we are at it, improve the documentation of the command substantially. |
6cf0d77955238db8f0f7f1f26a3691f72fb29a94 |
|
22-Sep-2015 |
Filipe Brandenburger <filbranden@google.com> |
build-sys: add new test binaries to .gitignore |
8fb494435889dcb9e1c09b8c7220e47bab717bf9 |
|
06-Aug-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
hostname-util: add relax parameter to hostname_is_valid
Tests are modified to check behaviour with relax and without relax.
New tests are added for hostname_cleanup().
Tests are moved a new file (test-hostname-util) because there's
now a bunch of them.
New parameter is not used anywhere, except in tests, so there should
be no observable change. |
da8ba7219aefc174da48b21047d8236e9d0bfe66 |
|
31-Jul-2015 |
Daniel Mack <daniel@zonque.org> |
test: add test for static lists
Test af-list and arphdr-list. |
59512f21d77d984cf1363fb0d1770218c5e17020 |
|
29-Jul-2015 |
Kay Sievers <kay@vrfy.org> |
gpt-auto-generator: merge efi-boot-generator |
d537694a987bbb01e780bd5abe9412722fc38faa |
|
27-Jul-2015 |
David Herrmann <dh.herrmann@gmail.com> |
terminal: drop unfinished code
This drops the libsystemd-terminal and systemd-consoled code for various
reasons:
* It's been sitting there unfinished for over a year now and won't get
finished any time soon.
* Since its initial creation, several parts need significant rework: The
input handling should be replaced with the now commonly used libinput,
the drm accessors should coordinate the handling of mode-object
hotplugging (including split connectors) with other DRM users, and the
internal library users should be converted to sd-device and friends.
* There is still significant kernel work required before sd-console is
really useful. This includes, but is not limited to, simpledrm and
drmlog.
* The authority daemon is needed before all this code can be used for
real. And this will definitely take a lot more time to get done as
no-one else is currently working on this, but me.
* kdbus maintenance has taken up way more time than I thought and it has
much higher priority. I don't see me spending much time on the
terminal code in the near future.
If anyone intends to hack on this, please feel free to contact me. I'll
gladly help you out with any issues. Once kdbus and authorityd are
finished (whenever that will be..) I'll definitely pick this up again. But
until then, lets reduce compile times and maintenance efforts on this code
and drop it for now. |
304ae2b9a19cd014a7f93830103bb4694efd841f |
|
16-Jul-2015 |
David Herrmann <dh.herrmann@gmail.com> |
build: add ./test-bitmap to .gitignore
Make sure to ignore build files of Tom's recent test-bitmap addition. |
9afd2b46f2bec53b949bda55f718ca62494a8d06 |
|
16-Jul-2015 |
David Herrmann <dh.herrmann@gmail.com> |
sd-bus: add new test for NameAcquired via proxy/dbus-daemon
This adds test-bus-proxy which should be used to test correct behavior of
systemd-bus-proxyd. The first test that was added is to verify we actually
receive NameAcquired signals for ourselves on bus-connect. |
0051ebf7e59258e3bd3e21765bbfad355806664e |
|
27-Jun-2015 |
Bastien Nocera <hadess@hadess.net> |
udev: Remove accelerometer helper
It's moved to the iio-sensor-proxy D-Bus service. |
12c2884c552de25bc9c6155cafff619f6c1766b3 |
|
15-Jun-2015 |
Daniel Mack <daniel@zonque.org> |
firewall: rename fw-util.[ch] → firewall-util.[ch]
The names fw-util.[ch] are too ambiguous, better rename the files to
firewall-util.[ch]. Also rename the test accordingly. |
1c4baffc1895809bae9ac36b670af90a4cb9cd7d |
|
13-Jun-2015 |
Tom Gundersen <teg@jklm.no> |
sd-netlink: rename from sd-rtnl |
2375607039517c88df51ef16ddbb624ec1c10654 |
|
03-Jun-2015 |
Kay Sievers <kay@vrfy.org> |
remove gudev and gtk-doc
The library moved to:
https://git.gnome.org/browse/libgudev/ |
0763adbed5635c5eb57fc46b0b989877b3d88da6 |
|
30-May-2015 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
tests: add test-conf-parser |
008e7d393a5ec662d67584d158d3a28d8154267d |
|
15-May-2015 |
Łukasz Stelmach <l.stelmach@samsung.com> |
.gitignore: add GNU GLOBAL files |
a9beb123d19304fa6999f63d755a2bda585c1f5b |
|
29-Apr-2015 |
Tom Gundersen <teg@jklm.no> |
test: rename test-bus-kernel-benchmark to test-bus-benchmark
This can now benchmark more than just kdbus. |
96d9117ad2db7d8c13f7898127eee8939e88daf1 |
|
28-Apr-2015 |
Lennart Poettering <lennart@poettering.net> |
fsck: remove fsckd again, but keep the door open for external replacement
For a longer discussion see this:
http://lists.freedesktop.org/archives/systemd-devel/2015-April/030175.html
This introduces /run/systemd/fsck.progress as a simply
AF_UNIX/SOCK_STREAM socket. If it exists and is connectable we'll
connect fsck's -c switch with it. If external programs want to get
progress data they should hence listen on this socket and will get
all they need via that socket. To get information about the connecting
fsck client they should use SO_PEERCRED.
Unless /run/systemd/fsck.progress is around and connectable this change
reverts back to v219 behaviour where we'd forward fsck output to
/dev/console on our own. |
d6b07ef796abeaf3ab32c70e32be4857fef93481 |
|
24-Apr-2015 |
Daniel Mack <daniel@zonque.org> |
shutdownd: kill the old implementation
Not that all functionality has been ported over to logind, the old
implementation can be removed. There goes one of the oldest parts of
the systemd code base. |
8bb3626dac93c0157989fb87afe0212958d7dbb4 |
|
24-Apr-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journal: use audit event names instead of numbers
<audit-1400> is replaced by AVC, etc.
A fallback mechanism is provided for unlisted event types.
Occasionally new types are added to the kernel, but not too often.
Add a simple "test", which simply prints the mapping. |
288a74cce597f81d3ba01d8a5ca7d2ba5b654b7e |
|
11-Apr-2015 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
shared: add terminal-util.[ch] |
0b452006de98294d1690f045f6ea2f7f6630ec3b |
|
10-Apr-2015 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
shared: add process-util.[ch] |
587fec427c80b6c34dcf1d7570f891fcb652a7c5 |
|
09-Mar-2015 |
Lennart Poettering <lennart@poettering.net> |
importd: add API for exporting container/VM images
Also, expose it in machinectl. |
ac6e2f0dfc2e800f01c79ecea2b811914110a7b9 |
|
18-Feb-2015 |
Didier Roche <didrocks@ubuntu.com> |
fsckd daemon for inter-fsckd communication
Add systemd-fsckd multiplexer which accepts multiple systemd-fsck
instances to connect to it and sends progress report. systemd-fsckd then
computes and writes to /dev/console the number of devices currently being
checked and the minimum fsck progress. This will be used for interactive
progress report and cancelling in plymouth.
systemd-fsckd stops on idle when no systemd-fsck is connected.
Make the necessary changes to systemd-fsck to connect to the systemd-fsckd
socket. |
e7dd673d1e0acfe5420599588c559fd85a3a9e8f |
|
18-Feb-2015 |
Tom Gundersen <teg@jklm.no> |
gummiboot/sd-boot/systemd-boot: rename galore
What used to be gummiboot, was renamed sd-boot when it was merged into
systemd. Let's try to be a bit more consistent with the rest of systemd
and rename it again as follows:
The EFI bootloader is now called 'systemd-bootx64.efi', and its sources are in
'src/boot/efi/'. The drop-in directory where bootctl will find EFI loaders
is now /usr/lib/systemd/boot/efi/. |
0fa2cac4f0cdefaf1addd7f1fe0fd8113db9360b |
|
17-Feb-2015 |
Kay Sievers <kay@vrfy.org> |
sd-boot: add EFI boot manager and stub loader |
a89a8031e010ade7d3bdbbe5fd227e26250fb11c |
|
10-Feb-2015 |
Vincent Batts <vbatts@redhat.com> |
.gitignore: add systemd-pull |
3d7415f43f0fe6a821d7bc4a341ba371e8a30ef3 |
|
22-Jan-2015 |
Lennart Poettering <lennart@poettering.net> |
import: introduce new mini-daemon systemd-importd, and make machinectl a client to it
The old "systemd-import" binary is now an internal tool. We still use it
as asynchronous backend for systemd-importd. Since the import tool might
require some IO and CPU resources (due to qcow2 explosion, and
decompression), and because we might want to run it with more minimal
priviliges we still keep it around as the worker binary to execute as
child process of importd.
machinectl now has verbs for pulling down images, cancelling them and
listing them. |
f299e3e430a26188106ce15abf05f3ae7e54ef59 |
|
17-Jan-2015 |
David Herrmann <dh.herrmann@gmail.com> |
bus-proxy: bring back systemd-stdio-bridge
Now that we want to make bus-proxy multi-threaded, we have to bring back
the systemd-stdio-bridge for our TCP use-cases. |
edce2aed3aa93b84f7b4c70412bdb665da2977b0 |
|
16-Jan-2015 |
Lennart Poettering <lennart@poettering.net> |
import: support importing qcow2 images
With this change the import tool will now unpack qcow2 images into
normal raw disk images, suitable for usage with nspawn.
This allows has the benefit of also allowing importing Ubuntu Cloud
images for usage with nspawn. |
76917807eb50ccde58901e8bec7ed3d408d1cc22 |
|
13-Jan-2015 |
Lennart Poettering <lennart@poettering.net> |
shared: add minimal firewall manipulation helpers for establishing NAT rules, using libiptc |
266fd0eabca6b7f10b013c7e4b5c06adc43e1b73 |
|
12-Jan-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
.gitignore: add new tests and sort tests alphabetically |
d2f0e78f2b72620ecf088ea756f9958e947f1182 |
|
08-Jan-2015 |
Dave Reisner <dreisner@archlinux.org> |
test-verbs: add unit tests for verbs minilib |
fa6ac76083b8ffc1309876459f54f9f0e2843731 |
|
05-Jan-2015 |
Lennart Poettering <lennart@poettering.net> |
journald: process SIGBUS for the memory maps we set up
Even though we use fallocate() it appears that file systems like btrfs
will trigger SIGBUS on certain low-disk-space situation. We should
handle that, hence catch the signal, add it to a list of invalidated
pages, and replace the page with an empty memory area. After each write
check if SIGBUS was triggered, and consider the write invalid if it was.
This should make journald a lot more robust with file systems where
fallocate() is not reliable, for example all CoW file systems
(btrfs...), where changing written data can fail with disk full errors.
https://bugzilla.redhat.com/show_bug.cgi?id=1045810 |
56a32c94ca0c76a2bd0de8dd644863d341b9f504 |
|
23-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
gitignore: hide test-lldp files |
72648326ea6d3e68cdb0b5890df737047d031a41 |
|
19-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
import: add new minimal tool "systemd-import" for pulling down foreign containers and install them locally
This adds a simply but powerful tool for downloading container images
from the most popular container solution used today. Use it like
this:
# systemd-import pull-dck mattdm/fedora
# systemd-nspawn -M fedora
This will donwload the layers for "mattdm/fedora", and make them
available locally as /var/lib/container/fedora.
The tool is pretty complete, as long as it's only about pulling down
images, or updating them. Pushing or searching is not supported yet. |
65eb4378c3e1de25383d8cd606909e64c71edc80 |
|
18-Dec-2014 |
Tom Gundersen <teg@jklm.no> |
systemd-hwdb: introduce new tool
This pulls out the hwdb managment from udevadm into an independent tool.
The old code is left in place for backwards compatibility, and easy of
testing, but all documentation is dropped to encourage use of the new
tool instead. |
e7eebcfc42f00aa481ef31abc8e7e243c16f5b2c |
|
15-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
shared: add minimal JSON tokenizer |
d7c7c334f56edab8cfc102b657366277a65738cf |
|
12-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
shared: add new btrfs-util.[ch] helpers for doing common btrfs operation |
2822da4fb7f891e5320f02f1d00f64b72221ced4 |
|
10-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
util: introduce our own gperf based capability list
This way, we can ensure we have a more complete, up-to-date list of
capabilities around, always. |
e9140aff750e4f251f5f09b67412fed995fe9c47 |
|
03-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
nss-myhostname: always resolve the host name "gateway" to the local default gateway
This is useful inside of containers or local networks to intrdouce a
stable name of the default gateway host (in case of containers usually
the host, in case of LANs usually local router). |
3fb394369ccd6787f8f883e0f81dc7f35cb1ec51 |
|
03-Dec-2014 |
Didier Roche <didrocks@ubuntu.com> |
machine-id-commit: Introduce machine-id-commit binary
This binary enables to commit transient machine-id on disk if it becomes
writable. |
9a20fcbcd1b010ad88bfbb8b7f0417bec7327fb4 |
|
24-Nov-2014 |
David Herrmann <dh.herrmann@gmail.com> |
build-sys: support local ./configure arguments
I often want to use the awesome "./autogen.sh [cmd]" arguments, but have
to append some custom ./configure options. For now, I always had to edit
autogen.sh manually, or copy the full commands out of it and run it
myself.
As I think this is super annoying, this commit adds support for
".config.args" files in $topdir. If it exists, any content is just
appended to $args, thus to any ./configure invokation of autogen.sh.
Maybe autotools provide something similar out-of-the-box. In that case,
feel free to revert this and lemme know! |
281e05b6cb406debe7b290e5aee8eae049671c14 |
|
13-Nov-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
tests: add test-execute
add tests for the following directives:
- WorkingDirectory
- Personality
- IgnoreSIGPIPE
- PrivateTmp
- SystemCallFilter: It makes test/TEST-04-SECCOMP obsolete, so it has
been removed.
- SystemCallErrorNumber
- User
- Group
- Environment |
8444e49c99352959d8b453b32c98d455c4960f4e |
|
08-Nov-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
update .gitignore |
bc9992978cd1456b5bb79e72e8cf7a2331d3a7c6 |
|
08-Nov-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
tests: add test-path
It tests all available directives of Path units:
- PathChanged
- PathModified
- PathExists
- PathExisysGlob
- DirectoryNotEmpty
- MakeDirectory
- DirectoryMode
- Unit |
134e56dcc53970a20a858283650bb92cd5da1d17 |
|
06-Nov-2014 |
Lennart Poettering <lennart@poettering.net> |
shared: rename condition-util.[ch] to condition.[ch]
Now that we only have one file with condition implementations around, we
can drop the -util suffix and simplify things a bit. |
cda391c3f9c85578f4a4fe81d4aeb785a785000a |
|
01-Nov-2014 |
Tom Gundersen <teg@jklm.no> |
libsystemd-networkd: introduce sd-pppoe library
This library negotiates a PPPoE channel. It handles the discovery stage and
leaves the session stage to the kernel. A further PPP library is needed to
actually set up a PPP unit (negotatie LCP, IPCP and do authentication), so in
isolation this is not yet very useful.
The test program has two modes:
# ./test-pppoe
will create a veth tunnel in a new network namespace, start pppoe-server on one
end and this client library on the other. The pppd server will time out as no
LCP is performed, and the client will then shut down gracefully.
# ./test-pppoe eth0
will run the client on eth0 (or any other netdev), and requires a PPPoE server
to be reachable on the local link. |
f089257d7b573dcff409a5fb0b140fa5c6e4ca84 |
|
01-Nov-2014 |
Tom Gundersen <teg@jklm.no> |
shared: add helpers for unaligend BE read/write |
641d1f99b8c4c5427a1fedcb4740586a130ac6cf |
|
31-Oct-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
tests: add test-copy |
2b89a960604d44ea1483c0d99bfb567dab9c3aa1 |
|
31-Oct-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
tests: add test-locale-util |
cb607ecb84b3cb7299438ca6f7fab705b0a6de45 |
|
31-Oct-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
remove references of readahead |
3769415e6573da64fb80e31f4bb3f850cd99031e |
|
28-Oct-2014 |
Timofey Titovets <nefelim4ag@gmail.com> |
login: remove multi-seat-x |
ce7b9f50c3fadbad22feeb28e4429ad9bee02bcc |
|
03-Oct-2014 |
David Herrmann <dh.herrmann@gmail.com> |
console: add user console daemon
This adds a first draft of systemd-consoled. This is still missing a lot
of features and does some rather primitive rendering. However, it shows
the direction this code is going and serves as basis for further testing.
The systemd-consoled binary should be run as `systemd --user' unit. It
automatically picks up any session marked as Desktop=SYSTEMD-CONSOLE.
Therefore, you can use any login-manager you want (ranging from /bin/login
to gdm) to create sessions for systemd-consoled. However, the sessions
managers must be prepared to set the Desktop= variable properly.
The user-session is called `systemd-console', only the daemon providing
the terminal environment is called `systemd-consoled' (mind the 'd').
So far, only a single terminal session is provided on each opened
user-session. However, we support multiple user-sessions (even across
multiple seats) just fine. In the future, the workspace logic will get
extended so you can have multiple terminal sessions in a single
user-session for easier access.
Note that this is still experimental! Instructions on how to run it will
follow shortly. |
56a7dd42d3a680691f417bd8a4c46ea1b6283ff5 |
|
01-Oct-2014 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
gitignore: add test-set |
20725d929ff566e53d7a857d6f0ee94aa8383469 |
|
20-Sep-2014 |
Daniel Mack <daniel@zonque.org> |
bus-policy: add test utility
Add some test files and routines for dbus policy checking. |
810626a80de8361dfbe27110d585023b3d6167a6 |
|
19-Sep-2014 |
David Herrmann <dh.herrmann@gmail.com> |
terminal: add systemd-modeset debugging tool
The systemd-modeset tool is meant to debug grdev issues. It simply
displays morphing colors on any found display. This is pretty handy to
look for tearing in the backends and debug hotplug issues.
Note that this tool requires systemd-logind to be compiled from git
(there're important fixes that haven't been released, yet). |
8e9371905c743cf997b2e8fa7fe3238f81f741fe |
|
27-Aug-2014 |
David Herrmann <dh.herrmann@gmail.com> |
terminal: add systemd-evcat input debugging tool
Like systemd-subterm, this new systemd-evcat tool should only be used to
debug libsystemd-terminal. systemd-evcat attaches to the running session
and pushes all evdev devices attached to the current session into an
idev-session. All events of the created idev-devices are then printed to
stdout for input-event debugging. |
d2c68822c47e37b582820f45b496b2e7d1f9e642 |
|
26-Aug-2014 |
Ivan Shapovalov <intelfx100@gmail.com> |
hibernate-resume-generator: add a generator for instantiating the resume unit.
hibernate-resume-generator understands resume= kernel command line parameter
and instantiates the systemd-resume@.service accordingly if it is passed.
This enables resume from hibernation using device specified on the kernel
command line, and it may be specified either as "/dev/disk/by-foo/bar"
or "FOO=bar", not only "/dev/sdXY" which is understood by the in-kernel
implementation.
So now resume= is brought on par with root= in terms of possible ways to
specify a device. |
42483a747489ff46aed3588b78bf4b9480dbeaf7 |
|
26-Aug-2014 |
Ivan Shapovalov <intelfx100@gmail.com> |
hibernate-resume: add a tool to write a device node's major:minor to /sys/power/resume.
This can be used to initiate a resume from hibernation by path to a swap
device containing the hibernation image.
The respective templated unit is also added. It is instantiated using
path to the desired resume device. |
8530dc4467691a893aa2e07319b18a84fec96cad |
|
19-Aug-2014 |
Lennart Poettering <lennart@poettering.net> |
tmpfiles: add new 'r' line type to add UIDs/GIDs to the pool to allocate UIDs/GIDs from
This way we can guarantee a limited amount of compatibility with
login.defs, by generate an appopriate "r" line out of it, on package
installation. |
b08f2be60aceb0c260fb232b9e8b950f0c871cb9 |
|
18-Aug-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
tests: add test-condition-util |
ee8c45689526ca973407cbb77bce7b96a062c40b |
|
12-Aug-2014 |
Lennart Poettering <lennart@poettering.net> |
networkd: add minimal client tool "networkd" to query network status
In the long run this should become a full fledged client to networkd
(but not before networkd learns bus support). For now, just pull
interesting data out of networkd, udev, and rtnl and present it to the
user, in a simple but useful output. |
bdef7319e4145fec3160468a1ef9775d682f2fa4 |
|
30-Jul-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
resolved: add tool to query resolved |
1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4 |
|
22-Jul-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Merge systemd-verify with systemd-analyze |
8b835fccdad78d89f9cc64f9b02059fb75ffbab1 |
|
21-Jul-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
systemd-verify: a simple tool for offline unit verification
This tool will warn about misspelt directives, unknown sections, and
non-executable commands. It will also catch the common mistake of
using Accept=yes with a non-template unit and vice versa.
https://bugs.freedesktop.org/show_bug.cgi?id=56607 |
86db5dfb6d334e583ea4161191754522ce850eed |
|
18-Jul-2014 |
David Herrmann <dh.herrmann@gmail.com> |
terminal: add unifont font-handling
The unifont layer of libsystemd-terminal provides a fallback font for
situations where no system-fonts are available, or if you don't want to
deal with traditional font-formats for some reasons.
The unifont API mmaps a pre-compiled bitmap font that was generated out of
GNU-Unifont font-data. This guarantees, that all users of the font will
share the pages in memory. Furthermore, the layout of the binary file
allows accessing glyph data in O(1) without pre-rendering glyphs etc. That
is, the OS can skip loading pages for glyphs that we never access.
Note that this is currently a test-run and we want to include the binary
file in the GNU-Unifont package. However, until it was considered stable
and accepted by the maintainers, we will ship it as part of systemd. So
far it's only enabled with the experimental --enable-terminal, anyway. |
5ab887e98d80ffaf05a97abe4cdc1553a85f0637 |
|
18-Jul-2014 |
David Herrmann <dh.herrmann@gmail.com> |
terminal: add systemd-subterm example
The systemd-subterm example is a stacked terminal that shows how to
use sd-term. Instead of rendering images and displaying it via X11/etc.,
it uses its parent terminal to display the page (terminal-emulator inside
a terminal-emulator) (like GNU-screen and friends do).
This is only for testing and not installed system-wide! |
1c9633d669948155455e29b0c6e770995a8b1ca3 |
|
18-Jul-2014 |
David Herrmann <dh.herrmann@gmail.com> |
terminal: add parser state-machine
The term-parser is used to parse any input from TTY-clients. It reads CSI,
DCS, OSC and ST control sequences and normal escape sequences. It doesn't
do anything with the parsed data besides detecting the sequence and
returning it. The caller has to react to them.
The parser also comes with its own UTF-8 helpers. The reason for that is
that we don't want to assert() or hard-fail on parsing errors. Instead,
we treat any invalid UTF-8 sequences as ISO-8859-1. This allows pasting
invalid data into a terminal (which cannot be controlled through the TTY,
anyway) and we still deal with it in a proper manner.
This is _required_ for 8-bit and 7-bit DEC modes (including the g0-g3
mappings), so it's not just an ugly fallback because we can (it's still
horribly ugly but at least we have an excuse). |
84da4a3022bc599b26d9601cf1b7bf51d1d9f915 |
|
17-Jul-2014 |
David Herrmann <dh.herrmann@gmail.com> |
ui/term: add line/cell/char handling for terminal pages
This commit introduces libsystemd-ui, a systemd-internal helper library
that will contain all the UI related functionality. It is going to be used
by systemd-welcomed, systemd-consoled, systemd-greeter and systemd-er.
Further use-cases may follow.
For now, this commit only adds terminal-page handling based on lines only.
Follow-up commits will add more functionality. |
a47d1dfd0823cd3978dd10e217dadcee7e01b265 |
|
17-Jul-2014 |
David Herrmann <dh.herrmann@gmail.com> |
shared: add PTY helper
This Pty API wraps the ugliness that is POSIX PTY. It takes care of:
- edge-triggered HUP handling (avoid heavy CPU-usage on vhangup)
- HUP vs. input-queue draining (handle HUP _after_ draining the whole
input queue)
- SIGCHLD vs. HUP (HUP is no reliable way to catch PTY deaths, always
use SIGCHLD. Otherwise, vhangup() and friends will break.)
- Output queue buffering (async EPOLLOUT handling)
- synchronous setup (via Barrier API)
At the same time, the PTY API does not execve(). It simply fork()s and
leaves everything else to the caller. Usually, they execve() but we
support other setups, too.
This will be needed by multiple UI binaries (systemd-console, systemd-er,
...) so it's placed in src/shared/. It's not strictly related to
libsystemd-terminal, so it's not included there. |
279da1e3f99b9c767a69849b5445e3cfd8d83376 |
|
17-Jul-2014 |
David Herrmann <dh.herrmann@gmail.com> |
shared: add generic IPC barrier
The "Barrier" object is a simple inter-process barrier implementation. It
allows placing synchronization points and waiting for the other side to
reach it. Additionally, it has an abortion-mechanism as second-layer
synchronization to send abortion-events asynchronously to the other side.
The API is usually used to synchronize processes during fork(). However,
it can be extended to pass state through execve() so you could synchronize
beyond execve().
Usually, it's used like this (error-handling replaced by assert() for
simplicity):
Barrier b;
r = barrier_init(&b);
assert_se(r >= 0);
pid = fork();
assert_se(pid >= 0);
if (pid == 0) {
barrier_set_role(&b, BARRIER_CHILD);
...do child post-setup...
if (CHILD_SETUP_FAILED)
exit(1);
...child setup done...
barrier_place(&b);
if (!barrier_sync(&b)) {
/* parent setup failed */
exit(1);
}
barrier_destroy(&b); /* redundant as execve() and exit() imply this */
/* parent & child setup successful */
execve(...);
}
barrier_set_role(&b, BARRIER_PARENT);
...do parent post-setup...
if (PARENT_SETUP_FAILED) {
barrier_abort(&b); /* send abortion event */
barrier_wait_abortion(&b); /* wait for child to abort (exit() implies abortion) */
barrier_destroy(&b);
...bail out...
}
...parent setup done...
barrier_place(&b);
if (!barrier_sync(&b)) {
...child setup failed... ;
barrier_destroy(&b);
...bail out...
}
barrier_destroy(&b);
...child setup successfull...
This is the most basic API. Using barrier_place() to place barriers and
barrier_sync() to perform a full synchronization between both processes.
barrier_abort() places an abortion barrier which superceeds any other
barriers, exit() (or barrier_destroy()) places an abortion-barrier that
queues behind existing barriers (thus *not* replacing existing barriers
unlike barrier_abort()).
This example uses hard-synchronization with wait_abortion(), sync() and
friends. These are all optional. Barriers are highly dynamic and can be
used for one-way synchronization or even no synchronization at all
(postponing it for later). The sync() call performs a full two-way
synchronization.
The API is documented and should be fairly self-explanatory. A test-suite
shows some special semantics regarding abortion, wait_next() and exit().
Internally, barriers use two eventfds and a pipe. The pipe is used to
detect exit()s of the remote side as eventfds do not allow that. The
eventfds are used to place barriers, one for each side. Barriers itself
are numbered, but the numbers are reused once both sides reached the same
barrier, thus you cannot address barriers by the index. Moreover, the
numbering is implicit and we only store a counter. This makes the
implementation itself very lightweight, which is probably negligible
considering that we need 3 FDs for a barrier..
Last but not least: This barrier implementation is quite heavy. It's
definitely not meant for fast IPC synchronization. However, it's very easy
to use. And given the *HUGE* overhead of fork(), the barrier-overhead
should be negligible. |
86bbe5bfbc0bf213e9d3fafbe6c64d59b9fc90ea |
|
17-Jul-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
test-tables: add new entries
One missing string found.
A few things had to be moved around to make it possible to test them. |
3d090cc6f34e5970765dd1e7ee5e648a056d180d |
|
16-Jul-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journal-upload: a tool to push messages to systemd-journal-remote |
74b2466e14a1961bf3ac0e8a60cfaceec705bd59 |
|
16-Jul-2014 |
Lennart Poettering <lennart@poettering.net> |
resolved: add a DNS client stub resolver
Let's turn resolved into a something truly useful: a fully asynchronous
DNS stub resolver that subscribes to network changes.
(More to come: caching, LLMNR, mDNS/DNS-SD, DNSSEC, IDN, NSS module) |
eea1aadb5bb3fc121e8f66332249d05e5437debc |
|
11-Jul-2014 |
David Herrmann <dh.herrmann@gmail.com> |
gitignore: ignore .swp files
vim places them in the source-tree while editing files. Ignore them. |
da625e4b80ba8b03e68ce1782753acd34cf19bd5 |
|
09-Jul-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
update .gitignore |
a1948c7bfeb87b54bc7715a44490c01593ee6e23 |
|
07-Jul-2014 |
Lennart Poettering <lennart@poettering.net> |
escape: beef up new systemd-escape tool
Add various options for making it easy unescape, or mangle, or format as
template instance or append a suffix. |
e26807239bd65bc17535a53cd540f38600e7ef24 |
|
07-Jul-2014 |
Lennart Poettering <lennart@poettering.net> |
firstboot: get rid of firstboot generator again, introduce ConditionFirstBoot= instead
As Zbigniew pointed out a new ConditionFirstBoot= appears like the nicer
way to hook in systemd-firstboot.service on first boots (those with /etc
unpopulated), so let's do this, and get rid of the generator again. |
418b9be50018303cde79b423d4701b7fd86ddbdc |
|
07-Jul-2014 |
Lennart Poettering <lennart@poettering.net> |
firstboot: add new component to query basic system settings on first boot, or when creating OS images offline
A new tool "systemd-firstboot" can be used either interactively on boot,
where it will query basic locale, timezone, hostname, root password
information and set it. Or it can be used non-interactively from the
command line when prepareing disk images for booting. When used
non-inertactively the tool can either copy settings from the host, or
take settings on the command line.
$ systemd-firstboot --root=/path/to/my/new/root --copy-locale --copy-root-password --hostname=waldi
The tool will be automatically invoked (interactively) now on first boot
if /etc is found unpopulated.
This also creates the infrastructure for generators to be notified via
an environment variable whether they are running on the first boot, or
not. |
fd53fee04b1f1c1ca1e30e8d470d7416900a35dc |
|
07-Jul-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
compress: add benchmark-style test
This is useful to test the behaviour of the compressor for various buffer
sizes.
Time is limited to a minute per compression, since otherwise, when LZ4
takes more than a second which is necessary to reduce the noise, XZ
takes more than 10 minutes.
% build/test-compress-benchmark (without time limit)
XZ: compressed & decompressed 2535300963 bytes in 794.57s (3.04MiB/s), mean compresion 99.95%, skipped 3570 bytes
LZ4: compressed & decompressed 2535303543 bytes in 1.56s (1550.07MiB/s), mean compresion 99.60%, skipped 990 bytes
% build/test-compress-benchmark (with time limit)
XZ: compressed & decompressed 174321481 bytes in 60.02s (2.77MiB/s), mean compresion 99.76%, skipped 3570 bytes
LZ4: compressed & decompressed 2535303543 bytes in 1.63s (1480.83MiB/s), mean compresion 99.60%, skipped 990 bytes
It appears that there's a bug in lzma_end where it leaks 32 bytes. |
9a00f57a5ba7ed431e6bac8d8b36518708503b4e |
|
02-Jul-2014 |
Lennart Poettering <lennart@poettering.net> |
path: add new "systemd-path" utility for querying paths described in file-hierarchy(7)
This new tool is based on "sd-path", a new (so far unexported) API for
libsystemd, that can hopefully grow into a workable API covering /opt
and more one day. |
0dc5d23c85db85f96b141d4d32deee8018e56a6a |
|
27-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
coredump: add simple coredump vacuuming
When disk space taken up by coredumps grows beyond a configured limit
start removing the oldest coredump of the user with the most coredumps,
until we get below the limit again. |
843fecc076c8a58cda13e51362d145f7452db0e9 |
|
25-Jun-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
tests: add test-compress |
e80cde5e969e050c6eaab425fc46bbe55e857f24 |
|
24-Jun-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
tests: add test-ratelimit |
026d00bc4a5f72e5541645eccf8f90761f8f1dfd |
|
22-Jun-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
update .gitignore |
09e00c524fd4d21a3508c27d01d265b8a6c9ae30 |
|
20-Jun-2014 |
Michael Marineau <michael.marineau@coreos.com> |
test: ensure conf_files_list returns absolute paths |
d34f1a4280d9a38813379199be436bc35973630e |
|
19-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
gitignore: hide dhcp6/icmp6-rs tests |
e34eee2c4f482078c2d6d257d3595e00df4d874e |
|
19-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
gitignore: sort properly |
326bb68c40ff2a7119c344b9ab7a7473f9fcdf3c |
|
19-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
debug-generator: add new generator
debug-generator can mask specific units if they are specified on the
kernel command line with systemd.mask=.
debug-generator can pull in debug-shell.service is systemd.debug-shell
is passed on the kernel command line. |
f4bab1690ebb7bb01ea2d89f92bffd26c04b61ee |
|
19-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
coredump: coredumpctl is so useful now, make it a first-class citizen
Drop the "systemd-" prefix, renaming it from "systemd-coredumpctl" to
"coredumpctl". |
106ecd769d57116ad81efdea2c27557fba062138 |
|
16-Jun-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
tests: add test-fdset |
c182135d3af7a662739d16353e3cc630199aac24 |
|
16-Jun-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
tests: add test-socket-util |
b44cd8821087f2afebf85fec5b588f5720a9415c |
|
13-Jun-2014 |
Tom Gundersen <teg@jklm.no> |
sd-dhcp-server: add basic functionality for creating/destroying server instance |
8ea48dfcd33e8db0c01bf8c57c3bbcfdc3c86d4b |
|
13-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
update-done: add minimal tool to manage system updates for /etc and /var, if /usr has changed
In order to support offline updates to /usr, we need to be able to run
certain tasks on next boot-up to bring /etc and /var in line with the
updated /usr. Hence, let's devise a mechanism how we can detect whether
/etc or /var are not up-to-date with /usr anymore: we keep "touch
files" in /etc/.updated and /var/.updated that are mtime-compared with
/usr. This means:
Whenever the vendor OS tree in /usr is updated, and any services that
shall be executed at next boot shall be triggered, it is sufficient to
update the mtime of /usr itself. At next boot, if /etc/.updated and/or
/var/.updated is older than than /usr (or missing), we know we have to
run the update tools once. After that is completed we need to update the
mtime of these files to the one of /usr, to keep track that we made the
necessary updates, and won't repeat them on next reboot.
A subsequent commit adds a new ConditionNeedsUpdate= condition that
allows checking on boot whether /etc or /var are outdated and need
updating.
This is an early step to allow booting up with an empty /etc, with
automatic rebuilding of the necessary cache files or user databases
therein, as well as supporting later updates of /usr that then propagate
to /etc and /var again. |
1b99214789101976d6bbf75c351279584b071998 |
|
12-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
sysusers: add minimal tool to reconstruct /etc/passwd and /etc/group from static files
systemd-sysusers is a tool to reconstruct /etc/passwd and /etc/group
from static definition files that take a lot of inspiration from
tmpfiles snippets. These snippets should carry information about system
users only. To make sure it is not misused for normal users these
snippets only allow configuring UID and gecos field for each user, but
do not allow configuration of the home directory or shell, which is
necessary for real login users.
The purpose of this tool is to enable state-less systems that can
populate /etc with the minimal files necessary, solely from static data
in /usr. systemd-sysuser is additive only, and will never override
existing users.
This tool will create these files directly, and not via some user
database abtsraction layer. This is appropriate as this tool is supposed
to run really early at boot, and is only useful for creating system
users, and system users cannot be stored in remote databases anyway.
The tool is also useful to be invoked from RPM scriptlets, instead of
useradd. This allows moving from imperative user descriptions in RPM to
declarative descriptions.
The UID/GID for a user/group to be created can either be chosen dynamic,
or fixed, or be read from the owner of a file in the file system, in
order to support reconstructing the correct IDs for files that shall be
owned by them.
This also adds a minimal user definition file, that should be
sufficient for most basic systems. Distributions are expected to patch
these files and augment the contents, for example with fixed UIDs for
the users where that's necessary. |
95ed3294c632f5606327149f10cef1eb34422862 |
|
07-Jun-2014 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
Move handling of sysv initscripts to a generator
Reuses logic from service.c and the rc-local generator.
Note that this drops reading of chkconfig entirely. It also drops reading
runlevels from the LSB headers. The runlevels were only used to check for
runlevels outside of the normal 1-5 range and then add special dependencies
and settings. Special runlevels were dropped in the past so it seemed to be
unused code.
The generator does not know about non-generated units with a value set with
SysVStartPriority=. These are therefor not taken into account when converting
start priority to before/after. |
091a364c802e34a58f3260c9cb5db9b75c62215c |
|
19-May-2014 |
Tom Gundersen <teg@jklm.no> |
resolved: add daemon to manage resolv.conf
Also remove the equivalent functionality from networkd. |
ee9b9875fd7e0ed6fbab3532944abf4c73353e42 |
|
16-May-2014 |
Tom Gundersen <teg@jklm.no> |
networkd: add missing files |
e0dd92729e68e0005866a890d8209ddcf3568805 |
|
13-May-2014 |
David Herrmann <dh.herrmann@gmail.com> |
shared: add ring buffer
New "struct ring" object that implements a basic ring buffer for arbitrary
byte-streams. A new basic runtime test is also added.
This will be needed for our pty helpers for systemd-console and friends. |
687ed1237b20a6db174fd0b372df20fa9a3a23c2 |
|
28-Apr-2014 |
Kay Sievers <kay@vrfy.org> |
rename timedate-sntp to timesync |
0fbedd1fdc98ab6d0a29d34b00079afda01b99c1 |
|
22-Apr-2014 |
Kay Sievers <kay@vrfy.org> |
remove bus-driverd, the interface is now handled natively by bus-proxyd |
78a337bd30a42d3d58846ab81f1541afbe7a99bb |
|
25-Mar-2014 |
Kay Sievers <kay@vrfy.org> |
gitignore update |
66cdd0f2d0670b054bd27dad16fcb5838b11dde3 |
|
14-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
logind: automatically remove SysV + POSIX IPC objects when the users owning them fully log out |
bcdbbd7ee1b7dc6ec19261c957ed11e5e1ed1aaf |
|
14-Mar-2014 |
Kay Sievers <kay@vrfy.org> |
timedated: add SNTP client/query hookup (unused for now) |
489a3d957ef3ef2ceaca3426e39cb9cfef174e00 |
|
01-Mar-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Update gitignore |
1620510ada018f1e1f0be114714826f6698501f2 |
|
21-Feb-2014 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
update gitignore |
65b3903ff576488eaabb51d3c4fbf9c73d867d7c |
|
28-Jan-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journal: guarantee async-signal-safety in sd_journald_sendv
signal(7) provides a list of functions which may be called from a
signal handler. Other functions, which only call those functions and
don't access global memory and are reentrant are also safe.
sd_j_sendv was mostly OK, but would call mkostemp and writev in a
fallback path, which are unsafe.
Being able to call sd_j_sendv in a async-signal-safe way is important
because it allows it be used in signal handlers.
Safety is achieved by replacing mkostemp with open(O_TMPFILE) and an
open-coded writev replacement which uses write. Unfortunately,
O_TMPFILE is only available on kernels >= 3.11. When O_TMPFILE is
unavailable, an open-coded mkostemp is used.
https://bugzilla.gnome.org/show_bug.cgi?id=722889 |
0bba8d6eb74466bc708a4453130b99b5b4e0254c |
|
26-Jan-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
build-sys: merge libsystemd-login into libsystemd
A compatibility libsystemd-login library is created which uses
.symver and ifunc magic proposed by Lennart to make programs linked
to the old library name continue to work seamlessly.
Unfortunately the bfd linker crashes:
https://sourceware.org/bugzilla/show_bug.cgi?id=16467
This will be fixed in binutils 2.25.
As a work-around, gold can be used:
LDFLAGS=-Wl,-fuse-ld=gold
Unfortunately the switch to pick the linker appeared in gcc 4.8.
This also doesn't work with LLVM:
http://llvm.org/bugs/show_bug.cgi?id=11897 |
3bedba4ae1237d0b7ff4543f9a5c6234d342d98f |
|
14-Jan-2014 |
Tom Gundersen <teg@jklm.no> |
sd-resolv: rename to sd-resolve
Lennart pointed out that we were misspelling 'resolve'. Let's not repeat the mistakes of 'umount'
and 'resolv.conf'. |
5681d7fb8be37771c152d21ea6e95597d664e3f1 |
|
13-Jan-2014 |
Tom Gundersen <teg@jklm.no> |
libsystemd-dns: merge into libsystemd
Also rename sd-dns -> sd-resolv. |
6bb648a16ae4a682ad4784412af706d2e6a3e4da |
|
13-Jan-2014 |
Tom Gundersen <teg@jklm.no> |
libsystemd-bus: rename to libsystemd
Documentation was updated to refer to either 'libsystemd' or 'sd-bus' in place
of libsystemd-bus. |
e963e3ada17e7592ad499b9d7fbb3355287a05ca |
|
11-Jan-2014 |
Daniel Buch <boogiewasthere@gmail.com> |
sd-dns: initial commit
Origin: <http://0pointer.de/lennart/projects/libasyncns/>
[tomegun: renamed some more files asyncns -> sd-dns and moved to libsystemd-bus as
requested by Lennart] |
ccd06097c79218f7d5ea4c21721bbcbc7c467dca |
|
03-Jan-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Use format patterns for usec_t, pid_t, nsec_t, usec_t
It is nicer to predefine patterns using configure time check instead of
using casts everywhere.
Since we do not need to use any flags, include "%" in the format instead
of excluding it like PRI* macros. |
08bcebf36eb85f5e75b968de8c648e6614cc534b |
|
28-Dec-2013 |
Lennart Poettering <lennart@poettering.net> |
shared: add simplistic XML parser for usage in the D-Bus policy language compat parser |
294c866023d05162880b056fea5242d25cd9e865 |
|
16-Dec-2013 |
Daniel Mack <zonque@gmail.com> |
Add bus-driverd
systemd-bus-driverd is a small daemon that connects to kdbus and
implements the org.freedesktop.DBus interface. IOW, it provides the bus
functions traditionally taken care for by dbus-daemon.
Calls are proxied to kdbus, either via libsystemd-bus (were applicable)
or with the open-coded use of ioctl().
Note that the implementation is not yet finished as the functions to
add and remove matches and to start services by name are still missing. |
7c9a6f906308a6474f1ebb98058c4a33a02c33f1 |
|
13-Dec-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: install systemd-bus-proxyd unit files for compatibility with dbus1 |
c5ef10429a7768e3453f29e8c85cb560ce382649 |
|
13-Dec-2013 |
Lennart Poettering <lennart@poettering.net> |
git: update .gitignore |
c1b9d935725103e95901f347b8981647ce4dd546 |
|
05-Dec-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add support for serializing to gvariant
(deserialization is still missing, hence this is not hooked up to kdbus) |
674eb68520107d771e3458287025a73387f938c4 |
|
03-Dec-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add generator that turns old dbus1 activation files into .busname + .service units |
f252ff1742947afaf035ae133876a4e767ddeb7c |
|
29-Nov-2013 |
Kay Sievers <kay@vrfy.org> |
rename stdio-bridge to bus-proxyd |
5b12334d35eadf1f45cc3d631fd1a2e72ffaea0a |
|
28-Nov-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add new sd_bus_creds object to encapsulate process credentials
This way we can unify handling of credentials that are attached to
messages, or can be queried for bus name owners or connection peers.
This also adds the ability to extend incomplete credential information
with data from /proc,
Also, provide a convenience call that will automatically determine the
most appropriate credential object for an incoming message, by using the
the attached information if possible, the sending name information if
available and otherwise the peer's credentials. |
d0767ffd08bbb5c069e266710eb0462315e47e6d |
|
27-Nov-2013 |
Lennart Poettering <lennart@poettering.net> |
journal: add a test case for flushing messages out of a series of journal files into a single new one |
baabc5776475f7313cdaa5f3bdb45c1c5d053f91 |
|
22-Nov-2013 |
Lennart Poettering <lennart@poettering.net> |
build-sys: move more files from core/ to share/ that are generic enough |
6414b7c981378a6eef480f6806d7cbfc98ca22a1 |
|
22-Nov-2013 |
David Strauss <david@davidstrauss.net> |
cgroups: Cache controller masks and optimize queues. |
9173a3082f019f78b02efe8c0642a88e36b7bd44 |
|
13-Nov-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
build-sys: parallelize 'exported' target |
f1e0c18340acb7df53d5b638846fe5687255dad0 |
|
13-Nov-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
build-sys: add a link test for exported symbols
I know that this is a pretty big net to catch some small fish,
but we *do* regularly forget to properly export symbols that
were supposed to be exported.
This time sd_bus_get_current and some renamed symbols are caught. |
f579559b3a14c1f1ef96c372e7626c4733e6ef7d |
|
09-Nov-2013 |
Tom Gundersen <teg@jklm.no> |
networkd: add a basic network daemon
This daemon listens for and configures network devices tagged with
'systemd-networkd'. By default, no devices are tagged so this daemon
can safely run in parallel with existing network daemons/scripts.
Networks are configured in /etc/systemd/network/*.network. The first .network
file that matches a given link is applied. The matching logic is similar to
the one for .link files, but additionally supports matching on interface name.
The mid-term aim is to provide an alternative to ad-hoc scripts currently used
in initrd's and for wired setups that don't change much (e.g., as seen on
servers/and some embedded systems).
Currently, static addresses and a gateway can be configured.
Example .network file:
[Match]
Name=wlp2s0
[Network]
Description=My Network
Gateway=192.168.1.1
Address=192.168.1.23/24
Address=fe80::9aee:94ff:fe3f:c618/64 |
0d95178e49eaf70fce9882d2a1277a9cd3555f34 |
|
08-Nov-2013 |
Kay Sievers <kay@vrfy.org> |
systemctl: rename 'listen'
src/systemctl/systemctl.c: In function ‘get_listening’:
src/systemctl/systemctl.c:535:25: warning: declaration of ‘listen’ shadows a global declaration [-Wshadow]
src/systemctl/systemctl.c: In function ‘list_sockets’:
src/systemctl/systemctl.c:690:44: warning: declaration of ‘listen’ shadows a global declaration [-Wshadow] |
65f568bbeb9b8c70200e44c19a797df3a0bfd485 |
|
27-Oct-2013 |
Tom Gundersen <teg@jklm.no> |
libsystemd-rtnl: add a rtnetlink library
This is intentionally as similar to sd-bus as possible. While it
would be simple to export it, the intentions is to keep this
internal (at least for the forseeable future).
Currently only synchronous communication is implemented |
51271a3060e884bbf8bd83ea9689d5176cc9728b |
|
26-Oct-2013 |
Dave Reisner <dreisner@archlinux.org> |
update gitignore |
ca2871d9b027018c108e0cf7bbc4e5a919e300c3 |
|
21-Oct-2013 |
Kay Sievers <kay@vrfy.org> |
bus: remove static introspection file export |
96c374d0a536286e18cad64d1b5ebb8f07c90334 |
|
18-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
socket-proxyd: rename from saproxy
The thing is a daemon, hence needs a "d" prefix. Also, we tend to not
abbreviate names of background components unnecessarily, since they are
not primary commands people type. Then, the fact that this thing does
socket actviation is mostly in implementationd detail for the proxy.
Also, do some minor indenting clean-ups and other code updates. |
d1b38fac57d82f0249b9e581eb0d18175f6aa74a |
|
16-Oct-2013 |
David Strauss <david@davidstrauss.net> |
Rename sabridge to saproxy to be less cryptic |
912b54ad47e1597c1744ccd936368b0eb1468b16 |
|
16-Oct-2013 |
David Strauss <david@davidstrauss.net> |
Add sabridge for socket activation of traditional daemons |
690018ab40dc9435d609f92c5eca9b1b847668c6 |
|
14-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
git: add test-ellipsize to files to ignore by git |
3990f247652c3bd41e4ea074e6302277eb9c7aa3 |
|
14-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
rfkill: add new rfkill tool to save/restore rfkill state across reboots
This works analogous to the existing backlight and random seed services |
b506291ff195e03ce793ac925cc2d158f0b452b5 |
|
13-Oct-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
gitignore: ignore clang --analyze output |
fd38203a2a7bfbdc6cb5fd4dc54378e70f7d6778 |
|
10-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add minimal event loop API
So far we tried to use epoll directly wherever we needed an event loop.
However, that has various shortcomings, such as the inability to handle
larger amounts of timers (since each timerfd costs one fd, which is a
very limited resource, usually bounded to 1024), and inability to do
priorisation between multiple queued events.
Let's add a minimal event loop API around epoll that is suitable for
implementation of our own daemons and maybe one day can become public
API for those who desire it.
This loop is part of libsystemd-bus, but may be used independently of
it. |
29ddb38fea134c6132e4f2dd608e9da3871eaebe |
|
09-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
libsystemd-bus: add lightweight object vtable implementation for exposing objects on the bus
This adds a lightweight scheme how to define interfaces in static fixed
arrays which then can be easily registered on a bus connection. This
makes it much easier to write bus services.
This automatically handles implementation of the Properties,
ObjectManager, and Introspection bus interfaces. |
c51d84dc09476d9c06b8aac726220bf3c7d62e8d |
|
24-Sep-2013 |
Kay Sievers <kay@vrfy.org> |
support acpi firmware performance data (FPDT)
Prefer firmware-provided performance data over loader-exported ones; if
ACPI data is available, always use it, otherwise try to read the loader
data.
The firmware-provided variables start at the time the first EFI image
is executed and end when the operating system exits the boot services;
the (loader) time calculated in systemd-analyze increases. |
8f6ce71fe79d897b67157d92869db87ee2042af6 |
|
19-Sep-2013 |
Dave Reisner <dreisner@archlinux.org> |
device-nodes: move device node specific code to own file
In the process, rename udev_encode_string which is poorly named for what
it does. It deals specifically with encoding names that udev creates and
has its own rules: utf8 is valid but some ascii is not (e.g. path
separators), and everything else is simply escaped. Rename it to
encode_devnode_name. |
02a36bc9a1769c744f141f127898dbe076dbfd96 |
|
17-Sep-2013 |
Dave Reisner <dreisner@archlinux.org> |
move utf8 functions from libudev-private.h to utf8.h
There's now some more obvious overlap amongst the two utf8 validation
functions, but no more than there already was previously.
This also adds some menial tests for anyone who wants to do more
merging of these two in the future. |
3731acf1acfb4a6eb68374a5b137f3b368f63381 |
|
14-Aug-2013 |
Lennart Poettering <lennart@poettering.net> |
backlight: add minimal tool to save/restore screen brightness across reboots
As many laptops don't save/restore screen brightness across reboots,
let's do this in systemd with a minimal tool, that restores the
brightness as early as possible, and saves it as late as possible. This
will cover consoles and graphical logins, but graphical desktops should
do their own per-user stuff probably.
This only touches firmware brightness controls for now. |
1a14a53cfded6e78c6e8dfb73fdff0039971d642 |
|
13-Aug-2013 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: add basic auto-discovery of GPT partitions
This adds a simple generator that is capable of automatically
discovering certain GPT partitions by their type UUID and mount/enable
them. This currently covers swap partitions and /home partitions, but is
expected to grow more features soon.
This currently doesn't handle LUKS encrypted /home.
This enables all swap partitions of type
0657fd6da4ab43c484e50933c84b4f4f, if found.
This mounts the first partition of type 933ac7e12eb44f13b8440e14e2aef915
as /home, if it is found. |
92d700dea651e2a09ee75c7713b8387f11435cec |
|
04-Aug-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
gitignore: add test-journal-init |
41f1a1da57a0cef035d1f78c21bcff3dc3f76f79 |
|
23-Jul-2013 |
Dave Reisner <dreisner@archlinux.org> |
remove systemd-timestamp from sources
No sense in keeping this around if support for reading RD_TIMESTAMP has
been removed. |
ddc77f62244bb41d5c8261517e2e1ff1b763fc94 |
|
16-Jul-2013 |
Kay Sievers <kay@vrfy.org> |
switch from udev keymaps to hwdb |
6aea6d10f460853111ca8744201ec8dade97de3c |
|
14-Jul-2013 |
Thomas H.P. Andersen <phomes@gmail.com> |
Add test coverage and generate report with lcov
Enable coverage with --enable-coverage.
"make coverage" will create the report locally,
"make coverage-sync" will upload the report to
http://www.freedesktop.org/software/systemd/coverage/.
Requires lcov version 1.10 to handle naming in systemd and to
use the --no-external option.
[zj: make the coverage at least generate something with
separate build dir, simplify rules a bit: all errors
are mine. ] |
a8b409dbc9e1e853a0f92d92603d9bb74592b1ff |
|
05-Jul-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
tests: add tests for string lookup tables
The tests check if the tables have entries for all values
in the enum, and that the entries are unique. |
1ee306e1248866617c96ed9f4263f375588ad838 |
|
02-Jul-2013 |
Lennart Poettering <lennart@poettering.net> |
machined: split out machine registration stuff from logind
Embedded folks don't need the machine registration stuff, hence it's
nice to make this optional. Also, I'd expect that machinectl will grow
additional commands quickly, for example to join existing containers and
suchlike, hence it's better keeping that separate from loginctl. |
c2756a68401102786be343712c0c35acbd73d28d |
|
28-Jun-2013 |
Lennart Poettering <lennart@poettering.net> |
core: add transient units
Transient units can be created via the bus API. They are configured via
the method call parameters rather than on-disk files. They are subject
to normal GC. Transient units currently may only be created for
services (however, we will extend this), and currently only ExecStart=
and the cgroup parameters can be configured (also to be extended).
Transient units require a unique name, that previously had no
configuration file on disk.
A tool systemd-run is added that makes use of this functionality to run
arbitrary command lines as transient services:
$ systemd-run /bin/ping www.heise.de
Will cause systemd to create a new transient service and run ping in it. |
3b18ae6866043ac4d96ee9bcada1a42469c80129 |
|
27-Jun-2013 |
Jan Janssen <medhefgo@web.de> |
test: Add list testcase |
3a0e7bf5414ebbe160163d14452470ea85b41b64 |
|
12-Jun-2013 |
Jan Janssen <medhefgo@web.de> |
gitignore: Add test-journal-interleaving |
8f155917bf5c11c8f156d7f25f242257d6086cb9 |
|
22-May-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add benchmark tool to determine the right threshold for copying vs. memfd |
86312ab8de59c1066d6d2b456f3a9106ce3e0991 |
|
20-May-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add a more comprehensive test for the bloom filter logic |
453a0c2946da620f99825d39db335e9ea9861829 |
|
15-May-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add support for adding memfds into message payload |
ddeb424198649c3993a54efc81652325b6e3bfa5 |
|
10-May-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add new API for kdbus memfd functionality |
dd418b9a69cdfc7c186d86d03b34d83577b0c319 |
|
12-Apr-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add kdbus test case |
cb0dac0548e5e51ba21618bfe4711dc1a2bbcfb5 |
|
03-Apr-2013 |
Lennart Poettering <lennart@poettering.net> |
time: add suppot for fractional time specifications
We can now parse "0.5s" as the same as "500ms". In fact, we can parse
"3.45years" correctly, too, and any other unit and fraction length. |
f73141d7657b3f60b8669bc8386413d8a8a372c6 |
|
03-Apr-2013 |
Lennart Poettering <lennart@poettering.net> |
shared: rework env file reader
Implement this with a proper state machine, so that newlines and
escaped chars can appear in string assignments. This should bring the
parser much closer to shell. |
392d5b378ceae5e1fd7c91ca545fcf4cd105744a |
|
31-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: parse matches locally and allow registration of callbacks for them
This includes code to parse and split up match strings which will also
be useful to calculate bloom filter masks when the time comes. |
11c4c2492083325531aeb3eeb9b041c929677890 |
|
30-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add missing test-bus-server.c |
e592143e5a522b90645d54706241f07695bf3c30 |
|
30-Mar-2013 |
Kay Sievers <kay@vrfy.org> |
gitignore: update |
1a13e31d275430ffba713c8a68ee7f22093c29e0 |
|
30-Mar-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
build-sys,man: use XML entities to substite strings
This makes it easier to add substitutions to man pages,
avoiding the separate transformation step.
mkdir -p's are removed from the rule, because xsltproc will
will create directories on it's own.
All in all, two or three forks per man page are avoided,
which should make things marginally faster.
Unfortunately python parsers must too be tweaked to handle
entities. This isn't particularly easy: with lxml a custom
Resolver can be used, but the stdlib etree doesn't support
external entities *at all*. So when running without lxml,
the entities are just removed. Right now it doesn't matter,
since the entities are not indexed anyway. But I intend to
add indexing of filenames in the near future, and then the
index generated without lxml might be missing a few lines.
Oh well. |
30bdd695250eeecbf0b36c1e3c90d67ca03953ed |
|
21-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
shared: add simple priority queue implementation |
89ffcd2ad5bf87866314e96c4179ba622851cd6e |
|
20-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: hook up client with socket communication |
de1c301ed165eb4d04a0c9d4babe97912b5233bb |
|
20-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add basic implementation of a native bus client library |
54c31a79f72ff57ac8eba089acacc4ab482b745d |
|
28-Feb-2013 |
Lennart Poettering <lennart@poettering.net> |
man: clarify systemctl --property= documentation a bit |
3e37b970b5454863ca34bd96506c4f14804b2580 |
|
13-Feb-2013 |
Auke Kok <auke-jan.h.kok@intel.com> |
Add systemd-analyze to .gitignore |
7b4d7cc08283e5485dcfa49ffdf1915de1d5e81b |
|
11-Feb-2013 |
Kay Sievers <kay@vrfy.org> |
bootctl: add boot loader and firmware interface tool |
c62c294fd521e5b65bb52f831773916bbc4cd90a |
|
10-Feb-2013 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
tests: add tests of strxcpyx
also fix a bad indentation in test-strbug.c |
97b5f608182773d7ef9ca18913085b3a3eccd943 |
|
09-Feb-2013 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
tests: add test of strbuf |
539ad707db5361e7fbe0076615a92456fd34f7df |
|
06-Feb-2013 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
test: add a few tests and tidy up
adds test of:
strv_find
strv_find_prefix
strv_overlap
strv_sort
streq_ptr
first_word
Splits tests of util.c into own file to avoid clutter as we add more.
Removed a few prints and uses _cleanup_free_ to make the tests more focused. |
f4ce2b3e5ce93b83f14f8785e205ebb5a9b8c1df |
|
21-Jan-2013 |
Lennart Poettering <lennart@poettering.net> |
efi: add efi boot generator that automatically mounts the ESP to /boot |
2e3d069236777cd62f755a02f4a239306b4ad21a |
|
19-Jan-2013 |
Lennart Poettering <lennart@poettering.net> |
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. |
a752addf67986c9b0e247bddc1747b5e6284945d |
|
08-Jan-2013 |
Lennart Poettering <lennart@poettering.net> |
git: ignore bootchart binary |
e8bc0ea2b100158bf35c635039226235aa879068 |
|
23-Dec-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: strip TABs and ANSI color sequences from log messages when displaying them |
1ebe2a47c4759b0bfe8a351cdedc03799b6a2143 |
|
02-Dec-2012 |
Kay Sievers <kay@vrfy.org> |
gitignore: ignore .trs files from tests |
b5a223bfcf2ebcf374973b29870a5e80fb42b8be |
|
01-Dec-2012 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
build-sys: use parallel tests driver
This saves test output to individual .log files.
The driver is only used in /Makefile.am, not in
/docs/*udev/Makefile.am because the latter don't seem to work with
this driver. They don't produce much output anyway.
.gitignore is alphabetized, and .log files are added to it.
Generated files from /build-aux are removed from the list. |
36697dc0199e25f09b78090fcf5f1cf8a3648ffd |
|
23-Nov-2012 |
Lennart Poettering <lennart@poettering.net> |
timer: implement calendar time events |
d4205751d4643c272059a3728045929dd0e5e800 |
|
15-Nov-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: implement message catalog
The message catalog can be used to attach short help texts to log lines,
keyed by their MESSAGE_ID= fields. This is useful to help the
administrator understand the context and cause of a message, find
possible solutions and find further related documentation.
Since this is keyed off MESSAGE_ID= this will only work for native
journal messages.
The message catalog supports i18n, and is useful to augment english
language system messages with explanations in the local language.
This commit only includes short explanatory messages for a few example
message IDs, we'll add more complete documentation for the relevant
systemd messages later on. |
bb11271068ff34434f5b8cefd0c2c0bae5ed7fd1 |
|
15-Nov-2012 |
Holger Hans Peter Freyther <holger@moiji-mobile.com> |
sched: Only setting CPUSchedulingPriority=rr doesn't work
A service that only sets the scheduling policy to round-robin
fails to be started. This is because the cpu_sched_priority is
initialized to 0 and is not adjusted when the policy is changed.
Clamp the cpu_sched_priority when the scheduler policy is set. Use
the current policy to validate the new priority.
Change the manual page to state that the given range only applies
to the real-time scheduling policies.
Add a testcase that verifies this change:
$ make test-sched-prio; ./test-sched-prio
[test/sched_idle_bad.service:6] CPU scheduling priority is out of range, ignoring: 1
[test/sched_rr_bad.service:7] CPU scheduling priority is out of range, ignoring: 0
[test/sched_rr_bad.service:8] CPU scheduling priority is out of range, ignoring: 100 |
6e6fb527f987d0c1f5bd930020301c9ac76a5e2c |
|
14-Nov-2012 |
Lennart Poettering <lennart@poettering.net> |
shared: add API for replacing @FOO@ style variables in strings |
6524990fdc98370ecba5d9f73e67161e8798c010 |
|
28-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
logind: support for hybrid sleep (i.e. suspend+hibernate at the same time) |
a4bcff5ba36115495994e9f9ba66074471de76ab |
|
26-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: introduce entry array chain cache
When traversing entry array chains for a bisection or for retrieving an
item by index we previously always started at the beginning of the
chain. Since we tend to look at the same chains repeatedly, let's cache
where we have been the last time, and maybe we can skip ahead with this
the next time.
This turns most bisections and index lookups from O(log(n)*log(n)) into
O(log(n)). More importantly however, we seek around on disk much less,
which is good to reduce buffer cache and seek times on rotational disks. |
b87377fca3c938303a2fb25229abf8c14814841b |
|
22-Oct-2012 |
Kay Sievers <kay@vrfy.org> |
update .gitignore |
2087a7aff26ea5d1bc2c7c29add3275328f36baa |
|
19-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
locale: add client tool localectl similar to hostnamectl/timedatectl |
dbc4fbae58e39cb0d33738f0a4d1e74511ed1fb5 |
|
17-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
hostname: add new hostnamectl tool as text client for hostnamed |
6d0274f11547a0f11200bb82bf598a5a253e12cf |
|
17-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
timedatectl: introduce new command line client for timedated
Much like logind has a client in loginctl, and journald in journalctl
introduce timedatectl, to change the system time (incl. RTC), timezones
and related settings. |
e88baee88fad8bc59d33b55a7a2d640ef9e16cd6 |
|
13-Oct-2012 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
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) |
cfbc22abd0525570a6e58968d518ea9a7d0403ba |
|
11-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: implement --since= and --until for filtering by time |
7b17a7d72f5ba5ad838b19803534c56a46f3bce9 |
|
28-Sep-2012 |
Lennart Poettering <lennart@poettering.net> |
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/ |
2a2507e60df45b69d69a026661f865b971ff4f29 |
|
24-Sep-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: add missing test file |
ec29187225c0b404f6b9f59a416c4fa0c0afaaff |
|
21-Sep-2012 |
Lennart Poettering <lennart@poettering.net> |
Revert "multi-seat: drop multi-seat-x wrapper, as upstream X can handle multi-seat graphics on its own now"
This reverts commit 636d30a0895f17eca8313d50f9b2fc1ec5e128da.
Turns out we will need the multi-seat wrapper a bit longer, however
without the fb-specific bits in it. |
636d30a0895f17eca8313d50f9b2fc1ec5e128da |
|
21-Sep-2012 |
Lennart Poettering <lennart@poettering.net> |
multi-seat: drop multi-seat-x wrapper, as upstream X can handle multi-seat graphics on its own now |
b5b46d599524341ddd7407e5dff1021af8ff5089 |
|
11-Sep-2012 |
Lennart Poettering <lennart@poettering.net> |
when determining unit file list, include invalid unit names in an "invalid" state |
877d54e9b09e093c2102f519a84e2a52637ae035 |
|
04-Sep-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: generate structured journal messages for a number of events |
0284adc6a60ce0af1107cb0b50041a65d731f39e |
|
16-Aug-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: split up journal-file.c |
69b7fedfc075f67b0c78f6fe0a1ef3a0ddb0a921 |
|
17-Jul-2012 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
gitignore: tags files |
cbdca8525b4f36297cb9e5cb090a9648763ed1bf |
|
13-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
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. |
b0193f1c1f1540bfccbdca02df82669b9308e4e2 |
|
22-Jun-2012 |
Lennart Poettering <lennart@poettering.net> |
systemctl: automatically turn paths and unescaped unit names into proper unit names
This makes sure that
systemctl status /home
is implicitly translated to:
systemctl status /home.mount
Similar, /dev/foobar becomes dev-foobar.device.
Also, all characters that cannot be part of a unit name are implicitly
escaped. |
87ce22cc0d097d9cd0297d0141eadba6c573c299 |
|
21-Jun-2012 |
Lennart Poettering <lennart@poettering.net> |
readahead: merge three binaries into one
since the binaries share much of the same code and we better load only
one binary instead of two from disk at early boot let's merge the three
readahead binaries into one. This also allows us to drop a lot of
duplicated code. |
eb125fb69376d86785066e1f42d0d231ad7dd9ff |
|
10-Jun-2012 |
Kay Sievers <kay@vrfy.org> |
update .gitignore |
d360705f0f1262d49cccb6507abeafb7cfb5bbe0 |
|
22-May-2012 |
Lennart Poettering <lennart@poettering.net> |
system-update: add system update generator
http://freedesktop.org/wiki/Software/systemd/SystemUpdates |
6b1dc2bd3cdb3bd932b0692be636ddd2879edb92 |
|
22-May-2012 |
Lennart Poettering <lennart@poettering.net> |
mount: replace PID1 internal fstab parser with generator
Bit by bit we should remove non-unit parsing from PID 1 and move into
generators, to clean up our code base a bit and clearly separate
parsers. |
27b5482cc08b7fac1b6b15d980d42ae04f3ae1ca |
|
16-May-2012 |
Lennart Poettering <lennart@poettering.net> |
delta: add systemd-delta tool to find overriden configuration and unit files |
6edd7d0a09171ea5ae8e01b7b1cbcb0bdfbfeb16 |
|
08-May-2012 |
Lennart Poettering <lennart@poettering.net> |
sleep: implement suspend/hibernate as first class targets |
eecd1362f7f4de432483b5d77c56726c3621a83a |
|
05-May-2012 |
Lennart Poettering <lennart@poettering.net> |
logind: implement delay inhibitor locks in addition to block inhibitor locks
This is useful to allow applications to synchronously save data before
the system is suspended or shut down. |
2b93b027d3a68b5d7ae26d0c2cd487eb5019d2a9 |
|
24-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
remount: consolidate remount-api-vfs and remount-rootfs into one
This has the advantage of removing a confusing warning by mount if the
root directory is not listed in fstab. |
acf9b2f154fb443ea5654ea866d90556885b2e4f |
|
17-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
update .gitignore |
f13b388f97bc3ba8db844bd3413d510e2466a0b6 |
|
17-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: install udevd as /usr/lib/systemd/systemd-udevd |
f8e2fb7b14e53f5a4bcfd66d26910af1dee185c6 |
|
16-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
logind: add shutdown/suspend/idle inhibition framework |
3b6d9a7c50bd7217a0ca80d39fd30decbb0c935a |
|
13-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
update .gitignore |
b562f5a57d11d356aab26b08481f3befffff0822 |
|
13-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add stub makefiles to all subdirs to ease development with emacs |
04a9d3a00a9290cbf254d0b0ba2ce4521be632ae |
|
10-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: fix gcc warnings showing up after adding $(AM_CFLAGS) |
e96d6be763014be75d480fde503d0b77f41194a0 |
|
05-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
systemd: add hardware watchdog support
This adds minimal hardware watchdog support to PID 1. The idea is that
PID 1 supervises and watchdogs system services, while the hardware
watchdog is used to supervise PID 1.
This adds two hardware watchdog configuration options, for the runtime
watchdog and for a shutdown watchdog. The former is active during normal
operation, the latter only at reboots to ensure that if a clean reboot
times out we reboot nonetheless.
If the runtime watchdog is enabled PID 1 will automatically wake up at
half the configured interval and write to the watchdog daemon.
By default we enable the shutdown watchdog, but leave the runtime
watchdog disabled in order not to break independent hardware watchdog
daemons people might be using.
This is only the most basic hookup. If necessary we can later on hook
up the watchdog ping more closely with services deemed crucial. |
3e2147858f21943d5f4a781c60f33ac22c6096ed |
|
04-Apr-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
move imported udev into place |
b070e7f3c9ed680c821bd89d42506695f2438506 |
|
02-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: implicitly add code location to all messages logged with the native interface
This logic can be turned off by defining SD_JOURNAL_SUPPRESS_LOCATION
before including sd-journal.h.
This also saves/restores errno in all logging functions, in order to be
useful as logging calls without side-effects.
This also adds a couple of __unlikely__ around the early checks in the
logging calls, in order to minimize the runtime impact. |
169c4f65131fbc7bcb51e7d5487a715cdcd0e0eb |
|
26-Mar-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl,loginctl: drop systemd- prefix in binary names
Let's make things a bit easier to type, drop the systemd- prefix for
journalctl and loginctl, but provide the old names for compat.
All systemd binaries are hence now prefixed with "systemd-" with the
exception of the three primary user interface binaries:
systemctl
loginctl
journalctl
For those three we do provide systemd-xyz names as well, via symlinks:
systemd-systemctl → systemctl
systemd-loginctl → loginctl
systemd-journalctl → journalctl
We do this only for the *primary* user tools, in order to avoid
unnecessary namespace problems. That means tools like systemd-notify
stay the way they are. |
183215e7cd72474e7a077a1bd8a4db6f9cac60b5 |
|
18-Mar-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
build-sys: place build binaries in the root |
9cacf564513b5fd6078cd418b104083aab8b9bd8 |
|
06-Mar-2012 |
Lennart Poettering <lennart@poettering.net> |
umount: don't try to umount /usr, if we are running from it |
36db9a8d5b36173daf1f622fb544f4c90cfddb67 |
|
23-Jan-2012 |
Lennart Poettering <lennart@poettering.net> |
login: add multi-session X wrapper
In preparation for https://bugzilla.gnome.org/show_bug.cgi?id=655380 we
decided it's better to include the multi-seat X wrapper in systemd,
rather than gdm. (Side effect: this makes this accessible for other
DMs)
This is a stop-gap for now, until X gins proper multi-seat graphics
support at which point this code will go away without replacement. |
c97e8d10fe35ab282725deb3e05542a598e46cb1 |
|
23-Jan-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
add .vimrc |
8f2d43a0121bc9a57ba8b79b33d5ac87d36ca2f2 |
|
22-Jan-2012 |
Lennart Poettering <lennart@poettering.net> |
cgtop: add new cgtop tool |
f5e04665ebf7124f3ea17dcf258793ed73a95fe1 |
|
14-Jan-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: hook up coredumping with journal |
755a02c6800246e7e293897d0594fe7e7531ba59 |
|
14-Jan-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: add new system-cat tool as kind of a more powerfull BSD logger |
ad29a9f14fa8b1932c0e418bfcf1c10ce6a35a33 |
|
06-Jan-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
merge udev/, libudev/, systemd/ files in src/; move extras/ to src/ |
dcd5f1020c36cddb9e250c01df057b9b5e5447b0 |
|
05-Jan-2012 |
Lennart Poettering <lennart@poettering.net> |
git: only ignore toplevel systemd file |
d4a66a7f9638d4c642356d1fb9e38ac29766a451 |
|
31-Dec-2011 |
Kay Sievers <kay.sievers@vrfy.org> |
libsystemd-id128: restructure Makefile.am |
4668191d0298339c70fba485f46233f79fcedc30 |
|
31-Dec-2011 |
Kay Sievers <kay.sievers@vrfy.org> |
timedated: move sources to subdirectory |
fc5e60ee0c64343d1bd08c343275fc1ceff445aa |
|
31-Dec-2011 |
Lennart Poettering <lennart@poettering.net> |
git: update gitignore |
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378 |
|
30-Dec-2011 |
Lennart Poettering <lennart@poettering.net> |
journal: add unit files and shared library glue |
87d2c1ff6a7375f03476767e6f59454bcc5cd04b |
|
07-Oct-2011 |
Lennart Poettering <lennart@poettering.net> |
journal: add preliminary incomplete implementation |
346bce1f4cff0096177c613987cdc80fa4ec134e |
|
30-Aug-2011 |
Lennart Poettering <lennart@poettering.net> |
stdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptive |
830964834f330836b9d33752e83de09d4f38da87 |
|
22-Jul-2011 |
Lennart Poettering <lennart@poettering.net> |
install: add new installer implementation
This new installer will replace the current code of "systemctl enable"
but also be available via D-Bus. It adds a couple of new features:
- Mask/Unmask calls
- Reenable call
- Preset call
- Support for enabling units temporarily (i.e. in /run/systemd instead
of /etc/systemd)
- Enumeration of installed units
- Support for out-of-search-path units
systemctl and D-Bus are not hooked up with this yet |
3fd476bb11f22969fe761ed17cc64298479c5850 |
|
14-Jul-2011 |
Lennart Poettering <lennart@poettering.net> |
git: hide more files from git |
114a50f898a89bd7784c215ac5df95ec8c45a905 |
|
14-Jul-2011 |
Lennart Poettering <lennart@poettering.net> |
sd-daemon: turn sd-daemon.c into a shared library |
74b91131ed09850ed487a2f7849147ff6f80194d |
|
14-Jul-2011 |
Lennart Poettering <lennart@poettering.net> |
logind: introduce libsystemd-login.so as fast path to access logind data |
abca4822916b85ae5b0b2bef5d458ea2225d25ab |
|
07-Jul-2011 |
Lennart Poettering <lennart@poettering.net> |
loginctl: add basic implementation of loginctl for introspecting controlling sessions/users/seats |
f401e48c2db22ff9d1a05885b5599bebf19c2707 |
|
21-Jun-2011 |
Lennart Poettering <lennart@poettering.net> |
mechanisms: add mechanisms to change system locale and clock |
5eda94dda25bccda928c4b33c790dbe748573a22 |
|
21-Jun-2011 |
Lennart Poettering <lennart@poettering.net> |
logind: implement ACL management |
202630822f52e06dce8404633407329c38099278 |
|
21-Jun-2011 |
Lennart Poettering <lennart@poettering.net> |
logind: first version that compiles fine |
8041b5bada31db152de80e45b3047ed32cef6880 |
|
09-May-2011 |
Lennart Poettering <lennart@poettering.net> |
return any locally configured IP address if they exist
Fall back to 127.0.0.2/::1 only if there is no proper IP address
configured on any interface. |
7640a5de1b3ffe6547200ad204d14e4f067caf4f |
|
16-Apr-2011 |
Lennart Poettering <lennart@poettering.net> |
hostnamed: introduce systemd-hostnamed
http://www.freedesktop.org/wiki/Software/systemd/hostnamed |
151b190e79e64824552e01849352ca8f6ac7dedb |
|
04-Apr-2011 |
Lennart Poettering <lennart@poettering.net> |
binfmt: add binfmt tool to set up binfmt_misc at boot |
2a796654b9a1f84962e5dafbcf171dcc22742c99 |
|
15-Mar-2011 |
Lennart Poettering <lennart@poettering.net> |
getty: move automatic serial getty logic into generator |
88213476187cafc86bea2276199891873000588d |
|
14-Mar-2011 |
Lennart Poettering <lennart@poettering.net> |
nspawn: add simple chroot(1) like tool to execute commands in a namespace container |
a8f11321c209830a35edd0357e8def5d4437d854 |
|
12-Mar-2011 |
Lennart Poettering <lennart@poettering.net> |
systemctl: support remote and privileged systemctl access via SSH and pkexec
This adds support for executing systemctl operations remotely or as
privileged user while still running systemctl itself unprivileged and
locally.
This currently requires a D-Bus patch to work properly.
https://bugs.freedesktop.org/show_bug.cgi?id=35230 |
0992bbd109d60ce10ddd8895259fd9b4c1bbfdb5 |
|
07-Mar-2011 |
Andrey Borzenkov <arvidjaar@gmail.com> |
add .vimrc to .gitignore |
d7ccca2e3f86feb81a48e243d8bad78814659a74 |
|
04-Mar-2011 |
Lennart Poettering <lennart@poettering.net> |
main: introduce /etc/machine-id
This is supposed to play the same roles /var/lib/dbus/machine-id,
however fixes a couple of problems:
- It is available during early boot since it is stored in /etc
- Removes the ID from the D-Bus context and moves it into a system
context, thus hopefully lowering hesitation by people to use it.
- It is generated at installation time. If the file is empty at boot
time it will be mounted over with a randomly generated ID, which is
not saved to disk. This is useful to support state-less machines with
no transient or writable /etc configuration. |
07faed4f99d0c798f92de3032b9c20ca31388494 |
|
21-Feb-2011 |
Lennart Poettering <lennart@poettering.net> |
virtualization: beef virtualization code |
8e1bd70d4ce6d3881c1df6a6482643a2b3a69bb1 |
|
18-Nov-2010 |
Lennart Poettering <lennart@poettering.net> |
sysctl: implement native sysctl tool to support Debian-style /etc/sysctl.d |
f90cf44c02ac09469279126e2863a1e71358ee11 |
|
14-Nov-2010 |
Lennart Poettering <lennart@poettering.net> |
load-fragment: properly do comparison of words |
06cdd2484c5d0b7792168a7c2d99311e35b0fb8e |
|
10-Nov-2010 |
Lennart Poettering <lennart@poettering.net> |
ac-power: make ac-power a proper binary that scripts can call |
e9ddabc246ced239cbce436e16792dc4c3d1b52d |
|
10-Nov-2010 |
Lennart Poettering <lennart@poettering.net> |
manager: parse RD_TIMESTAMP passed from initrd |
e23a0ce8badd09aefa961a3a576bfe85f6ebbad7 |
|
10-Nov-2010 |
Lennart Poettering <lennart@poettering.net> |
cryptsetup: minimal cryptsetup unit generator |
ec863ba65a41e58680a3ab15841243088284e808 |
|
25-Oct-2010 |
Lennart Poettering <lennart@poettering.net> |
ask-password: add basic tty agent |
3d20ed6d51e38968cd646e2b3b24f36673408024 |
|
19-Oct-2010 |
Lennart Poettering <lennart@poettering.net> |
fsck: add initial version of fsck and quotacheck wrappers |
e92787416c691c3f34f47349e5eae3fa68eae856 |
|
07-Oct-2010 |
Lennart Poettering <lennart@poettering.net> |
user-sessions: add minimal utility to kill user sessions that shall be called before destroying services on shutdown |
e3478379751fda30316204c68112b5a2b9ffd5a7 |
|
07-Oct-2010 |
Fabiano Fidencio <fidencio@profusion.mobi> |
umount: Adding unmount functions to be used in shutdown
This functions will:
- umount all mount points that aren't API
- remount read-only all mount points that can't be umounted
- umount all swap devices.
- detach all loopback devices
TODO:
- umount dms
Mountpoints are being read from /proc/self/mountinfo.
Swaps are being read from /proc/swaps.
Loop devices from /sys/class/block/loop*. |
bfaf42d22bbd72a286b519ea121dbf8e799b1fe5 |
|
28-Sep-2010 |
Lennart Poettering <lennart@poettering.net> |
tmpfiles: rename tempfiles to tmpfiles since this isn't windows |
5008d5815a6223f01c9fc4c803ec6ec18c8f4e54 |
|
28-Sep-2010 |
Lennart Poettering <lennart@poettering.net> |
tempfiles: add little utility for creating volatile files/dirs in tmpfs hierarchies |
22be093ffb403a1c474037939ca9b88b1ee39f77 |
|
23-Sep-2010 |
Lennart Poettering <lennart@poettering.net> |
readahead: implement minimal readahead logic based on fanotify(), mincore() and readahead() |
490aed584944b684026a3fd01f8d81f2881e38d6 |
|
17-Sep-2010 |
Lennart Poettering <lennart@poettering.net> |
ask-password: add minimal framework to allow services query SSL/harddisk passphrases from the user |
97c4a07df982ee967705022feaba9be33947abf0 |
|
16-Sep-2010 |
Lennart Poettering <lennart@poettering.net> |
vconsole: add new utility to initialize the virtual console |
93a45c562a1989dfbb2dd08c65f8a21b02959934 |
|
25-Aug-2010 |
Lennart Poettering <lennart@poettering.net> |
serial: use seperate getty template for serial ttys |
addab137cd8d318e4f543ca56018ee23d51aaca9 |
|
21-Aug-2010 |
Lennart Poettering <lennart@poettering.net> |
syslog: add minimal syslog/kmsg bridge syslogd |
449ddb2d23a63ca4c8cd70d13a070fba87c1fb30 |
|
20-Aug-2010 |
Lennart Poettering <lennart@poettering.net> |
remount: add tool that applies /etc/fstab mount options to all api mounts |
e59077036bcf5a041e336f04cb0d2f7d18d489a1 |
|
19-Aug-2010 |
Lennart Poettering <lennart@poettering.net> |
hostname: on all distros make the name configured in /etc/hostname take precedence over distro-specific configuration
In order to unify configuration across distributions we pick the
simple-most option by default (Debian's /etc/hostname) and then fall
back to distro-specific hacks if that doesn't exist. |
b2423f1f436f847d9fc96a63679be2b5552b6baf |
|
19-Aug-2010 |
Lennart Poettering <lennart@poettering.net> |
modules-load: add systemd-modules-load tool that can load a configured list of modules in /etc/modules.d/ on boot, replacing distro-dependent shell hacks for this |
5192bd1945f59254b3d260ded15dd9f2b8cc2de7 |
|
17-Aug-2010 |
Lennart Poettering <lennart@poettering.net> |
auto-getty: rework auto console getty logic to work in conjunction with single user mode |
f61448083198dc0e4e0d19a916bcd478336cc85d |
|
16-Aug-2010 |
Lennart Poettering <lennart@poettering.net> |
systemctl: add support for delayed shutdown, similar to sysv in style |
6e200d55ae538fc29360cdaa9863f30cdddf58f3 |
|
14-Aug-2010 |
Lennart Poettering <lennart@poettering.net> |
random-seed: add missing random-seed.c file |
4927fcae48de061393b3ce9c12d49f80d73fbf1d |
|
11-Aug-2010 |
Lennart Poettering <lennart@poettering.net> |
audit,utmp: implement audit logic and rip utmp stuff out of the main daemon and into a helper binary |
50f2a90dae31943c99df7369008f0240a79d1dc0 |
|
21-Jul-2010 |
Lennart Poettering <lennart@poettering.net> |
update fixme |
fa776d8e962da9d90459e2f3e86a2a0c6366ee12 |
|
08-Jul-2010 |
Lennart Poettering <lennart@poettering.net> |
cgls: beef up control group dumping and introduce cgls tool |
359957ee23e8dad97f6c75969d7ecfe4d3c4369f |
|
23-Jun-2010 |
Lennart Poettering <lennart@poettering.net> |
man: document runlevel and systemd-install |
f9378423b9758861850748aeb49ae0d3300e56e6 |
|
23-Jun-2010 |
Lennart Poettering <lennart@poettering.net> |
man: document sd-daemon.[ch] |
8c6db8336536916d0476ff8233e0abf40a2f6aab |
|
21-Jun-2010 |
Lennart Poettering <lennart@poettering.net> |
pam: implement systemd PAM module and generelize cgroup API for that a bit |
514f4ef52f91edb3741cad88d34572d162459346 |
|
18-Jun-2010 |
Lennart Poettering <lennart@poettering.net> |
systemctl: add verbs for special units |
4a2a8b5a82325494f5daf4c66c23fdb4f906c9e6 |
|
17-Jun-2010 |
Lennart Poettering <lennart@poettering.net> |
notify: add systemd-notify command line tool |
8c47c7325fa1ab72febf807f8831ff24c75fbf45 |
|
16-Jun-2010 |
Lennart Poettering <lennart@poettering.net> |
notify: add minimal readiness/status protocol for spawned daemons |
10e87ee7f66b59a504c0ed2025463ba5faa69923 |
|
16-Jun-2010 |
Lennart Poettering <lennart@poettering.net> |
install: add systemd-install tool for managing alias/wants symlinks |
4288f619215e3dda0b75113d78e4fb7ba219ed58 |
|
23-May-2010 |
Lennart Poettering <lennart@poettering.net> |
dbus: automatically generate and install introspection files |
9f23530860942a8f94b7c535ead80c38f02424b1 |
|
16-May-2010 |
Lennart Poettering <lennart@poettering.net> |
man: document a few special units |
dfac97b21e00cd3617ba817227db7b621841b5cc |
|
16-May-2010 |
Lennart Poettering <lennart@poettering.net> |
build-sys: generate intermediate files in subdirs |
d1ab0ca07372649dad70a0348d75e394f254e1b6 |
|
15-May-2010 |
Lennart Poettering <lennart@poettering.net> |
man: add some initial man page work |
af5bc85dc1297079edc9890861aaa38de0ec30df |
|
09-May-2010 |
Lennart Poettering <lennart@poettering.net> |
loopback: configure lo device on bootup |
58c16653226a627935a845f19276172f95d10c13 |
|
06-May-2010 |
Lennart Poettering <lennart@poettering.net> |
gitignore: ignore files ending in ~ |
15ae422b7471cf6f41ccf450243d8afd8ea0a054 |
|
21-Apr-2010 |
Lennart Poettering <lennart@poettering.net> |
execute: support basic filesystem namespacing |
70fcff314feff469a8e61dbe5017ed74f5e0a09d |
|
13-Apr-2010 |
Lennart Poettering <lennart@poettering.net> |
units: install a few basic units by default |
0b7964b804e093d31c9adc34ba1917017c7f4d60 |
|
04-Apr-2010 |
Lennart Poettering <lennart@poettering.net> |
sysv: implement /dev/initctl compatibility |
8e27452380193a5f81bfd08a59aab8b07008ba0b |
|
31-Mar-2010 |
Lennart Poettering <lennart@poettering.net> |
cgroup: add cgroupsification |
380bc8790dd284bbf967add222fa90d117ed50ea |
|
13-Feb-2010 |
Lennart Poettering <lennart@poettering.net> |
git: ignore Makefile |
47be870bd83fb3719dffc3ee9348a409ab762a14 |
|
03-Feb-2010 |
Lennart Poettering <lennart@poettering.net> |
build: basic autoconfization |
501c7d0b77607fe858911b1c94070b63b6cc221e |
|
03-Feb-2010 |
Lennart Poettering <lennart@poettering.net> |
systemadm: implement basic control UI systemadm |
5630af71d72a2fa8142886ca2fb37e69a1906bca |
|
02-Feb-2010 |
Lennart Poettering <lennart@poettering.net> |
client: add a very basic Vala command line tool |
b52429d4e0de52b89c7d043164aa1ac720e9179f |
|
27-Jan-2010 |
Lennart Poettering <lennart@poettering.net> |
implement trivial socket activated logger daemon |
1ffba6fe82d65f2a87b53a21c7927bca8176038c |
|
21-Jan-2010 |
Lennart Poettering <lennart@poettering.net> |
fix job merging |
6a66a1af459a5a0e1d77644bf4f7929ad1c5eb5f |
|
20-Jan-2010 |
Lennart Poettering <lennart@poettering.net> |
update gitignore |
6091827530d6dd43479d6709fb6e9f745c11e900 |
|
18-Nov-2009 |
Lennart Poettering <lennart@poettering.net> |
initial commit |
59d93adb29fae25220955d44a5cd25f0d99e3528 |
|
07-Aug-2009 |
Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> |
Merge libudev, udev, and the unconditional extras in a single Makefile.am.
Instead of using multiple recursive Makefile.am files, use a single
Makefile.am that sets and builds all the basic suite of libraries and
binaries for udev. This reduces the number of files in the source tree, and
also reduces drastically the build time when using parallel-make.
With this setup, all the compile steps will be executed in parallel, and
just the linking stage will be (partially) serialised on the libraries
creation. |
26812f0a13eacb8615f66f9048cd9575b2b8a2cf |
|
15-Jun-2009 |
Kay Sievers <kay.sievers@vrfy.org> |
libudev: add gtk-doc |
ab1ecd3c9a303765f5158a9d4692f6fcbea02540 |
|
27-Oct-2008 |
Lennart Poettering <lennart@poettering.net> |
autoconfization |
d0f398bc25636ff5ae2146ac283103a4766c0dca |
|
29-Sep-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
gitignore: move *.8 to subdirs |
d7c709c9186918e59411423e0c4e2b12ac9735d6 |
|
13-Aug-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
update .gitignore
Based on Karel's patch. Thanks! |
88db3905576720349e8bfb1734776c227e6ec3d8 |
|
09-Aug-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
fix .gitignore |
01618658fd82dbc5e6315b639f00e87c6fee3c54 |
|
30-Jul-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
use autotools |
c645b98b7ee51c5700a54e7674083756de67affe |
|
13-Nov-2007 |
Kay Sievers <kay.sievers@vrfy.org> |
remove udevstart |
225cb03bd851adc6d269b13bdf2b1bfded2b96b9 |
|
08-Nov-2007 |
Kay Sievers <kay.sievers@vrfy.org> |
udevadm: merge all udev tools into a single binary |
de49bbb223a1150991226a60e3171acb29651408 |
|
08-Dec-2006 |
Kay Sievers <kay.sievers@vrfy.org> |
rename "udev.c" to "test-udev.c" - it is only for testing |
ff9a488d8c559a2ee40e522cdc68b750670711e4 |
|
12-Apr-2006 |
Kay Sievers <kay.sievers@suse.de> |
remove old symlinks before creating current ones
This will prevent incorrect symlinks when a filesystem
label is changed and the event is triggered again from
sysfs. |
bf289c06bff4e7780b044673fd66a17e510de43e |
|
21-Mar-2006 |
Kay Sievers <kay.sievers@suse.de> |
fix spelling error in debug string |
a8d141a3c165dafcf21d081e88f3cc0b7f1e65c5 |
|
10-Nov-2005 |
Kay Sievers <kay.sievers@suse.de> |
replace udeveventrecorder by a shell script
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
b6d474506f8935084e423f78035ea7206d4c3da0 |
|
07-Nov-2005 |
Kay Sievers <kay.sievers@suse.de> |
update .gitignore
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
9092f7edcf12f7b2dc77e56a6a5f688ef81ef000 |
|
07-Nov-2005 |
Kay Sievers <kay.sievers@suse.de> |
add .gitignore
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |