Re: Livecd-creator is disabling selinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Fri, 10 Jan 2014 18:31:13 -0700
Tim Flink <tflink@xxxxxxxxxx> escribió:
> On Fri, 10 Jan 2014 15:35:59 -0800
> Adam Williamson <awilliam@xxxxxxxxxx> wrote:
> 
> > On Fri, 2014-01-10 at 17:33 -0600, Dennis Gilmore wrote:
> > > El Fri, 10 Jan 2014 15:26:38 -0800
> > > Adam Williamson <awilliam@xxxxxxxxxx> escribió:
> > > > On Thu, 2014-01-09 at 11:32 +0100, Maros Zatko wrote:
> > > > > Dear guys and ladies,
> > > > > So it seems like livecd-creator is silently disabling selinux.
> > > > > Proof: vim $(which livecd-creator) ; line 150
> > > > > Fact, that it's re-enabled afterwards doesn't ease silent
> > > > > disablement of security feature.
> > > > > 
> > > > > I'd love to know the reason and if it's possible to do
> > > > > something about it.
> > > > 
> > > > Because live images don't work properly if it's either disabled
> > > > or enforcing while the image is being generated. Why *that* is I
> > > > don't know, but before bcl made the livecd-creator script do
> > > > this, we just had a bit in the livecd-creator instructions which
> > > > said "you have to run setenforce Permissive before starting to
> > > > build a live image".
> > > > 
> > > > If you try building a live image with SELinux either disabled or
> > > > enforcing on the build host, you wind up either with a compose
> > > > that fails, or an image that can't be booted in enforcing mode.
> > > 
> > > Adam this is not true, All Offical Fedora images for years were
> > > built on hosts with selinux disabled. F20 was the first time
> > > images were built with the host in permissive mode, but then they
> > > are built in a mock chroot which has selinux disabled in the
> > > chroot
> > 
> > Hum, I'm sure back before the script tried to take care of it for
> > you, I'd had multiple failures with both 'enforcing' and
> > 'disabled'. But if you say so...
> 
> I've also run into problems with livecd-creator and was told the same
> thing: for best results, run with SELinux in permissive mode - not
> disabled and not enforcing.
> 
> It was a while ago but I don't think that it was something I hit for
> every build. This leads me to suspect that whatever the issue is, it
> doesn't happen every time and the releng setup must be able to avoid
> whatever it is that people can (and do) hit with SELinux disabled or
> enforcing.
> 
> Also, I think that until F20 releng was building livecds in mock
> chroots on el boxes (dennis, please correct me if I'm wrong) where
> both you and I were building livecds on fedora installs.

Tim,

F20 images were built in f20 chroots on f19 boxes. but selinux on the
host was permissive. prior to f20 it was the target os chroot on el

Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJS0L7UAAoJEH7ltONmPFDRcRkQAMmepLraNTt5/r8IPRU8tos5
pRs1c7a0h+IR0Dn1zZigVmgJzr42ST38X2eKqOJGHZj1Fh48TaJ8wjjTbsI8jhYz
iEa8mjbGpJz0qoUw2C6Ah8vjO/isetM2qAniFBX58mG1V3fPrMe51M9KWtzI7pSt
304yO7Eqzf7Wb00MGzD+EWXDLRjlZXW6ekSUXOz1cfxzExDaVmMcIGE59hoh1HNa
rPEPmSrU87i1EEcHyT1NHdaQ17KoM2yuqbchjtw4vcHFkdAXcSqeLyvOr8JkE39s
CeNH+11wcPKfK7YxcNyBOX679jk9us2kov7t+fnNCglrh1qiAcSUgy3QT+p/qmVP
/xYOjm6gy1a3FkWbQAvQ723RBDKJJ8GQ19LSUcByOc9rRrkKKnQQfYNK7as/J2b7
vVBlLIJMPpjMl081JQYI8sxEDvDFrQ8MVniHJFsDomvZjtBXNdxu7nofhiIUNx0A
VwfJ1GvReNnIgRLcN1X2i/cDOn736tvilhLFQFdZMcB9bNF7C6xYSeEbERqA8QCI
c1JlTtrSnHzpx8XN6yLxl5nM9e/XMBdcpxh5zxihNPQKngCDZ5KtspdTWo/NbpSk
g27HBgiKm1Oo/zSFmFHQ+sG2eKqnGDT6EzqsT1IZUdrSfQkzR7q5ad/FWtN2CbKf
Lpnl7HtI3f4zIWT+yA81
=mJNO
-----END PGP SIGNATURE-----
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux