/mandos/trunk

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

« back to all changes in this revision

Viewing changes to initramfs-tools-conf

  • Committer: Teddy Hogeborn
  • Date: 2008-08-03 01:09:36 UTC
  • mfrom: (24.1.9 mandos)
  • Revision ID: teddy@fukt.bsnet.se-20080803010936-ujme8tgxceszfbi1
* plugbasedclient.c (main): New "--userid" and "--groupid" options.
                            Take an additional non-option argument and
                            parse it as a plus-separated and -prefixed
                            list of additional options.

* plugins.d/mandosclient.c (DH_BITS): Replaced with
                                      "mandos_context.dh_bits".  All
                                      users changed.
  (certdir): Renamed to "keydir".  All users changed.
  (certfile): Renamed to "pubkeyfile".  All users changed.
  (certkey): Renamed to "seckeyfile".  All users changed.
  (encrypted_session): Replaced with "mandos_context".  All users
                       changed.
  (initgnutls): Take additional "session" and "dh_params" arguments.
                All callers changed.
  (start_mandos_communication): Take additional "mc" argument.  All
                                callers changed.  Print target IPv6
                                address if different than supplied
                                string.
  (simple_poll) Replaced with "mandos_context.simple_poll".  All users
                changed.
  (server): Replaced with "mandos_context.server".  All users changed.
  (main): Default interface to "eth0".  Rename "--certdir" to
          "--keydir", "--certkey" to "--seckey", and "--certfile" to
          "--pubkey".  New options "--dh-bits" and "--priority".  If
          the interface is not up, bring it up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- shell-script -*-
2
 
 
3
 
# Since the initramfs image will contain key files, we need to
4
 
# restrict permissions on it by setting UMASK here.
5
 
6
 
# The proper place to set UMASK is (according to
7
 
# /etc/cryptsetup-initramfs/conf-hook), in
8
 
# /etc/initramfs-tools/initramfs.conf, which we shouldn't edit.  The
9
 
# corresponding directory for drop-in files from packages is
10
 
# /usr/share/initramfs-tools/conf.d, and this file will be installed
11
 
# there as "mandos-conf".
12
 
13
 
# This setting of UMASK will have unfortunate unintended side effects
14
 
# on the files *inside* the initramfs, but these are later fixed by
15
 
# "initramfs-tools-hook", installed as
16
 
# "/usr/share/initramfs-tools/hooks/mandos".
17
 
UMASK=0027