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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

James


--
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



[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux