On Sun, Mar 31, 2019 at 10:41:15PM +0200, Martin Pitt wrote: > Package: e2fsprogs > Version: 1.45.0-1 > > In a standard sid LXC container, this unit fails: > > This is due to `AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO`, > and containers usually don't (and really should't) have RAWIO. Also, > this unit seems fairly useless in containers anyway, as these only > run on already mounted file systems.
Thanks for the bug report! > Can you please consider adding > > [Unit] > ConditionVirtualization=!container Hmm, I'm thinking instead of adding: [Unit] ConditionCapability=CAP_SYS_ADMIN ConditionCapability=CAP_SYS_RAWIO Could you test this and confirm whether or not this would correctly cause the unit to be skipped for your lxc containers which don't have CAP_SYS_RAWIO? Thanks! - Ted