Skip to content

Commit

Permalink
🐛 Do not remount /tmp under alpine (#1530)
Browse files Browse the repository at this point in the history
Immucore is already mounting /tmp on boot so we should not re-mount it,
or at least if we do, we should check first if its mounted to not shadow
existing /tmp files

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
  • Loading branch information
Itxaka authored and mauromorales committed Jun 21, 2023
1 parent 97fff81 commit b02ad7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion overlay/files/system/oem/00_rootfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,4 @@ stages:
- name: "Mount tmp on alpine"
if: "[[ $(kairos-agent state get kairos.flavor) =~ ^alpine ]]"
commands:
- mount -o mode=1777,nosuid,nodev -t tmpfs tmpfs /tmp
- mount --make-rshared /

0 comments on commit b02ad7e

Please sign in to comment.