-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Newly populated private volumes don’t get proper SELinux labels #8242
Newly populated private volumes don’t get proper SELinux labels #8242
Comments
This seems to be caused by selinux contexts not persisting in /rw when sys-net is based on a Fedora 38 disposable. A simple |
@marmarek how to fix this on fedora38 based templates so disp sys-net can be used? |
@tlaurion Looks like a missing relabel after populating |
@DemiMarie still not fixed in weekly iso? To be clear, solution provided by #8242 (comment) works on dispvm, but template is the problem. Template should be fixed. Lack of replies here only means people are not enabling disp sys-net with fedora at install. |
Ditching fedora for debian for service dispvms for now to test further Q4.2 without the annoyances on weekly isos. |
All options offered by the installer should work out of the box. Marking as blocker. |
This is needed for disposable sys-net to work properly. Without it /rw is not labeled correctly, causing SELinux to (correctly) block NetworkManager's writes to /rw/config/NM-system-connections. Fixes: QubesOS/qubes-issues#8242
This is needed for disposable sys-net to work properly. Without it /rw is not labeled correctly, causing SELinux to (correctly) block NetworkManager's writes to /rw/config/NM-system-connections. Fixes: QubesOS/qubes-issues#8242
This is needed for disposable sys-net to work properly. Without it /rw is not labeled correctly, causing SELinux to (correctly) block NetworkManager's writes to /rw/config/NM-system-connections. Fixes: QubesOS/qubes-issues#8242
This is needed for disposable sys-net to work properly. Without it /rw is not labeled correctly, causing SELinux to (correctly) block NetworkManager's writes to /rw/config/NM-system-connections. Fixes: QubesOS/qubes-issues#8242
@andrewdavidwong package is in the testing repo but not in test ISO's templates (weekly or openqa's) This is a corner case of "please update" that is not possible easily. We can conclude that testers are not using dispvm sys-net over fedora still today. |
Well, it looks like this was also reported in #8445, so perhaps that is not entirely true. |
This problem breaks updates, so it needs to be fixed via a new ISO and a new template image. @marmarek can you make sure that updated templates are available before rc2? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I'm using disposable sys-net. But I have a different setup. I have a sys-net-dvm which is an app qube as the disposable template, and a sys-net which is a disposable. I also got the same error as shown in tlaurion's screenshot when I had changed my sys-net-dvm's template qube to fedora-38 and was trying to boot up sys-net. I guessed this had to do with disposable, so I booted up sys-net-dvm and connected to wifi there. Then I shut down sys-net-dvm and booted sys-net, and the error went away, so I didn't report this to the issue tracker. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Does this problem impact anyone whose ISO includes QubesOS/qubes-core-agent-linux#437? |
@DemiMarie What ISO are you referring to? Short version: This issue was closed but not fixed in templates or ISOs. Testers expect ISOs to work. The openqa ISOs and the weekly ISOs do not have updated templates containing updated package. The last ‘weekly’ iso is from August 8th. Today's openqa build might contain the fix but I'm not sure. TLDR: Bug in fedora template installation with dispvm service VMs and sys-net. Closed but not fixed. Testers confused. Testing processes unclear. Need discussion on forum. Possible solution: Add an installer issue tag that will trigger template rebuilds when a package that fixes an installer issue is built, so that the next openqa/weekly builds create ISOs that include the templates containing the fix? Even better: CI building templates hooking back to pr and/or back to issue to point which iso to test for an installer fix. |
Probably no, but nobody tried because such ISO does not exist (yet). Fedora templates (until yesterday) were built before the fix was pushed, so any ISO did not include it. That's the whole confusion @tlaurion is talking about. |
Edited: moved this discussion unrelated to this issue to #8449 |
I don't fully understand if feedback is still asked for here, but updating qubes-core-agent to testing fixed it for me. |
This issue has been closed as resolved. If anyone believes this issue is not yet resolved, or if anyone is still affected by this issue, please leave a comment, and we'll be happy to reopen it. Thank you. |
How to file a helpful issue
Qubes OS release
R4.2.0-rc1 (and most recent 4.2 weekly build)
Brief summary
[sys-net] Connection Failure
Failed to add/activate connection
failure adding connection: error writing to file ‘/etc/NetworkManager/system-connections/{wireless name}.nmconnection’: failed to create file /etc/NetworkManager/system-connections/{wireless name}.nmconnection.46E551: Permission denied
Steps to reproduce
Install R4.2.0-rc1
Attempt to use WiFi
Expected behavior
WiFi works
Actual behavior
WiFi doesn't work
Don’t have access to a LAN connection, so unable to test.
The text was updated successfully, but these errors were encountered: