[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ceph + freeipa ubuntu/fedora common small bug
From: |
Vivek Goyal |
Subject: |
Re: ceph + freeipa ubuntu/fedora common small bug |
Date: |
Fri, 11 Dec 2020 10:06:24 -0500 |
On Fri, Dec 11, 2020 at 11:05:22AM +0000, Dr. David Alan Gilbert wrote:
> * Harry G. Coin (hgcoin@gmail.com) wrote:
> > FYI. Same thing we saw on Fedora installing freeipa, this on ubuntu
> > with ceph. Identical bitmask report.
> >
> > ...
> >
> > Fixing /var/run/ceph ownership....done
> >
> > Cannot set file attribute for '/var/log/journal', value=0x00800000,
> > mask=0x00800000, ignoring: Function not implemented
> >
> > Cannot set file attribute for
> > '/var/log/journal/fd007229322043ad8778c214d19ed3ac', value=0x00800000,
> > mask=0x00800000, ignoring: Function not implemented
>
> This looks like it comes out of systemd's src/tmpfiles/tmpfiles.c:
>
> r = chattr_fd(procfs_fd, f, item->attribute_mask, NULL);
> if (r < 0)
> log_full_errno(IN_SET(r, -ENOTTY, -EOPNOTSUPP) ? LOG_DEBUG :
> LOG_WARNING,
> r,
> "Cannot set file attribute for '%s',
> value=0x%08x, mask=0x%08x, ignoring: %m",
> path, item->attribute_value,
> item->attribute_mask);
>
> and it's chattr_fd is in it's src/basic/chattr-util.c
> which is using FS_IOC_GET/SETFLAGS, which seems to be an older
> way of doing things.
>
> Now, is that supposed to promote itself to a newer call or is it OK?
I see that we don't have any ->ioctl function registered in
passthrough_ll.c and that's why do_ioctl() (fuse_lowlevel.c) will
return -ENOSYS.
So we probably need to modify passthrough_ll.c to support some select
ioctls. Right now it looks like all fs ioctls will return -ENOSYS.
I tried "chattr +i foo.txt" and that return -ENOSYS as well.
Vivek
- [PATCH 0/3] virtiofsd: Fix lo_flush() and inode->posix_lock init, Vivek Goyal, 2020/12/07
- [PATCH 3/3] virtiofsd: Check file type in lo_flush(), Vivek Goyal, 2020/12/07
- Re: [PATCH 3/3] virtiofsd: Check file type in lo_flush(), Dr. David Alan Gilbert, 2020/12/10
- Re: [PATCH 3/3] virtiofsd: Check file type in lo_flush(), Vivek Goyal, 2020/12/10
- Re: [PATCH 3/3] virtiofsd: Check file type in lo_flush(), Dr. David Alan Gilbert, 2020/12/10
- Re: [PATCH 3/3] virtiofsd: Check file type in lo_flush(), Vivek Goyal, 2020/12/11
- Re: [PATCH 3/3] virtiofsd: Check file type in lo_flush(), Dr. David Alan Gilbert, 2020/12/11
- ceph + freeipa ubuntu/fedora common small bug, Harry G. Coin, 2020/12/10
- Re: ceph + freeipa ubuntu/fedora common small bug, Dr. David Alan Gilbert, 2020/12/11
- Re: ceph + freeipa ubuntu/fedora common small bug,
Vivek Goyal <=
- Re: ceph + freeipa ubuntu/fedora common small bug, Harry Coin, 2020/12/12
- [PATCH 1/3] virtiofsd: Set up posix_lock hash table for root inode, Vivek Goyal, 2020/12/07
- [PATCH 2/3] virtiofsd: Disable posix_lock hash table if remote locks are not enabled, Vivek Goyal, 2020/12/07
- Re: [PATCH 0/3] virtiofsd: Fix lo_flush() and inode->posix_lock init, no-reply, 2020/12/07
- Re: [PATCH 0/3] virtiofsd: Fix lo_flush() and inode->posix_lock init, Laszlo Ersek, 2020/12/07