Ticket #595 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

tarsync should extract in /var/tmp/paludis-tarsync/XXXXX

Reported by: babali Owned by:
Priority: Sometime Milestone:
Component: core/paludis Version: 0.26.2
Keywords: sync tarsync Cc:
Blocked By: Blocking:
Distribution: Gentoo

Description

Hi,

Instead of syncing in /var/tmp/paludis-tarsync-XXXXX you should sync in /var/tmp/paludis-tarsync/XXXXX So that i can mount a tmpfs on /var/tmp/paludis-tarsync. Paludis should erase the folder XXXXX after the tarsync.

Thank you ;-)

Change History

comment:1 Changed 5 years ago by dleverton

  • Component changed from clients/paludis to core/paludis

The problem with doing that is that /var/tmp/paludis-tarsync would either need to be created by the user (which we already require for other things, but it seems like a bit of an unnecessary hassle here), or the script has to create it itself, which brings up all the issues leading to us not doing that elsewhere. I'm tempted to suggest that you just write a custom syncer that mounts the tmpfs automatically, if that's what you want to do.

comment:2 Changed 5 years ago by dleverton

r4725 keeps the current behaviour by default, but allows you to specify

sync_options = --tmpdir=/var/tmp/paludis-tarsync

in the repository .conf file. You'll need to create the directory yourself, which is why it isn't the default.

comment:3 Changed 5 years ago by dleverton

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.