summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-01v219.9elogind/v219.9Andy Wingo
2015-09-01PKTTYAGENT make variableAndy Wingo
* Makefile.am (PKTTYAGENT): Define as a variable so that users can make PKTTYAGENT=/whatever to select a specific pkttyagent path.
2015-08-29v219.8Andy Wingo
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-26v219.7elogind/v219.7Andy Wingo
2015-08-26Add --with-libcap optionAndy Wingo
* configure.ac: Add --with-libcap option. * Makefile.am (libelogind_shared_la_LDFLAGS): Add CAP_LDFLAGS.
2015-08-23v219.6elogind/v219.6Andy Wingo
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-18v219.1elogind/v219.1Andy Wingo
* configure.ac: Bump version.
2015-08-18Add rules to build and install the public libelogind libraryAndy Wingo
* Makefile.am: Actually build and install libelogind.
2015-08-18Fix distcheckelogind/v219.0Andy Wingo
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-16configure.ac actually defines OUR_CFLAGSAndy Wingo
* configure.ac (OUR_CFLAGS): Actually define. This was preventing test executables from linking as they weren't getting the -fPIE flag.
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-15Remove reference to non-existing file.Ricardo Wurmus
2015-08-15Do not install aliases for units.Ricardo Wurmus
2015-08-15Ignore generated libelogind files.Ricardo Wurmus
2015-08-15rename libsystemd*.pc.in to libelogind*.pc.inRicardo Wurmus
2015-08-15restore libsystemd-pkgconfig.xml as libelogind-pkgconfig.xmlRicardo Wurmus
2015-08-15Replace systemd.version with elogind.version.Ricardo Wurmus
2015-08-15Restore shared XML files.Ricardo Wurmus
* 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).
2015-04-20Disable -fltoAndy Wingo
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
2015-04-20Remove unused and invalid udev definitionsAndy Wingo
These definitions were not valid when compiling against eudev.
2015-04-20Remove more extraneous Makefile.am bitsAndy Wingo
2015-04-19Re-add logind man pages from upstream systemdAndy Wingo
2015-04-19Get rid of some more unused defines and dirsAndy Wingo
2015-04-19Remove more vestigial configureac printoutsAndy Wingo
2015-04-19Remove some vestigial Python thingsAndy Wingo
2015-04-19Remove certificate root checksAndy Wingo
2015-04-19Remove qemu bios checksAndy Wingo
2015-04-19Remove DKR index dir checksAndy Wingo
2015-04-19Remove TTY_GID checksAndy Wingo
2015-04-19Remove ldconfig supportAndy Wingo
2015-04-19Remove hibernate checksAndy Wingo
2015-04-19Remove hwdb checkAndy Wingo
2015-04-19Remove gudev checkAndy Wingo
2015-04-19Remove myhostname checks/supportAndy Wingo