LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-02-2005, 02:57 AM   #1
haddel
LQ Newbie
 
Registered: Apr 2004
Location: Wackernheim (Germany)
Distribution: RedHat AS 3/4/5
Posts: 24

Rep: Reputation: 15
Question sudo throwing Segfaults after up2date run (2.1)


Did an "global" up2date run on some 2.1 boxes this weekend, now all 4 ones show this behaviour:


$ sudo vim ifup-aliases
Password:
Segmentation fault
$ sudo vim ifup-aliases
$

It might be related to PAM and/or LDAP. The segfaults seem to only happen after entering a password (but not always), then disappear for a while...

Any Ideas?

Thanks

haddel

Last edited by haddel; 05-02-2005 at 02:59 AM.
 
Old 05-09-2005, 07:00 AM   #2
haddel
LQ Newbie
 
Registered: Apr 2004
Location: Wackernheim (Germany)
Distribution: RedHat AS 3/4/5
Posts: 24

Original Poster
Rep: Reputation: 15
Angry

This is really strange....



$ ulimit -a
core file size (blocks) 0
data seg size (kbytes) unlimited
file size (blocks) unlimited
max locked memory (kbytes) unlimited
max memory size (kbytes) unlimited
open files 1024
pipe size (512 bytes) 8
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 16000
virtual memory (kbytes) unlimited

$ ulimit -c unlimited
bash2: ulimit: cannot modify limit: Operation not permitted

$ ulimit -c 650000

$ ulimit -a
core file size (blocks) 650000
data seg size (kbytes) unlimited
file size (blocks) unlimited
max locked memory (kbytes) unlimited
max memory size (kbytes) unlimited
open files 1024
pipe size (512 bytes) 8
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 16000
virtual memory (kbytes) unlimited

$ cd /tmp/
$ sudo -k
$ sh -x catchsegv sudo ls
+ test 2 -eq 0
+ prog=sudo
+ shift
+ test 1 -eq 0
++ basename sudo
+ segv_output=sudo.segv.16866
+ rm -f sudo.segv.16866
+ exec
Password:
+ exval=139
+ test -f sudo.segv.16866
+ exit 139
 
Old 05-10-2005, 11:51 AM   #3
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
Report it to Red Hat technical support, I guess they pushed a bad update.
 
Old 05-10-2005, 12:11 PM   #4
haddel
LQ Newbie
 
Registered: Apr 2004
Location: Wackernheim (Germany)
Distribution: RedHat AS 3/4/5
Posts: 24

Original Poster
Rep: Reputation: 15
I did it, but I hoped that on guy here know the problem.
Red Hat knew the problem since a couple of weeks.


Cheers
 
Old 05-10-2005, 12:12 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Did the update actually update sudo or what other packages were updated? Perhaps a dependency was updated but not sudo, causing these errors.
 
Old 05-10-2005, 12:16 PM   #6
haddel
LQ Newbie
 
Registered: Apr 2004
Location: Wackernheim (Germany)
Distribution: RedHat AS 3/4/5
Posts: 24

Original Poster
Rep: Reputation: 15
I did a global update (about 100 updates).
I think that can be a problem with PAM, this rpm was on of the updated rpms.
 
Old 06-03-2005, 10:16 AM   #7
haddel
LQ Newbie
 
Registered: Apr 2004
Location: Wackernheim (Germany)
Distribution: RedHat AS 3/4/5
Posts: 24

Original Poster
Rep: Reputation: 15
Looks like the nscd was no red herring at all....

After disabling, I get reasonable results on all hosts that suffered before, and starting the nscd on the old UAT box that had no problems rendered that box unuseable (init-script not coming back to prompt, not accepting ssh logins).

I'll deactivate nscd now and see if they behave fair.
 
Old 05-07-2007, 10:23 AM   #8
haddel
LQ Newbie
 
Registered: Apr 2004
Location: Wackernheim (Germany)
Distribution: RedHat AS 3/4/5
Posts: 24

Original Poster
Rep: Reputation: 15
After several tests, all looks good.
Problem fixed.......

;-))
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't run app w/ sudo command fatblueduck Linux - Software 2 09-30-2005 07:39 PM
allow sudo for www user to run root shell script cccc *BSD 12 07-23-2005 03:48 PM
cannot run up2date!! pertsix Fedora 3 05-10-2005 01:36 PM
up2date installed new kernel, can't run it toddcurry Red Hat 4 06-19-2004 05:22 PM
Cannot run up2date andy18 Linux - General 0 04-25-2003 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration