Bug 415661 - at segfaults
Summary: at segfaults
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: at
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-07 13:57 UTC by Aurelien Bompard
Modified: 2008-01-28 09:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-28 09:04:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Strace output (9.81 KB, text/plain)
2007-12-07 13:57 UTC, Aurelien Bompard
no flags Details

Description Aurelien Bompard 2007-12-07 13:57:00 UTC
Description of problem:
The "at" command is broken, and segfaults on call :
$ at
Segmentation fault
$ getenforce 
Disabled

Version-Release number of selected component (if applicable):
at-3.1.10-18.fc8

How reproducible:
always

I'm attaching the output of strace.

Comment 1 Aurelien Bompard 2007-12-07 13:57:00 UTC
Created attachment 281211 [details]
Strace output

Comment 2 Marcela Mašláňová 2007-12-07 14:16:19 UTC
I'm sorry, that's works for me. 
$ rpm -q at
at-3.1.10-18.fc8

$ getenforce
Enforcing

$ at
Garbled time

Could you please attach back-trace with installed at-debuginfo?

Comment 3 Aurelien Bompard 2007-12-07 15:35:49 UTC
I've run at through gdb, and it says:

PAM authentication failure: Authentication failure
You do not have permission to use at.

Program exited with code 01.
(gdb) bt
No stack.

I've looked at my PAM authentication files, and if I comment out the pam_mount
entry in system-auth, at goes back to normal.
No idea why it blocked at only though.

Reassigning to pam_mount, if the maintainer has any idea about that...

Comment 4 Marcela Mašláňová 2007-12-10 09:52:27 UTC
I don't think there is problem with pam_mount, but I can CC maintainer. 

In _at_ were incorrectly closed parts with PAM authentication. If you want, you
can test it from here http://mmaslano.fedorapeople.org/at/ Maybe it helps. Could
you attach the part of your log from /var/log/audit/audit.log, which mentioned
unsuccessful _at_ job?

Please don't move bug into modified state, that's for solved bugs.

Comment 5 Aurelien Bompard 2007-12-10 10:53:32 UTC
> In _at_ were incorrectly closed parts with PAM authentication. If you want, you
> can test it from here http://mmaslano.fedorapeople.org/at/ Maybe it helps.

It still segfaults with 3.1.10-20

> Could you attach the part of your log from /var/log/audit/audit.log, which 
> mentioned unsuccessful _at_ job?

Nothing about that in /var/log/audit/audit.log, but I can find interesting lines
in /var/log/secure : 

Dec 10 11:51:51 localhost at: pam_unix(atd:session): session opened for user
abompard by (uid=0)
Dec 10 11:51:51 localhost at: pam_mount(pam_mount.c:413) error trying to
retrieve authtok from auth code

Hope this helps.

> Please don't move bug into modified state, that's for solved bugs.

Sorry about that, I didn't know.

Comment 6 Marcela Mašláňová 2007-12-12 10:58:31 UTC
Please could you also attach backtrace of at?

Comment 7 Marcela Mašláňová 2008-01-28 09:04:32 UTC
I'm closing it. If the problem persist please free to reopen it.


Note You need to log in before you can comment on or make changes to this bug.