I'm on a 9.0rc3 system with some 9.0 rpms and as root, crontab -e opens
an editor, but when I save and exit it ignores any changes that I
make.

crontab <file> still works.

I'm running the secure kernel, msec=5, and /tmp is a symlink /home/tmp

Here's the bottom of the strace file from crontab -e :

read(3, "root\n", 4096)                 = 5
brk(0x8054000)                          = 0x8054000
time([1033233784])                      = 1033233784
open("/etc/localtime", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4016f000
read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0"..., 4096) = 1017
close(4)                                = 0
munmap(0x4016f000, 4096)                = 0
getpid()                                = 14773
rt_sigaction(SIGPIPE, {0x400e3ee0, [], SA_RESTORER, 0x40043358}, {SIG_DFL}, 8) = 0
socket(PF_UNIX, SOCK_DGRAM, 0)          = 4
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
connect(4, {sin_family=AF_UNIX, path="/dev/log"}, 16) = 0
send(4, "<78>Sep 28 10:23:04 crontab[1477"..., 61, 0) = 61
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
open("cron/root", O_RDONLY)             = 5
open("/tmp/crontab.14773", O_RDWR|O_CREAT|O_EXCL, 0600) = 6
getuid32()                              = 0
getgid32()                              = 0
fchown32(0x6, 0, 0)                     = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fstat64(6, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4016f000
_llseek(6, 0, [0], SEEK_CUR)            = 0
fstat64(5, {st_mode=S_IFREG|0600, st_size=251, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40170000
read(5, "# DO NOT EDIT THIS FILE - edit t"..., 4096) = 251
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x40170000, 4096)                = 0
write(6, "* * * * * /bin/fubar"..., 63) = 63
getuid32()                              = 0
_llseek(6, 0, [0], SEEK_SET)            = 0
fstat64(6, {st_mode=S_IFREG|0600, st_size=63, ...}) = 0
fork()                                  = 14774
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 14774
--- SIGCHLD (Child exited) ---
fstat64(6, {st_mode=S_IFREG|0600, st_size=63, ...}) = 0
write(2, "crontab: no changes made to cron"..., 36) = 36
unlink("/tmp/crontab.14773")            = 0
brk(0x8057000)                          = 0x8057000
time([1033233797])                      = 1033233797
getpid()                                = 14773
rt_sigaction(SIGPIPE, {0x400e3ee0, [], SA_RESTORER, 0x40043358}, {SIG_DFL}, 8) = 0
send(4, "<78>Sep 28 10:23:17 crontab[1477"..., 59, 0) = 59
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
munmap(0x4016f000, 4096)                = 0
_exit(0)                                = ?


Reply via email to