Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task 1.1.15-17 -Changes are lost after reboot #10

Open
Craconia opened this issue Oct 2, 2020 · 2 comments
Open

Task 1.1.15-17 -Changes are lost after reboot #10

Craconia opened this issue Oct 2, 2020 · 2 comments

Comments

@Craconia
Copy link

Craconia commented Oct 2, 2020

This task doesn't work. After a reboot there's nothing saved up; no entries in /etc/fstrab or /etc/systemd/system/ created. I ended up changing this to:

lineinfile:
dest: /etc/fstab
line: "tmpfs /dev/shm tmpfs defaults,noexec,nodev,nosuid 0 0"
state: present
owner: root
group: root
mode: 0644
create: true

Thats all. Thanks Jérémy Bertozzi for the excellent work with this role. I enjoyed working with it and it saved me a lot of time! I wrote down all the issues I encountered and hope they're useful. All of them were tested in RHEL 8.3 BETA.

@jbertozzi
Copy link
Owner

Hello,

First of all, thank you very much for taking the time to report all those issues.

I guess looking at the date you opened this issue you already picked-up this commit? On RHEL8 at least it seems to work. I am not sure when I pushed it on this repository.

On RHEL8.2 it works fine on my systems.

@Craconia
Copy link
Author

Hi there! The one you mentioned is for 1.1.2 (/tmp partition). The one I opened this task for was 1.1.5 (/de/shm). I reverted snapshot for my RHEL 8.3 BETA VM to its plain-vanilla state (right after installation) and tried the role but indeed it does nothing for /dev/shm (either dynamically or after reboot).

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants