/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to initramfs-tools-hook

  • Committer: Teddy Hogeborn
  • Date: 2008-08-12 20:00:36 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080812200036-z10kv68i2c1kcagg
* Makefile (install-client): Bug fix: Do not fail if plugin dir
                             already exist.  Bug fix: Do not fail if
                             old keys exist.
  (uninstall-server, uninstall-client, purge-server): Bug fix: Removed
                                                      invalid
                                                      "--force" option
                                                      for rmdir.
  (purge-server): Remove "mandos.conf", not "server.conf".

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
    cp --archive --sparse=always "$file" "${DESTCONFDIR}"
122
122
done
123
123
# Create key ring files
124
 
LANG=C gpg --quiet --batch --no-tty --no-options \
125
 
    --homedir "${DESTCONFDIR}" --no-permission-warning \
126
 
    --import "${DESTCONFDIR}/seckey.txt" \
127
 
    --import-options import-minimal
 
124
gpg --no-random-seed-file --quiet --batch --no-tty \
 
125
    --no-default-keyring --no-options --homedir "${DESTCONFDIR}" \
 
126
    --no-permission-warning --import-options import-minimal \
 
127
    --import "${DESTCONFDIR}/seckey.txt"
128
128
chown nobody "${DESTCONFDIR}/secring.gpg"
129
129
 
130
130
# /keyscripts/mandos-client will drop priviliges, but needs access to