/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 debian/mandos-client.README.Debian

  • Committer: Teddy Hogeborn
  • Date: 2016-03-19 03:19:04 UTC
  • Revision ID: teddy@recompile.se-20160319031904-v76knawxxbef79xv
Client: Fix permissions on plugin helper directory.

The Makefile target "install-client-nokey" creates the plugin-helper
directory /usr/lib/<ARCH>/mandos/plugin-helpers as mode u=rwx,go=
(0700).  Make this also the case for the Debian package.  Also change
the Makefile so it does not install the plugin helper
"mandos-client-iprouteadddel" as setuid root; this is unnecessary and
was, due to dh_fixperms, never propagated to the Debian package
anyway.

* Makefile (install-client-nokey): Do not set setuid bit on
  "plugin-helpers/mandos-client-iprouteadddel".
* debian/mandos-client.postinst (configure): If older version, fix
  permissions on plugin helper directory.
* debian/rules (override_dh_fixperms-arch): Exclude plugin helper
  directory from dh_fixperms.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
  automatically detected.  If this should result in incorrect
44
44
  interfaces, edit the DEVICE setting in the
45
45
  "/etc/initramfs-tools/initramfs.conf" file.  (The default setting is
46
 
  empty, meaning it will autodetect the interfaces.)  *If* the DEVICE
 
46
  empty, meaning it will autodetect the interface.)  *If* the DEVICE
47
47
  setting is changed, it will be necessary to update the initrd image
48
 
  by running this command:
 
48
  by running the command
49
49
  
50
50
        update-initramfs -k all -u
51
51
  
90
90
  "mandos=connect:<IP_ADDRESS>:<PORT_NUMBER>" on the kernel command
91
91
  line.
92
92
  
93
 
  For very advanced users, it is possible to specify simply
 
93
  For very advanced users, it it possible to specify simply
94
94
  "mandos=connect" on the kernel command line to make the system only
95
95
  set up the network (using the data in the "ip=" option) and not pass
96
96
  any extra "--connect" options to mandos-client at boot.  For this to
106
106
  policy or other reasons, simply replace the existing dhparams.pem
107
107
  file and update the initital RAM disk image.
108
108
 
109
 
 -- Teddy Hogeborn <teddy@recompile.se>, Tue, 21 Jun 2016 21:43:49 +0200
 
109
 -- Teddy Hogeborn <teddy@recompile.se>, Sun, 12 Jul 2015 03:24:24 +0200