public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] News Item: Portage rsync hardlink support
@ 2018-07-08  6:08 Zac Medico
  2018-07-08  6:53 ` Michał Górny
                   ` (3 more replies)
  0 siblings, 4 replies; 31+ messages in thread
From: Zac Medico @ 2018-07-08  6:08 UTC (permalink / raw
  To: gentoo development

Please review.

Title: Portage rsync hardlink support
Author: Zac Medico <zmedico@gentoo.org>
Posted: 2018-07-11
Revision: 1
News-Item-Format: 2.0
Display-If-Installed: sys-apps/portage

For users of the rsync tree, beginning with sys-apps/portage-2.3.42,
the default behavior for sync operations will use hardlinks in order
to ensure that a repository remains in a valid state if something
goes wrong [1]. For example, if signature verification fails during a
sync operation, the new hardlink behavior will preserve the previous
state of the repository.

The new behavior may conflict with configurations that restrict the
use of hardlinks, such as overlay filesystems. Therefore, users will
have to set "sync-allow-hardlinks = no" in repos.conf if they have
a configuration that restricts the use of hardlinks, but this should
not be very common:

[DEFAULT]
sync-allow-hardlinks = no

[1] https://bugs.gentoo.org/660410 sys-apps/portage: use rsync
    --link-dest to implement atomic repository updates (and abort if
    signature verification fails)
-- 
Thanks,
Zac


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2018-07-09  8:04 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-08  6:08 [gentoo-dev] News Item: Portage rsync hardlink support Zac Medico
2018-07-08  6:53 ` Michał Górny
2018-07-08  7:14   ` Zac Medico
2018-07-08  9:15     ` Michał Górny
2018-07-08  9:21       ` Zac Medico
2018-07-08  9:30         ` M. J. Everitt
2018-07-08 13:02   ` Kristian Fiskerstrand
2018-07-08 13:56     ` Michał Górny
2018-07-08 18:04       ` Zac Medico
2018-07-08 18:42         ` Michał Górny
2018-07-08 18:57           ` Zac Medico
2018-07-08 20:08             ` Michał Górny
2018-07-08 20:18               ` Zac Medico
2018-07-08 21:11                 ` Zac Medico
2018-07-08 21:18                   ` Michał Górny
2018-07-08 21:38                     ` Zac Medico
2018-07-08 21:50                       ` Aaron W. Swenson
2018-07-08 21:59                         ` Zac Medico
2018-07-09  5:17                           ` Zac Medico
2018-07-09  8:04                           ` Kristian Fiskerstrand
2018-07-08 22:00                         ` Rich Freeman
2018-07-08 17:34     ` Rich Freeman
2018-07-08 17:43       ` M. J. Everitt
2018-07-08 17:50       ` Kristian Fiskerstrand
2018-07-08 18:10         ` Rich Freeman
2018-07-08 18:31           ` Kristian Fiskerstrand
2018-07-08 19:00             ` Rich Freeman
2018-07-08  9:28 ` Toralf Förster
2018-07-08  9:34   ` Zac Medico
2018-07-08 13:00 ` Kristian Fiskerstrand
2018-07-09  3:21 ` [gentoo-dev] News Item: Portage rsync hardlink support [v2] Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox