Skip to content

Duplicate gpg-agent killing code introduced in the build-tails script

75060eeee5f87e1aac472ebeb4596b2a7e3df2f3 feels wrong: cleanup runs remove_build_dirs that kills blocking processes already, in a way that’s both more generic (even processes other than gpg-agent are killed) and more accurate (unrelated gpg-agent processes are not affected). So I’m not quite sure why we need to duplicate this. Reading https://jenkins.tails.boum.org/view/RM/job/build_Tails_ISO_feature-stretch-unfrozen/lastFailedBuild/console I see “fuser: command not found”; I suspect that’s why the existing code doesn’t work. So I suggest making the existing (and IMO better) code work, instead of duplicating it. What do you think?

Feature Branch: bugfix/12527-really-fix-unmounting-on-build-cleanup

Parent Task: #5630 (closed)

Related issues

Original created by @intrigeri on 12527 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information