Package: at Version: 3.1.10.1 Severity: normal [EMAIL PROTECTED]:~>at 9:00 warning: commands will be executed using /bin/sh at> echo hi at> <EOT> job 6 at Fri Mar 7 09:00:00 2008 Can't signal atd (permission denied)
All users and permissions look ok and the same as those on a different system
that does not exhibit the problem:
[EMAIL PROTECTED]:~>ls -l /usr/bin/at /var/run/atd.pid
-rwsr-sr-x 1 daemon daemon 36732 Jan 27 01:50 /usr/bin/at*
-rw-r--r-- 1 root root 5 Feb 25 13:06 /var/run/atd.pid
[EMAIL PROTECTED]:~>cat /var/run/atd.pid
2158
[EMAIL PROTECTED]:~>ps aux |grep 2158
daemon 2158 0.0 0.2 1980 352 ? Ss Feb25 0:00 /usr/sbin/atd
I purged and reinstalled the package just in case. This didn't help.
I freshly installed at on a different machine, that's arm, not armel,
and could immediately reproduce the problem there.
Here's a strace, doesn't seem very helpful:
Process 3227 attached - interrupt to quit
read(0, "echo hi\n", 1024) = 8
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"..., 2634) = 2634
close(4) = 0
munmap(0x40020000, 4096) = 0
fchmod(5, 0700) = 0
close(5) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
write(2, "job 6 at Fri Mar 7 09:00:00 200"..., 34) = 34
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) =
0x40020000
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "2158\n", 4096) = 5
setreuid32(1000, 1) = 0
setregid32(1000, 1) = 0
kill(2158, 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 3227 detached
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: armel (armv5tel)
Kernel: Linux 2.6.24-1-iop32x
Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages at depends on:
ii libc6 2.7-9 GNU C Library: Shared libraries
ii libpam0g 0.99.7.1-5 Pluggable Authentication Modules l
ii lsb-base 3.2-3 Linux Standard Base 3.2 init scrip
ii postfix [mail-transport-agent 2.5.1-1 High-performance mail transport ag
at recommends no packages.
-- no debconf information
--
see shy jo
signature.asc
Description: Digital signature

