{"action":"created","issue":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/2466","repository_url":"https://api.github.com/repos/QubesOS/qubes-issues","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/2466/labels{/name}","comments_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/2466/comments","events_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/2466/events","html_url":"https://github.com/QubesOS/qubes-issues/issues/2466","id":192188768,"number":2466,"title":"Can't enforce SELinux in qubes template VM.","user":{"login":"kaizsv","id":11775395,"avatar_url":"https://avatars.githubusercontent.com/u/11775395?v=3","gravatar_id":"","url":"https://api.github.com/users/kaizsv","html_url":"https://github.com/kaizsv","followers_url":"https://api.github.com/users/kaizsv/followers","following_url":"https://api.github.com/users/kaizsv/following{/other_user}","gists_url":"https://api.github.com/users/kaizsv/gists{/gist_id}","starred_url":"https://api.github.com/users/kaizsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaizsv/subscriptions","organizations_url":"https://api.github.com/users/kaizsv/orgs","repos_url":"https://api.github.com/users/kaizsv/repos","events_url":"https://api.github.com/users/kaizsv/events{/privacy}","received_events_url":"https://api.github.com/users/kaizsv/received_events","type":"User","site_admin":false},"labels":[{"id":401292621,"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/C:%20Debian","name":"C: Debian","color":"cccccc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-29T05:04:10Z","updated_at":"2016-11-30T06:16:23Z","closed_at":"2016-11-30T06:16:23Z","body":"#### Qubes OS version (e.g., `R3.1`): `R3.2`\r\n\r\n#### Affected TemplateVMs (e.g., `fedora-23`, if applicable): `jessie`\r\n\r\n---\r\n\r\n### Expected behavior:\r\n$ getenforce\r\nEnforcing\r\n\r\n### Actual behavior:\r\n$ getenforce\r\nDisabled\r\n\r\n### Steps to reproduce the behavior:\r\nI successfully installed a \"jessie\" template VM in qubes OS from qubes-builder following steps in [Archlinux Template](https://www.qubes-os.org/doc/templates/archlinux/). And want to enable SELinux in the template VM\r\n```\r\n$ sudo vim /etc/selinux/config\r\n# set SELINUX=enforcing\r\n$ sudo selinux-active\r\n$ sudo selinux-config-enforcing\r\n```\r\nAfter rebooted the jessie using `getenforce` while it was not working. \r\n```\r\n$ sudo check-selinux-installation\r\ngetfilecon:  getfilecon(/proc/1) failed\r\nSELinux is not enabled.\r\nCould not read the domain of PID 1.\r\nThe directories /sys/fs/selinux and /selinux are missing.\r\n```\r\nI google several selinux and debian guides, like\r\nhttps://wiki.debian.org/SELinux/Setup\r\nhttps://www.raspberrypi.org/forums/viewtopic.php?f=66&t=16738, \r\nstill not work. I'm not sure that is there any way to enable SELinux in template VM?"},"comment":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/comments/263792676","html_url":"https://github.com/QubesOS/qubes-issues/issues/2466#issuecomment-263792676","issue_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/2466","id":263792676,"user":{"login":"kaizsv","id":11775395,"avatar_url":"https://avatars.githubusercontent.com/u/11775395?v=3","gravatar_id":"","url":"https://api.github.com/users/kaizsv","html_url":"https://github.com/kaizsv","followers_url":"https://api.github.com/users/kaizsv/followers","following_url":"https://api.github.com/users/kaizsv/following{/other_user}","gists_url":"https://api.github.com/users/kaizsv/gists{/gist_id}","starred_url":"https://api.github.com/users/kaizsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaizsv/subscriptions","organizations_url":"https://api.github.com/users/kaizsv/orgs","repos_url":"https://api.github.com/users/kaizsv/repos","events_url":"https://api.github.com/users/kaizsv/events{/privacy}","received_events_url":"https://api.github.com/users/kaizsv/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T06:16:23Z","updated_at":"2016-11-30T06:16:23Z","body":"Thanks a lot!\r\nI still have problem in debian-8 and jessie.\r\nBut it work fine in my fedora-23, I'll keep focus on fedora rather than debian.\r\nThanks!"}}
{"actor":{"display_login":"kaizsv"}}