Use mount namespace to simplify code#225
Conversation
|
All the interesting "CI Test" are skipped, can someone trigger then manually ? |
111b84f to
c7be462
Compare
c7be462 to
3cb0f0d
Compare
|
rebase done |
|
/test |
|
CI is triggered and running here https://github.com/fedora-iot/greenboot/actions/runs/17999478754 , some jobs failed because of the download site in secrets cannot be accessed. Will update the secrets and run again. (CI triggered by comment /test should update the status of current check jobs, it's a minor bug here, I will fix it soon.) |
|
Hi @champtar sorry to bother you, but could you please rebase this pull request and push again? Rebase can include:
|
With mount namespace we don't need to remount `/boot` read only before exit. Also do not try to parse /proc/self/mountinfo, just use '-w' test flag. If a command is called directly without systemd, reexec ourselves with `unshare -m`.
3cb0f0d to
c23039f
Compare
|
@yih-redhat no problem, rebased again |
|
/test |
With mount namespace we don't need to remount
/bootread only before exit.Also do not try to parse /proc/self/mountinfo, just use '-w' test flag.
If a command is called directly without systemd, reexec ourselves with
unshare -m.