Merge pull request 'refs #2045 configure dbus' (#11) from dbus into main

Reviewed-on: #11
pull/12/head 3.5.0
Natalia Serrano 2025-05-19 19:50:08 +02:00
commit 9779d9cc8d
3 changed files with 20 additions and 1 deletions

View File

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.5.0] - 2025-05-19
### Changed
- Configure dbus
## [3.4.0] - 2025-05-18
### Changed

View File

@ -127,6 +127,18 @@ def configure_stunnel():
fd.write ('requireCert = yes\n')
fd.write ('verifyChain = yes\n')
def configure_dbus():
print ('configure_dbus', file=sys.stderr)
with open ('/etc/dbus-1/system.d/ogbrowser.conf', 'w') as fd:
fd.write ('<busconfig>\n')
fd.write (' <policy user="root">\n')
fd.write (' <allow own="es.opengnsys.OGBrowser.browser"/>\n')
fd.write (' <allow send_destination="es.opengnsys.OGBrowser.browser"/>\n')
fd.write (' <allow send_interface="es.opengnsys.OGBrowser.browser"/>\n')
fd.write (' <allow send_type="method_call"/>\n')
fd.write (' </policy>\n')
fd.write ('</busconfig>\n')
def boottoolsPythonModules():
utils.run (['pip3', 'install', 'pyblkid', '--break-system-packages'])
@ -184,5 +196,6 @@ if __name__ == '__main__':
boottoolsPythonModules()
boottoolsRemovePackages()
configure_stunnel()
configure_dbus()
setup_resolvconf() ## do this again, since someone seems to be overwriting the file
boottoolsInitrdGenerate (args.osrelease)

View File

@ -1 +1 @@
OpenGnsys Client 3.4.0
OpenGnsys Client 3.5.0