Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always run anaconda private dbus session #1369

Conversation

jkonecny12
Copy link
Member

We have our private DBus with our specific configuration.
Our private DBus is launched every time when Anaconda is started.
We are using our dbus variable instead of DBUS_SESSION_BUS_ADDRESS.

@jkonecny12 jkonecny12 added master Please, use the `f39` label instead. f28 labels Mar 5, 2018
@jkonecny12
Copy link
Member Author

jenkins, test this please

Copy link
Contributor

@poncovka poncovka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me otherwise. Thank you!


Author(s): Jiri Konecny <jkonecny@redhat.com
-->

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, change the name of the file.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The config file looks to be too strict, but that is fine for now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can change the policy anytime we want.

@jkonecny12 jkonecny12 force-pushed the f28-dev-always-run-anaconda-dbus-session branch from 74329fb to 9078a4b Compare March 5, 2018 14:16
Configurations are placed in /usr/share/anaconda/dbus/confs
DBus service files are placed in /usr/share/ananconda/dbus/services
And main configuration file is placed in /usr/share/anaconda/dbus

Thanks to this change we can setup permission as we need and change them
when we need. Also it will avoid situations when user connects to
a module and change its settings in an unexpected way.
As a bonus for debugging we can easily trace traffic on our DBus without
interference of other services.

Related: rhbz#1551096
Do not use DBUS_SESSION_BUS_ADDRESS anymore because we now have our
private session in all cases.

Related: rhbz#1551096
We don't need this when we are running our own DBus session all the
time.

Resolves: rhbz#1551096
The process python object return None if the process is still running
not otherwise.
@jkonecny12 jkonecny12 force-pushed the f28-dev-always-run-anaconda-dbus-session branch from 9078a4b to 20858c5 Compare March 5, 2018 14:19
@jkonecny12
Copy link
Member Author

UPDATED:

  • Rename session.conf to anaconda-bus.conf.
  • Fix check if dbus exits properly.

Copy link
Contributor

@poncovka poncovka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me now.

@jkonecny12 jkonecny12 merged commit 86a14db into rhinstaller:f28-devel Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f28 master Please, use the `f39` label instead.
2 participants