PurpleI2P / i2pd

🛡 I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website
BSD 3-Clause "New" or "Revised" License
3.28k stars 424 forks source link

RPM package incorrectly chown -R's /var/lib/tor to i2pd:i2pd #1895

Open tidux opened 1 year ago

tidux commented 1 year ago

OS: Fedora Kinoite 37 (rpm-ostree based distribution) installed package: i2pd-2.46.1-2.fc37.x86_64.rpm

I don't see any mention of /var/lib/tor in the RPM spec file so this may be a strange interaction with the rpm-ostree package manager instead of the traditional yum/dnf.

r4sas commented 1 year ago

Can you try with package received directly from Fedora Copr? https://copr.fedorainfracloud.org/coprs/supervillain/i2pd/

Aslo, maybe you can decompress package and check included in RPM scripts? I can't test it bacause I'm not using fedora...

tidux commented 1 year ago

The package from the Fedora copr is bit-for-bit identical to the Github release. That's fantastic from a reproducible builds perspective, but it doesn't leave me with any idea what happened. The package doesn't contain any files that would overwrite /var/lib/tor so it looks like this was an issue the way rpm-ostree assembles /etc/passwd and /etc/group when updating the system. I'll leave this issue open until I confirm that with someone who works on Fedora Silverblue/Kinoite.