Bug#706050: logrotate: spurious error: getting file ACL messages

2013-04-24 Thread Paul Martin
tags 706050 pending thanks On Sun, Apr 21, 2013 at 09:49:08AM -0400, Dave Anglin wrote: Installed 3.8.3-3 on system with ext3 file systems without ACL support. Now get mail with following with following content: /etc/cron.daily/logrotate: error: getting file ACL /var/log/mysql.log: Function

Bug#706050: logrotate: spurious error: getting file ACL messages

2013-04-24 Thread Romain Francoise
FWIW, gnulib uses the following macro to catch all possible errno values on various platforms: /* Recognize some common errors such as from an NFS mount that does not support ACLs, even when local drives do. */ #if defined __APPLE__ defined __MACH__ /* Mac OS X */ # define

Bug#706050: logrotate: spurious error: getting file ACL messages

2013-04-24 Thread John David Anglin
On 24-Apr-13, at 7:01 AM, Paul Martin wrote: The test is if ((prev_acl = acl_get_fd(fdcurr)) == NULL) { if (errno != ENOTSUP) { message(MESS_ERROR, getting file ACL %s: %s \n, currLog, strerror(errno)); and your

Bug#706050: logrotate: spurious error: getting file ACL messages

2013-04-24 Thread Paul Martin
On Wed, Apr 24, 2013 at 01:31:54PM +0200, Romain Francoise wrote: # define ACL_NOT_WELL_SUPPORTED(Err) \ ((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY) Thanks. A more elegant solution that I'd coded. -- Paul Martin p...@debian.org -- To UNSUBSCRIBE,

Bug#706050: logrotate: spurious error: getting file ACL messages

2013-04-23 Thread Dave Anglin
Package: logrotate Version: 3.8.3-3 Severity: normal Installed 3.8.3-3 on system with ext3 file systems without ACL support. Now get mail with following with following content: /etc/cron.daily/logrotate: error: getting file ACL /var/log/mysql.log: Function not implemented error: getting file ACL