1. 21 Jun, 2012 3 commits
    • Lennart Poettering's avatar
      7ea9cb91
    • Lennart Poettering's avatar
      logind: introduce a state for session, being one of online, active, closing · 0604381b
      Lennart Poettering authored
      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
      0604381b
    • Lennart Poettering's avatar
      logind: expose CanGraphical and CanTTY properties on seat objects · f1a8e221
      Lennart Poettering authored
      Since we boot so fast now that gdm might get started before the
      graphics drivers are properly loaded and probed we might end up
      announcing seat0 to gdm before it has graphics capabilities. Which will
      cause gdm/X11 cause to fail later on.
      
      To fix this race, let's expose CanGraphical and CanTTY fields on all
      seats, which clarify whether a seat is suitable for gdm resp, suitable
      for text logins. gdm then needs to watch CanGraphical and spawn X11 on
      it only if it is true.
      
      This way:
      
      USB graphics seats will expose CanGraphical=yes, CanTTY=no
      
      Machines with no graphics drivers at all, but a text console:
      CanGraphical=no, CanTTY=yes
      
      Machines with CONFIG_VT turned off: CanGraphical=yes, CanTTY=no
      
      And the most important case: seat0 where the graphics driver has not
      been probed yet boot up with CanGraphical=no, CanTTY=yes first, which
      then changes to CanGraphical=yes as soon as the probing is complete.
      f1a8e221
  2. 20 Jun, 2012 3 commits
  3. 19 Jun, 2012 4 commits
    • Shawn Landden's avatar
      analyze: Python 3 compatibility · e23637b6
      Shawn Landden authored
      Plot verb doesn't currently work b/c Cairo bug sending to stdout in python 3.
      e23637b6
    • Lennart Poettering's avatar
      login: initialize XDG_RUNTIME_DIR as /run/user/$UID instead of /run/user/$USER · 2138e969
      Lennart Poettering authored
      The sssd folks would like to place the kerberos credential cache in
      XDG_RUNTIME_DIR, but need to do that in the PAM auth hooks, before
      pam_systemd is run as part of the PAM session setup. Hence, in order to
      make this easy for them: avoid usage of usernames, and use user IDs
      instead thus making an additional NSS lookup unnecessary in the kerberos
      bits, but still have the directory well-defined so that the kerberos
      bits can determine it before pam_systemd is run.
      2138e969
    • Tom Gundersen's avatar
      vconsole-setup: enable utf-8 mode explicitly · d305a67b
      Tom Gundersen authored
      Rather than assuming the console is in utf-8 mode if nothing else is
      specified, be a bit more robust and enable it explicitly.
      
      This fixes a regression compared with Arch's initscripts when not
      using a framebuffer as the old VGA console would not be in utf-8
      mode by default.
      
      Furthermore, this would allow vconsole-setup to be used after boot
      to change the vconsole into utf-8 mode in case it has been set to
      non-utf-8 mode for whatever reason. I.e, the following would leave
      the console in utf-8 mode as expected:
      
       # export LANG=en_US.ISO-8859-1
       # /usr/lib/systemd/systemd-vconsole-setup
       # export LANG=en_US.UTF-8
       # /usr/lib/systemd/systemd-vconsole-setup
      Reported-by: 's avatarXyne <xyne@archlinx.ca>
      Reported-by: 's avatarThomas Bächler <thomas@archlinux.org>
      Cc: Dave Reisner <dreisner@archlinux.org>
      d305a67b
    • Michal Sekletar's avatar
      systemd: return error when asked to stop unknown unit · 9722ef25
      Michal Sekletar authored
      Command systemctl stop foo.service, will print error message, when
      foo.service is unknown to systemd, i.e. there is no unit file loaded for
      this service.
      https://bugzilla.redhat.com/show_bug.cgi?id=732874
      9722ef25
  4. 18 Jun, 2012 1 commit
  5. 16 Jun, 2012 7 commits
  6. 15 Jun, 2012 2 commits
  7. 14 Jun, 2012 2 commits
  8. 13 Jun, 2012 6 commits
  9. 12 Jun, 2012 3 commits
  10. 10 Jun, 2012 9 commits