b26fa1a2fbcfee7d03b0c8fd15ec3aa64ae70b9f |
|
10-Feb-2016 |
Daniel Mack <daniel@zonque.org> |
tree-wide: remove Emacs lines from all files
This should be handled fine now by .dir-locals.el, so need to carry that
stuff in every file. |
40c9fe4c0862114dab390c8ed16f78cf056b9140 |
|
20-Jan-2016 |
Jan Synacek <jsynacek@redhat.com> |
basic/terminal-util: introduce SYSTEMD_COLORS environment variable
... to determine if color output should be enabled. If the variable is not set,
fall back to using on_tty(). Also, rewrite existing code to use
colors_enabled() where appropriate. |
4afd3348c7506dd1d36305b7bcb9feb8952b9d6b |
|
27-Nov-2015 |
Lennart Poettering <lennart@poettering.net> |
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008. |
b5efdb8af40ea759a1ea584c1bc44ecc81dd00ce |
|
27-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: split out allocation calls into alloc-util.[ch] |
6bedfcbb2970e06a4d3280c8fb62083d252ede73 |
|
27-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: split string parsing related calls from util.[ch] into parse-util.[ch] |
b1d4f8e154bf61b5de1b27461ef8e9c8c5e838a1 |
|
26-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: split out user/group/uid/gid calls into user-util.[ch] |
266f3e269d173f104aa2a5e3ceac9b6979ea5039 |
|
29-Sep-2015 |
Lennart Poettering <lennart@poettering.net> |
bus-util: rename bus_open_transport() to bus_connect_transport()
In sd-bus, the sd_bus_open_xyz() family of calls allocates a new bus,
while sd_bus_default_xyz() family tries to reuse the thread's default
bus. bus_open_transport() sometimes internally uses the former,
sometimes the latter family, but suggests it only calls the former via
its name. Hence, let's avoid this confusion, and generically rename the
call to bus_connect_transport().
Similar for all related calls.
And while we are at it, also change cgls + cgtop to do direct systemd
connections where possible, since all they do is talk to systemd itself. |
3f6fd1ba65f962702753c4ad284b588e59689a23 |
|
29-Sep-2015 |
Lennart Poettering <lennart@poettering.net> |
util: introduce common version() implementation and use it everywhere
This also allows us to drop build.h from a ton of files, hence do so.
Since we touched the #includes of those files, let's order them properly
according to CODING_STYLE. |
c077529ba6852192c464772ce907670850210dfe |
|
22-Sep-2015 |
Lennart Poettering <lennart@poettering.net> |
util: drop UID_IS_INVALID() in favour of uid_is_valid()
No need to keep both functions, settle on uid_is_valid() for everything. |
2a998c74028a109d6bd8888951abfa8e25a15fb1 |
|
11-Sep-2015 |
Lukas Nykryn <lnykryn@redhat.com> |
loginctl: print nontrivial properties in logictl show-* |
6f883237f1b8a96ec0ea354866e033b6fcea9506 |
|
01-Sep-2015 |
Lennart Poettering <lennart@poettering.net> |
cgroup: drop "ignore_self" argument from cg_is_empty()
In all cases where the function (or cg_is_empty_recursive()) ignoring
the calling process is actually wrong, as a process keeps a cgroup busy
regardless if its the current one or another. Hence, let's simplify
things and drop the "ignore_self" parameter. |
2fc09a9cdd1ad25bc7c53a23d5301eb952e1ce3d |
|
30-Jul-2015 |
Daniel Mack <daniel@zonque.org> |
tree-wide: use free_and_strdup()
Use free_and_strdup() where appropriate and replace equivalent,
open-coded versions. |
03976f7b4a84b8b1492a549a3470b2bba8f37008 |
|
03-Jul-2015 |
Lennart Poettering <lennart@poettering.net> |
sd-bus: introduce new sd_bus_flush_close_unref() call
sd_bus_flush_close_unref() is a call that simply combines sd_bus_flush()
(which writes all unwritten messages out) + sd_bus_close() (which
terminates the connection, releasing all unread messages) +
sd_bus_unref() (which frees the connection).
The combination of this call is used pretty frequently in systemd tools
right before exiting, and should also be relevant for most external
clients, and is hence useful to cover in a call of its own.
Previously the combination of the three calls was already done in the
_cleanup_bus_close_unref_ macro, but this was only available internally.
Also see #327 |
e7e55dbdc38f929805ab2407fbd50886043a9e7c |
|
14-Jun-2015 |
David Herrmann <dh.herrmann@gmail.com> |
tree-wide: fix memory leaks in users of bus_map_all_properties()
If you use bus_map_all_properties(), you must be aware that it might
touch output variables even though it may fail. This is, because we parse
many different bus-properties and cannot tell how to clean them up, in
case we fail deep down in the parser.
Fix all callers of bus_map_all_properties() to correctly cleanup any
context structures at all times. |
24882e06c135584f16f31ba8a00fecde8b7f6fad |
|
29-May-2015 |
Lennart Poettering <lennart@poettering.net> |
util: split out signal-util.[ch] from util.[ch]
No functional changes. |
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] |
2eec67acbb00593e414549a7e5b35eb7dd776b1b |
|
23-Feb-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
remove unused includes
This patch removes includes that are not used. The removals were found with
include-what-you-use which checks if any of the symbols from a header is
in use. |
c529695e7a30b300fdaa61ace4a8a4ed0e94ad1c |
|
18-Feb-2015 |
Lennart Poettering <lennart@poettering.net> |
logind: open up most bus calls for unpriviliged processes, using PolicyKit
Also, allow clients to alter their own objects without any further
priviliges. i.e. this allows clients to kill and lock their own sessions
without involving PK. |
2fbcde7402a26d365b6a8091b912154e6d187ee4 |
|
14-Jan-2015 |
Lennart Poettering <lennart@poettering.net> |
loginctl: fix misuse compound literals
The lifetime of compound literals is bound to the local scope, we hence
cannot refernce them outside of it. |
906b76b27be410af25aa7f79b4cfdb35f7f32fc7 |
|
09-Jan-2015 |
Lennart Poettering <lennart@poettering.net> |
loginctl: make session/user arguments optional for a number commands, and imply calling session/user instead
This turns "lock-session", "activate", "unlock-session",
"enable-linger", "disable-linger" into commands that take no argument,
optionally in which case the callers session/user is implied. |
86e1f46f92ff4c447ea32a6892ea394c6e6ef541 |
|
09-Jan-2015 |
Lennart Poettering <lennart@poettering.net> |
loginctl: make "loginctl session-status" without session ID show the caller's session status
Similar for user-status and seat-status. |
f7621db0e38c3e96d48766ae648f1b7a0949ea13 |
|
08-Jan-2015 |
Lennart Poettering <lennart@poettering.net> |
loginctl: port to generic verbs.h API |
079dac08c6a2725ce6e5ed2afa3f03d057c999c6 |
|
08-Jan-2015 |
Lennart Poettering <lennart@poettering.net> |
systemctl,loginctl: start polkit agent for all polkit enabled operations |
3c7560019e623e6e0d03a860b4f19a3a8715feca |
|
08-Jan-2015 |
Lennart Poettering <lennart@poettering.net> |
loginctl: show the 10 most recent log user/session log lines in "loginctl user-status" and "loginctl session-status" |
01c51934cbca705d854c3986870ca424df0cae46 |
|
26-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
loginctl: reindent --help text |
2520f939bae6c26425d6737fd2e285c28b9f49c8 |
|
26-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
loginctl: add more --help sections |
de33fc625725d199629ed074d6278504deb23deb |
|
24-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
sd-bus: rename sd_bus_open_system_container() to sd_bus_open_system_machine()
Pretty much everywhere else we use the generic term "machine" when
referring to containers in API, so let's do though in sd-bus too. In
particular, since the concept of a "container" exists in sd-bus too, but
as part of the marshalling system. |
c4ef05484df942b6cc2037d33dd56cd209d1db9b |
|
11-Dec-2014 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
use correct format types |
f647962d64e844689f3e2acfce6102fc47e76df2 |
|
28-Nov-2014 |
Michal Schmidt <mschmidt@redhat.com> |
treewide: yet more log_*_errno + return simplifications
Using:
find . -name '*.[ch]' | while read f; do perl -i.mmm -e \
'local $/;
local $_=<>;
s/(if\s*\([^\n]+\))\s*{\n(\s*)(log_[a-z_]*_errno\(\s*([->a-zA-Z_]+)\s*,[^;]+);\s*return\s+\g4;\s+}/\1\n\2return \3;/msg;
print;'
$f
done
And a couple of manual whitespace fixups. |
da927ba997d68401563b927f92e6e40e021a8e5c |
|
28-Nov-2014 |
Michal Schmidt <mschmidt@redhat.com> |
treewide: no need to negate errno for log_*_errno()
It corrrectly handles both positive and negative errno values. |
0a1beeb64207eaa88ab9236787b1cbc2f704ae14 |
|
28-Nov-2014 |
Michal Schmidt <mschmidt@redhat.com> |
treewide: auto-convert the simple cases to log_*_errno()
As a followup to 086891e5c1 "log: add an "error" parameter to all
low-level logging calls and intrdouce log_error_errno() as log calls
that take error numbers", use sed to convert the simple cases to use
the new macros:
find . -name '*.[ch]' | xargs sed -r -i -e \
's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/'
Multi-line log_*() invocations are not covered.
And we also should add log_unit_*_errno(). |
249968612f16a71df909d6e73785c18a9ff36a65 |
|
04-Aug-2014 |
Lennart Poettering <lennart@poettering.net> |
bus: always explicitly close bus from main programs
Since b5eca3a2059f9399d1dc52cbcf9698674c4b1cf0 we don't attempt to GC
busses anymore when unsent messages remain that keep their reference,
when they otherwise are not referenced anymore. This means that if we
explicitly want connections to go away, we need to close them.
With this change we will no do so explicitly wherver we connect to the
bus from a main program (and thus know when the bus connection should go
away), or when we create a private bus connection, that really should go
away after our use.
This fixes connection leaks in the NSS and PAM modules. |
601185b43da638b1c74153deae01dbd518680889 |
|
04-Aug-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Unify parse_argv style
getopt is usually good at printing out a nice error message when
commandline options are invalid. It distinguishes between an unknown
option and a known option with a missing arg. It is better to let it
do its job and not use opterr=0 unless we actually want to suppress
messages. So remove opterr=0 in the few places where it wasn't really
useful.
When an error in options is encountered, we should not print a lengthy
help() and overwhelm the user, when we know precisely what is wrong
with the commandline. In addition, since help() prints to stdout, it
should not be used except when requested with -h or --help.
Also, simplify things here and there. |
a4cd87e9dce6d38846f23d44df9e21f322f946df |
|
05-Feb-2014 |
Lennart Poettering <lennart@poettering.net> |
man: introduce new "Desktop" property for sessions
This is initialized from XDG_SESSION_DESKTOP and is useful for GNOME
to recognize its own sessions. It's supposed to be set to a short string
identifying the session, such as "kde" or "gnome". |
91d53e2b896ed3b1e76c3117a7acb74e4edc921f |
|
23-Dec-2013 |
Mantas MikulÄ—nas <grawity@gmail.com> |
loginctl: fix output of type with class |
016284c352084cdbf856905704070c1f30970f58 |
|
22-Dec-2013 |
Djalal Harouni <tixxdz@opendz.org> |
loginctl: correctly show session IDs on session-status
Commit f8f14b3654bcd introduced a regression that makes
loginctl session-status to not show the correct session ID(s)
In print_session_status_info() the map[] array, element "Seat" receives
the offset of the "id" in "SessionStatusInfo" struct instead of the
offset of the "seat" member.
This will cause prop_map_first_of_struct() function to overwrite the
SessionStatusInfo.id memory with seats if there are any.
Fix this typo by using the "seat" member.
Before:
- tixxdz (1000)
Since: Sat 2013-12-21 10:07:23 CET; 5h 26min ago
Leader: 1265 (sshd)
After:
1 - tixxdz (1000)
Since: Sat 2013-12-21 10:07:23 CET; 5h 26min ago
Leader: 1265 (sshd) |
841aa8c0b484b96654b95d3c4e936e37da4c7dda |
|
22-Dec-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
loginctl,shell-completions: fix listing of sessions/users/seats |
495cb9bbeb0bf2959f12e69253465a6aa03e7aef |
|
19-Dec-2013 |
Djalal Harouni <tixxdz@opendz.org> |
loginctl: improve print_{session|user|seat}_status_info() functions
1) Instead of checking if we need to print a new line on each iteration,
pass the "new_line" as a pointer to those functions, so they can use
it to check if a new line is needed. This makes the code more consistent
as it is done in other places: machinectl, systemctl...
2) Move the error messages from show_{session|user|seat}() to their
appropriate print_{session|user|seat}_status_info() functions, this will
prevent from logging an error message twice in case show_properties()
fails and it will improve code readability.
3) Also do not ignore error codes on these functions. |
97aa7b478177f200d250dc0186f49e52b5f6e3c8 |
|
19-Dec-2013 |
Djalal Harouni <tixxdz@opendz.org> |
loginctl: use show_properties() to get login1 properties
Commit f8f14b3654bcd introduced a regression that makes loginctl ignore
the "--property" option.
This patch fixes the bug, it uses a new show_properties() function to
query and filter properties. |
1c3051eba4f2a3cbb8417f8d2e11699a67987700 |
|
19-Dec-2013 |
Djalal Harouni <tixxdz@opendz.org> |
loginctl: replace strv_append() by strv_extend() |
4f8f66cb4236783cd3cbee97fefc9aaa8469ac08 |
|
09-Dec-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Help output spring cleaning
Use [brackets] only for optional elements.
Use <optional> in XML sources. |
92bd5ff3a062c3f9475b9d9d39b9335bfeb7705e |
|
28-Nov-2013 |
David Herrmann <dh.herrmann@gmail.com> |
logind: make VT numbers unsigned
Fix the whole code to use "unsigned int" for vtnr. 0 is an invalid vtnr so
we don't need negative numbers at all.
Note that most code already assumes it's unsigned so in case there's a
negative vtnr, our code may, under special circumstances, silently break.
So this patch makes sure all sources of vtnrs verify the validity. Also
note that the dbus api already uses unsigned ints. |
5b30bef856e89a571df57b7b953e9a1409d9aced |
|
07-Nov-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: log message parsing errors everywhere with a generalized bus_log_parse_error() |
46e65dcc3a522b5e992e165b5e61d14254026859 |
|
07-Nov-2013 |
Lennart Poettering <lennart@poettering.net> |
polkit: don't spawn local client if we access a remote system |
f8f14b3654bcd8d6c6cfd118e50775f6a2328a35 |
|
07-Nov-2013 |
Simon Peeters <peeters.simon@gmail.com> |
loginctl: convert to sd-bus
NOTE: the show-* subcommands do not print some properties:
this are those with types like (so), a(so), (uo),...
we need to fix this, but I'm not sure how |
eb9da376d76b48585b3b63b4f91903b54f7abd36 |
|
06-Nov-2013 |
Lennart Poettering <lennart@poettering.net> |
clients: unify how we invoke getopt_long()
Among other things this makes sure we always expose a --version command
and show it in the help texts. |
9d12709626bccc0cae677a7035f62efe6aabb4ab |
|
11-Jul-2013 |
Lennart Poettering <lennart@poettering.net> |
loginctl: suppress cgroup tree output if cgroup is empty
same for machinectl |
aa1936ea1a89c2bb968ba33e3274898a4eeae771 |
|
11-Jul-2013 |
Lennart Poettering <lennart@poettering.net> |
loginctl: restore cgroup display for status output
Same for machinectl. |
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. |
9444b1f20e311f073864d81e913bd4f32fe95cfd |
|
20-Jun-2013 |
Lennart Poettering <lennart@poettering.net> |
logind: add infrastructure to keep track of machines, and move to slices
- This changes all logind cgroup objects to use slice objects rather
than fixed croup locations.
- logind can now collect minimal information about running
VMs/containers. As fixed cgroup locations can no longer be used we
need an entity that keeps track of machine cgroups in whatever slice
they might be located. Since logind already keeps track of users,
sessions and seats this is a trivial addition.
- nspawn will now register with logind and pass various bits of metadata
along. A new option "--slice=" has been added to place the container
in a specific slice.
- loginctl gained commands to list, introspect and terminate machines.
- user.slice and machine.slice will now be pulled in by logind.service,
since only logind.service requires this slice. |
422fa6500a44a222b655cd218a658f8a4f34a768 |
|
20-Jun-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
cgls,loginctl,systemctl: fix -l
Fixup for 98a6e13 "journalctl,loginctl,systemctl,systemd-cgls: add -l
as alias for --full". |
98a6e132b5b85999f7e3dce158e826ffeecc1553 |
|
17-Jun-2013 |
Daniel Albers <daniel@lbe.rs> |
journalctl,loginctl,systemctl,systemd-cgls: add -l as alias for --full
https://bugs.freedesktop.org/show_bug.cgi?id=65850 |
7085053a437456ab87d726f3697002dd811fdf7a |
|
10-Jun-2013 |
Daniel Wallace <danielwallace@gtmanfred.com> |
Allow for the use of @ in remote host calls
Without this you have to use %40 with the -H flag because dbus doesn't
like the @ sign being unescaped. |
391a4f72422ab18c0a6b5f291fa47f8d606b9e14 |
|
25-Apr-2013 |
Lennart Poettering <lennart@poettering.net> |
inhbit: show comm field of inhibiting processes |
b92bea5d2a9481de69bb627a7b442a9f58fca43d |
|
06-Apr-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Use initalization instead of explicit zeroing
Before, we would initialize many fields twice: first
by filling the structure with zeros, and then a second
time with the real values. We can let the compiler do
the job for us, avoiding one copy.
A downside of this patch is that text gets slightly
bigger. This is because all zero() calls are effectively
inlined:
$ size build/.libs/systemd
text data bss dec hex filename
before 897737 107300 2560 1007597 f5fed build/.libs/systemd
after 897873 107300 2560 1007733 f6075 build/.libs/systemd
… actually less than 1‰.
A few asserts that the parameter is not null had to be removed. I
don't think this changes much, because first, it is quite unlikely
for the assert to fail, and second, an immediate SEGV is almost as
good as an assert. |
4654e558a3c297a71f05c3b2db6a2744fcf3cdea |
|
19-Mar-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
logind: exploit previous cleanups and simplify returns |
ce0fc5f5f6debc6e37ac3ab0a3ea1c9c35b3ed99 |
|
19-Mar-2013 |
Colin Walters <walters@verbum.org> |
logind: Make more use of cleanup macros |
1b12a7b5896f94bdf33b3a6661ebabd761ea6adc |
|
07-Mar-2013 |
Harald Hoyer <harald@redhat.com> |
pager: introduce "jump to end" option
$ journalctl -be
is what you want :)
https://bugzilla.redhat.com/show_bug.cgi?id=867841 |
b61600291e3bbc51482bbb9823ccd48f03c130da |
|
24-Jan-2013 |
Lennart Poettering <lennart@poettering.net> |
logind: add UnlockSessions() clal to complement LockSessions() |
9bdbc2e2ec523dbefe1c1c7e164b5544aff0b185 |
|
16-Jan-2013 |
Lukas Nykryn <lnykryn@redhat.com> |
systemctl,loginctl,cgls: do not ellipsize cgroup members when --full is specified
New file output.h with output flags and modes.
--full parameter also for cgls and loginctl.
Include 'all' parameter in flags (show_cgroup_by_path, show_cgroup,
show_cgroup_and_extra, show_cgroup_and_extra_by_spec).
get_process_cmdline with max_length == 0 will not ellipsize output.
Replace LINE_MAX with 0 in some calls of get_process_cmdline.
[zj: Default to --full when under pager for clgs.
Drop '-f' since it wasn't documented and didn't actually work.
Reindent a bit.
] |
bc2708414babc5c99bb8000e63c84e87606cc15d |
|
04-Jan-2013 |
Lennart Poettering <lennart@poettering.net> |
build-sys: drop all distribution specfic checks
Yay, we now have a completely generic systemd. No distribution specific checks anymore! |
9185c8e6266d607df665d24f525b48b39e20d847 |
|
23-Nov-2012 |
Lennart Poettering <lennart@poettering.net> |
time-util: also rename FORMAT_TIMESTAMP_PRETTY → _MAX |
bbb8486e1709ee297a1eb803f88041e1da1fa436 |
|
23-Nov-2012 |
Lennart Poettering <lennart@poettering.net> |
util: rename format_timestamp_pretty() to format_timestamp_relative() because that describes much better what it does |
a9cdc94f7ff40f22a3cf9472f612a80730a1b010 |
|
12-Nov-2012 |
Dave Reisner <dreisner@archlinux.org> |
enable localization for common *ctl commands |
8481248b9fbddc6d5e6ff26eb23505ef13dc85f7 |
|
19-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
util: unify usage of on_tty() in util.c |
c846716a5a0c12eb9c7aa566da4666c50cdf2eba |
|
17-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
loginctl: show pager also for status command |
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. |
5d5e98eb8c859d5a85fe6cd5e3cc433bd8a096ba |
|
21-Sep-2012 |
Lukas Nykryn <lnykryn@redhat.com> |
login: missing break for getopt ARG_NO_ASK_PASSWORD in loginctl |
2a3613b1211d7e5cb669c04946e2cbb6be68112c |
|
08-Aug-2012 |
Simon Peeters <peeters.simon@gmail.com> |
loginctl: use bus_method_call_with_reply() where posible |
7212a8a99ee863698f5feaa00abb4b99f3996a1a |
|
29-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
logind: add new loginctl lock-sessions command |
d05c5031ad4c528fe6bbfed289519edb9f13180a |
|
16-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
unit: introduce %s specifier for the user shell |
0604381b9dbef4cc498b5a77311e1da99c1430b8 |
|
21-Jun-2012 |
Lennart Poettering <lennart@poettering.net> |
logind: introduce a state for session, being one of online, active, closing
online = logged in
active = logged in and session is in the fg
closing = nominally logged out but some left-over processes still around
Related to:
https://bugzilla.gnome.org/show_bug.cgi?id=677556 |
cc1368e3b3585ab822d76e00945ed4c064047530 |
|
22-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
loginctl: avoid segfault for kill-session and kill-user commands
As reported by Mantas MikulÄ—nas.
http://lists.freedesktop.org/archives/systemd-devel/2012-April/004993.html |
b69d29ce049f12d463a589e18561dd10ee8c09f1 |
|
16-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
systemctl: show main and control PID explicitly in cgroup-show
In some cases the main/control PID of a service can be outside of the
services cgroups (for example, if logind readjusts the processes'
cgroup). In order to clarify this for the user show the main/control PID
in the cgroup tree nonetheless, but mark them specially. |
c3175a7f40a2d2fabc3a2de63033a6810d45221a |
|
16-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
cgls: don't show empty cgroups by default |
5430f7f2bc7330f3088b894166bf3524a067e3d8 |
|
12-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
relicense to LGPLv2.1 (with exceptions)
We finally got the OK from all contributors with non-trivial commits to
relicense systemd from GPL2+ to LGPL2.1+.
Some udev bits continue to be GPL2+ for now, but we are looking into
relicensing them too, to allow free copy/paste of all code within
systemd.
The bits that used to be MIT continue to be MIT.
The big benefit of the relicensing is that closed source code may now
link against libsystemd-login.so and friends. |
6bb92a169e8a65e7def5545798001e0dbecc7d4f |
|
11-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
polkit: temporarily spawn of a polkit agent in terminals for possibly authenticated operations |
55efac6cbcea0d8edda9c6820620ceb390009e7a |
|
14-Feb-2012 |
Lennart Poettering <lennart@poettering.net> |
login: track login class (i.e. one of "user", "greeter", "lock-screen") for each session
This introduces the new PAM environment variable XDG_SESSION_CLASS. If
not set, defaults to "user".
This is useful for apps that want to distuingish real user logins from
"fake" ones which just exist to show a gdm login screen or a lock
screen. |
1e5678d023ab57807d3de08e10304e36bf9a1950 |
|
22-Jan-2012 |
Lennart Poettering <lennart@poettering.net> |
cgls: don't show kernel threads by default |
4bba9156da3e1df2cee24d10d7cd88c776ef4179 |
|
31-Dec-2011 |
Lennart Poettering <lennart@poettering.net> |
logind: move logind into its own subdirectory |