public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/26401] New: Regressons in lchmod and fchmodat when /proc is not mounted
@ 2020-08-17 16:13 ldv at sourceware dot org
  2020-08-17 16:14 ` [Bug libc/26401] Regressions " ldv at sourceware dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ldv at sourceware dot org @ 2020-08-17 16:13 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26401

            Bug ID: 26401
           Summary: Regressons in lchmod and fchmodat when /proc is not
                    mounted
           Product: glibc
           Version: 2.32
               URL: https://sourceware.org/pipermail/libc-alpha/2020-July/
                    116512.html
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: ldv at sourceware dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
             Flags: security-

Fixes for https://sourceware.org/bugzilla/show_bug.cgi?id=14578
introduced regressions in cases when /proc is not mounted:
- lchmod used to return ENOSYS, now it returns EOPNOTSUPP;
- fchmodat(AT_SYMLINK_NOFOLLOW) used to return ENOTSUP, now it returns
EOPNOTSUPP which is different from ENOTSUP on some architectures, e.g. hppa.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/26401] Regressions in lchmod and fchmodat when /proc is not mounted
  2020-08-17 16:13 [Bug libc/26401] New: Regressons in lchmod and fchmodat when /proc is not mounted ldv at sourceware dot org
@ 2020-08-17 16:14 ` ldv at sourceware dot org
  2020-08-25  9:25 ` schwab@linux-m68k.org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ldv at sourceware dot org @ 2020-08-17 16:14 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26401

Dmitry V. Levin <ldv at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Regressons in lchmod and    |Regressions in lchmod and
                   |fchmodat when /proc is not  |fchmodat when /proc is not
                   |mounted                     |mounted

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/26401] Regressions in lchmod and fchmodat when /proc is not mounted
  2020-08-17 16:13 [Bug libc/26401] New: Regressons in lchmod and fchmodat when /proc is not mounted ldv at sourceware dot org
  2020-08-17 16:14 ` [Bug libc/26401] Regressions " ldv at sourceware dot org
@ 2020-08-25  9:25 ` schwab@linux-m68k.org
  2020-10-30  7:31 ` alkisg at gmail dot com
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: schwab@linux-m68k.org @ 2020-08-25  9:25 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26401

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/26401] Regressions in lchmod and fchmodat when /proc is not mounted
  2020-08-17 16:13 [Bug libc/26401] New: Regressons in lchmod and fchmodat when /proc is not mounted ldv at sourceware dot org
  2020-08-17 16:14 ` [Bug libc/26401] Regressions " ldv at sourceware dot org
  2020-08-25  9:25 ` schwab@linux-m68k.org
@ 2020-10-30  7:31 ` alkisg at gmail dot com
  2020-11-04 11:04 ` tom at compton dot nu
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: alkisg at gmail dot com @ 2020-10-30  7:31 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26401

Alkis Georgopoulos <alkisg at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alkisg at gmail dot com

--- Comment #1 from Alkis Georgopoulos <alkisg at gmail dot com> ---
Hello, just noting that rsync in Ubuntu 20.10 is affected by this glibc issue:

https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1902109
https://github.com/WayneD/rsync/issues/109

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/26401] Regressions in lchmod and fchmodat when /proc is not mounted
  2020-08-17 16:13 [Bug libc/26401] New: Regressons in lchmod and fchmodat when /proc is not mounted ldv at sourceware dot org
                   ` (2 preceding siblings ...)
  2020-10-30  7:31 ` alkisg at gmail dot com
@ 2020-11-04 11:04 ` tom at compton dot nu
  2020-11-04 11:09 ` tom at compton dot nu
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tom at compton dot nu @ 2020-11-04 11:04 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26401

Tom Hughes <tom at compton dot nu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tom at compton dot nu

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/26401] Regressions in lchmod and fchmodat when /proc is not mounted
  2020-08-17 16:13 [Bug libc/26401] New: Regressons in lchmod and fchmodat when /proc is not mounted ldv at sourceware dot org
                   ` (3 preceding siblings ...)
  2020-11-04 11:04 ` tom at compton dot nu
@ 2020-11-04 11:09 ` tom at compton dot nu
  2020-11-06 16:41 ` arekm at maven dot pl
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tom at compton dot nu @ 2020-11-04 11:09 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26401

--- Comment #2 from Tom Hughes <tom at compton dot nu> ---
Also rsync in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1894485

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/26401] Regressions in lchmod and fchmodat when /proc is not mounted
  2020-08-17 16:13 [Bug libc/26401] New: Regressons in lchmod and fchmodat when /proc is not mounted ldv at sourceware dot org
                   ` (4 preceding siblings ...)
  2020-11-04 11:09 ` tom at compton dot nu
@ 2020-11-06 16:41 ` arekm at maven dot pl
  2021-03-21 10:30 ` sam at gentoo dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: arekm at maven dot pl @ 2020-11-06 16:41 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26401

Arkadiusz Miskiewicz <arekm at maven dot pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arekm at maven dot pl

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/26401] Regressions in lchmod and fchmodat when /proc is not mounted
  2020-08-17 16:13 [Bug libc/26401] New: Regressons in lchmod and fchmodat when /proc is not mounted ldv at sourceware dot org
                   ` (5 preceding siblings ...)
  2020-11-06 16:41 ` arekm at maven dot pl
@ 2021-03-21 10:30 ` sam at gentoo dot org
  2022-04-27 12:55 ` adhemerval.zanella at linaro dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: sam at gentoo dot org @ 2021-03-21 10:30 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26401

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gentoo dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/26401] Regressions in lchmod and fchmodat when /proc is not mounted
  2020-08-17 16:13 [Bug libc/26401] New: Regressons in lchmod and fchmodat when /proc is not mounted ldv at sourceware dot org
                   ` (6 preceding siblings ...)
  2021-03-21 10:30 ` sam at gentoo dot org
@ 2022-04-27 12:55 ` adhemerval.zanella at linaro dot org
  2022-04-27 13:06 ` ldv at sourceware dot org
  2022-04-27 13:36 ` adhemerval.zanella at linaro dot org
  9 siblings, 0 replies; 11+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2022-04-27 12:55 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26401

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg

--- Comment #3 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
I think there is no much glibc can do without proper kernel support [1].

[1] https://sourceware.org/pipermail/libc-alpha/2020-July/116513.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/26401] Regressions in lchmod and fchmodat when /proc is not mounted
  2020-08-17 16:13 [Bug libc/26401] New: Regressons in lchmod and fchmodat when /proc is not mounted ldv at sourceware dot org
                   ` (7 preceding siblings ...)
  2022-04-27 12:55 ` adhemerval.zanella at linaro dot org
@ 2022-04-27 13:06 ` ldv at sourceware dot org
  2022-04-27 13:36 ` adhemerval.zanella at linaro dot org
  9 siblings, 0 replies; 11+ messages in thread
From: ldv at sourceware dot org @ 2022-04-27 13:06 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26401

--- Comment #4 from Dmitry V. Levin <ldv at sourceware dot org> ---
Just letting you know that we reverted commit
6b89c385d8bd0700b25bac2c2d0bebe68d5cc05d in our glibc build shortly after
reporting this issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/26401] Regressions in lchmod and fchmodat when /proc is not mounted
  2020-08-17 16:13 [Bug libc/26401] New: Regressons in lchmod and fchmodat when /proc is not mounted ldv at sourceware dot org
                   ` (8 preceding siblings ...)
  2022-04-27 13:06 ` ldv at sourceware dot org
@ 2022-04-27 13:36 ` adhemerval.zanella at linaro dot org
  9 siblings, 0 replies; 11+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2022-04-27 13:36 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26401

--- Comment #5 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to Dmitry V. Levin from comment #4)
> Just letting you know that we reverted commit
> 6b89c385d8bd0700b25bac2c2d0bebe68d5cc05d in our glibc build shortly after
> reporting this issue.

Reading rsync bug report, I really think that EOPNOTSUPP is the correct error
code to return in this case. The configure was done on a build system where
lchmod does work (since it has procps mounted). So I do not fully agree this
really characterizes as a regression.

And I don't think reverting lchmod support since propcs might be not available
is the correct approach, best option would try to ask kernel to have proper
syscall support which does not require userland hacks. Rick Felker already sent
a patch, but it seems to be stuck.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-04-27 13:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-17 16:13 [Bug libc/26401] New: Regressons in lchmod and fchmodat when /proc is not mounted ldv at sourceware dot org
2020-08-17 16:14 ` [Bug libc/26401] Regressions " ldv at sourceware dot org
2020-08-25  9:25 ` schwab@linux-m68k.org
2020-10-30  7:31 ` alkisg at gmail dot com
2020-11-04 11:04 ` tom at compton dot nu
2020-11-04 11:09 ` tom at compton dot nu
2020-11-06 16:41 ` arekm at maven dot pl
2021-03-21 10:30 ` sam at gentoo dot org
2022-04-27 12:55 ` adhemerval.zanella at linaro dot org
2022-04-27 13:06 ` ldv at sourceware dot org
2022-04-27 13:36 ` adhemerval.zanella at linaro dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).