On 2015-07-12, at 4:15 AM, James Bottomley wrote: > On Sat, 2015-07-11 at 11:51 -0400, John David Anglin wrote: >> On 2013-04-24, at 7:36 AM, John David Anglin wrote: >> >>> 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 kernel is responding with ENOSYS instead. This contradicts >>>> the manpage acl_get_fd(3): >>>> >>>> [ENOTSUP] The file system on which the file identified by fd is >>>> located does not support ACLs, or ACLs are disabled. >>> >>> Thanks, forwarded your response to the parisc-linux list for review. >> >> >> The spurious mail has come back with logrotate 3.8.7-2. File system is ext4: >> /dev/sdc6 on /var type ext4 (rw,relatime,data=ordered) >> >> /etc/cron.daily/logrotate: >> error: getting file ACL /var/log/apt/term.log: Operation not supported >> error: getting file ACL /var/log/apt/history.log: Operation not supported >> ... > > It looks like you built your kernel without CONFIG_EXT4_FS_POSIX_ACL. > The warning is harmless because ACLs aren't required for logs ... it's > merely trying to duplicate the ACL on the rotated file. You were correct, CONFIG_EXT4_FS_POSIX_ACL wasn't defined. Adding this to the kernel appears to suppress the spam email from logrotate. Thanks, Dave -- John David Anglin dave.anglin@xxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html