#3 added `selinux --disabled`to fedora-live-neuro.ks
Closed a year ago by dan1mal. Opened a year ago by dan1mal.
neuro-sig/ dan1mal/neuro-scripts master  into  master

file modified
+5 -1
@@ -8,8 +8,9 @@ 

  

  Install livecd-tools and spin-kickstarts.  There are different kickstart scripts available in the spin-kickstarts package and you can try out different desktop enviroments as you wish. 

  

-     dnf install livecd-tools spin-kickstarts

+     sudo dnf install livecd-tools spin-kickstarts

  

+ You may need to [configure sudo access](https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/2/html/Getting_Started_Guide/ch02s03.html) to install files.

  

  ## Clone the NeuroScripts

  
@@ -17,6 +18,9 @@ 

  

      git clone ssh://git@pagure.io/neuro-sig/neuro-scripts.git

  

+ You may need to install git, and [install a ssh key](https://docs.pagure.org/pagure/usage/first_steps.html) at Pagure for this to work.

+ 

+ 	sudo dnf install git-all

  

  ## Build an ISO

  

file modified
+2
@@ -10,6 +10,8 @@ 

  %include fedora-live-minimization.ks

  %include fedora-lxde-neuro-packages.ks

  

+ selinux --disabled

+ 

  %post

  # LXDE and LXDM configuration

  

added selinux --disabled after %includes and before %post as per @snavin in comments of https://pagure.io/neuro-sig/NeuroFedora/issue/199

@snavin --- what are the implications of this? Does this mean selinux would be disabled on the installation image? If at all possible, we should leave it enabled. So it's worth looking at how the official spin images are made---I'm quite sure selinux is not disabled there. :bulb:

I think SELinux it's a little picky, but we need to figure out how to enable SELinux in the final spin image

I installed the ISO in a new VM and selinux is disabled. I enabled it and it rewrote fine, but upon login i get a "No session for PID n" message. Its related to lxpolkit and i havent found a resolution yet. Also, I noticed I can reboot as my regular user anymore, it gives me "Failed to connect to bus: Connection refused.

For now I can just manually add the selinux --disabled to make the test runs work. Closing this PR without pushing changes.

I will research more at future time and update on the main thread #199.

Pull-Request has been closed by dan1mal

a year ago

This could be an LXDE specific issue and may go away once we switch to
Gnome?

--
Thanks,

Ankur

(Sent from mobile device)

On Fri, 16 Aug 2019, 13:22 Danny Lee, pagure@pagure.io wrote:

dan1mal commented on the pull-request: addedselinux --disabledto fedora-live-neuro.ks that you are following:
``
I installed the ISO in a new VM and selinux is disabled. I enabled it and
it rewrote fine, but upon login i get a "No session for PID n" message.
Its related to lxpolkit and i havent found a resolution yet. Also, I
noticed I can reboot as my regular user anymore, it gives me "Failed to
connect to bus: Connection refused.

I will research more at future time and update here.
``

To reply, visit the link below or just reply to this email
https://pagure.io/neuro-sig/neuro-scripts/pull-request/3

Metadata