Merge lp:~free.ekanayaka/landscape-client/drop-config-bus into lp:~landscape/landscape-client/trunk
Proposed by
Free Ekanayaka
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Free Ekanayaka | ||||
Approved revision: | 255 | ||||
Merged at revision: | 256 | ||||
Proposed branch: | lp:~free.ekanayaka/landscape-client/drop-config-bus | ||||
Merge into: | lp:~landscape/landscape-client/trunk | ||||
Diff against target: |
268 lines (+52/-33) 4 files modified
landscape/deployment.py (+0/-7) landscape/tests/test_deployment.py (+20/-10) landscape/tests/test_watchdog.py (+23/-8) landscape/watchdog.py (+9/-8) |
||||
To merge this branch: | bzr merge lp:~free.ekanayaka/landscape-client/drop-config-bus | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thomas Herve (community) | Approve | ||
Jamu Kakar (community) | Approve | ||
Review via email: mp+27197@code.launchpad.net |
Description of the change
This branch drops the Configuration.bus option, which was used to select the DBus bus to connect to.
To post a comment you must log in.
[1] "landscape" ).pw_uid == os.getuid()):
sys.exit( "When using the system bus, landscape-client must be run as "
"root. ")
+ if not (os.getuid() == 0 or
+ pwd.getpwnam(
It seems that we can remove this check completely?