GNU bug report logs -
#30413
file exists and is +x but cannot be executed
Previous Next
Reported by: Marco van Hulten <marco <at> hulten.org>
Date: Sat, 10 Feb 2018 17:31:01 UTC
Severity: normal
Done: Marco van Hulten <marco <at> hulten.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30413 in the body.
You can then email your comments to 30413 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#30413
; Package
guix
.
(Sat, 10 Feb 2018 17:31:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Marco van Hulten <marco <at> hulten.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 10 Feb 2018 17:31:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello—
I had cups installed as root and another user. I could use lpr.
Now I tried to install it under user2 (to have the lpr binary
available, among other things), but I cannot execute `lpr`:
user2 <at> graviton ~$ guix package -i cups
The following package will be upgraded:
cups 2.2.4 → 2.2.4 /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4
nothing to be done
user2 <at> graviton ~$ lpr
lpr: No such file or directory
user2 <at> graviton ~$ which lpr
/home/user2/.guix-profile/bin/lpr
user2 <at> graviton ~$ ls -l /home/user2/.guix-profile/bin/lpr
lrwxrwxrwx 11 root root 62 Jan 1 1970 /home/user2/.guix-profile/bin/lpr
-> /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bin/lpr
user2 <at> graviton ~$ ls -l
/gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bin/lpr
-r-xr-xr-x 2 root root 14624 Jan 1 1970 /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bin/lpr
user2 <at> graviton ~$ /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bin/lpr
/gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bin/lpr: No such file or directory
user2 <at> graviton ~$ file /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bin/lpr
/gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bin/lpr: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/ld-linux-x86-64.so.2, or GNU/Linux 2.6.32, stripped, with debug_info
But it looks as if it is there. Also, the executable bit is set for
world.
user2 <at> graviton ~$ less /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bin/lpr
showed the name of a file, so I checked its existence as well:
user2 <at> graviton ~$ file /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/ld-linux-x86-64.so.2 /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/ld-linux-x86-64.so.2: symbolic link to ld-2.25.so
user2 <at> graviton ~$ cd /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/
user2 <at> graviton /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib$
file ld-2.25.so ld-2.25.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped, with debug_info
I am using GNU Guix of a week old or so.
—Marco
Information forwarded
to
bug-guix <at> gnu.org
:
bug#30413
; Package
guix
.
(Wed, 14 Feb 2018 13:46:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 30413 <at> debbugs.gnu.org (full text, mbox):
Hi,
Marco van Hulten <marco <at> hulten.org> skribis:
> user2 <at> graviton ~$ lpr
> lpr: No such file or directory
> user2 <at> graviton ~$ which lpr
> /home/user2/.guix-profile/bin/lpr
Could it be that /gnu/store is mounted as no-exec, or something along
these lines? What does the ‘mount’ command show?
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#30413
; Package
guix
.
(Thu, 15 Feb 2018 08:51:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 30413 <at> debbugs.gnu.org (full text, mbox):
Ludovic—
Je 14 feb 14:45 skribis Ludovic:
> Marco van Hulten <marco <at> hulten.org> skribis:
>
> > user2 <at> graviton ~$ lpr
> > lpr: No such file or directory
> > user2 <at> graviton ~$ which lpr
> > /home/user2/.guix-profile/bin/lpr
>
> Could it be that /gnu/store is mounted as no-exec, or something along
> these lines? What does the ‘mount’ command show?
Could have been, but not likely as I remember other commands, surely
several from /gnu/store/, working properly.
Right now `lpr` works (and I didn't do a pull; path is the same).
I would have reported that before if I had tried to use the printer
again. In any case, the issue went away — the bug report can be closed
(as unconfirmable or something).
Thanks!
—Marco
bug closed, send any further explanations to
30413 <at> debbugs.gnu.org and Marco van Hulten <marco <at> hulten.org>
Request was from
Marco van Hulten <marco <at> hulten.org>
to
control <at> debbugs.gnu.org
.
(Thu, 15 Feb 2018 08:51:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#30413
; Package
guix
.
(Thu, 15 Feb 2018 09:46:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 30413-done <at> debbugs.gnu.org (full text, mbox):
Close the bug as suggested by the submitter.
Andreas
PS: Just sending a message to BUGNUMBER-done <at> debbugs.gnu.org does the job,
and anybody can do it.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 15 Mar 2018 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 184 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.