Package: debianutils
Version: 2.12.0
Severity: important

# touch foo
# chown mail.adm foo
# savelog -p -c 10 foo
chown: failed to get attributes of `--': No such file or directory
chmod: failed to get attributes of `--': No such file or directory
Rotated `foo' at Fri Feb 18 15:07:02 GMT 2005.
# ls -l foo*
-rw-------  1 root root 0 Feb 18 15:07 foo
-rw-r--r--  1 mail adm  0 Feb 18 15:06 foo.0

When this happened to exim3 this morning at 3am, it no longer could
write it's log files and all mail delivery stopped.  The -p option
should preserve the permissions on the new file which it did in
previous versions.

I tried 2.11.2 and got:

# rm foo*
# touch foo
# chown mail.adm foo
# savelog -p -c 10 foo
Rotated `foo' at Fri Feb 18 15:11:41 GMT 2005.
# ls -l foo*
-rw-r--r--  1 mail adm 0 Feb 18 15:11 foo
-rw-r--r--  1 mail adm 0 Feb 18 15:11 foo.0

Looks like some argument parsing is broken given the errors about '--'

Dave


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages debianutils depends on:
ii  coreutils                   5.2.1-2      The GNU core utilities
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to