ALT Linux Bugzilla
– Attachment 4198 Details for
Bug 22362
[School lite] - после выхода из сессии XFCE графическая оболочка не запускается (segfault in xdm+pam)
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
патч для session.c, greeter.c
xdm-1.1.9-syslog.patch (text/plain), 1.13 KB, created by
tt
on 2010-01-12 00:58:43 MSK
(
hide
)
Description:
патч для session.c, greeter.c
Filename:
MIME Type:
Creator:
tt
Created:
2010-01-12 00:58:43 MSK
Size:
1.13 KB
patch
obsolete
>--- xdm-1.1.9/greeter/greet.c 2009-09-18 22:31:50 +0000 >+++ xdm-1.1.9.NEW/greeter/greet.c 2010-01-11 20:17:25 +0000 >@@ -489,9 +489,6 @@ > LogError ("Cannot reopen display %s for greet window\n", d->name); > exit (RESERVER_DISPLAY); > } >-#ifdef USE_SYSLOG >- openlog("xdm", LOG_ODELAY|LOG_PID, LOG_AUTHPRIV); >-#endif > > for (;;) { > #ifdef USE_PAM >--- xdm-1.1.9/session.c 2010-01-11 20:19:58 +0000 >+++ xdm-1.1.9.NEW/session.c 2010-01-11 20:18:33 +0000 >@@ -1,4 +1,4 @@ >-/* >+/*/* > > Copyright 1988, 1998 The Open Group > >@@ -74,6 +74,17 @@ > # endif > #endif > >+#if defined(HAVE_OPENLOG) && defined(HAVE_SYSLOG_H) >+# define USE_SYSLOG >+# include <syslog.h> >+# ifndef LOG_AUTHPRIV >+# define LOG_AUTHPRIV LOG_AUTH >+# endif >+# ifndef LOG_PID >+# define LOG_PID 0 >+# endif >+#endif >+ > static int runAndWait (char **args, char **environ); > > #ifdef HAVE_GRP_H >@@ -319,6 +330,10 @@ > } > #endif > >+#ifdef USE_SYSLOG >+ openlog("xdm", LOG_ODELAY|LOG_PID, LOG_AUTHPRIV); >+#endif >+ > /* tell the possibly dynamically loaded greeter function > * what data structure formats to expect. > * These version numbers are registered with The Open Group. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 22362
:
4166
|
4167
|
4198
|
4201