~sylvain-pineau/checkbox-ng:os_getenv_user_precheck

Last commit made on 2018-04-10
Get this branch:
git clone -b os_getenv_user_precheck https://git.launchpad.net/~sylvain-pineau/checkbox-ng
Only Sylvain Pineau can upload to this branch. If you are Sylvain Pineau please log in for upload directions.

Branch merges

Branch information

Name:
os_getenv_user_precheck
Repository:
lp:~sylvain-pineau/checkbox-ng

Recent commits

fb7adae... by Sylvain Pineau

Check if os.getenv('USER') returns something before assuming a USER is defined

When checkbox is invoked a systemd service unit running as root, the USER env
variable is not defined leading to a crash in both ctrl and restart modules:

        user_mod = os.getenv('USER').replace('.', '%2E')
    AttributeError: 'NoneType' object has no attribute 'replace'

4a3d39b... by PMR <pmr@pmr-lander>

Merge #342447 from ~sylvain-pineau/checkbox-ng:typo_loaded

e3305b9... by Sylvain Pineau

typo

72829a1... by PMR <pmr@pmr-lander>

Merge #341779 from ~kissiel/checkbox-ng:remote-usability-improv

4872099... by Maciej Kisielewski

remote: do a warm-up password query if any job will require the password

Signed-off-by: Maciej Kisielewski <email address hidden>

c9b8a0b... by Maciej Kisielewski

add user to job representation proxies

Signed-off-by: Maciej Kisielewski <email address hidden>

e0faa88... by Maciej Kisielewski

remote: remove the extra call to finish_session

Signed-off-by: Maciej Kisielewski <email address hidden>

55808a6... by Maciej Kisielewski

remote: always call _prepare_transports when invoking remote-control

Signed-off-by: Maciej Kisielewski <email address hidden>

567adfb... by Maciej Kisielewski

refactor selecting tp

Signed-off-by: Maciej Kisielewski <email address hidden>

b9c1e38... by Maciej Kisielewski

split bootstrapping into two stages

the first stage checks if any of the bootstrapping jobs will require sudo
password, and the second will do the actual bootstrapping.

Signed-off-by: Maciej Kisielewski <email address hidden>