Re: [systemd-devel] news on Issue # 4078 ?

2016-12-16 Thread arnaud gaboury
On Thu, Dec 15, 2016 at 7:27 PM Tomasz Torcz  wrote:

> On Thu, Dec 15, 2016 at 04:37:19PM +, arnaud gaboury wrote:
> > I am still with a broken UID/GID container for some specific directories.
> > This is described in issue #4078 [0].
> >
> > It start to be annoying as I can't upgrade some packages on the Fedora
> > container. At least, I think failed upgrades are related to this issue.
> > Let's take one example:
> >
> > # dnf upgrade iputils
> > ...
> >   Upgrading   :
> > iputils-20161105-1.fc25.x86_64
> > 1/2
> > Error unpacking rpm package iputils-20161105-1.fc25.x86_64
> > Error unpacking rpm package iputils-20161105-1.fc25.x86_64
> > error: unpacking of archive failed on file /usr/bin/ping;5852c405: cpio:
> > cap_set_file
> >
> > First, are these errors probably due to my UID/GID issues?
>
>   This error is because ping in Fedora is not suid, instead uses filesystem
> capabilities* to grant only necessary permissions. If you use any
> filesystem
> lacking fscaps (like for example NFS), you get this error and ping will
> work only for root.
>
>
So, what am I suposed to do? Forget iputils package upgrade, changing
filesystem (I am on Btrfs) ?
TY for your help.

>
>
>
> * https://lwn.net/Articles/313838/
>
>
> --
> Tomasz TorczOnly gods can safely risk perfection,
> xmpp: zdzich...@chrome.pl it's a dangerous thing for a man.  -- Alia
>
> ___
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] news on Issue # 4078 ?

2016-12-15 Thread Tomasz Torcz
On Thu, Dec 15, 2016 at 04:37:19PM +, arnaud gaboury wrote:
> I am still with a broken UID/GID container for some specific directories.
> This is described in issue #4078 [0].
> 
> It start to be annoying as I can't upgrade some packages on the Fedora
> container. At least, I think failed upgrades are related to this issue.
> Let's take one example:
> 
> # dnf upgrade iputils
> ...
>   Upgrading   :
> iputils-20161105-1.fc25.x86_64
> 1/2
> Error unpacking rpm package iputils-20161105-1.fc25.x86_64
> Error unpacking rpm package iputils-20161105-1.fc25.x86_64
> error: unpacking of archive failed on file /usr/bin/ping;5852c405: cpio:
> cap_set_file
> 
> First, are these errors probably due to my UID/GID issues?

  This error is because ping in Fedora is not suid, instead uses filesystem
capabilities* to grant only necessary permissions. If you use any filesystem
lacking fscaps (like for example NFS), you get this error and ping will
work only for root.



* https://lwn.net/Articles/313838/


-- 
Tomasz TorczOnly gods can safely risk perfection,
xmpp: zdzich...@chrome.pl it's a dangerous thing for a man.  -- Alia

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] news on Issue # 4078 ?

2016-12-15 Thread arnaud gaboury
I am still with a broken UID/GID container for some specific directories.
This is described in issue #4078 [0].

It start to be annoying as I can't upgrade some packages on the Fedora
container. At least, I think failed upgrades are related to this issue.
Let's take one example:

# dnf upgrade iputils
...
Downloading Packages:
[SKIPPED] iputils-20161105-1.fc25.x86_64.rpm: Already
downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Upgrading   :
iputils-20161105-1.fc25.x86_64
1/2
Error unpacking rpm package iputils-20161105-1.fc25.x86_64
Error unpacking rpm package iputils-20161105-1.fc25.x86_64
error: unpacking of archive failed on file /usr/bin/ping;5852c405: cpio:
cap_set_file
---
# dnf upgrade httpd

  Upgrading   :
httpd-2.4.23-5.fc25.x86_64
1/2
Error unpacking rpm package httpd-2.4.23-5.fc25.x86_64
Error unpacking rpm package httpd-2.4.23-5.fc25.x86_64
error: unpacking of archive failed on file /usr/sbin/suexec;5852c616: cpio:
cap_set_file
---

First, are these errors probably due to my UID/GID issues?
Second, is there a work around to upgrade these packages before systemd
issue 4078 is solved?

Thank you for help.

[0] https://github.com/systemd/systemd/issues/4078
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel