Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 899818 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]
Resubmition of the proposed fix for the issue
0001-RESUBMIT-bin-dispatch-conf-Avoid-nologin-shell.patch (text/plain), 950 bytes, created by
Jacob Abel
on 2024-08-10 18:29:36 UTC
(
hide
)
Description:
Resubmition of the proposed fix for the issue
Filename:
MIME Type:
Creator:
Jacob Abel
Created:
2024-08-10 18:29:36 UTC
Size:
950 bytes
patch
obsolete
>From ac6a879d69daa117f8c53277f330e4aaf7d78d44 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 | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/bin/dispatch-conf b/bin/dispatch-conf >index 93164d909..eabd3e471 100755 >--- a/bin/dispatch-conf >+++ b/bin/dispatch-conf >@@ -577,6 +577,10 @@ def clear_screen(): > shell = os.environ.get("SHELL") > if not shell or not os.access(shell, os.EX_OK): > shell = find_binary("sh") >+else: >+ shell_basename = os.path.basename(shell) >+ if shell_basename == "nologin" or shell_basename == "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