Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1713891 Details for
Bug 1868215
sudo: unable to mkdir /sudo: Operation not permitted
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix runstatedir variable handling in configure
0001-configure-Fix-runstatedir-handling-for-distros-that-.patch (text/plain), 1.76 KB, created by
Evan Anderson
on 2020-09-06 19:36:54 UTC
(
hide
)
Description:
Fix runstatedir variable handling in configure
Filename:
MIME Type:
Creator:
Evan Anderson
Created:
2020-09-06 19:36:54 UTC
Size:
1.76 KB
patch
obsolete
>From 0d7a041f18c5016abb78b74f3cfa505797e704ee Mon Sep 17 00:00:00 2001 >From: Evan Anderson <evan@eaanderson.com> >Date: Sun, 6 Sep 2020 14:30:54 -0500 >Subject: [PATCH] configure: Fix runstatedir handling for distros that do not > support it > >runstatedir was added in yet-to-be released autoconf 2.70. Some distros >are shipping this addition in their autoconf packages, but others, such as Fedora, >are not. This causes the rundir variable to be set incorrectly if the configure script >is regenerated with an unpatched autoconf since the runstatedir variable set is deleted >after regeneration. This change works around that problem by checking that runstatedir >is non-empty before potentially using it to set the rundir variable >--- > configure | 2 +- > m4/sudo.m4 | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/configure b/configure >index 0f6ceb16c..2e0838e01 100755 >--- a/configure >+++ b/configure >@@ -26718,7 +26718,7 @@ EOF > $as_echo_n "checking for sudo run dir location... " >&6; } > if test -n "$with_rundir"; then > rundir="$with_rundir" >-elif test "$runstatedir" != '${localstatedir}/run'; then >+elif test -n "$runstatedir" && test "$runstatedir" != '${localstatedir}/run'; then > rundir="$runstatedir/sudo" > else > # No --with-rundir or --runstatedir specified >diff --git a/m4/sudo.m4 b/m4/sudo.m4 >index a5a972b3c..b3a40b208 100644 >--- a/m4/sudo.m4 >+++ b/m4/sudo.m4 >@@ -120,7 +120,7 @@ dnl > AC_DEFUN([SUDO_RUNDIR], [AC_MSG_CHECKING(for sudo run dir location) > if test -n "$with_rundir"; then > rundir="$with_rundir" >-elif test "$runstatedir" != '${localstatedir}/run'; then >+elif test -n "$runstatedir" && test "$runstatedir" != '${localstatedir}/run'; then > rundir="$runstatedir/sudo" > else > # No --with-rundir or --runstatedir specified >-- >2.28.0 >
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 1868215
: 1713891