You are not logged in.
Pages: 1
Hello everyone,
I'm running Arch on a Asus X75V laptop.
$ uname -a
Linux serenity 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64 GNU/LinuxYesterday, before going to bed, I triggered an upgrade with pacman. In the morning I noticed that any command I tried to execute with sudo failed with a "segmentation fault".
At first I thought it was because my hard drive filled up with downloads through the night, but it was the same even after making space.
Example:
$ sudo reboot
Segmentation fault$ sudo reflector --verbose -l 5 --sort rate --save /etc/pacman.d/mirrorlist
Segmentation faultetc.
Logs:
Xorg.0.log
dmesg
pacman.log
Let me know if there are any other outputs/logs needed.
Thank you in advance,
Damien
Offline
Does sudo only fail when passing a command to it?
Can you verify with
sudo --version
or
sudo -iAlso, have you tried rebooting your system? If you don't have root account enabled, then try a hard reboot.
Offline
I did manage to reboot with my regular user account, but it didn't make a difference.
Here's the output of both commands:
$ sudo --version
Sudo version 1.8.16
Sudoers policy plugin version 1.8.16
Sudoers file grammar version 45
Sudoers I/O plugin version 1.8.16$ sudo -i
Segmentation faultOffline
OK, sudo -i too fails because it tries to spawn a shell.
Your problem sounds very similar to this: https://bugs.archlinux.org/task/23458
Offline
posted by live your /etc/sudoers
Last edited by newbie1962 (2016-04-12 12:17:25)
hp-envy dv7
Offline
OK, sudo -i too fails because it tries to spawn a shell.
Your problem sounds very similar to this: https://bugs.archlinux.org/task/23458
I followed this advice from the linked topic:
Comment by Allan McRae (Allan) - Sunday, 27 March 2011, 05:54 GMT
Can you run it under gdb to get the backtrace.
and got this:
Starting program: /usr/bin/sudo -s
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
[Inferior 1 (process 4232) exited with code 01]Sudo website FAQ says:
A) The owner and permissions on the sudo binary appear to be OK but when
sudo ran, the setuid bit did not have an effect. There are two common
causes for this. The first is that the file system the sudo binary
is located on is mounted with the 'nosuid' mount option, which disables
setuid binaries. The output of the "mount" command should tell you if
the file system is mounted with the 'nosuid' option.
Here is the output of the "mount" command on my system.
Just in case, I'm also attaching my fstab.
posted by live your /etc/sudoers
And my sudoers file.
Thank you.
Offline
hi
on live comment this line:
myuser ALL=(ALL) ALL
on
#myuser ALL=(ALL) ALL
and reboot
hp-envy dv7
Offline
Pages: 1