Age | Commit message (Collapse) | Author |
|
|
|
* Makefile.am (PKTTYAGENT): Define as a variable so that users can make
PKTTYAGENT=/whatever to select a specific pkttyagent path.
|
|
|
|
* src/login/loginctl.c: Add poweroff, reboot, suspend, hibernate, and
hybrid-sleep commands. Normally these are handled by systemctl but
since elogind is targeted at the no-systemd use case, we incorporate
them here.
|
|
* src/login/logind-action.c (shutdown_or_sleep, do_sleep): Take modes
from the manager instead of parsing them ourselves.
* src/login/logind-dbus.c (execute_shutdown_or_sleep): Adapt to
shutdown_or_sleep prototype change.
* src/login/logind-gperf.gperf: Add config items from sleep.conf.
* src/login/logind.c (manager_new): Wire up defaults for new config
items.
(manager_free): Free new config items.
(manager_parse_config_file): Arrange to parse a single
elogind/logind.conf file, not grovelling all over the filesystem.
Take the file from the ELOGIND_CONF_FILE environment variable if
present.
|
|
|
|
* configure.ac: Add --with-libcap option.
* Makefile.am (libelogind_shared_la_LDFLAGS): Add CAP_LDFLAGS.
|
|
|
|
* configure.ac: Get paths of halt and reboot.
* Makefile.am (systemsleepdir, systemshutdowndir): New variables. Look
in them for hooks to run.
* src/login/logind-action.c: Inline the salient bits from systemd's
system-sleep.c here.
* src/login/logind-dbus.c (execute_shutdown_or_sleep): Call our own
shutdown_or_sleep helper instead of invoking a systemd method.
* src/login/logind.h: Declare shutdown_or_sleep.
|
|
Since we are catching the keys, we might as well just do
suspend/reboot/etc handling here.
|
|
Remove routines to call into systemd to manage jobs and units.
|
|
* src/login/logind.c: Remove unused vcsa dispatch function. Add
mkdir_label header. Don't mkdir /run/systemd; we require that it be
mounted over ramfs or tmpfs.
|
|
This removes attempts by logind to listen to systemd messages over the
bus, and to start and/or manage units associated with sessions and
users.
|
|
Auto-spawning VTs requires systemd in practice. If you're using systemd
you can just use its logind :)
|
|
* src/login/logind-user.c (user_start): Don't start slices and
systemd-user services.
* src/login/logind-dbus.c (method_create_session): Send a reply directly
instead of waiting on systemd that isn't there.
* configure.ac: Bump version.
|
|
* src/login/logind-session.c (session_start): Punt on setting up a
scope.
|
|
* src/login/logind.c (main): Also create /run/systemd at startup.
* configure.ac: Bump to 219.3.
|
|
* Makefile.am: Remove rootprefix, rootbindir, and rootlibexecdir.
udevrulesdir is substed from configure.ac. Adapt distcheck.
* autogen.sh: Make more normal.
* configure.ac: Add --with-udevrulesdir. Remove --with-rootprefix.
Detect bin dir for udev.
|
|
* src/libelogind/sd-path/sd-path.c:
* src/systemd/sd-path.h: Remove files. These interfaces are not
compatible with Guix.
* Makefile.am: Adapt.
|
|
* configure.ac: Bump version.
|
|
* Makefile.am: Actually build and install libelogind.
|
|
|
|
* src/login/logind.c (manager_connect_bus): Warn instead of error if we
can't subscribe to updates from systemd. Perhaps we should remove
this entirely.
|
|
* configure.ac (OUR_CFLAGS): Actually define. This was preventing test
executables from linking as they weren't getting the -fPIE flag.
|
|
* src/systemd/sd-daemon.h:
* src/libelogind/sd-daemon/sd-daemon.c (sd_is_mq): Remove unused
function that depended on librt. Ultimately we should remove this
header at some point.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* man/less-variables.xml,
man/standard-conf.xml,
man/standard-options.xml,
man/user-system-options.xml: Restore files from upstream (removed in
commit d3ad6bf3).
|
|
With binutils 2.25, the following error occurred:
/tmp/ccx3cAlA.ltrans10.ltrans.o: In function `bus_error_name_to_errno.5271':
/home/wingo/src/elogind/src/libelogind/sd-bus/bus-error.c:113: undefined reference to `__stop_BUS_ERROR_MAP'
/home/wingo/src/elogind/src/libelogind/sd-bus/bus-error.c:113: undefined reference to `__start_BUS_ERROR_MAP'
collect2: error: ld returned 1 exit status
|
|
These definitions were not valid when compiling against eudev.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|