Vojtech Trefny
Vojtech Trefny
> So? Has the jury came to a conclusion? I discussed this with @vpodzime and we agreed that having a libblockdev plugin just for zram is probably not worth but...
I think this shouldn't be an issue for us, we are dropping the privileges only to run `mount` so it's not permanent. Libmount (util-linux) has the same issue and they...
> Would you mind telling me how this temporary privilege drop to run `mount` is being implemented here? We fork ourselves and use `setresuid` and `setregid` to set the real...
> 1. So, I've spent some time reading some chunks of mount.c and saw that `set_uid()` is a static function, plus the fact that **RPM Lint** is complaining about **FS...
> Currently, `setresuid()`/`setresgid()` are being used, can you tell me why make use of such nonstandard calls? I don't remember why we use this, but there was a reason for...
Btw. one way to make this safer would be to simply refuse to change UID/GID when running as a non-root user. I actually thought we are already doing that, but...
> > I don't remember why we use this, but there was a reason for that. > > OK. If you remember, or anyone else, please tell me because I...
I moved the issues to blivet-gui, because this is "GUI only" feature, but I also think this is a problem in ABRT, not blivet-gui. I wasn't able to reproduce this...
> GNOME Disks lacks resize support for Btrfs. But libblockdev has it. > https://github.com/storaged-project/libblockdev/blob/master/src/plugins/btrfs.c#L876-L902 Even better, we have the Btrfs resize support in UDisks too -- http://storaged.org/doc/udisks2-api/latest/gdbus-org.freedesktop.UDisks2.Filesystem.BTRFS.html#gdbus-method-org-freedesktop-UDisks2-Filesystem-BTRFS.Resize (but it uses...
Thank you for the report, I've moved the issue to libblockdev. I'm not sure if the problem is in libblockdev in libparted, but this definitely isn't UDisks fault.