-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error about hardlinking over partitions with 2.2.0 #771
Comments
@Vogtinator @DimStar77 Can you please help me if the |
At least post usr-merge it's not really possible to have In openSUSE packages, |
I don't think |
I see, to be honest, the check only compares parent directory of 2 hardlinks: rpmlint/rpmlint/checks/FilesCheck.py Lines 584 to 586 in 497dfb3
Theoretically, it can only report when top-most directories are different. One more note, rpmlint/configs/openSUSE/opensuse.toml Line 30 in 497dfb3
|
I ran into a catch-22 issue with rpmlint-2.2.0 and hardlinking.
If in one case we hardlink between /usr/bin and /usr/lib64 we get errors like:
qt5-qtbase-devel.x86_64: E: hardlink-across-partition
/usr/lib64/qt5/bin/uic /usr/bin/uic-qt5
Your package contains two files that are apparently hardlinked and that are
likely on different partitions. Installation of such an RPM will fail due to
RPM being unable to unpack the hardlink. Do not hardlink across the first two
levels of a path, e.g. between /var/ftp and /var/www or /etc and /usr.
but if you don't then you get an error about %fdupes needing to be
used and the packages should be hardlinked across directories.
It seems that this is a no-win situation.
The text was updated successfully, but these errors were encountered: