Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 350142 Details for
Bug 461940
standalone logind
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Required patch for standalone logind
standalone.patch (text/plain), 1.56 KB, created by
Samuli Suominen (RETIRED)
on 2013-06-05 00:44:18 UTC
(
hide
)
Description:
Required patch for standalone logind
Filename:
MIME Type:
Creator:
Samuli Suominen (RETIRED)
Created:
2013-06-05 00:44:18 UTC
Size:
1.56 KB
patch
obsolete
>Thanks to Ubuntu maintainers for hacking some of this, >http://launchpad.net/ubuntu/+archive/primary/+files/systemd_204-0ubuntu1.debian.tar.gz > >--- src/login/logind.c >+++ src/login/logind.c >@@ -1371,9 +1371,15 @@ > Seat *seat; > Session *session; > User *user; >+ Iterator i; > > assert(m); > >+ /* clean up empty sessions when not running under systemd */ >+ HASHMAP_FOREACH(session, m->session_cgroups, i) >+ if (session_get_state(session) == SESSION_CLOSING) >+ session_add_to_gc_queue(session); >+ > while ((seat = m->seat_gc_queue)) { > LIST_REMOVE(Seat, gc_queue, m->seat_gc_queue, seat); > seat->in_gc_queue = false; >--- src/login/logind-session.c >+++ src/login/logind-session.c >@@ -642,7 +642,7 @@ > > r = manager_get_session_by_pid(s->manager, s->leader, &t); > if (r > 0 && t == s) { >- kill(s->leader, SIGTERM); /* for normal processes */ >+ /*kill(s->leader, SIGTERM); */ /* for normal processes */ > kill(s->leader, SIGHUP); /* for shells */ > kill(s->leader, SIGCONT); /* in case they are stopped */ > } >--- src/login/org.freedesktop.login1.service >+++ src/login/org.freedesktop.login1.service >@@ -7,6 +7,6 @@ > > [D-BUS Service] > Name=org.freedesktop.login1 >-Exec=/bin/false >+Exec=/lib/systemd/systemd-logind > User=root > SystemdService=dbus-org.freedesktop.login1.service
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 461940
:
344502
|
344504
|
344506
|
344508
|
347524
|
348482
| 350142