/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 at recompile
  • Date: 2012-02-26 11:47:19 UTC
  • mto: This revision was merged to the branch mainline in revision 561.
  • Revision ID: teddy@recompile.se-20120226114719-m3odq4s34ebt6hg8
Add facilities for D-Bus interface annotations and use them to mark
the old D-Bus interfaces as deprecated.

* mandos (dbus_interface_annotations): New decorator.
  (DBusObjectWithProperties._is_dbus_property): Removed.  All callers
                                                changed.
  (DBusObjectWithProperties._is_dbus_thing): New; generalized version
                                             of "_is_dbus_property".
  (DBusObjectWithProperties._get_all_dbus_properties): Removed.  All
                                                       callers
                                                       changed.
  (DBusObjectWithProperties._get_all_dbus_things): New; generalized
                                                   version of
                                                   "_get_all_dbus_properties".
  (DBusObjectWithProperties.Introspect): Also add interface
                                         annotation tags.
  (AlternateDBusNamesMetaclass.__new__): Also copy interface
                                         annotations.  Add
                                         "deprecated" annotation on
                                         old interface.
  (ClientDBus._foo): New interface annotation to mark non-compliance
                     with the standard property change signal
                     interface.
  (MandosDBusService): Inherit from DBusObjectWithProperties to get
                       interface annotation support.
  (MandosDBusService._foo): New interface annotation to mark
                            non-compliance with the standard property
                            change signal interface.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
* Specifying a Client Network Interface
34
34
  
35
35
  At boot time the network interface to use will by default be
36
 
  automatically detected.  If should result in an incorrect interface,
37
 
  edit the DEVICE setting in the "/etc/initramfs-tools/initramfs.conf"
38
 
  file.  (The default setting is empty, meaning to autodetect the
39
 
  interface.)  *If* the DEVICE setting is changed, it will be
40
 
  necessary to update the initrd image by running the command
 
36
  automatically detected.  If this should result in an incorrect
 
37
  interface, edit the DEVICE setting in the
 
38
  "/etc/initramfs-tools/initramfs.conf" file.  (The default setting is
 
39
  empty, meaning it will autodetect the interface.)  *If* the DEVICE
 
40
  setting is changed, it will be necessary to update the initrd image
 
41
  by running the command
41
42
  
42
43
        update-initramfs -k all -u
43
44
  
51
52
  disk environment, the network interface *must* exist at that stage.
52
53
  Thus, the interface can *not* be a pseudo-interface such as "br0" or
53
54
  "tun0"; instead, only real interface (such as "eth0") can be used.
 
55
  This can be overcome by writing a "network hook" program to create
 
56
  the interface (see mandos-client(8mandos)) and placing it in
 
57
  "/etc/mandos/network-hooks.d", from where it will be copied into the
 
58
  initial RAM disk.  Example network hook scripts can be found in
 
59
  "/usr/share/doc/mandos-client/network-hooks.d".
54
60
 
55
61
* User-Supplied Plugins
56
62
  
84
90
  work, "--options-for=mandos-client:--connect=<ADDRESS>:<PORT>" needs
85
91
  to be manually added to the file "/etc/mandos/plugin-runner.conf".
86
92
 
87
 
 -- Teddy Hogeborn <teddy@recompile.se>, Wed,  5 Oct 2011 17:50:22 +0200
 
93
 -- Teddy Hogeborn <teddy@recompile.se>, Mon, 28 Nov 2011 23:07:22 +0100