[PLDWWW] page added: infrastructure:distfiles

Mariusz Mazur (mmazur) mmazur at pld-linux.org
Wed Mar 19 22:29:43 CET 2014


created

--- ---
+++ https://www.pld-linux.org/infrastructure/distfiles
====== Distfiles ======

===== Dropin =====

  * Uploading to dropin can be done using ''scp'' to either dropin at dropin.pld-linux.org or distfiles at dropin.pld-linux.org.
    * SSH keys are copied from the git@ ''authorized_keys'' to the dropin@ ''authorized_keys'' using a gitolite hook (''~git/.gitolite/hooks/gitolite-admin/post-update.secondary'')
  * Openssh is configured to chroot both accounts into ''/var/lib/dropin'' and then run ''rssh'' which is configured to only allow ''scp'' transfers.
    * There's a minimal env in ''/var/lib/dropin'' that contains ''rssh'' and ''scp''.
  * Uploaded files end up in ''/var/lib/dropin/dropin''.
    * Stale files get deleted after 30 days by tmpwatch.
  * The scripts responsible for sending the files from dropin to distfiles (and then deleting them from dropin) are in ''~dfadm/distfiles''.
    * ''run-ff.sh'' is run from dfadm's crontab every minute.
    * ''chmodd.sh'' is a simple inotifywait-based script that always runs in the background (started from ''rc.local'' on system boot) and does a proper chmod on all uploaded files.



Diff URL:
  ---
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list