ALT Linux Bugzilla
– Attachment 4201 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]
патч: dm.c, greeter.c
xdm-1.1.9-syslog.patch (text/plain), 995 bytes, created by
tt
on 2010-01-12 15:53:02 MSK
(
hide
)
Description:
патч: dm.c, greeter.c
Filename:
MIME Type:
Creator:
tt
Created:
2010-01-12 15:53:02 MSK
Size:
995 bytes
patch
obsolete
>--- xdm-1.1.9/greeter/greet.c 2010-01-12 12:14:20 +0000 >+++ xdm-1.1.9.NEW/greeter/greet.c 2010-01-12 12:15:10 +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/dm.c 2010-01-12 12:14:20 +0000 >+++ xdm-1.1.9.NEW/dm.c 2010-01-12 12:17:48 +0000 >@@ -75,6 +75,16 @@ > # 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 > > #if defined(SVR4) && !defined(sun) > extern FILE *fdopen(); >@@ -745,6 +755,9 @@ > switch (pid) > { > case 0: >+#ifdef USE_SYSLOG >+ openlog("xdm", LOG_ODELAY|LOG_PID, LOG_AUTHPRIV); >+#endif > if (!nofork_session) { > CleanUpChild (); > (void) Signal (SIGPIPE, SIG_IGN);
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