Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i'm using Fedora 11 which i installed a couple of days back...
i added my user name to the sudoer list but everytime i run the sudo command it takes at least 20 + seconds before anything happens... this happens everytime i run sudo...
in comparison to running su things happen immediately... anyone else experiencing this?
now everytime i install or run a command requiring root access i just use su...
uhmm...Am I using MS Windows or what ?
Because, this morning my Fedora wake up "normal", I mean,
Code:
$ time sudo pwd
/
real 0m0.028s
user 0m0.009s
sys 0m0.010s
$
I do nothing, I didn't changed /etc/sudoers, I didn't installed anything, I didn't updated anything.
Yesterday even after several boots it wasn't fixed.
Code:
$ sudo last |grep "boot" | grep "Jun 13"
reboot system boot 2.6.29.4-167.fc1 Sat Jun 13 19:31 (05:10)
reboot system boot 2.6.29.4-167.fc1 Sat Jun 13 15:34 (02:40)
reboot system boot 2.6.29.4-167.fc1 Sat Jun 13 14:34 (00:50)
reboot system boot 2.6.29.4-167.fc1 Sat Jun 13 14:32 (00:00)
reboot system boot 2.6.29.4-167.fc1 Sat Jun 13 14:30 (00:01)
reboot system boot 2.6.29.4-167.fc1 Sat Jun 13 14:24 (00:04)
reboot system boot 2.6.29.4-167.fc1 Sat Jun 13 11:27 (01:09)
reboot system boot 2.6.29.4-167.fc1 Sat Jun 13 08:45 (03:51)
I don't known why today is working but is is.
I hate random behaviours like this....looks like I am using Windows.
Could be an autoupdate from the repos? Fedora is a bleeding edge distro, so I wouldn't be entirely surprised.
No, I didn't set autoupdate (System/Preferences/Software Updates).
Also, rpm -qa --last do not show any packages installed/updated in this period.
I read about a similar behaviour in Ubuntu forums and it was caused by the fingerprint reader used with GDM to authenticate users in the last Ubuntu. The description of the problem also says it fixes by them self but it returns after 12hours, according to the original post !
Lets see what happens for now. So far, so good for me....
PS: for manuleka: And about you ? You still has the problem or it was "fixed" too ?
very strange indeed....
yes it is really weird... unfortunately for me the problem still persists but hopefully the next update will somehow resolve the problem... i've installed Fedora 11 three times due to partition issues and other problems but on all three ocasions two i can remember had the sudo delay issue
i am in no mood for another reinstall - i've customized everything on my setup and installed alot of softwares i will make do with the problem even if fixing it is impossible, well nothing is impossible but i'm a novice and don't wanna stuff up my setup - too much work. Plus i don't seem to have the time
oh no ! I am just came to home and sudo is having that annoying delay AGAIN !
Looks like somehow it is related to the same problem that Ubuntu user I mentioned is having too...
The strange is in my work place I installed F11 in my desktop and applied the same updates and in that computer I had no problems with sudo.
I was facing the same problem. This happens if you change the hostname during the install process. I have set the hostname of my system to "fedora". The installer assumes that people will not change the default of "localhost.localdomain".
I was facing the same problem. This happens if you change the hostname during the install process. I have set the hostname of my system to "fedora". The installer assumes that people will not change the default of "localhost.localdomain".
Yes, this is what I did different in my work place and in my home.
At workplace I left the default localhost.localdomain and added my machine name at end of lines after the first boot. In my home I changed it at installation time and never go back to /etc/hosts again.
How do you figure out this ?
Most interesting than the fix itself is how you came to this...
I had experienced such "long unnecessary" delay problem in the past with KDE - the KDE startup takes very long if the localhost entry is not there. But once it starts, it works perfectly. I was experiencing the exact same symptom with this sudo issue - very long to start, and then works perfectly. Hence, the first thing which came to my mind was "hosts file".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.