Skip to content

Commit 2a31808

Browse files
authored
Merge branch 'canonical:main' into announce/default-session
2 parents fd772e8 + de09f2c commit 2a31808

37 files changed

+356
-209
lines changed

.github/workflows/test.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
image:
15-
- ubuntu:rolling
1615
- fedora:latest
1716

1817
runs-on: ubuntu-latest

Makefile.am

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ EXTRA_DIST = \
1414
COPYING.LGPL2 \
1515
COPYING.LGPL3 \
1616
NEWS
17+
18+
DISTCLEANFILES = po/.intltool-merge-cache.lock
19+
20+
lightdm-${VERSION}.tar.xz.asc: lightdm-${VERSION}.tar.xz
21+
gpg --armor --detach-sig --sign $<

NEWS

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
Overview of changes in lightdm 1.32.0
2+
3+
* Overwrite existing X authority files to avoid corruption
4+
* Change logind-check-graphical default config value to true
5+
* Block autologin if shell in nologin or false
6+
* Fix failure if with greeters sending two login requests quickly.
7+
* Drop Qt 4 support, it's been unsupported since 2015
8+
* Fix lightdm_set_layout
9+
* Improve method of determining a session is Wayland
10+
* Don't call setenv with a NULL value - the behaviour is undefined
11+
* Replace deprecated QAbstractItemModel::setRoleNames
12+
* Move D-Bus conf file to $(datadir)/dbus-1/system.d
13+
* Fix tests failing when compiled with --with-greeter-user
14+
* Use Python 3 in tests
15+
* Disable compiler optimizations for test programs
16+
* Compilation fix for glibc 2.33
17+
* Remove deprecated use of G_TYPE_INSTANCE_GET_PRIVATE, G_PARAM_PRIVATE
18+
* Fix compile failure due to use of clearenv on FreeBSD
19+
* Use a size_t to resolve a compile warning
20+
* Fix DesktopManager typo in man page
21+
122
Overview of changes in lightdm 1.30.0
223

324
* Add lightdm_user_get_is_locked ()

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Key features of LightDM are:
1313
- Supports remote login (incoming - XDMCP, VNC, outgoing - XDMCP, pluggable).
1414
- Comprehensive test suite.
1515

16-
Releases are synchronised with the [Ubuntu release schedule](https://wiki.ubuntu.com/Releases) and supported for the duration of each Ubuntu release. Each release is announced on the [mailing list](http://lists.freedesktop.org/mailman/listinfo/lightdm).
17-
1816
The core LightDM project does not provide any greeter with it and you should install a greeter appropriate to your system. Popular greeter projects are:
1917

2018
* [LightDM GTK+ Greeter](https://github.com/Xubuntu/lightdm-gtk-greeter) - a greeter that has moderate requirements (GTK+).
@@ -49,6 +47,6 @@ Configuration is in keyfile format. For most installations you will want to chan
4947

5048
# Questions
5149

52-
Questions should be asked on the [mailing list](http://lists.freedesktop.org/mailman/listinfo/lightdm). All questions are welcome.
50+
Discussion about LightDM should be done on the [forum](https://discourse.ubuntu.com/c/light-dm/107). All questions are welcome.
5351

5452
[Stack Overflow](http://stackoverflow.com/search?q=lightdm) and [Ask Ubuntu](http://askubuntu.com/search?q=lightdm) are good sites for frequently asked questions.

configure.ac

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dnl Process this file with autoconf to produce a configure script.
22

3-
AC_INIT(lightdm, 1.30.0)
3+
AC_INIT(lightdm, 1.32.0)
44
AC_CONFIG_MACRO_DIR(m4)
55
AC_CONFIG_HEADER(config.h)
66
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign])
@@ -48,7 +48,7 @@ AC_CHECK_HEADERS(security/pam_appl.h, [], AC_MSG_ERROR(PAM not found))
4848

4949
AC_CHECK_HEADERS(gcrypt.h, [], AC_MSG_ERROR(libgcrypt not found))
5050

51-
AC_CHECK_FUNCS(setresgid setresuid clearenv)
51+
AC_CHECK_FUNCS(setresgid setresuid clearenv __getgroups_chk)
5252

5353
PKG_CHECK_MODULES(LIGHTDM, [
5454
glib-2.0 >= 2.44
@@ -216,6 +216,9 @@ po/Makefile.in
216216
src/Makefile
217217
tests/Makefile
218218
tests/src/Makefile
219+
tests/scripts/login-pam-config.conf
220+
tests/scripts/login-pam.conf
221+
tests/scripts/switch-to-greeter-return-session-pam.conf
219222
])
220223
AC_OUTPUT
221224

data/lightdm.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#lock-memory=true
2727
#user-authority-in-system-dir=false
2828
#guest-account-script=guest-account
29-
#logind-check-graphical=false
29+
#logind-check-graphical=true
3030
#log-directory=/var/log/lightdm
3131
#run-directory=/var/run/lightdm
3232
#cache-directory=/var/cache/lightdm
@@ -160,4 +160,4 @@
160160
#listen-address=
161161
#width=1024
162162
#height=768
163-
#depth=8
163+
#depth=24

data/pam/lightdm-autologin

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#%PAM-1.0
2+
# Block login if shell in nologin or false
3+
auth required pam_succeed_if.so shell notin /sbin/nologin:/usr/sbin/nologin:/bin/false:/usr/bin/false
24

35
# Block login if they are globally disabled
46
auth required pam_nologin.so

debian/changelog

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
lightdm (1.32.0-0ubuntu1) UNRELEASED; urgency=medium
2+
3+
* New upstream release:
4+
- Overwrite existing X authority files to avoid corruption
5+
- Change logind-check-graphical default config value to true
6+
- Block autologin if shell in nologin or false
7+
- Fix failure if with greeters sending two login requests quickly.
8+
- Drop Qt 4 support, it's been unsupported since 2015
9+
- Fix lightdm_set_layout
10+
- Improve method of determining a session is Wayland
11+
- Don't call setenv with a NULL value - the behaviour is undefined
12+
- Replace deprecated QAbstractItemModel::setRoleNames
13+
- Move D-Bus conf file to $(datadir)/dbus-1/system.d
14+
- Fix tests failing when compiled with --with-greeter-user
15+
- Use Python 3 in tests
16+
- Disable compiler optimizations for test programs
17+
- Compilation fix for glibc 2.33
18+
- Remove deprecated use of G_TYPE_INSTANCE_GET_PRIVATE, G_PARAM_PRIVATE
19+
- Fix compile failure due to use of clearenv on FreeBSD
20+
- Use a size_t to resolve a compile warning
21+
- Fix DesktopManager typo in man page
22+
* debian/lightdm.install:
23+
- Update for new D-Bus config location
24+
25+
-- Robert Ancell <[email protected]> Tue, 09 Aug 2022 12:30:51 +1200
26+
127
lightdm (1.30.0-0ubuntu1) eoan; urgency=medium
228

329
* New upstream release:

debian/lightdm.install

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ usr/share/locale
77
usr/share/polkit-1
88
usr/lib/lightdm
99
usr/bin
10-
etc/dbus-1/
1110
etc/lightdm/users.conf
1211
etc/lightdm/lightdm.conf usr/share/doc/lightdm/
1312
etc/lightdm/keys.conf usr/share/doc/lightdm/

debian/lightdm.lightdm-greeter.pam

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#%PAM-1.0
22
auth required pam_permit.so
3-
auth optional pam_gnome_keyring.so
4-
auth optional pam_kwallet.so
5-
auth optional pam_kwallet5.so
3+
-auth optional pam_gnome_keyring.so
4+
-auth optional pam_kwallet.so
5+
-auth optional pam_kwallet5.so
66
@include common-account
77
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
88
session required pam_limits.so
99
@include common-session
1010
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
11-
session optional pam_gnome_keyring.so auto_start
12-
session optional pam_kwallet.so auto_start
13-
session optional pam_kwallet5.so auto_start
11+
-session optional pam_gnome_keyring.so auto_start
12+
-session optional pam_kwallet.so auto_start
13+
-session optional pam_kwallet5.so auto_start
1414
session required pam_env.so readenv=1
1515
session required pam_env.so readenv=1 user_readenv=1 envfile=/etc/default/locale

0 commit comments

Comments
 (0)