summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-08-29Add poweroff, suspend etc. loginctl commandsAndy Wingo
* 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.
2015-08-29Incorporate sleep.conf into logind.confAndy Wingo
* 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.
2015-08-23Handle suspend/hibernate/hybrid-suspend/shutdown/reboot directlyAndy Wingo
* 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.
2015-08-23Beginnings of handling suspend/etc within logindAndy Wingo
Since we are catching the keys, we might as well just do suspend/reboot/etc handling here.
2015-08-23Remove unused manager routinesAndy Wingo
Remove routines to call into systemd to manage jobs and units.
2015-08-23logind.c cleanupAndy Wingo
* 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.
2015-08-23Remove systemd subscription and user/session unitsAndy Wingo
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.
2015-08-23Remove support for auto-spawning VTsAndy Wingo
Auto-spawning VTs requires systemd in practice. If you're using systemd you can just use its logind :)
2015-08-20Actually working with pamelogind/v219.5Andy Wingo
* 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.
2015-08-20Don't try to set up cgroups for new userselogind/v219.4Andy Wingo
* src/login/logind-session.c (session_start): Punt on setting up a scope.
2015-08-20Create /run/systemd as neededelogind/v219.3Andy Wingo
* src/login/logind.c (main): Also create /run/systemd at startup. * configure.ac: Bump to 219.3.
2015-08-19Play better with non-FHS distroselogind/v219.2Andy Wingo
* 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.
2015-08-19Remove sd-path interfaceAndy Wingo
* src/libelogind/sd-path/sd-path.c: * src/systemd/sd-path.h: Remove files. These interfaces are not compatible with Guix. * Makefile.am: Adapt.
2015-08-18Fix logind startupAndy Wingo
* 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.
2015-08-16Remove sd_is_mqAndy Wingo
* 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.
2015-08-15Rename systemd-logind to logind.Ricardo Wurmus
2015-08-15Rename PAM configuration file.Ricardo Wurmus
2015-08-15Ignore generated libelogind files.Ricardo Wurmus
2015-08-15rename libsystemd*.pc.in to libelogind*.pc.inRicardo Wurmus
2015-04-20Remove unused and invalid udev definitionsAndy Wingo
These definitions were not valid when compiling against eudev.
2015-04-19Get rid of some more unused defines and dirsAndy Wingo
2015-04-19Remove TTY_GID checksAndy Wingo
2015-04-19Remove EFI supportAndy Wingo
2015-04-19Remove libidn checks/supportAndy Wingo
2015-04-19Remove gnutls checkAndy Wingo
2015-04-19Remove libcryptsetup supportAndy Wingo
2015-04-19Remove elfutils checksAndy Wingo
2015-04-19Remove libaudit supportAndy Wingo
2015-04-19Remove gcrypt checksAndy Wingo
2015-04-19Remove compression supportAndy Wingo
2015-04-19Remove IMA supportAndy Wingo
2015-04-19Remove kmod supportAndy Wingo
2015-04-19Remove quotaon/quotacheck checksAndy Wingo
2015-04-19Remove src/vconsoleAndy Wingo
2015-04-19Remove src/user-sessionsAndy Wingo
2015-04-19Remove src/update-doneAndy Wingo
2015-04-19Remove src/udevAndy Wingo
2015-04-19Remove src/tty-ask-password-agentAndy Wingo
2015-04-19Remove src/tmpfilesAndy Wingo
2015-04-19Remove src/timesyncAndy Wingo
2015-04-19Remove src/timedateAndy Wingo
2015-04-19Remove src/testAndy Wingo
2015-04-19Remove src/sysv-generatorAndy Wingo
2015-04-19Remove src/sysusersAndy Wingo
2015-04-19Remove src/system-update-generatorAndy Wingo
2015-04-19Remove src/systemctlAndy Wingo
2015-04-19Remove src/sysctlAndy Wingo
2015-04-19Remove src/socket-proxyAndy Wingo
2015-04-19Remove src/sleepAndy Wingo
2015-04-19Remove src/shutdowndAndy Wingo