]> rtime.felk.cvut.cz Git - sojka/lightdm.git/log
sojka/lightdm.git
8 years agoChange log backup to enabled by default - this is probably more useful. We explicitly...
Robert Ancell [Tue, 3 Nov 2015 03:28:27 +0000 (16:28 +1300)]
Change log backup to enabled by default - this is probably more useful. We explicitly disable in Ubuntu

8 years agoImplement XDMCP ForwardQuery
Robert Ancell [Mon, 2 Nov 2015 03:53:08 +0000 (16:53 +1300)]
Implement XDMCP ForwardQuery

8 years agoAdd missing break statement - caught in review by Martin Vogt
Robert Ancell [Mon, 2 Nov 2015 03:52:25 +0000 (16:52 +1300)]
Add missing break statement - caught in review by Martin Vogt

8 years agoAdd LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT and LC_IDENTIFICATION...
Piotr Jurkiewicz [Mon, 2 Nov 2015 03:27:55 +0000 (16:27 +1300)]
Add LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT and LC_IDENTIFICATION variables to the list of inherited locale variables.

8 years agoMake guest account script more portable
Robert Ancell [Fri, 30 Oct 2015 03:02:36 +0000 (16:02 +1300)]
Make guest account script more portable

8 years agoImplement XDMCP ForwardQuery
Robert Ancell [Thu, 29 Oct 2015 23:10:32 +0000 (12:10 +1300)]
Implement XDMCP ForwardQuery

8 years agoFix memory leak in XDMCP logging code
Robert Ancell [Thu, 29 Oct 2015 22:11:28 +0000 (11:11 +1300)]
Fix memory leak in XDMCP logging code

8 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Wed, 28 Oct 2015 05:16:17 +0000 (05:16 +0000)]
Launchpad automatic translations update.

8 years agoApply backup-logs option to the main log
Robert Ancell [Wed, 28 Oct 2015 03:47:47 +0000 (16:47 +1300)]
Apply backup-logs option to the main log

8 years agoMerge log-mode.h into log-file.h
Robert Ancell [Wed, 28 Oct 2015 03:25:29 +0000 (16:25 +1300)]
Merge log-mode.h into log-file.h

8 years agoAdd a backup-logs option to re-enable the old log backup mode
Robert Ancell [Wed, 28 Oct 2015 03:22:31 +0000 (16:22 +1300)]
Add a backup-logs option to re-enable the old log backup mode

8 years agoReleasing 1.17.0
Robert Ancell [Wed, 28 Oct 2015 02:26:39 +0000 (15:26 +1300)]
Releasing 1.17.0

8 years agoFix and simplify test of /etc/guest-session/skel emptyness.
Laércio de Sousa [Fri, 23 Oct 2015 15:31:26 +0000 (13:31 -0200)]
Fix and simplify test of /etc/guest-session/skel emptyness.

8 years agoReplace loginctl action terminate-user with kill-user, which seems more efficient...
Laércio de Sousa [Fri, 23 Oct 2015 13:12:00 +0000 (11:12 -0200)]
Replace loginctl action terminate-user with kill-user, which seems more efficient for terminating all guest user's processes.

8 years agoSimplify GUEST_USER initialization from GUEST_HOME value.
Laércio de Sousa [Fri, 23 Oct 2015 11:20:52 +0000 (09:20 -0200)]
Simplify GUEST_USER initialization from GUEST_HOME value.

8 years agoSet new guest account home dir to GUEST_HOME directly on useradd call. No need to...
Laércio de Sousa [Fri, 23 Oct 2015 11:19:16 +0000 (09:19 -0200)]
Set new guest account home dir to GUEST_HOME directly on useradd call. No need to call "usermod -d" later.

8 years agoDon't fail to remove guest account if its home directory can't be removed, so that...
Laércio de Sousa [Fri, 23 Oct 2015 11:11:48 +0000 (09:11 -0200)]
Don't fail to remove guest account if its home directory can't be removed, so that /etc/passwd won't be polluted.

8 years agoReplace all USER/HOME occurences in guest-account.sh with GUEST_USER/GUEST_HOME.
Laércio de Sousa [Fri, 23 Oct 2015 11:02:48 +0000 (09:02 -0200)]
Replace all USER/HOME occurences in guest-account.sh with GUEST_USER/GUEST_HOME.

8 years agoDrop local keyword, as it may break guest-account.sh. See LP #139097.
Laércio de Sousa [Fri, 23 Oct 2015 10:01:18 +0000 (08:01 -0200)]
Drop local keyword, as it may break guest-account.sh. See LP #139097.

8 years agoUse logrotate to handle files in the default log directory.
Robert Ancell [Thu, 22 Oct 2015 03:07:32 +0000 (16:07 +1300)]
Use logrotate to handle files in the default log directory.

This change introduces support for log rotation using the logrotate tool for
file in the default log directory (/var/log/lightdm). To support this
scenario, existing system log files are not moved to *.old when starting.

8 years agoRefresh debian/patches
Robert Ancell [Wed, 21 Oct 2015 03:45:47 +0000 (16:45 +1300)]
Refresh debian/patches

8 years agoHandle trailing whitespace on boolean values
Robert Ancell [Wed, 21 Oct 2015 03:07:24 +0000 (16:07 +1300)]
Handle trailing whitespace on boolean values

8 years agoDrop debian/patches/xorg-1.17.patch - we now detect this
Robert Ancell [Tue, 20 Oct 2015 19:39:19 +0000 (08:39 +1300)]
Drop debian/patches/xorg-1.17.patch - we now detect this

8 years agoRefresh patches
Robert Ancell [Tue, 20 Oct 2015 19:38:54 +0000 (08:38 +1300)]
Refresh patches

8 years agoUse logrotate to handle files in the default log directory
Alexandros Frantzis [Tue, 20 Oct 2015 07:50:44 +0000 (10:50 +0300)]
Use logrotate to handle files in the default log directory

8 years agoUpdate guest-session AppArmor profile to be suitable for openSUSE
Robert Ancell [Mon, 19 Oct 2015 22:04:03 +0000 (23:04 +0100)]
Update guest-session AppArmor profile to be suitable for openSUSE

8 years agoSet example multi-seat configuration to a valid seat name
Robert Ancell [Mon, 19 Oct 2015 22:01:32 +0000 (23:01 +0100)]
Set example multi-seat configuration to a valid seat name

8 years agoUpdate guest-session AppArmor profile to be suitable for openSUSE
Laércio de Sousa [Mon, 19 Oct 2015 10:44:23 +0000 (08:44 -0200)]
Update guest-session AppArmor profile to be suitable for openSUSE

8 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Sun, 18 Oct 2015 05:17:23 +0000 (05:17 +0000)]
Launchpad automatic translations update.

8 years agoAllow guest sessions to write in /{,var/}run/screen folder, so they can launch screen...
Robert Ancell [Fri, 16 Oct 2015 14:54:22 +0000 (15:54 +0100)]
Allow guest sessions to write in /{,var/}run/screen folder, so they can launch screen terminals (needed for e.g. Epoptes to open remote clients' terminals).

8 years agoText XDMCP clients in both X.Org 1.16 and X.Org 1.17
Robert Ancell [Fri, 16 Oct 2015 13:53:38 +0000 (14:53 +0100)]
Text XDMCP clients in both X.Org 1.16 and X.Org 1.17

8 years agoAllow guest sessions to write in /{,var/}run/screen folder, so they can launch screen...
Laércio de Sousa [Fri, 16 Oct 2015 13:53:26 +0000 (10:53 -0300)]
Allow guest sessions to write in /{,var/}run/screen folder, so they can launch screen terminals (needed for e.g. Epoptes).

8 years agoRely on systemd-logind facilities (when available) to terminate all remaining guest...
Laércio de Sousa [Fri, 16 Oct 2015 13:13:34 +0000 (10:13 -0300)]
Rely on systemd-logind facilities (when available) to terminate all remaining guest user processes.

8 years agoTidy up guest-account.sh code.
Laércio de Sousa [Fri, 16 Oct 2015 12:32:43 +0000 (09:32 -0300)]
Tidy up guest-account.sh code.

8 years agoMove system UID check heuristic in guest-account.sh to a new function is_system_user().
Laércio de Sousa [Fri, 16 Oct 2015 12:27:56 +0000 (09:27 -0300)]
Move system UID check heuristic in guest-account.sh to a new function is_system_user().

8 years agoHandle /run/media/guest-XXXXXX cleanup as well on guest account removal.
Laércio de Sousa [Fri, 16 Oct 2015 11:58:30 +0000 (08:58 -0300)]
Handle /run/media/guest-XXXXXX cleanup as well on guest account removal.

8 years agoReplace Debian-specific adduser/deluser commands with their cross-distro couterparts...
Laércio de Sousa [Fri, 16 Oct 2015 11:31:40 +0000 (08:31 -0300)]
Replace Debian-specific adduser/deluser commands with their cross-distro couterparts useradd/userdel. Based on Andrew Gunnerson's work (https://github.com/chenxiaolong/Unity-for-Fedora-Extra/blob/master/lightdm-guest-session/guest-session-cross-distro.patch)

8 years agoConvert guest-account USER and HOME to lower case, so its creation won't fail in...
Laércio de Sousa [Fri, 16 Oct 2015 11:07:36 +0000 (08:07 -0300)]
Convert guest-account USER and HOME to lower case, so its creation won't fail in non-Ubuntu systems.

8 years agoOptimize guest account creation by removing slow chown -R calls. Split into multiple...
Robert Ancell [Fri, 16 Oct 2015 10:44:18 +0000 (11:44 +0100)]
Optimize guest account creation by removing slow chown -R calls. Split into multiple files separate files.

8 years agoAllow reading /proc/<PID>/net/dev from within a guest session, so that e.g. xfce4...
Robert Ancell [Fri, 16 Oct 2015 10:29:41 +0000 (11:29 +0100)]
Allow reading /proc/<PID>/net/dev from within a guest session, so that e.g. xfce4-netload-plugin can show network traffic properly.

8 years agoUse g_object_clear where we can for readibility
Robert Ancell [Fri, 16 Oct 2015 10:21:18 +0000 (11:21 +0100)]
Use g_object_clear where we can for readibility

8 years agoUse g_object_clear where we can for readibility
Robert Ancell [Fri, 16 Oct 2015 10:20:03 +0000 (11:20 +0100)]
Use g_object_clear where we can for readibility

8 years agoReplace unnecessary dispose method with finalize
Robert Ancell [Fri, 16 Oct 2015 10:09:13 +0000 (11:09 +0100)]
Replace unnecessary dispose method with finalize

8 years agoTidy up finalize methods
Robert Ancell [Fri, 16 Oct 2015 10:04:18 +0000 (11:04 +0100)]
Tidy up finalize methods

8 years agoWhen locking a session, if an existing greeter can't be reused, then it's stopped...
Robert Ancell [Fri, 16 Oct 2015 09:10:34 +0000 (10:10 +0100)]
When locking a session, if an existing greeter can't be reused, then it's stopped and its display server is reused with a new greeter.

8 years agoAllow reading /proc/net/dev from within a guest session.
Laércio de Sousa [Thu, 15 Oct 2015 15:15:03 +0000 (12:15 -0300)]
Allow reading /proc/net/dev from within a guest session.

8 years agoAllow Chromium to receive a SIGTERM when running from within a guest session.
Robert Ancell [Thu, 15 Oct 2015 14:31:10 +0000 (15:31 +0100)]
Allow Chromium to receive a SIGTERM when running from within a guest session.

8 years agoAllow Chromium to receive SIGTERM when running within a guest session.
Laércio de Sousa [Thu, 15 Oct 2015 14:20:19 +0000 (11:20 -0300)]
Allow Chromium to receive SIGTERM when running within a guest session.

8 years agoMake /usr/share/lightdm/guest-session/setup.sh executable on install.
Laércio de Sousa [Thu, 15 Oct 2015 12:59:58 +0000 (09:59 -0300)]
Make /usr/share/lightdm/guest-session/setup.sh executable on install.

8 years agoMove parts of guest-account script to separate files, and revert remaining sudo calls.
Laércio de Sousa [Thu, 15 Oct 2015 12:23:40 +0000 (09:23 -0300)]
Move parts of guest-account script to separate files, and revert remaining sudo calls.

8 years agoTidy up guest-account script code.
Laércio de Sousa [Wed, 14 Oct 2015 20:02:35 +0000 (17:02 -0300)]
Tidy up guest-account script code.

8 years agoAdd xremote tests
Robert Ancell [Wed, 14 Oct 2015 17:18:06 +0000 (18:18 +0100)]
Add xremote tests

8 years agoFix test description
Robert Ancell [Wed, 14 Oct 2015 17:05:22 +0000 (18:05 +0100)]
Fix test description

8 years agoAdd unity as an example seat type
Robert Ancell [Wed, 14 Oct 2015 17:03:24 +0000 (18:03 +0100)]
Add unity as an example seat type

8 years agoAlso test xserver-config option
Robert Ancell [Wed, 14 Oct 2015 16:47:21 +0000 (17:47 +0100)]
Also test xserver-config option

8 years agoAdd a regression test for xserver-layout option.
Robert Ancell [Wed, 14 Oct 2015 16:39:04 +0000 (17:39 +0100)]
Add a regression test for xserver-layout option.

This is probably a bit useless now we have modern multi-seat support and you can set this in the xserver-command anyway.

8 years agoCheck the version of the X server we are running so we correctly pass -listen tcp...
Robert Ancell [Wed, 14 Oct 2015 16:00:30 +0000 (17:00 +0100)]
Check the version of the X server we are running so we correctly pass -listen tcp when required.

Also add tests for xserver-allow-tcp function and check in all cases we are listening on tcp/unix only when appropriate.

8 years agoDrop PRE_HOME directory in guest-account script.
Laércio de Sousa [Wed, 14 Oct 2015 15:00:31 +0000 (12:00 -0300)]
Drop PRE_HOME directory in guest-account script.

8 years agoMove the BindFS mount to the last step, leaving room for multi-layer union-mounting...
Laércio de Sousa [Wed, 14 Oct 2015 14:12:06 +0000 (11:12 -0300)]
Move the BindFS mount to the last step, leaving room for multi-layer union-mounting when populating guest home.

8 years agoCreate on-the-fly directories and files directly as guest user, eliminating need...
Laércio de Sousa [Wed, 14 Oct 2015 12:38:32 +0000 (09:38 -0300)]
Create on-the-fly directories and files directly as guest user, eliminating need for later "chown -R" calls.

8 years agoReplace BindFS option --mirror-only with --force-user/--force-group. They are more...
Laércio de Sousa [Wed, 14 Oct 2015 12:16:54 +0000 (09:16 -0300)]
Replace BindFS option --mirror-only with --force-user/--force-group. They are more suitable now that we have a dedicated BindFS mount for each guest user.

8 years agoSuggest bindfs package
Robert Ancell [Tue, 13 Oct 2015 16:23:38 +0000 (17:23 +0100)]
Suggest bindfs package

8 years agoKeep only bindfs in 'Suggests' field, since linux-image in this field may not be...
Laércio de Sousa [Tue, 13 Oct 2015 13:27:03 +0000 (10:27 -0300)]
Keep only bindfs in 'Suggests' field, since linux-image in this field may not be meaningful and aufs-tools is likely to be removed in the near future.

8 years agoDeclare package requirements to enable union-mounting of guest home directory.
Laércio de Sousa [Tue, 13 Oct 2015 12:02:43 +0000 (09:02 -0300)]
Declare package requirements to enable union-mounting of guest home directory.

8 years agoUse read-only for bindfs mounts
Robert Ancell [Tue, 13 Oct 2015 10:35:25 +0000 (11:35 +0100)]
Use read-only for bindfs mounts

8 years agoEnforce read-only mode for all BindFS mounts to minimize risk of /etc/guest-session...
Laércio de Sousa [Tue, 13 Oct 2015 10:27:05 +0000 (07:27 -0300)]
Enforce read-only mode for all BindFS mounts to minimize risk of /etc/guest-session/skel corruption.

8 years agoFix apparmor profiles for running Chromium in guest sessions
Robert Ancell [Mon, 12 Oct 2015 17:06:07 +0000 (18:06 +0100)]
Fix apparmor profiles for running Chromium in guest sessions

8 years agodata/apparmor/abstractions/lightdm_chromium-browser: cgroups support for
Chad MILLER [Mon, 12 Oct 2015 16:56:46 +0000 (12:56 -0400)]
data/apparmor/abstractions/lightdm_chromium-browser: cgroups support for
guest sessions. (LP: #1504049, LP: #1464958)

8 years agoUpdate debian/changelog
Robert Ancell [Mon, 12 Oct 2015 14:08:01 +0000 (15:08 +0100)]
Update debian/changelog

8 years ago* debian/patches/xorg-1.17.patch:
Robert Ancell [Mon, 12 Oct 2015 14:06:40 +0000 (15:06 +0100)]
* debian/patches/xorg-1.17.patch:
  - Fix xserver-allow-tcp=true option not working with X.org 1.17

8 years agoIf OverlayFS of AuFS is available use them to mount the guest account directory....
Robert Ancell [Sat, 10 Oct 2015 23:04:45 +0000 (16:04 -0700)]
If OverlayFS of AuFS is available use them to mount the guest account directory. This avoids unnecessary copying of files at guest login time

8 years agoFix missing redefinition of PRE_HOME variable.
Laércio de Sousa [Fri, 9 Oct 2015 19:38:57 +0000 (16:38 -0300)]
Fix missing redefinition of PRE_HOME variable.

8 years agoRevert some changes and make a per-user bindfs mount, rather than a shared bindfs...
Laércio de Sousa [Fri, 9 Oct 2015 19:18:27 +0000 (16:18 -0300)]
Revert some changes and make a per-user bindfs mount, rather than a shared bindfs mount for all guest accounts. Multi-seat guest logins break if we have a single shared bindfs mount.

8 years agoUnion-mount /etc/guest-session/skel with guest account home directory, if OverlayFS...
Laércio de Sousa [Thu, 8 Oct 2015 18:05:46 +0000 (15:05 -0300)]
Union-mount /etc/guest-session/skel with guest account home directory, if OverlayFS or AuFS is available. Otherwise, fall back to current copy over method.

8 years agoFix seat name example in data/lightdm.conf
Laércio de Sousa [Thu, 8 Oct 2015 17:26:39 +0000 (14:26 -0300)]
Fix seat name example in data/lightdm.conf

8 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Mon, 5 Oct 2015 05:25:04 +0000 (05:25 +0000)]
Launchpad automatic translations update.

8 years agoChange --enable-audit to --enable-libaudit
Robert Ancell [Tue, 29 Sep 2015 21:41:41 +0000 (10:41 +1300)]
Change --enable-audit to --enable-libaudit

8 years agoDisable libaudit support for now - Unity is not unlocking with these changes
Robert Ancell [Tue, 29 Sep 2015 21:40:06 +0000 (10:40 +1300)]
Disable libaudit support for now - Unity is not unlocking with these changes

8 years agoUse AM_CPPFLAGS instead of deprecated INCLUDES
Robert Ancell [Tue, 29 Sep 2015 20:56:38 +0000 (09:56 +1300)]
Use AM_CPPFLAGS instead of deprecated INCLUDES

8 years agoRemove trailing whitespace
Robert Ancell [Tue, 29 Sep 2015 20:43:27 +0000 (09:43 +1300)]
Remove trailing whitespace

8 years agoFix compilation without libaudit installed
Robert Ancell [Tue, 29 Sep 2015 20:26:33 +0000 (09:26 +1300)]
Fix compilation without libaudit installed

8 years agoAdd vapigen.m4 into repository so can compile without Vala installed
Robert Ancell [Mon, 28 Sep 2015 01:00:20 +0000 (14:00 +1300)]
Add vapigen.m4 into repository so can compile without Vala installed

8 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Thu, 24 Sep 2015 05:17:21 +0000 (05:17 +0000)]
Launchpad automatic translations update.

8 years agoReturn a valid fd for audit_open
Robert Ancell [Wed, 16 Sep 2015 19:45:32 +0000 (15:45 -0400)]
Return a valid fd for audit_open

8 years agoAdd regression test for libaudit support
Robert Ancell [Wed, 16 Sep 2015 18:15:07 +0000 (14:15 -0400)]
Add regression test for libaudit support

8 years agoOnly include libaudit header if using it
Robert Ancell [Wed, 16 Sep 2015 17:52:47 +0000 (13:52 -0400)]
Only include libaudit header if using it

8 years agoLog at configure time if libaudit is being used
Robert Ancell [Wed, 16 Sep 2015 17:45:20 +0000 (13:45 -0400)]
Log at configure time if libaudit is being used

8 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Wed, 9 Sep 2015 05:19:53 +0000 (05:19 +0000)]
Launchpad automatic translations update.

8 years agoUse libaudit to generate audit events
Robert Ancell [Mon, 7 Sep 2015 04:28:48 +0000 (16:28 +1200)]
Use libaudit to generate audit events

8 years agoBuild multi-arch
Robert Ancell [Mon, 7 Sep 2015 00:01:14 +0000 (12:01 +1200)]
Build multi-arch

8 years agoReleasing 1.16.0
Robert Ancell [Sun, 6 Sep 2015 23:41:20 +0000 (11:41 +1200)]
Releasing 1.16.0

8 years agoInstalled files have moved...
Robert Ancell [Sat, 5 Sep 2015 09:28:39 +0000 (21:28 +1200)]
Installed files have moved...

8 years agoMerge with trunk
Robert Ancell [Sat, 5 Sep 2015 09:09:36 +0000 (21:09 +1200)]
Merge with trunk

8 years ago* Generate login and logout events that can be used by the Linux Audit tools
Tyler Hicks [Wed, 2 Sep 2015 01:53:52 +0000 (20:53 -0500)]
* Generate login and logout events that can be used by the Linux Audit tools
  such as aulast and aureport (LP: #1319278) (LP: #1478087)
  - Link against libaudit and log AUDIT_USER_LOGIN and AUDIT_USER_LOGOUT
    events after appending entries to the wtmp file. These events go to the
    audit log and can then be consumed by the Linux Audit tools.
  - debian/control: Add libaudit-dev to Build-Depends
  - debian/lightdm.pam, debian/lightdm-autologin.pam: Set the loginuid for
    the process that is authenticating. This allows for the UID to be
    properly set when AUDIT_USER_LOGIN and AUDIT_USER_LOGOUT events are
    logged.

8 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Tue, 1 Sep 2015 05:18:40 +0000 (05:18 +0000)]
Launchpad automatic translations update.

8 years ago* debian/lightdm.postrm:
Robert Ancell [Wed, 26 Aug 2015 08:42:02 +0000 (09:42 +0100)]
* debian/lightdm.postrm:
  - Don't remove the lightdm user/group on package removal. This fails if the
    user is still in use and leaves the risk of another user being created
    with the same UID. (LP: #924224)

8 years agoWorking on multi-arch...
Robert Ancell [Wed, 26 Aug 2015 08:34:32 +0000 (09:34 +0100)]
Working on multi-arch...

8 years agoLoad pam_kwallet5 in pam profile (kwallet and kwallet5 are distinct entities requirin...
Robert Ancell [Mon, 24 Aug 2015 12:40:06 +0000 (13:40 +0100)]
Load pam_kwallet5 in pam profile (kwallet and kwallet5 are distinct entities requiring sepreate unlocking)

8 years agoLoad pam_kwallet5 in pam profile (kwallet and kwallet5 are distinct
Harald Sitter [Mon, 24 Aug 2015 10:51:30 +0000 (12:51 +0200)]
Load pam_kwallet5 in pam profile (kwallet and kwallet5 are distinct
entities requiring sepreate unlocking)

8 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Fri, 21 Aug 2015 05:18:22 +0000 (05:18 +0000)]
Launchpad automatic translations update.