You are not logged in.

#1 2011-10-22 12:56:46

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

sudo suddenly stopped working to run "/sbin/rc.d" [solved]

Topic says it all:

$ sudo rc.d start distccd
Password: 
Sorry, user facade is not allowed to execute '/usr/sbin/rc.d start distccd' as root on mars.
# grep rc.d /etc/sudoers
facade ALL=NOPASSWD: /sbin/shutdown,/sbin/modprobe,/usr/bin/pacman,/sbin/rmmod,/sbin/telinit,/sbin/rc.d,/usr/bin/cpufreq-set,/usr/bin/vboxbuild

EDIT: this is true on several different boxes.

Last edited by graysky (2011-10-22 15:16:55)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2011-10-22 13:49:34

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: sudo suddenly stopped working to run "/sbin/rc.d" [solved]

Sorry, user facade is not allowed to execute '/usr/sbin/rc.d start distccd' as root on mars.

Offline

#3 2011-10-22 15:16:45

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: sudo suddenly stopped working to run "/sbin/rc.d" [solved]

Good eye...

$ pacman -Qo /usr/sbin/rc.d 
/usr/sbin/rc.d is owned by initscripts 2011.10.2-1

Must be that the previous version of initscripts placed it in /sbin/rc.d


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2011-10-22 16:22:12

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: sudo suddenly stopped working to run "/sbin/rc.d" [solved]

Offline

#5 2011-10-22 19:00:31

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: sudo suddenly stopped working to run "/sbin/rc.d" [solved]

@falconindy - Nice!  So all you did was browse to http://projects.archlinux.org/ and then into the initscript.git and finally search for "/usr/sbin" ?  Is there a way to search all projects for a query simultaneously?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2011-10-22 19:12:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: sudo suddenly stopped working to run "/sbin/rc.d" [solved]

graysky wrote:

Is there a way to search all projects for a query simultaneously?

Why would you need it?

Offline

#7 2011-10-22 19:34:01

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: sudo suddenly stopped working to run "/sbin/rc.d" [solved]

No, i dug through history via git on the CLI to get the commit hash.

Offline

#8 2011-10-22 19:48:04

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: sudo suddenly stopped working to run "/sbin/rc.d" [solved]

@karol - just looking for ways to harvest more info.
@falconindy - thanks for the info.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB