terminology: sudo unable to function

OpenSubmitted by ng0.
Details
One participant
  • ng0
Owner
unassigned
Severity
normal
N
(address . bug-guix@gnu.org)
20170610122907.ts5tjjad5azznfzy@abyayala
While insinde E21 / Enlightenment I can run sudo emacs /bare-bones.scm
in xterm and in rxvt-unicode without errors and with expected behavior,
but inside terminology it produces this:

user@abyayala ~$ sudo emacs /bare-bones.scm
sudo: effective uid is not 0, is /run/setuid-programs/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
user@abyayala ~$


I've seen an sudo programm (module) for Enlightenment, but running a
command in terminal emulator should't require a graphical sudo.
I don't know what's wrong here.
--
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlk75hMACgkQ4i+bv+40
hYjV6w/+PkgziYVgNwcRP0LDxG3OEtjMXn4bwxpsUMj+SoW7lEe4Ahnd/oQzqhdx
7358Mt9pD+8fzhFxcVEUKFCElOp08HOiUhnoo0ZsncOCuqV2FR+on+iveygMotj5
v+Xa92JTwcCEPWphEDEER0m84HzXLmDKQz+H9+3T8do/TDeMJaneEoN4DVi0TDVJ
JsdGTDvT1SmW4OokVHh68hXys75X+lKjqi0uJB9LBa8Pxc+5u2VJQlIddDyCkUGi
E+AnxiQAYwQd32pH16uRnZroJdNeAZuqy/wkZX9O0qwyUwQE81Bxc0fhkXluRGPh
Sjj+bndlKp5/w19TMAjuX6da2xxIpEMy4nSeHmICBWBHC4RQZ/PWL3Wa6Me9bJTE
JzKZrq1cKCOW12cAsvBJDS5K+s/4CjFNe3PgNdooFV1NICFJquPSskmBBdimTUD6
dNajYtG5A3DioIG2imYPs6XSi05YO3CG9dBmnpqQ8VPheYU5hhTZ6CWtYg8rxFko
8AFQ8f5QA0NzLb8DFsiR3wRbnQhJJhvtHrxco/UkmRd4Yht1kc5HGWBCsj4tfjhw
NSm++vrLGCvzLkSOGxXpX9GBh0pvkQdW52iyKsvNNSYI2sVDEhULkYvjQK+tzg2j
pSgsWNj+VtKVWUF+EHk2uHgWQJrgZxVOZgXBCUfomh42R404tYs=
=y3s0
-----END PGP SIGNATURE-----


N
(address . 27305@debbugs.gnu.org)
20170610182110.3qgwz3lxejduosvf@abyayala
ng0 transcribed 1.7K bytes:
Toggle quote (16 lines)
> While insinde E21 / Enlightenment I can run sudo emacs /bare-bones.scm
> in xterm and in rxvt-unicode without errors and with expected behavior,
> but inside terminology it produces this:
>
> user@abyayala ~$ sudo emacs /bare-bones.scm
> sudo: effective uid is not 0, is /run/setuid-programs/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
> user@abyayala ~$
>
>
> I've seen an sudo programm (module) for Enlightenment, but running a
> command in terminal emulator should't require a graphical sudo.
> I don't know what's wrong here.
> --
> ng0
> OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588

This seems to be an issue related to the WM, not the terminology.

In spectrwm with terminology I am unable to reproduce it:

user@abyayala ~$ sudo ping gnu.org
Password:
PING gnu.org (208.118.235.148): 56 data bytes
64 bytes from 208.118.235.148: icmp_seq=0 ttl=46 time=154.304 ms
64 bytes from 208.118.235.148: icmp_seq=1 ttl=46 time=152.842 ms
^C--- gnu.org ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 152.842/153.573/154.304/0.731 ms
user@abyayala ~$ env
[…]
LD_PRELOAD=/gnu/store/5ks40a50kjqg9zqx2jswhl29120jcr20-spectrwm-3.0.2/lib/libswmhack.so.0.0


--
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
?