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

/var/lib/warewulf/chroots/overlay directory should be somewhere else. #1180

Open
griznog opened this issue Apr 9, 2024 · 2 comments · May be fixed by #1182
Open

/var/lib/warewulf/chroots/overlay directory should be somewhere else. #1180

griznog opened this issue Apr 9, 2024 · 2 comments · May be fixed by #1182
Assignees
Labels
bug Something isn't working
Milestone

Comments

@griznog
Copy link
Contributor

griznog commented Apr 9, 2024

Steps to reproduce

[root@micropterus chroots]# ls
rocky-9  rocky-9-minimal
[root@micropterus ~]# wwctl container shell rocky-9
[rocky-9] Warewulf> exit
exit
+ LANG=C
+ LC_CTYPE=C
+ export LANG LC_CTYPE
+ dnf clean all
0 files removed
Rebuilding container...
Created image for VNFS container rocky-9: /var/lib/warewulf/provision/container/rocky-9.img
Compressed image for VNFS container rocky-9: /var/lib/warewulf/provision/container/rocky-9.img.gz
[root@micropterus chroots]# ls 
overlays  rocky-9  rocky-9-minimal
[root@micropterus chroots]# tree overlays/
overlays/
├── lower
├── nodeoverlay
└── work

3 directories, 0 files

Not sure what this overlay directory does or what triggers it to be created, but it breaks the assumption that everything in /var/lib/warewulf/chroots will be a node image chroot.

@griznog griznog added the bug Something isn't working label Apr 9, 2024
@anderbubble anderbubble added this to the v4.5.1 milestone Apr 9, 2024
@anderbubble
Copy link
Collaborator

@mslacken can you look into this? I'd like to try to get a fix for this in v4.5.1 if possible.

@mslacken
Copy link
Member

mslacken commented Apr 9, 2024

Yes this are workdirs for the chroot process, especially if you the --render $NODENAME option, I will make a PR which removes them.

@mslacken mslacken linked a pull request Apr 10, 2024 that will close this issue
@anderbubble anderbubble added backported:4.5.x backported to 4.5.x and removed backported:4.5.x backported to 4.5.x labels Apr 17, 2024
@anderbubble anderbubble modified the milestones: v4.5.1, v4.5.2 May 1, 2024
@anderbubble anderbubble modified the milestones: v4.5.2, v4.5.3 May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants