Comment 1 for bug 2067775

Revision history for this message
Chris Peterson (cpete) wrote (last edit ):

In preparing the SRU uploads, I found that the pkexec permissions elevation can fail which caused the hook to crash. I will open a separate bug with the details, but I opened MP:#468177 to address the problem in the subiquity hook and included the relevant change in the SRU MPs.

Edit: I believe the "bug" was in the way I was adding a user to the machine with cloud-config. Switching to the pre-existing user on the machine allowed the permission elevation just fine. Although I still think the code change to handle this case is worthwhile.