Colin Walters
673cacd633
repo: Add a checkout option to not hardlink zero-sized files
...
In rpm-ostree we've hit a few cases where hardlinking zero-sized
files causes us problems. The most prominent is lock files in
`/usr/etc`, such as `/usr/etc/selinux/semanage.LOCK`. If there
are two zero-sized lock files to grab, but they're hardlinked,
then locking will fail.
Another case here is if one is using ostree inside a container
and don't have access to FUSE (i.e. `rofiles-fuse`), then the
ostree hardlinking can cause files that aren't ordinarily hardlinked
to become so, and mutation of one mutates all. An example where
this is concerning is Python `__init__.py` files.
Now, these lock files should clearly not be in the tree to begin
with, but - we're not gaining a huge amount by hardlinking these
files either, so let's add an option to disable it.
Closes : #1752
Approved by: jlebon
2018-10-11 16:32:25 +00:00
..
2017-03-30 19:19:54 +00:00
2015-03-19 12:43:04 -04:00
2016-03-03 08:50:19 -05:00
2018-09-25 14:49:22 +00:00
2018-06-07 17:28:49 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-10-11 16:32:25 +00:00
2018-02-23 22:49:06 +00:00
2017-03-30 19:19:54 +00:00
2018-01-30 20:03:42 +00:00
2017-11-01 17:38:26 +00:00
2017-11-01 17:38:26 +00:00
2018-01-04 12:32:47 +00:00
2016-07-28 10:10:17 +00:00
2018-04-23 18:33:45 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-03 21:25:07 +00:00
2018-07-05 17:59:09 +00:00
2016-04-04 14:19:35 +00:00
2018-01-12 19:38:34 +00:00
2016-06-09 21:10:35 +00:00
2016-02-26 08:19:01 -05:00
2016-02-26 08:19:01 -05:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-07 17:28:49 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-27 18:08:28 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-06-18 13:21:52 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-08-01 19:59:07 +00:00
2018-10-01 13:23:50 +00:00
2018-01-30 20:03:42 +00:00
2018-02-23 22:49:06 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-04-30 17:24:51 +00:00
2018-08-20 14:31:15 +00:00
2018-01-30 20:03:42 +00:00
2018-05-24 21:00:52 +00:00
2018-04-19 13:35:15 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-07 17:28:49 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-29 21:31:08 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-03-05 17:39:35 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-07-05 20:11:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-08-14 13:38:11 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-10-11 13:41:32 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-03-16 19:21:31 +00:00
2018-01-30 20:03:42 +00:00
2018-07-05 17:59:09 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-04-03 15:50:40 +00:00
2018-01-30 20:03:42 +00:00
2018-06-07 17:28:49 +00:00
2018-09-21 15:09:12 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2017-06-27 21:45:34 +00:00
2018-08-22 13:53:24 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00