public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Zac Medico <zmedico@gentoo.org>
To: gentoo development <gentoo-dev@lists.gentoo.org>
Subject: [gentoo-dev] News Item: Portage rsync hardlink support
Date: Sat, 7 Jul 2018 23:08:31 -0700	[thread overview]
Message-ID: <cd138ee3-353c-efa1-e9ab-d9a97548f18b@gentoo.org> (raw)

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


             reply	other threads:[~2018-07-08  6:08 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-08  6:08 Zac Medico [this message]
2018-07-08  6:53 ` [gentoo-dev] News Item: Portage rsync hardlink support 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd138ee3-353c-efa1-e9ab-d9a97548f18b@gentoo.org \
    --to=zmedico@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox