Announcing kannolo-root-unlocker (also works on Fedora KDE)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

since both KDE upstream and the Fedora KDE SIG refuse to fix the regression
that Dolphin, KWrite, and Kate can no longer be run as root, I have decided
to write a small metapackage that automatically applies the binary patch to
fix the issue.

The patch that is applied is the 's/getuid/getpid/g' hack, see:
https://www.spinics.net/linux/fedora/fedora-kde/msg19018.html
for an explanation of how it works.

The patched executables are written to /usr/local/bin. The metapackage uses
file triggers so that the patched version is automatically updated when the
original copy in /usr/bin is updated from the system package. While it would
be possible in principle with this method to apply the patches in place in
/usr/bin, I have decided against it, for 2 reasons:
1. integrity checks such as rpm -Va would fail on the patched executables,
   and
2. delta RPMs would fail because the original RPM could not be
   reconstructed.
Writing the patched executables to a different directory avoids this issue.

After installing this package, e.g., "kdesu kwrite" should just work again.

You can get the package from the Kannolo Copr:
https://copr.fedorainfracloud.org/coprs/kkofler/kannolo/

Source code:
https://svn.calcforge.org/viewvc/kannolo/trunk/packages/kannolo-root-unlocker/
Direct package link:
https://copr.fedorainfracloud.org/coprs/kkofler/kannolo/package/kannolo-root-unlocker/

Enjoy!

        Kevin
_______________________________________________
kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux