File: 0005-gdm_config_file_path_ubuntu.patch

package info (click to toggle)
accountsservice 0.6.37-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,648 kB
  • ctags: 1,236
  • sloc: ansic: 8,138; xml: 1,914; makefile: 305; sh: 220; perl: 42; sed: 16
file content (29 lines) | stat: -rw-r--r-- 1,068 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: Fix path to the GDM configuration file, which is different
 in Debian.
Author: Josselin Mouette <joss@debian.org>
Bug-Debian: http://bugs.debian.org/627311
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49993
---
 src/daemon.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- accountsservice.orig/src/daemon.c
+++ accountsservice/src/daemon.c
@@ -49,7 +49,7 @@
 #define PATH_SHADOW "/etc/shadow"
 #define PATH_NOLOGIN "/sbin/nologin"
 #define PATH_FALSE "/bin/false"
-#define PATH_GDM_CUSTOM "/etc/gdm/custom.conf"
+#define PATH_GDM_CUSTOM "/etc/gdm3/daemon.conf"
 
 #define USERDIR LOCALSTATEDIR "/lib/AccountsService/users"
 
@@ -445,7 +445,7 @@ reload_autologin_timeout (Daemon *daemon
         daemon->priv->autologin_id = 0;
 
         if (!load_autologin (daemon, &name, &enabled, &error)) {
-                g_debug ("failed to load gdms custom.conf: %s", error->message);
+                g_debug ("failed to load gdms daemon.conf: %s", error->message);
                 g_error_free (error);
                 g_free (name);