Bug 460252 - at takes seconds to accept new job (should be instant - SELinux issue)
Summary: at takes seconds to accept new job (should be instant - SELinux issue)
Keywords:
Status: CLOSED DUPLICATE of bug 460873
Alias: None
Product: Fedora
Classification: Fedora
Component: at
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-27 05:00 UTC by James Hunt
Modified: 2008-10-02 12:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-02 12:38:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Hunt 2008-08-27 05:00:29 UTC
Description of problem:

"at" take *seconds* to accept the specified job.

Version-Release number of selected component (if applicable):

at-3.1.10-23.fc9.i386
selinux-policy-targeted-3.3.1-84.fc9.noarch

How reproducible:

Every time.

Steps to Reproduce:
1. (date;echo date|at now;date)
  
Actual results:

Takes 6 seconds to accept job...

  Wed Aug 27 16:56:09 NZST 2008
  job 13 at 2008-08-27 16:56
  Wed Aug 27 16:56:15 NZST 2008

Expected results:

  Wed Aug 27 16:56:09 NZST 2008
  job 13 at 2008-08-27 16:56
  Wed Aug 27 16:56:09 NZST 2008

Additional info:

> sudo tail /var/log/messages
Aug 27 16:56:32 jamesh-ll atd[9452]: Not allowed to set exec context to user_u:user_r:system_chkpwd_t:s0 for user  jamesh#012: No such file or directory

Comment 1 Daniel Walsh 2008-09-08 20:54:30 UTC
Fixed in selinux-policy-3.3.1-89.fc9.noarch

Comment 2 James Hunt 2008-10-01 21:28:04 UTC
Hi Dan,

It's still a problem for me:

> sudo tail -n 1 /var/log/messages
Oct  2 10:25:16 jamesh-ll atd[21593]: Not allowed to set exec context to user_u:user_r:system_chkpwd_t:s0 for user  jamesh#012: No such file or directory
> rpm -q selinux-policy
selinux-policy-3.3.1-91.fc9.noarch
> sestatus -v
sestatus -v
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 22
Policy from config file:        targeted

Process contexts:
Current context:                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
Init context:                   system_u:system_r:init_t:s0

File contexts:
Controlling term:               unconfined_u:object_r:unconfined_devpts_t:s0
/etc/passwd                     system_u:object_r:etc_t:s0
/etc/shadow                     system_u:object_r:shadow_t:s0
/bin/bash                       system_u:object_r:shell_exec_t:s0
/bin/login                      system_u:object_r:login_exec_t:s0
/bin/sh                         system_u:object_r:bin_t:s0 -> system_u:object_r:shell_exec_t:s0
/sbin/agetty                    system_u:object_r:getty_exec_t:s0
/sbin/init                      system_u:object_r:init_exec_t:s0
/sbin/mingetty                  system_u:object_r:getty_exec_t:s0
/usr/sbin/sshd                  system_u:object_r:sshd_exec_t:s0
/lib/libc.so.6                  system_u:object_r:lib_t:s0 -> system_u:object_r:lib_t:s0
/lib/ld-linux.so.2              system_u:object_r:lib_t:s0 -> system_u:object_r:ld_so_t:s0
> 

Cheers,

James.

Comment 3 Daniel Walsh 2008-10-02 12:34:26 UTC
This is a bug in at which I submitted a patch for.

Comment 4 Daniel Walsh 2008-10-02 12:38:03 UTC

*** This bug has been marked as a duplicate of bug 460873 ***


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