Package: at
Version: 3.1.10.1
Severity: normal

When a user runs at with Linux 2.6.24, the at binary cannot signal atd
that a new job has been added. This worked fine under 2.6.23 IIRC. 

[EMAIL PROTECTED]:~# ps aux | grep 'at now'
pabs     25168  0.0  0.0   1944   776 pts/3    S+   18:49   0:00 at now
[EMAIL PROTECTED]:~# strace -p 25168
Process 25168 attached - interrupt to quit
read(0, "test\n", 1024)                 = 5
write(2, "at> ", 4)                     = 4
read(0, "", 1024)                       = 0
write(2, "<EOT>\n", 6)                  = 6
write(4, "#!/bin/sh\n# atrun uid=1000 gid=1"..., 4022) = 4022
close(4)                                = 0
munmap(0xb7f8a000, 4096)                = 0
fchmod(5, 0700)                         = 0
close(5)                                = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=440, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=440, ...}) = 0
write(2, "job 39 at Thu Jan 31 18:49:00 20"..., 35) = 35
open("/var/run/atd.pid", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=5, ...}) = 0
fcntl64(3, F_GETFL)                     = 0 (flags O_RDONLY)
fstat64(3, {st_mode=S_IFREG|0644, st_size=5, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f8a000
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "6428\n", 4096)                 = 5
setreuid32(1000, 1)                     = 0
setregid32(1000, 1)                     = 0
kill(6428, SIGHUP)                      = -1 EPERM (Operation not permitted)
setregid32(1, 1000)                     = 0
setreuid32(1, 1000)                     = 0
write(2, "Can\'t signal atd (permission den"..., 37) = 37
exit_group(0)                           = ?
Process 25168 detached
[EMAIL PROTECTED]:~# ls -l /usr/bin/at /usr/sbin/atd 
-rwsr-sr-x 1 daemon daemon 38208 Jan 27 14:20 /usr/bin/at
-rwxr-xr-x 1 root   root   15756 Jan 27 14:20 /usr/sbin/atd
[EMAIL PROTECTED]:~# ps aux | grep atd
daemon   25337  0.0  0.0   1980   464 ?        Ss   18:54   0:00 /usr/sbin/atd

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages at depends on:
ii  exim4-daemon-light [mail-tran 4.69-1     lightweight Exim MTA (v4) daemon
ii  libc6                         2.7-6      GNU C Library: Shared libraries
ii  libpam0g                      0.99.7.1-5 Pluggable Authentication Modules l
ii  lsb-base                      3.1-24     Linux Standard Base 3.1 init scrip

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to