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

Re: Signing causes to loose hardlinks.



On Mon, 25 Aug 2003, Jeff Johnson wrote:

> Dag Wieers wrote:
> 
> >Hi,
> >
> >I guess this may have already been covered by someone else, but if I 
> >resign a package that is hardlinked, rpm causes the package to have 
> >another inode, loosing all the hardlinks in return.
> >
> >Could this be fixed in a future version, or is this done on purpose ?
> 
> Hmmm, I expect just the opposite, as rpm goes to lengths to reopen the 
> original
> package with O_TRUNC to preserve the inode in the face of hardlinks.

Feel free to try it out. I did that on a 2.5GB repository and quickly 
found out that I didn't have twice the diskspace available ;)

And the file it was doing when the disk was full, had a leftover 
*.rpm.TYURS kind of file that was truncated.

PS I also came across RH73 problems when resigning about 2000 packages 
where it caused RPM to stop suddenly because of an error. It didn't happen 
on a RH9 (but I didn't use 2000 packages at once there).

--   dag wieers,  dag@wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]




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