Re: [Spacewalk-list] Unable to create Spacewalk kickstart distribution due to initrd could not be found error.

2019-12-09 Thread Avi Miller
Hey David,

> On 9 Dec 2019, at 10:54 am, David  wrote:
> 
> I think that parts on me because I mucked up the configs on this server. The 
> question I have is why is behavior different when mounting the ISO vs using a 
> dedicated directory?

There are hidden dot files in the root of the ISO image that you may not have 
copied across. Spacewalk looks for those files as part of its checks. The 
easiest way to provide an ISO for kickstart is exactly what you eventually did: 
loop mount the ISO. :) 

Cheers,
Avi

--
Avi Miller | Senior Manager | +61 (03) 8616-3496
Oracle Linux and VM Product Management
417 St Kilda Road, Melbourne VIC 3004 Australia


___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list



Re: [Spacewalk-list] Unable to create Spacewalk kickstart distribution due to initrd could not be found error.

2019-12-08 Thread David

Hello Chris,

    So after playing around I decided to mount the installation ISO and 
use that directory as the tree path for the distribution channel. I was 
able to create the distribution, even with selinux set to permissive. I 
did try to see if I could do this with selinux enforced but I  couldn't 
reach the spacewalk landing page. I think that parts on me because I 
mucked up the configs on this server. The question I have is why is 
behavior different when mounting the ISO vs using a dedicated directory? 
I feel like it should work more or less the same, can anyone shed some 
light on this?



Thank you,

   David



On 12/8/2019 5:38 PM, Chris Smith wrote:
Also, I say http, but it could have also been a tftp connection I was 
troubleshooting.


On Sun, Dec 8, 2019 at 5:37 PM Chris Smith > wrote:


Don't quote me or anything, but I ran into this too. That is, I
had issues with being able to access files via the http interface
that were clearly present with the correct permissions in the
filesystem.

I believe my fix was to disable selinux as, if I remember
correctly from my frustrations, there is a bug with how selinux
descriptors are linked to some files. Where I never found any
answers was what causes a file to get out of sync with selinux and
how to do you fix it?

I tried manually changing the selinux permissions to match that of
some files what worked, but never had any successes.

Not saying this is the answer to your problem, but you just jogged
my memory about a similar issue.

Chris

On Sun, Dec 8, 2019 at 5:23 PM David mailto:djh2...@email.vccs.edu>> wrote:

Hello all,

First time setting up Spacewalk and its been good so far,
however I am
unable to create a kickstart distrobution due to the below error;

"The initrd could not be found at the specified location:
/var/spacewalk/kick/centos7x8664/images/pxeboot/initrd.img"

The file is present under that directory and in an attempt to
get it
working I have disabled selinux and gave the
/var/spacewalk/kick/centos7x8664 full permissions globally.
Most threads
from google die with any solutions provided, is there
something I am
missing?


Thank you,

 David


___
Spacewalk-list mailing list
Spacewalk-list@redhat.com 
https://www.redhat.com/mailman/listinfo/spacewalk-list


___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Unable to create Spacewalk kickstart distribution due to initrd could not be found error.

2019-12-08 Thread Chris Smith
Also, I say http, but it could have also been a tftp connection I was
troubleshooting.

On Sun, Dec 8, 2019 at 5:37 PM Chris Smith  wrote:

> Don't quote me or anything, but I ran into this too. That is, I had issues
> with being able to access files via the http interface that were clearly
> present with the correct permissions in the filesystem.
>
> I believe my fix was to disable selinux as, if I remember correctly from
> my frustrations, there is a bug with how selinux descriptors are linked to
> some files. Where I never found any answers was what causes a file to get
> out of sync with selinux and how to do you fix it?
>
> I tried manually changing the selinux permissions to match that of some
> files what worked, but never had any successes.
>
> Not saying this is the answer to your problem, but you just jogged my
> memory about a similar issue.
>
> Chris
>
> On Sun, Dec 8, 2019 at 5:23 PM David  wrote:
>
>> Hello all,
>>
>> First time setting up Spacewalk and its been good so far, however I am
>> unable to create a kickstart distrobution due to the below error;
>>
>> "The initrd could not be found at the specified location:
>> /var/spacewalk/kick/centos7x8664/images/pxeboot/initrd.img"
>>
>> The file is present under that directory and in an attempt to get it
>> working I have disabled selinux and gave the
>> /var/spacewalk/kick/centos7x8664 full permissions globally. Most threads
>> from google die with any solutions provided, is there something I am
>> missing?
>>
>>
>> Thank you,
>>
>>  David
>>
>>
>> ___
>> Spacewalk-list mailing list
>> Spacewalk-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Unable to create Spacewalk kickstart distribution due to initrd could not be found error.

2019-12-08 Thread Chris Smith
Don't quote me or anything, but I ran into this too. That is, I had issues
with being able to access files via the http interface that were clearly
present with the correct permissions in the filesystem.

I believe my fix was to disable selinux as, if I remember correctly from my
frustrations, there is a bug with how selinux descriptors are linked to
some files. Where I never found any answers was what causes a file to get
out of sync with selinux and how to do you fix it?

I tried manually changing the selinux permissions to match that of some
files what worked, but never had any successes.

Not saying this is the answer to your problem, but you just jogged my
memory about a similar issue.

Chris

On Sun, Dec 8, 2019 at 5:23 PM David  wrote:

> Hello all,
>
> First time setting up Spacewalk and its been good so far, however I am
> unable to create a kickstart distrobution due to the below error;
>
> "The initrd could not be found at the specified location:
> /var/spacewalk/kick/centos7x8664/images/pxeboot/initrd.img"
>
> The file is present under that directory and in an attempt to get it
> working I have disabled selinux and gave the
> /var/spacewalk/kick/centos7x8664 full permissions globally. Most threads
> from google die with any solutions provided, is there something I am
> missing?
>
>
> Thank you,
>
>  David
>
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list