Devuan bug report logs - #497
libc6: Permission denied, intermittent in execve

version graph

Package: libc6; Maintainer for libc6 is (unknown); Source for libc6 is src:glibc.

Reported by: Alessandro Vesely <vesely@tana.it>

Date: Mon, 27 Jul 2020 08:33:01 UTC

Severity: normal

Tags: debian

Merged with 498

Found in version 2.28-10

Forwarded to https://bugs.debian.org/966343

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#497; Package libc6. (Mon, 27 Jul 2020 08:33:01 GMT) (full text, mbox, link).


Acknowledgement sent to Alessandro Vesely <vesely@tana.it>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org.

Your message had a Version: pseudo-header with an invalid package version:

GNU C Library (Debian GLIBC 2.28-10) stable release version 2.28.

please either use found or fixed to the control server with a correct version, or reply to this report indicating the correct version so the maintainer (or someone else) can correct it for you.

(Mon, 27 Jul 2020 08:33:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Alessandro Vesely <vesely@tana.it>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: libc6: Permission denied, intermittent in execve
Date: Mon, 27 Jul 2020 10:25:27 +0200
Package: libc6
Version: GNU C Library (Debian GLIBC 2.28-10) stable release version 2.28.
Severity: normal

Dear Maintainer,

in certain situations, execve fails setting errno to EACCESS.  The same
program, launched by the same user in different ways, succeeds or fails
according to preceding actions.

None of the failure conditions for EACCESS is met.

The case at hand happens with an old version of Thunderbird and a LibreOffice
attachment.  After saving the attachment, Thunderbird execs gio-launch-desktop.
The latter tries to exec libreoffice6.4 and fails.

I strace'd the full arguments used in the failed execve(), and copied them to a
simple C program which runs just that execve() call.  When called from the
command line, the program succeeds.  Then I replaced the gio-launch-desktop
executable with my straw men.  When called from Thunderbird, the program fails.

See also:
https://unix.stackexchange.com/questions/600174/permission-denied-intermittent-
in-execve


-- System Information:
Distributor ID: Debian
Description:    Devuan GNU/Linux 3 (beowulf)
Release:        3
Codename:       beowulf
Architecture: x86_64

Kernel: Linux 4.19.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8),
LANGUAGE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#497; Package libc6. (Mon, 27 Jul 2020 09:03:02 GMT) (full text, mbox, link).


Acknowledgement sent to Alessandro Vesely <vesely@tana.it>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. (Mon, 27 Jul 2020 09:03:09 GMT) (full text, mbox, link).


Message #10 received at 497@bugs.devuan.org (full text, mbox, reply):

From: Alessandro Vesely <vesely@tana.it>
To: 497@bugs.devuan.org
Subject: Please discard 497, keep 498
Date: Mon, 27 Jul 2020 10:51:47 +0200
I should've sent 498 as a reply to 497, sorry.

Yet 498 has the link unbroken...

Merged 497 498 Request was from Mark Hindley <mark@hindley.org.uk> to 498-submit@bugs.devuan.org. (Mon, 27 Jul 2020 09:33:09 GMT) (full text, mbox, link).


Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 498-submit@bugs.devuan.org. (Mon, 27 Jul 2020 09:33:09 GMT) (full text, mbox, link).


Set bug forwarded-to-address to 'https://bugs.debian.org/966343'. Request was from Mark Hindley <mark@hindley.org.uk> to 498-submit@bugs.devuan.org. (Mon, 27 Jul 2020 09:33:09 GMT) (full text, mbox, link).


Marked as found in versions 2.28-10. Request was from Mark Hindley <mark@hindley.org.uk> to control@bugs.devuan.org. (Mon, 27 Jul 2020 09:33:15 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sat Apr 20 13:54:56 2024;