/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 mandos-monitor

  • Committer: Teddy Hogeborn
  • Date: 2024-09-08 02:14:29 UTC
  • Revision ID: teddy@recompile.se-20240908021429-z4m1vfuaqbs0q3ry
Fix file permissions when installing a new kernel, with dracut

* debian/mandos-client.postinst (update_initramfs): When using dracut,
  but the initramfs image file does not yet exist (due to the kernel
  package not having been configured), create a new empty file with
  the correct permissions, so that dracut will use the correct
  permissions when creating the initramfs image file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
locale.setlocale(locale.LC_ALL, "")
65
65
 
66
66
logging.getLogger("dbus.proxies").setLevel(logging.CRITICAL)
67
 
logging.getLogger("urwid").setLevel(logging.INFO)
68
67
 
69
68
# Some useful constants
70
69
domain = "se.recompile"
71
70
server_interface = domain + ".Mandos"
72
71
client_interface = domain + ".Mandos.Client"
73
 
version = "1.8.17"
 
72
version = "1.8.16"
74
73
 
75
74
try:
76
75
    dbus.OBJECT_MANAGER_IFACE