Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 899823 Details for
Bug 910560
sys-apps/portage-3.0.49-r1: dispatch-conf diff doesn't work
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
v3 Proposed Fix
0001-bin-dispatch-conf-Avoid-nologin-shell.patch (text/plain), 879 bytes, created by
Jacob Abel
on 2024-08-10 21:28:47 UTC
(
hide
)
Description:
v3 Proposed Fix
Filename:
MIME Type:
Creator:
Jacob Abel
Created:
2024-08-10 21:28:47 UTC
Size:
879 bytes
patch
obsolete
>From 849d0665e0f9c3786f6154534202afbd60115edd Mon Sep 17 00:00:00 2001 >From: Jacob Abel <jacobabel@nullpo.dev> >Date: Sat, 10 Aug 2024 14:13:07 -0400 >Subject: [PATCH] bin/dispatch-conf: Avoid nologin shell > >Checks if the default shell is set to either nologin or false and uses >the bourne shell instead in those cases. > >Bug: https://bugs.gentoo.org/910560 >Signed-off-by: Jacob Abel <jacobabel@nullpo.dev> >--- > bin/dispatch-conf | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/bin/dispatch-conf b/bin/dispatch-conf >index 93164d909..21f125b8c 100755 >--- a/bin/dispatch-conf >+++ b/bin/dispatch-conf >@@ -577,6 +577,8 @@ def clear_screen(): > shell = os.environ.get("SHELL") > if not shell or not os.access(shell, os.EX_OK): > shell = find_binary("sh") >+elif os.path.basename(shell) in ("nologin", "false"): >+ shell = find_binary("sh") > > > def spawn_shell(cmd): >-- >2.44.2 >
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 910560
:
899815
|
899818
| 899823