Re: [Rpm-maint] [rpm-software-management/rpm] Write the content of a file with hard links into the first file (#342)

2017-10-27 Thread Igor Gnatenko
> Odd, the symlink test case works on my system... @stefanberger I think that test is too dependent on the machine setup.. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/3

Re: [Rpm-maint] [rpm-software-management/rpm] Write the content of a file with hard links into the first file (#342)

2017-10-26 Thread Panu Matilainen
I tweaked the commit messages a bit to elaborate on the "why" part of things, and merged the last two commits since they kinda belong together and pushed the result manually so it looks like a conflict here. In other words, merged. Thanks! This actually makes the code much nicer, the number of

Re: [Rpm-maint] [rpm-software-management/rpm] Write the content of a file with hard links into the first file (#342)

2017-10-26 Thread Panu Matilainen
Closed #342. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/342#event-1313337333___ Rpm-maint mailing list Rpm-maint@lists.rpm.o

Re: [Rpm-maint] [rpm-software-management/rpm] Write the content of a file with hard links into the first file (#342)

2017-10-26 Thread Stefan Berger
@stefanberger pushed 3 commits. 01a97c6 Create first hard link file and keep open, write it at end f05ea9c remove redundant 'nocontent' parameter from expandRegular c07b93d Remove redundant 'exclusive' parameter from expandRegular -- You are receiving this because you are subscribed to this

Re: [Rpm-maint] [rpm-software-management/rpm] Write the content of a file with hard links into the first file (#342)

2017-10-26 Thread Stefan Berger
@stefanberger pushed 1 commit. b2fa119 split off function wfd_open() to open a file -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/rpm-software-management/rpm/pull/342/files/74ea0379c03fd3acd9fc03cf19e695526fab5b27..b2fa119ea239de89ec

Re: [Rpm-maint] [rpm-software-management/rpm] Write the content of a file with hard links into the first file (#342)

2017-10-26 Thread Stefan Berger
Reopened #342. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/342#event-1313092365___ Rpm-maint mailing list Rpm-maint@lists.rpm

Re: [Rpm-maint] [rpm-software-management/rpm] Write the content of a file with hard links into the first file (#342)

2017-10-26 Thread Stefan Berger
Closed #342. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/342#event-1313091691___ Rpm-maint mailing list Rpm-maint@lists.rpm.o

Re: [Rpm-maint] [rpm-software-management/rpm] Write the content of a file with hard links into the first file (#342)

2017-10-26 Thread Stefan Berger
Odd, the symlink test case works on my system... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/342#issuecomment-339842010___ Rp

[Rpm-maint] [rpm-software-management/rpm] Write the content of a file with hard links into the first file (#342)

2017-10-26 Thread Stefan Berger
This series of patches attempts to address the errors we are seeing when installing RPMs that contain hard links and an IMA policy that measures on reading and writing of files. The problem has been explained in issue #333. The solution is to open the first file that is created empty but now kee