From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: John David Anglin <dave.anglin@bell.net>
Cc: Paul Martin <pm@debian.org>,
706050@bugs.debian.org,
Debian Bug Tracking System <control@bugs.debian.org>,
Helge Deller <deller@gmx.de>,
linux-parisc List <linux-parisc@vger.kernel.org>
Subject: Re: Bug#706050: logrotate: spurious "error: getting file ACL" messages
Date: Sun, 12 Jul 2015 09:15:55 +0100 [thread overview]
Message-ID: <1436688955.2344.1.camel@HansenPartnership.com> (raw)
In-Reply-To: <BLU436-SMTP10577C68AA6B4B3605CAF59979E0@phx.gbl>
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
next prev parent reply other threads:[~2015-07-12 8:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <BLU0-SMTP118606EF06DBC860DA78C097B40@phx.gbl>
[not found] ` <20130424110157.GA24835@thinkpad.nowster.org.uk>
2013-04-24 11:27 ` Fwd: Bug#706050: logrotate: spurious "error: getting file ACL" messages John David Anglin
2013-04-24 17:11 ` Jeroen Roovers
[not found] ` <BLU0-SMTP60C4315DE3E426704E80A897B50@phx.gbl>
2015-07-11 15:51 ` John David Anglin
2015-07-12 8:15 ` James Bottomley [this message]
2015-07-15 12:04 ` John David Anglin
2015-07-16 6:55 ` Paul Martin
2015-07-16 11:32 ` John David Anglin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436688955.2344.1.camel@HansenPartnership.com \
--to=james.bottomley@hansenpartnership.com \
--cc=706050@bugs.debian.org \
--cc=control@bugs.debian.org \
--cc=dave.anglin@bell.net \
--cc=deller@gmx.de \
--cc=linux-parisc@vger.kernel.org \
--cc=pm@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox