Conversation
Pull Request Test Coverage Report for Build 3022757723
💛 - Coveralls |
|
@imobachgs on IRC you said that "questions_manager looks weird when used over D-Bus". Can you please explain a bit? |
Sure. My concerns are visible in the CanAskQuestion module. As a client, you pass a question object to the We need to make sure that |
OK. I did cheat in #231 and only implemented a bare minimum interface in DI::DBus::Clients::Question (as opposed to DI::Question) Do you really mean DI::DBus::Question instead? |
No, you are right, I meant DBus::Clients::Question. |
c727f78 to
6bc1494
Compare
It is living in a separate service now and the calls here just raise undefined method 'language' for DInstaller::DBus::Clients::Language Fixes up 4261d91
6bc1494 to
c6f4f9b
Compare
| @manager_dbus ||= DInstaller::DBus::Manager.new(manager, logger) | ||
| end | ||
|
|
||
| def language_dbus |
Problem
#249 says: After moving questions to a separate service (see #248), it is not possible to unlock LUKS devices anymore. The problem is there is no way to ask a LUKS question over D-Bus, so those questions are always handled like generic ones.
Solution
Teach the Questions service about
NewLuksActivationand add the appropriate client code.Testing
Added new unit tests
Tested manually:
now run the installer and click through
Once the installer successfully unlocks the partition, we need to close it manually to be able to rerun the test:
cryptsetup close cr-auto-1See also
man cryptsetupScreenshots