You are not logged in.
On Friday 4th I updated with the usual sudo pacman -Syyu and all seemed normal, however when I updated again this morning I got an error message [error: failed to init transaction (download library error) arch linux] I had exactly the same symptoms as in this thread https://bbs.archlinux.org/viewtopic.php?id=218877 and corrected it the same way.
However on trying to use sudo pacman -Syyu again I got a segmentation fault error message. Any use of sudo gave the same error message. So I changed to su in a terminal and was able to update with pacman -Syu as normal, sudo remains broken.
My history looks like this
429 systemctl suspend -i
430 sudo pacman -Syyu
431 sudo pacman -Syyu
432 sudo pacman -Syyu
433 sudo pacman -Sc
434 sudo pacman -Syyu
435 sudo pacman-mirrors -g
436 sudo pacman-mirrors -g
437 ping -c 4 lug.mtu.edu
438 ping -c 3 www.google.com
439 ping -c 3 8.8.8.8
440 nslookup
441 dig google.com
442 dig google.com @202.141.81.2
443 sudo dig google.com @202.141.81.2
444 sudo resolvconf -u
445 sudo resolvconf -u
446 sudo resolvconf -u
447 sudo pacman -Syy
448 ip config
449 ifconfig
450 sudo rm /var/cache/pacman/pkg/*.part
451 ls /var/cache/pacman/pkg/*.part
452 sudo pacman-mirrors -g && sudo pacman -Syyu
453 sudo reflector -l 30 -f 10 --save /etc/pacman.d/mirrorlist
454 sudo -S reflector
455 sudo pacman -S reflector
456 journalctl -p 3 -xb
457 sudo pacman -Syu
458 drill www5.yahoo.com
459 drill @ www5.yahoo.com
460 sudo pacman -Syu
461 drill @208.67.222.222 www5.yahoo.com
462 drill @8.8.8.8 www5.yahoo.com
463 sudo resolvconf -u
464 sudo resolvconf -u
465 sudo pacman -Syu
466 yaourt -S package-query
467 pacman -S archlinux-keyring
468 sudo pacman -S archlinux-keyring
469 pacman-key --populate
470 sudo pacman-key --populate
471 sudo pacman -Syu
472 sudo pacman-key --populate
473 sudo pacman-key --init
474 pacman-key --populate
475 sudo pacman-key --populate
476 sudo pacman -Syu
477 sudo pacman -Syyu
478 pacman -Syu --debug
479 sudo
480 sudo cd /var/cache/pacman/pkg/
481 cd /var/cache/pacman/pkg/
482 sudo pacman -U <file_name_of_the_package>
483 sudo pacman -U smbclient
484 pacman -Q smbclient
485 cd /home/robert/Downloads
486 ls
487 sudo pacman -U smbclient-4.5.0-2-x86_64.pkg.tar.xz
488 pacman -Q smbclient
489 sudo pacman -S smbclient-4.5.0-2-x86_64.pkg.tar.xz
490 sudo pacman -U smbclient-4.5.0-2-x86_64.pkg.tar.xz
491 pacman -Q smbclient
492 cd
493 sudo -R smbclient
494 sudo pacman -R smbclient
495 pacman -R smbclient
496 sudo pacman -R smbclient
497 sudo pacman -Rdd smbclient
498 sudo pacman -Syu
499 history
500 startx
501 history
502 !
503 journalctl -p 3 -xb
504 sudo -i
505 sudo -11
506 history
robert@robsarch ~ $ }
and my sudoers looks like this
[## sudoers file.
##
## This file MUST be edited with the 'visudo' command as root.
## Failure to use 'visudo' may result in syntax or file permission errors
## that prevent sudo from running.
##
## See the sudoers man page for the details on how to write a sudoers file.
##
##
## Host alias specification
##
## Groups of machines. These may include host names (optionally with wildcards),
## IP addresses, network numbers or netgroups.
# Host_Alias WEBSERVERS = www1, www2, www3
##
## User alias specification
##
## Groups of users. These may consist of user names, uids, Unix groups,
## or netgroups.
# User_Alias ADMINS = millert, dowdy, mikef
##
## Cmnd alias specification
##
## Groups of commands. Often used to group related commands together.
# Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
# /usr/bin/pkill, /usr/bin/top
##
## Defaults specification
##
## You may wish to keep some of the following environment variables
## when running commands via sudo.
##
## Locale settings
# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
##
## Run X applications through sudo; HOME is used to find the
## .Xauthority file. Note that other programs use HOME to find
## configuration files and this may lead to privilege escalation!
# Defaults env_keep += "HOME"
##
## X11 resource path settings
# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
##
## Desktop path settings
# Defaults env_keep += "QTDIR KDEDIR"
##
## Allow sudo-run commands to inherit the callers' ConsoleKit session
# Defaults env_keep += "XDG_SESSION_COOKIE"
##
## Uncomment to enable special input methods. Care should be taken as
## this may allow users to subvert the command being run via sudo.
# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
##
## Uncomment to enable logging of a command's output, except for
## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
# Defaults log_output
# Defaults!/usr/bin/sudoreplay !log_output
# Defaults!/usr/local/bin/sudoreplay !log_output
# Defaults!/sbin/reboot !log_output
##
## Runas alias specification
##
##
## User privilege specification
##
root ALL=(ALL) ALL
robert ALL=(ALL) ALL
edmund ALL=(ALL) ALL
#Uncomment to force sudo to use the root password
Defaults rootpw
## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL) ALL
## Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
## Uncomment to allow members of group sudo to execute any command
# %sudo ALL=(ALL) ALL
## Uncomment to allow any user to run sudo if they know the password
## of the user they are running the command as (root by default).
# Defaults targetpw # Ask for the password of the target user
# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
## Read drop-in files from /etc/sudoers.d
## (the '#' here does not indicate a comment)
#includedir /etc/sudoers.d
strace sudo is here http://pastebin.com/xpUR6MSD
I am out of ideas and hope I have used the code tags correctly.
Last edited by Expatbrat (2016-11-07 21:44:05)
Offline
Sudo worked fine in the strace you just provided. Can you provide an strace of a failed use?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks for the quick reply, does this make any sense?
http://pastebin.com/w1CD1QUq
Offline
Thanks - thats better - but that's still not a seg fault. Did you ever get an actual segmentation fault, or did it just exit with an error? Those are two very different results.
Can you post the output of the following commands:
which sudo
stat /usr/bin/sudo
lsblk -f
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
robert@robsarch ~ $ stat /usr/bin/sudo
File: '/usr/bin/sudo'
Size: 130360 Blocks: 256 IO Block: 4096 regular file
Device: 802h/2050d Inode: 736178 Links: 1
Access: (4755/-rwsr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2016-11-06 13:43:33.000000000 +0000
Modify: 2016-10-11 22:32:46.000000000 +0100
Change: 2016-11-06 13:43:34.129123672 +0000
Birth: -
robert@robsarch ~ $
and
robert@robsarch ~ $ lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sr0
sda
├─sda2 ext4 b16afb46-20f5-42ad-97c6-039be8a201a2 /
├─sda3 ext4 7340c9e9-f91f-4126-b897-1b62478478a0 /home
└─sda1 vfat 10E0-9A02
robert@robsarch ~ $
the error message on sudo is segmentation fault though I am quite willing to accept that it is not.
robert@robsarch ~ $ sudo -i
Segmentation fault
robert@robsarch ~ $
I followed the instructions in the sudo wiki re ownership.
Last edited by Expatbrat (2016-11-06 19:51:04)
Offline
Sorry I did not see which sudo
robert@robsarch ~ $ which sudo
/usr/bin/sudo
robert@robsarch ~ $
Last edited by Expatbrat (2016-11-06 19:47:54)
Offline
So far you've not shown any segfault output. In the strace with an error it exits with an error but not a segfault:
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?
Can you also post your fstab?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I was just looking at it
robert@robsarch ~ $ cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda2
UUID=b16afb46-20f5-42ad-97c6-039be8a201a2 / ext4 rw,relatime,data=ordered,noatime 0 1
# /dev/sda3
UUID=7340c9e9-f91f-4126-b897-1b62478478a0 /home ext4 rw,relatime,data=ordered,noatime 0 2
# /dev/sda1
UUID=10E0-9A02 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
robert@robsarch ~ $
Offline
Hi again
robert@robsarch /bin $ ls -la
gives me the 3 lines for sudo
-rwsr-xr-x 1 root root 128K Oct 11 22:32 sudo
lrwxrwxrwx 1 root root 4 Oct 11 22:32 sudoedit -> sudo
-rwxr-xr-x 1 root root 48K Oct 11 22:32 sudoreplay
The s in the permissions puzzles me, Is it unusual?
Offline
http://www.linuxnix.com/suid-set-suid-linuxunix/
sudo definitely needs the SUID bit to be set so that it runs as root.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
According to the link the s means that the suid bit is set? from the reply above - -rwsr-xr-x 1 root root 128K Oct 11 22:32 sudo
Before setting SUID bit:
ls -l
total 8
-rwxr--r-- 1 xyz xyzgroup 148 Dec 22 03:46 file1.txtAfter setting SUID bit:
ls -l
total 8
-rwsr--r-- 1 xyz xyzgroup 148 Dec 22 03:46 file1.txt
Or am I being as thick as usual?
Offline
Yes, the SUID bit is set on sudo, as it should be. When sudo runs, it will run as if it were being run by its owner (root)
I am not sure why you would ever set the SUID bit on a text file. Be advised, that for security reasons, only compiled (binary) executables will work with the SUID set. Bash scripts won't run as owner with the SUID bit set
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I did
robert@robsarch /bin $ su
Password:
[root@robsarch bin]# chmod u+s sudo
[root@robsarch bin]# ls -la
and the ls -la still gives
-rwsr-xr-x 1 root root 130360 Oct 11 22:32 sudo
and
robert@robsarch /bin $ sudo -i
Segmentation fault
robert@robsarch /bin $
Another mistake?
robert@robsarch /bin $ su
Password:
[root@robsarch bin]# chmod u+x sudo
[root@robsarch bin]# ls -la
and the result is the same. Looking at the date the file was modified 11 October but the pacman.log tells me it was updated on the 4th November
[2016-11-04 15:09] [PACMAN] Running 'pacman -Syyu'
[2016-11-04 15:09] [PACMAN] synchronizing package lists
[2016-11-04 15:09] [PACMAN] starting full system upgrade
[2016-11-04 15:12] [ALPM] transaction started
[2016-11-04 15:12] [ALPM] removed lib32-libdbus (1.10.10-3)
[2016-11-04 15:12] [ALPM] removed lib32-elfutils (0.167-1)
[2016-11-04 15:12] [ALPM] removed gtk-theme-arc (20160605-1)
[2016-11-04 15:12] [ALPM] upgraded archlinux-keyring (20160812-1 -> 20161101-1)
[2016-11-04 15:12] [ALPM-SCRIPTLET] ==> Appending keys from archlinux.gpg...
[2016-11-04 15:12] [ALPM-SCRIPTLET] ==> Locally signing trusted keys in keyring...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Locally signing key 91FFE0700E80619CEB73235CA88E23E377514E00...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
[2016-11-04 15:12] [ALPM-SCRIPTLET] ==> Importing owner trust values...
[2016-11-04 15:12] [ALPM-SCRIPTLET] ==> Disabling revoked keys in keyring...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
[2016-11-04 15:12] [ALPM-SCRIPTLET] -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
[2016-11-04 15:12] [ALPM-SCRIPTLET] ==> Updating trust database...
[2016-11-04 15:12] [ALPM-SCRIPTLET] gpg: next trustdb check due at 2017-01-01
[2016-11-04 15:12] [ALPM] upgraded atkmm (2.24.2-2 -> 2.24.2+1+gf30b47f-1)
[2016-11-04 15:12] [ALPM] upgraded bluez (5.42-1 -> 5.43-1)
[2016-11-04 15:12] [ALPM] upgraded bluez-libs (5.42-1 -> 5.43-1)
[2016-11-04 15:12] [ALPM] upgraded boost-libs (1.61.0-2 -> 1.62.0-2)
[2016-11-04 15:12] [ALPM] upgraded libxml2 (2.9.4+4+g3169602-1 -> 2.9.4+12+ge905f08-1)
[2016-11-04 15:12] [ALPM] upgraded libxslt (1.1.29-1 -> 1.1.29+23+geb1030d-1)
[2016-11-04 15:12] [ALPM] installed re2 (20160901-1)
[2016-11-04 15:12] [ALPM] upgraded shadow (4.2.1-3 -> 4.4-3)
[2016-11-04 15:12] [ALPM] upgraded harfbuzz (1.3.2-1 -> 1.3.3-1)
[2016-11-04 15:12] [ALPM] upgraded harfbuzz-icu (1.3.2-1 -> 1.3.3-1)
[2016-11-04 15:12] [ALPM] upgraded libxi (1.7.7-2 -> 1.7.8-1)
[2016-11-04 15:12] [ALPM] upgraded gtk-update-icon-cache (3.22.1+8+ge11df6c-2 -> 3.22.2+4+gc54f348-1)
[2016-11-04 15:12] [ALPM] upgraded llvm-libs (3.8.1-1 -> 3.9.0-1)
[2016-11-04 15:12] [ALPM] upgraded mesa (12.0.3-3 -> 13.0.0-1)
[2016-11-04 15:12] [ALPM] upgraded mesa-libgl (12.0.3-3 -> 13.0.0-1)
[2016-11-04 15:12] [ALPM] upgraded libthai (0.1.24-1 -> 0.1.25-1)
[2016-11-04 15:12] [ALPM] upgraded nspr (4.13-1 -> 4.13.1-1)
[2016-11-04 15:12] [ALPM] upgraded chromium (53.0.2785.143-1 -> 54.0.2840.90-1)
[2016-11-04 15:12] [ALPM] upgraded libssh2 (1.7.0-2 -> 1.8.0-1)
[2016-11-04 15:12] [ALPM] upgraded curl (7.50.3-1 -> 7.51.0-1)
[2016-11-04 15:12] [ALPM] upgraded cmake (3.6.2-2 -> 3.6.3-1)
[2016-11-04 15:12] [ALPM] upgraded confuse (2.8-2 -> 3.0-1)
[2016-11-04 15:12] [ALPM] upgraded tar (1.29-1 -> 1.29-2)
[2016-11-04 15:12] [ALPM] upgraded imagemagick (6.9.6.2-1 -> 6.9.6.3-1)
[2016-11-04 15:12] [ALPM] upgraded cups-filters (1.11.4-1 -> 1.11.6-1)
[2016-11-04 15:12] [ALPM] upgraded python2-packaging (16.7-1 -> 16.8-1)
[2016-11-04 15:12] [ALPM] upgraded python2-setuptools (1:28.6.1-1 -> 1:28.7.1-1)
[2016-11-04 15:12] [ALPM] upgraded cython2 (0.24.1-1 -> 0.25.1-1)
[2016-11-04 15:12] [ALPM] upgraded dbus-glib (0.106-1 -> 0.108-1)
[2016-11-04 15:12] [ALPM] installed sdl2 (2.0.5-2)
[2016-11-04 15:12] [ALPM] upgraded x265 (2.1-1 -> 2.1-2)
[2016-11-04 15:12] [ALPM] upgraded ffmpeg (1:3.1.4-3 -> 1:3.2-2)
[2016-11-04 15:12] [ALPM] upgraded file (5.28-1 -> 5.29-1)
[2016-11-04 15:12] [ALPM] upgraded libfilezilla (0.7.1-1 -> 0.8.0-1)
[2016-11-04 15:12] [ALPM] upgraded filezilla (3.22.1-1 -> 3.22.2.2-1)
[2016-11-04 15:12] [ALPM] upgraded flashplugin (11.2.202.637-1 -> 11.2.202.643-1)
[2016-11-04 15:12] [ALPM] upgraded gtk3 (3.22.1+8+ge11df6c-2 -> 3.22.2+4+gc54f348-1)
[2016-11-04 15:12] [ALPM] upgraded gcr (3.20.0-2 -> 3.20.0+11+g8322f27-1)
[2016-11-04 15:12] [ALPM] upgraded git (2.10.1-1 -> 2.10.2-1)
[2016-11-04 15:12] [ALPM] upgraded gssproxy (0.5.1-1 -> 0.5.1-2)
[2016-11-04 15:12] [ALPM] upgraded gstreamer (1.9.90+8+g6d0d350-1 -> 1.10.0-1)
[2016-11-04 15:12] [ALPM] upgraded gst-plugins-base-libs (1.9.90+12+g667931e-1 -> 1.10.0-1)
[2016-11-04 15:12] [ALPM] upgraded gst-libav (1.9.90+2+g108b08c-1 -> 1.10.0-1)
[2016-11-04 15:12] [ALPM] upgraded gst-plugins-bad (1.9.90+20+g7dd42ae-1 -> 1.10.0-1)
[2016-11-04 15:12] [ALPM] upgraded gst-plugins-base (1.9.90+12+g667931e-1 -> 1.10.0-1)
[2016-11-04 15:12] [ALPM] upgraded taglib (1.11-1 -> 1.11.1-1)
[2016-11-04 15:12] [ALPM] upgraded libproxy (0.4.12-2 -> 0.4.13-1)
[2016-11-04 15:12] [ALPM] upgraded gst-plugins-good (1.9.90+8+g6542edd-1 -> 1.10.0-1)
[2016-11-04 15:12] [ALPM] upgraded mpg123 (1.23.6-1 -> 1.23.8-1)
[2016-11-04 15:12] [ALPM] upgraded gst-plugins-ugly (1.9.90+2+g07e5039-1 -> 1.10.0-1)
[2016-11-04 15:12] [ALPM] upgraded gtk-sharp-2 (2.12.29-1 -> 2.12.42-1)
[2016-11-04 15:12] [ALPM] installed arc-gtk-theme (20161005-3)
[2016-11-04 15:12] [ALPM] upgraded gtk3-print-backends (3.22.1+8+ge11df6c-2 -> 3.22.2+4+gc54f348-1)
[2016-11-04 15:12] [ALPM] upgraded imagemagick-doc (6.9.6.2-1 -> 6.9.6.3-1)
[2016-11-04 15:12] [ALPM] upgraded intel-tbb (2017_20160916-1 -> 2017_20161004-1)
[2016-11-04 15:12] [ALPM] upgraded iso-codes (3.69-1 -> 3.70-1)
[2016-11-04 15:12] [ALPM] upgraded less (481-2 -> 487-1)
[2016-11-04 15:12] [ALPM] upgraded lib32-curl (7.50.3-1 -> 7.51.0-1)
[2016-11-04 15:12] [ALPM] installed lib32-libelf (0.167-1)
[2016-11-04 15:12] [ALPM] installed lib32-dbus (1.10.12-1)
[2016-11-04 15:12] [ALPM] upgraded lib32-glib2 (2.50.1-1 -> 2.50.1-2)
[2016-11-04 15:12] [ALPM] upgraded lib32-gdk-pixbuf2 (2.34.0-1 -> 2.36.0+2+ga7c869a-1)
[2016-11-04 15:12] [ALPM] upgraded lib32-libxi (1.7.7-1 -> 1.7.7-2)
[2016-11-04 15:12] [ALPM] upgraded lib32-llvm-libs (3.8.1-1 -> 3.9.0-1)
[2016-11-04 15:12] [ALPM] upgraded lib32-mesa (12.0.3-3 -> 13.0.0-1)
[2016-11-04 15:12] [ALPM] upgraded lib32-mesa-libgl (12.0.3-3 -> 13.0.0-1)
[2016-11-04 15:12] [ALPM] upgraded lib32-sqlite (3.14.2-1 -> 3.15.0-1)
[2016-11-04 15:12] [ALPM] upgraded lib32-flashplugin (11.2.202.637-1 -> 11.2.202.643-1)
[2016-11-04 15:12] [ALPM] upgraded lib32-libpulse (9.0-1 -> 9.0-2)
[2016-11-04 15:12] [ALPM] upgraded lib32-mesa-vdpau (12.0.3-3 -> 13.0.0-1)
[2016-11-04 15:12] [ALPM] upgraded libcmis (0.5.1-3 -> 0.5.1-4)
[2016-11-04 15:12] [ALPM] upgraded libftdi (1.3-1 -> 1.3-2)
[2016-11-04 15:12] [ALPM] upgraded libgexiv2 (0.10.3-4 -> 0.10.4-1)
[2016-11-04 15:12] [ALPM] upgraded libixion (0.11.1-2 -> 0.11.1-3)
[2016-11-04 15:12] [ALPM] upgraded liblangtag (0.5.8-2 -> 0.6.2-1)
[2016-11-04 15:12] [ALPM] upgraded liborcus (0.11.2-2 -> 0.11.2-3)
[2016-11-04 15:12] [ALPM] upgraded libwps (0.4.3-1 -> 0.4.4-1)
[2016-11-04 15:12] [ALPM] upgraded neon (0.30.1-2 -> 0.30.2-1)
[2016-11-04 15:12] [ALPM] upgraded libreoffice-still (5.1.5-3 -> 5.1.6-1)
[2016-11-04 15:12] [ALPM] upgraded libreoffice-still-de (5.1.5-1 -> 5.1.6-1)
[2016-11-04 15:12] [ALPM] upgraded libreoffice-still-en-GB (5.1.5-1 -> 5.1.6-1)
[2016-11-04 15:13] [ALPM] upgraded libreoffice-still-es (5.1.5-1 -> 5.1.6-1)
[2016-11-04 15:13] [ALPM] upgraded libva-mesa-driver (12.0.3-3 -> 13.0.0-1)
[2016-11-04 15:13] [ALPM] upgraded libwbclient (4.5.0-2 -> 4.5.1-1)
[2016-11-04 15:13] [ALPM] upgraded linux (4.8.3-1 -> 4.8.6-1)
[2016-11-04 15:13] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2016-11-04 15:13] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2016-11-04 15:13] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2016-11-04 15:13] [ALPM-SCRIPTLET] ==> Starting build: 4.8.6-1-ARCH
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2016-11-04 15:13] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2016-11-04 15:13] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2016-11-04 15:13] [ALPM-SCRIPTLET] ==> Image generation successful
[2016-11-04 15:13] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2016-11-04 15:13] [ALPM-SCRIPTLET] ==> Starting build: 4.8.6-1-ARCH
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2016-11-04 15:13] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2016-11-04 15:13] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2016-11-04 15:13] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2016-11-04 15:13] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2016-11-04 15:13] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2016-11-04 15:13] [ALPM-SCRIPTLET] ==> Image generation successful
[2016-11-04 15:13] [ALPM] upgraded llvm (3.8.1-1 -> 3.9.0-1)
[2016-11-04 15:13] [ALPM] upgraded lm_sensors (3.4.0-1 -> 3.4.0-2)
[2016-11-04 15:13] [ALPM] upgraded lynis (2.3.4-1 -> 2.4.0-1)
[2016-11-04 15:13] [ALPM] upgraded mercurial (3.9.2-1 -> 4.0-1)
[2016-11-04 15:13] [ALPM] upgraded mesa-vdpau (12.0.3-3 -> 13.0.0-1)
[2016-11-04 15:13] [ALPM] upgraded webkit2gtk (2.14.1-1 -> 2.14.2-1)
[2016-11-04 15:13] [ALPM] upgraded mutter (3.22.1+32+g3287711-1 -> 3.22.1+41+ge8fc090-1)
[2016-11-04 15:13] [ALPM] upgraded nano (2.7.0-1 -> 2.7.1-1)
[2016-11-04 15:13] [ALPM] upgraded numix-themes (2.6.4-1 -> 2.6.5-1)
[2016-11-04 15:13] [ALPM] upgraded opera (40.0.2308.90-1 -> 41.0.2353.46-1)
[2016-11-04 15:13] [ALPM] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2016-11-04 15:13] [ALPM] upgraded pacman-mirrorlist (20161013-1 -> 20161101-1)
[2016-11-04 15:13] [ALPM] upgraded python-beaker (1.8.0-1 -> 1.8.1-1)
[2016-11-04 15:13] [ALPM] upgraded python-packaging (16.7-1 -> 16.8-1)
[2016-11-04 15:13] [ALPM] upgraded python-setuptools (1:28.6.1-1 -> 1:28.7.1-1)
[2016-11-04 15:13] [ALPM] upgraded python-mako (1.0.4-1 -> 1.0.5-1)
[2016-11-04 15:13] [ALPM] upgraded python-urllib3 (1.18-1 -> 1.19-1)
[2016-11-04 15:13] [ALPM] upgraded python2-beaker (1.8.0-1 -> 1.8.1-1)
[2016-11-04 15:13] [ALPM] upgraded python2-exiv2 (0.3.2-11 -> 0.3.2-12)
[2016-11-04 15:13] [ALPM] upgraded python2-mako (1.0.4-1 -> 1.0.5-1)
[2016-11-04 15:13] [ALPM] upgraded python2-urllib3 (1.18-1 -> 1.19-1)
[2016-11-04 15:13] [ALPM] upgraded s-nail (14.8.12-1 -> 14.8.14-1)
[2016-11-04 15:13] [ALPM] upgraded tevent (1:0.9.29-2 -> 1:0.9.31-1)
[2016-11-04 15:13] [ALPM] upgraded smbclient (4.5.0-2 -> 4.5.1-1)
[2016-11-04 15:13] [ALPM] upgraded samba (4.5.0-2 -> 4.5.1-1)
[2016-11-04 15:13] [ALPM] upgraded sudo (1.8.18-1 -> 1.8.18.p1-1)
[2016-11-04 15:13] [ALPM] upgraded vala (0.34.1-1 -> 0.34.2-1)
[2016-11-04 15:13] [ALPM] upgraded vlc (2.2.4-4 -> 2.2.4-5)
[2016-11-04 15:13] [ALPM] upgraded wine (1.9.21-1 -> 1.9.22-1)
[2016-11-04 15:13] [ALPM] transaction completed
[2016-11-04 15:13] [ALPM] running 'gdk-pixbuf-query-loaders-32.hook'...
[2016-11-04 15:13] [ALPM] running 'glib-compile-schemas.hook'...
[2016-11-04 15:14] [ALPM] running 'gtk-query-immodules-3.0.hook'...
[2016-11-04 15:14] [ALPM] running 'gtk-update-icon-cache.hook'...
[2016-11-04 15:14] [ALPM] running 'texinfo-install.hook'...
[2016-11-04 15:14] [ALPM] running 'update-desktop-database.hook'...
[2016-11-04 15:14] [ALPM] running 'update-mime-database.hook'...
[2016-11-04 15:14] [ALPM] running 'update-vlc-plugin-cache.hook'...
[2016-11-06 09:15] [PACMAN] Running 'pacman -Syyu'
[2016-11-06 09:15] [PACMAN] synchronizing package lists
[2016-11-06 09:15] [PACMAN] Running 'pacman -Syyu'
[2016-11-06 09:15] [PACMAN] synchronizing package lists
[2016-11-06 09:20] [PACMAN] Running 'pacman -Syyu'
[2016-11-06 09:20] [PACMAN] synchronizing package lists
[2016-11-06 09:24] [PACMAN] Running 'pacman -Sc'
[2016-11-06 09:27] [PACMAN] Running 'pacman -Syyu'
[2016-11-06 09:27] [PACMAN] synchronizing package lists
[2016-11-06 10:14] [PACMAN] Running 'pacman -Syy'
[2016-11-06 10:14] [PACMAN] synchronizing package lists
[2016-11-06 10:29] [PACMAN] Running 'pacman -S reflector'
[2016-11-06 11:06] [PACMAN] Running 'pacman -Syu'
[2016-11-06 11:06] [PACMAN] synchronizing package lists
[2016-11-06 11:11] [PACMAN] Running 'pacman -Syu'
[2016-11-06 11:11] [PACMAN] synchronizing package lists
[2016-11-06 11:38] [PACMAN] Running 'pacman -Syu'
[2016-11-06 11:38] [PACMAN] synchronizing package lists
[2016-11-06 11:41] [PACMAN] Running 'pacman -S archlinux-keyring'
[2016-11-06 11:41] [ALPM] transaction started
[2016-11-06 11:41] [ALPM] reinstalled archlinux-keyring (20161101-1)
[2016-11-06 11:41] [ALPM-SCRIPTLET] ==> Appending keys from archlinux.gpg...
[2016-11-06 11:41] [ALPM-SCRIPTLET] ==> Locally signing trusted keys in keyring...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Locally signing key 91FFE0700E80619CEB73235CA88E23E377514E00...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
[2016-11-06 11:41] [ALPM-SCRIPTLET] ==> Importing owner trust values...
[2016-11-06 11:41] [ALPM-SCRIPTLET] ==> Disabling revoked keys in keyring...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
[2016-11-06 11:41] [ALPM-SCRIPTLET] -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
[2016-11-06 11:41] [ALPM-SCRIPTLET] ==> Updating trust database...
[2016-11-06 11:41] [ALPM-SCRIPTLET] gpg: next trustdb check due at 2017-01-01
[2016-11-06 11:41] [ALPM] transaction completed
[2016-11-06 11:42] [PACMAN] Running 'pacman -Syu'
[2016-11-06 11:42] [PACMAN] synchronizing package lists
[2016-11-06 11:45] [PACMAN] Running 'pacman -Syu'
[2016-11-06 11:45] [PACMAN] synchronizing package lists
[2016-11-06 11:47] [PACMAN] Running 'pacman -Syyu'
[2016-11-06 11:47] [PACMAN] synchronizing package lists
[2016-11-06 12:28] [PACMAN] Running 'pacman -U smbclient'
[2016-11-06 12:41] [PACMAN] Running 'pacman -U smbclient-4.5.0-2-x86_64.pkg.tar.xz'
[2016-11-06 12:45] [PACMAN] Running 'pacman -R smbclient'
[2016-11-06 12:47] [PACMAN] Running 'pacman -R smbclient'
[2016-11-06 12:48] [PACMAN] Running 'pacman -Rdd smbclient'
[2016-11-06 12:48] [ALPM] transaction started
[2016-11-06 12:48] [ALPM] removed smbclient (4.5.1-1)
[2016-11-06 12:48] [ALPM] transaction completed
[2016-11-06 12:48] [PACMAN] Running 'pacman -S smbclient-4.5.0-2-x86_64.pkg.tar.xz'
[2016-11-06 12:49] [PACMAN] Running 'pacman -U smbclient-4.5.0-2-x86_64.pkg.tar.xz'
[2016-11-06 12:49] [ALPM] transaction started
[2016-11-06 12:49] [ALPM] installed smbclient (4.5.0-2)
[2016-11-06 12:49] [ALPM] transaction completed
[2016-11-06 13:25] [PACMAN] Running 'pacman -Syu'
[2016-11-06 13:25] [PACMAN] synchronizing package lists
[2016-11-06 13:25] [PACMAN] starting full system upgrade
[2016-11-06 13:26] [ALPM] transaction started
[2016-11-06 13:26] [ALPM] upgraded tzdata (2016h-1 -> 2016i-1)
[2016-11-06 13:26] [ALPM] upgraded docbook-xsl (1.79.1-1 -> 1.79.1-2)
[2016-11-06 13:26] [ALPM] upgraded pciutils (3.5.1-1 -> 3.5.2-1)
[2016-11-06 13:26] [ALPM] warning: /etc/hp/hplip.conf installed as /etc/hp/hplip.conf.pacnew
[2016-11-06 13:26] [ALPM] upgraded hplip (3.16.9-1 -> 3.16.10-2)
[2016-11-06 13:26] [ALPM] upgraded inxi (2.3.1-1 -> 2.3.4-1)
[2016-11-06 13:26] [ALPM] upgraded lib32-mpg123 (1.23.6-1 -> 1.23.8-1)
[2016-11-06 13:26] [ALPM] upgraded perl-cgi (4.32-1 -> 4.35-1)
[2016-11-06 13:26] [ALPM] upgraded sqlite (3.15.0-1 -> 3.15.1-1)
[2016-11-06 13:26] [ALPM] transaction completed
[2016-11-06 13:26] [ALPM] running 'update-desktop-database.hook'...
[2016-11-06 13:30] [PACMAN] Running 'pacman -S gdb'
[2016-11-06 13:30] [ALPM] transaction started
[2016-11-06 13:30] [ALPM] installed gdb-common (7.12-1)
[2016-11-06 13:30] [ALPM] installed gdb (7.12-1)
[2016-11-06 13:30] [ALPM] transaction completed
[2016-11-06 13:30] [ALPM] running 'texinfo-install.hook'...
[2016-11-06 13:37] [PACMAN] Running 'pacman -S strace'
[2016-11-06 13:37] [ALPM] transaction started
[2016-11-06 13:37] [ALPM] installed strace (4.14-1)
[2016-11-06 13:37] [ALPM] transaction completed
[2016-11-06 13:43] [PACMAN] Running 'pacman -S sudo'
[2016-11-06 13:43] [ALPM] transaction started
[2016-11-06 13:43] [ALPM] reinstalled sudo (1.8.18.p1-1)
[2016-11-06 13:43] [ALPM] transaction completed
here [2016-11-04 15:13] [ALPM] upgraded sudo (1.8.18-1 -> 1.8.18.p1-1) and I reinstalled it today.
Last edited by Expatbrat (2016-11-06 21:48:13)
Offline
This is a red herring. It had been set. You had asked if it was normal. It is.
What happens if you do a coredumpctl gdb sudo ?
If it does not error out and dump you to a command line, but leaves you in gdb, try a gdb bt command and post the result (bt == backtrace)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
[root@robsarch robert]# coredumpctl gdb sudo
No match found.
[root@robsarch robert]#
and
[root@robsarch robert]# gdb --args sudo -s
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from sudo...(no debugging symbols found)...done.
(gdb) Quit
(gdb)
[1]+ Stopped gdb --args sudo -s
[root@robsarch robert]#
Last edited by Expatbrat (2016-11-06 21:52:51)
Offline
I just realised Trilby has become ewaller, many thanks to you too.
Offline
I tried this
robert@robsarch ~ $ gdb sudo
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from sudo...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/sudo
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 13185) exited with code 01]
(gdb) bt
No stack.
(gdb) quit
robert@robsarch ~ $
Offline
A couple more checks:
pacman -Qkk sudo
sha256sum /usr/bin/sudo
mount
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
This looks more promising but I am stuck again
robert@robsarch ~ $ pgrep -f sudo
13390
robert@robsarch ~ $ gdb -p 13390
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 13390
ptrace: Operation not permitted.
(gdb) quit
robert@robsarch ~ $ su
Password:
[root@robsarch robert]# gdb -p 13390
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 13390
[New LWP 13392]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007fe87472648d in poll () from /usr/lib/libc.so.6
(gdb) generate-core-file
warning: target file /proc/13390/cmdline contained unexpected null characters
Saved corefile core.13390
(gdb) bt
#0 0x00007fe87472648d in poll () from /usr/lib/libc.so.6
#1 0x0000000000599361 in ?? ()
#2 0x00000000005994b4 in ?? ()
#3 0x0000000000599625 in ?? ()
#4 0x00000000005932c8 in ?? ()
#5 0x0000000000590103 in ?? ()
#6 0x0000000000594306 in ?? ()
#7 0x000000000040eb25 in ?? ()
#8 0x00007fe874667291 in __libc_start_main () from /usr/lib/libc.so.6
#9 0x00000000004102fa in ?? ()
(gdb) quit
A debugging session is active.
Inferior 1 [process 13390] will be detached.
Quit anyway? (y or n) y
Detaching from program: /usr/bin/gdb, process 13390
[root@robsarch robert]# coredumpctl list
No coredumps found.
[root@robsarch robert]# coredumpctl info 13390
No coredumps found.
[root@robsarch robert]# coredumpctl gdb sudo
No match found.
[root@robsarch robert]#
Offline
A couple more checks
robert@robsarch ~ $ pacman -Qkk sudo
backup file: sudo: /etc/sudoers (Modification time mismatch)
backup file: sudo: /etc/sudoers (Size mismatch)
sudo: 184 total files, 0 altered files
robert@robsarch ~ $ sha256sum /usr/bin/sudo
d5ffb08dc018ded666ae1ced299babbcf9e27c3469b738d96d3b310b63cfaa11 /usr/bin/sudo
robert@robsarch ~ $ mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=3678568k,nr_inodes=919642,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda2 on / type ext4 (rw,noatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sda3 on /home type ext4 (rw,noatime,data=ordered)
/etc/autofs/auto.misc on /misc type autofs (rw,relatime,fd=7,pgrp=389,timeout=300,minproto=5,maxproto=5,indirect)
-hosts on /net type autofs (rw,relatime,fd=13,pgrp=389,timeout=300,minproto=5,maxproto=5,indirect)
/etc/autofs/auto.misc on /mnt/auto type autofs (rw,relatime,fd=19,pgrp=389,timeout=15,minproto=5,maxproto=5,indirect)
tmpfs on /run/user/1003 type tmpfs (rw,nosuid,nodev,relatime,size=743000k,mode=700,uid=1003,gid=100)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1003/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1003,group_id=100)
robert@robsarch ~ $
Offline
I just realised Trilby has become ewaller, many thanks to you too.
You're welcome. But, I'll have you know, we don't really look alike
Yeah, I don't hold out much hope trying to run a SUID mode program (like sudo) through gdb directly. Maybe that is why it failed through coredumpctl; I had never considered that.
My system is up to date and shows the same date and time as does your sudo. It is the build date that shows up on the executable; I had cross checked that before you had even raised the issue. It takes a while for packages to propagate through sign off and release.
Checking of a few unrelated items. What kernel are you running? Is this an Intel or AMD system? Have you installed and configured the Microcode updates for your system?
What shell are you using? Are you running this from the console? or, are you in Xorg? or Wayland?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
robert@robsarch ~ $ screenfetch
-`
.o+` robert@robsarch
`ooo/ OS: Arch Linux
`+oooo: Kernel: x86_64 Linux 4.8.6-1-ARCH
`+oooooo: Uptime: 10h 27m
-+oooooo+: Packages: 1455
`/:-:++oooo+: Shell: bash 4.3.46
`/++++/+++++++: Resolution: 1360x768
`/++++++++++++++: DE: Cinnamon 3.0.7
`/+++ooooooooooooo/` WM: Muffin
./ooosssso++osssssso+` WM Theme: Faience (oomox-numix)
.oossssso-````/ossssss+` GTK Theme: Vertex [GTK2/3]
-osssssso. :ssssssso. Icon Theme: Mint-X Folders-GOLD
:osssssss/ osssso+++. Font: Sans 9
/ossssssss/ +ssssooo/- CPU: AMD A4-4000 APU with Radeon HD Graphics @ 3GHz
`/ossssso+/:- -:/+osssso+- GPU: Gallium 0.4 on AMD ARUBA (DRM 2.46.0 / 4.8.6-1-ARCH, LLVM 3.9.0)
`+sso+:-` `.-/+oso: RAM: 1401MiB / 7255MiB
`++:. `-/+/
.` `/
robert@robsarch ~ $
I am sure it says xorg when I startx but wayland is installed as a dependency, bash shell, using terminator as my terminal. I had better look into this microcode stuff, I don't remember microcode updates. From the wiki "For AMD processors the microcode updates are available in linux-firmware, which is installed as part of the base system. No further action is needed."
I have been looking at the last thing I did before sudo stopped working which was this
[2016-11-06 12:28] [PACMAN] Running 'pacman -U smbclient'
[2016-11-06 12:41] [PACMAN] Running 'pacman -U smbclient-4.5.0-2-x86_64.pkg.tar.xz'
[2016-11-06 12:45] [PACMAN] Running 'pacman -R smbclient'
[2016-11-06 12:47] [PACMAN] Running 'pacman -R smbclient'
[2016-11-06 12:48] [PACMAN] Running 'pacman -Rdd smbclient'
[2016-11-06 12:48] [ALPM] transaction started
[2016-11-06 12:48] [ALPM] removed smbclient (4.5.1-1)
[2016-11-06 12:48] [ALPM] transaction completed
[2016-11-06 12:48] [PACMAN] Running 'pacman -S smbclient-4.5.0-2-x86_64.pkg.tar.xz'
[2016-11-06 12:49] [PACMAN] Running 'pacman -U smbclient-4.5.0-2-x86_64.pkg.tar.xz'
[2016-11-06 12:49] [ALPM] transaction started
[2016-11-06 12:49] [ALPM] installed smbclient (4.5.0-2)
[2016-11-06 12:49] [ALPM] transaction completed
The next thing I did was pacman-Syu but I had to do it as su because sudo had stopped working.
Last edited by Expatbrat (2016-11-06 23:36:19)
Offline
Bedtime, I hope to speak to you tomorrow.
Offline
Sounds like you found it. What is that 13390 process? What was the command line (check under the /proc/ folder). Can you kill (SIGTERM or SIGKILL) 13390?
It sounds like some background process ran a bad sudo command and for some reason new instances of sudo aren't able to start while the problematic one is hung. Kill the problem instance.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Surely the 13390 process is the sudo process running in gdb as in #19 above?
I did an htop which did not show 13390 running but it gave me an error message regarding process 320 which is the rpcbind service which I can't replicate. Guessing - has messing about with smbclient above upset the rpcbind service?
[root@robsarch robert]# sudo -i
[root@robsarch ~]# exit
logout
[root@robsarch robert]# exit
exit
robert@robsarch ~ $ sudo -i
Segmentation fault
robert@robsarch ~ $
Does this mean sudo works in root?
The last two lines in dmesg
[51713.166612] sudo[27179]: segfault at 968 ip 00007f4f8563cd6e sp 00007ffd658f99f0 error 4 in libpthread-2.24.so[7f4f85637000+18000]
[53516.835817] sudo[28105]: segfault at 968 ip 00007f455a69cd6e sp 00007ffebaa25470 error 4 in libpthread-2.24.so[7f455a697000+18000]
Last edited by Expatbrat (2016-11-07 12:22:17)
Offline