Re: building compose, selinux problems

2012-08-15 Thread Ian Malone
On 14 August 2012 15:13, Ian Malone ibmal...@gmail.com wrote:
 On 14 August 2012 14:33, Daniel J Walsh dwa...@redhat.com wrote:
 On 08/14/2012 03:49 AM, Ian Malone wrote:

 I'm trying to build a spin on F16 against F17 (specifically the fedora-jam
 spin, ssh://git.fedorahosted.org/git/music-creation
 spin-kickstarts/fedora-jam/fedora-live-jam-kde.ks, with the mono-bristol
 package removed).


 When attempting to run it I get stopped at the KDE login, with selinux
 denials on kdm.

 If I put .autorelabel in the root of the overlay (on a live USB) then the
 spin works okay after a relabel and reboot. Is this likely to be a general
 problem, specific to this spin or to do with building an F17 compose on a
 F16 machine? The F16 system is up to date, repos I'm using for the build
 are updates and fedora.

 There is supposed to be a relabel at the end of a livecd build to make sure
 everything is labeled correctly.  I would open a bug on livecd tools.

 Thanks, it sounds like there may be a bug in the .ks file, if it's not
 that then I'll file a livecd bug.


Also affects building lxde, so not specific to this spin, I've filed it:
https://bugzilla.redhat.com/show_bug.cgi?id=848301

-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: building compose, selinux problems

2012-08-15 Thread Ian Malone
On 14 August 2012 15:10, Ian Malone ibmal...@gmail.com wrote:
 On 14 August 2012 15:02, Brendan Jones brendan.jones...@gmail.com wrote:
 On 08/14/2012 12:45 PM, Ian Malone wrote:

 On 14 August 2012 08:49, Ian Malone ibmal...@gmail.com wrote:


 Ian, have you go the latest version? There was an missing EOF tag in one of
 the cat statements which could be causing problems.


 I'll check this evening, it certainly reported a missing EOF, wasn't
 sure if that was a standing error or a temporary one.


I did have the missing EOF, but it wasn't causing this problem, bug
filed against livecd-tools.

-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: building compose, selinux problems

2012-08-15 Thread Brian C. Lane
On Tue, Aug 14, 2012 at 08:49:15AM +0100, Ian Malone wrote:
 Hi,
 
 I'm trying to build a spin on F16 against F17 (specifically the
 fedora-jam spin, ssh://git.fedorahosted.org/git/music-creation
 spin-kickstarts/fedora-jam/fedora-live-jam-kde.ks, with the
 mono-bristol package removed).

Have you fried building on F17? It generally isn't a good idea to expect
building from a different release to work. Sometimes it does, but really
you should be using F17 to build F17 spins.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


pgplb4KnXukKi.pgp
Description: PGP signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: building compose, selinux problems

2012-08-15 Thread Nathanael D. Noblet

On 08/15/2012 10:44 AM, Brian C. Lane wrote:

On Tue, Aug 14, 2012 at 08:49:15AM +0100, Ian Malone wrote:

Hi,

I'm trying to build a spin on F16 against F17 (specifically the
fedora-jam spin, ssh://git.fedorahosted.org/git/music-creation
spin-kickstarts/fedora-jam/fedora-live-jam-kde.ks, with the
mono-bristol package removed).


Have you fried building on F17? It generally isn't a good idea to expect
building from a different release to work. Sometimes it does, but really
you should be using F17 to build F17 spins.


I've seen instructions that you can use mock to do this kind of thing. 
https://fedoraproject.org/wiki/How_to_create_a_Fedora_install_ISO_for_testing


I've used it with good success.


--
Nathanael d. Noblet
t 403.875.4613
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: building compose, selinux problems

2012-08-15 Thread Ian Malone
On 15 August 2012 17:44, Brian C. Lane b...@redhat.com wrote:
 On Tue, Aug 14, 2012 at 08:49:15AM +0100, Ian Malone wrote:
 Hi,

 I'm trying to build a spin on F16 against F17 (specifically the
 fedora-jam spin, ssh://git.fedorahosted.org/git/music-creation
 spin-kickstarts/fedora-jam/fedora-live-jam-kde.ks, with the
 mono-bristol package removed).

 Have you fried building on F17? It generally isn't a good idea to expect
 building from a different release to work. Sometimes it does, but really
 you should be using F17 to build F17 spins.


Afraid I don't have an F17 system that can be used for this. That does
seem to have a touch of Joseph Heller about it.

-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: building compose, selinux problems

2012-08-15 Thread Ian Malone
On 15 August 2012 17:52, Nathanael D. Noblet nathan...@gnat.ca wrote:
 On 08/15/2012 10:44 AM, Brian C. Lane wrote:

 On Tue, Aug 14, 2012 at 08:49:15AM +0100, Ian Malone wrote:

 Hi,

 I'm trying to build a spin on F16 against F17 (specifically the
 fedora-jam spin, ssh://git.fedorahosted.org/git/music-creation
 spin-kickstarts/fedora-jam/fedora-live-jam-kde.ks, with the
 mono-bristol package removed).


 Have you fried building on F17? It generally isn't a good idea to expect
 building from a different release to work. Sometimes it does, but really
 you should be using F17 to build F17 spins.


 I've seen instructions that you can use mock to do this kind of thing.
 https://fedoraproject.org/wiki/How_to_create_a_Fedora_install_ISO_for_testing

 I've used it with good success.


Thanks, I'll give it a go.

-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

building compose, selinux problems

2012-08-14 Thread Ian Malone
Hi,

I'm trying to build a spin on F16 against F17 (specifically the
fedora-jam spin, ssh://git.fedorahosted.org/git/music-creation
spin-kickstarts/fedora-jam/fedora-live-jam-kde.ks, with the
mono-bristol package removed).

I'm using the command:
# setenforce 0
# livecd-creator --config=/home/.../fedora-live-jam-kde.ks
--releasever=17 -f Fedora17-Jam --cache=/var/cache/live

When attempting to run it I get stopped at the KDE login, with selinux
denials on kdm.

During the build I get this (just after the man page building):
7762 manual pages were added.
0 stray cats were added.
0 old database entries were purged.
/tmp/ks-script-MWTJ2X: line 33: warning: here-document at line 31
delimited by end-of-file (wanted `EOF')
/etc/selinux/targeted/contexts/files/file_contexts: line 135 has
invalid context system_u:object_r:svnserve_initrc_exec_t:s0
/etc/selinux/targeted/contexts/files/file_contexts: line 356 has
invalid context system_u:object_r:tuned_etc_t:s0
/etc/selinux/targeted/contexts/files/file_contexts: line 361 has
invalid context system_u:object_r:passwd_file_t:s0
/etc/selinux/targeted/contexts/files/file_contexts: line 441 has
invalid context system_u:object_r:passwd_file_t:s0
/etc/selinux/targeted/contexts/files/file_contexts: line 454 has
invalid context system_u:object_r:dbus_home_t:s0
/etc/selinux/targeted/contexts/files/file_contexts: line 471 has
invalid context system_u:object_r:zoneminder_var_lib_t:s0
/etc/selinux/targeted/contexts/files/file_contexts: line 547 has
invalid context system_u:object_r:bitlbee_log_t:s0
/etc/selinux/targeted/contexts/files/file_contexts: line 553 has
invalid context system_u:object_r:couchdb_etc_t:s0
/etc/selinux/targeted/contexts/files/file_contexts: line 579 has
invalid context system_u:object_r:pacemaker_var_run_t:s0
Exiting after 10 errors.

And at the very end this:
umount: /var/tmp/imgcreate-OhFs6F/install_root/sys/fs/selinux/load: not found

The umount thing looks like this:
https://bugzilla.redhat.com/show_bug.cgi?id=737064

/var/log/messages on the overlay contains these:
SELinux is preventing /usr/bin/kdm from entrypoint access on the file
/etc/kde/kdm/Xsession.

Putting the iso onto disk using:
/media/liveos/LiveOS/livecd-iso-to-disk --overlay-size-mb 1024
Fedora17-Jam.iso /dev/sdc1

If I put .autorelabel in the root of the overlay (on a live USB) then
the spin works okay after a relabel and reboot. Is this likely to be a
general problem, specific to this spin or to do with building an F17
compose on a F16 machine? The F16 system is up to date, repos I'm
using for the build are updates and fedora.

Thanks for your time.
-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: building compose, selinux problems

2012-08-14 Thread Ian Malone
On 14 August 2012 08:49, Ian Malone ibmal...@gmail.com wrote:
 Hi,

 I'm trying to build a spin on F16 against F17 (specifically the
 fedora-jam spin, ssh://git.fedorahosted.org/git/music-creation
 spin-kickstarts/fedora-jam/fedora-live-jam-kde.ks, with the
 mono-bristol package removed).

 I'm using the command:
 # setenforce 0
 # livecd-creator --config=/home/.../fedora-live-jam-kde.ks
 --releasever=17 -f Fedora17-Jam --cache=/var/cache/live

 When attempting to run it I get stopped at the KDE login, with selinux
 denials on kdm.

 During the build I get this (just after the man page building):
 7762 manual pages were added.
 0 stray cats were added.
 0 old database entries were purged.
 /tmp/ks-script-MWTJ2X: line 33: warning: here-document at line 31
 delimited by end-of-file (wanted `EOF')
 /etc/selinux/targeted/contexts/files/file_contexts: line 135 has
 invalid context system_u:object_r:svnserve_initrc_exec_t:s0
 /etc/selinux/targeted/contexts/files/file_contexts: line 356 has
 invalid context system_u:object_r:tuned_etc_t:s0
 /etc/selinux/targeted/contexts/files/file_contexts: line 361 has
 invalid context system_u:object_r:passwd_file_t:s0
 /etc/selinux/targeted/contexts/files/file_contexts: line 441 has
 invalid context system_u:object_r:passwd_file_t:s0
 /etc/selinux/targeted/contexts/files/file_contexts: line 454 has
 invalid context system_u:object_r:dbus_home_t:s0
 /etc/selinux/targeted/contexts/files/file_contexts: line 471 has
 invalid context system_u:object_r:zoneminder_var_lib_t:s0
 /etc/selinux/targeted/contexts/files/file_contexts: line 547 has
 invalid context system_u:object_r:bitlbee_log_t:s0
 /etc/selinux/targeted/contexts/files/file_contexts: line 553 has
 invalid context system_u:object_r:couchdb_etc_t:s0
 /etc/selinux/targeted/contexts/files/file_contexts: line 579 has
 invalid context system_u:object_r:pacemaker_var_run_t:s0
 Exiting after 10 errors.

 And at the very end this:
 umount: /var/tmp/imgcreate-OhFs6F/install_root/sys/fs/selinux/load: not found

 The umount thing looks like this:
 https://bugzilla.redhat.com/show_bug.cgi?id=737064

 /var/log/messages on the overlay contains these:
 SELinux is preventing /usr/bin/kdm from entrypoint access on the file
 /etc/kde/kdm/Xsession.

 Putting the iso onto disk using:
 /media/liveos/LiveOS/livecd-iso-to-disk --overlay-size-mb 1024
 Fedora17-Jam.iso /dev/sdc1

 If I put .autorelabel in the root of the overlay (on a live USB) then
 the spin works okay after a relabel and reboot. Is this likely to be a
 general problem, specific to this spin or to do with building an F17
 compose on a F16 machine? The F16 system is up to date, repos I'm
 using for the build are updates and fedora.


As a bonus question, I've tried building fedora-livecd-xfce.ks from
spin-kickstarts (with no releasever on the command line, so presumably
against F16) to see if everything was working. I get a protected
multilib error (on claws-mail), even with a fresh cache directory.
Again, with the updates and fedora repositories enabled in the
-base.ks. What might be causing that? Anything I can check?

-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: building compose, selinux problems

2012-08-14 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/14/2012 03:49 AM, Ian Malone wrote:
 Hi,
 
 I'm trying to build a spin on F16 against F17 (specifically the fedora-jam
 spin, ssh://git.fedorahosted.org/git/music-creation 
 spin-kickstarts/fedora-jam/fedora-live-jam-kde.ks, with the mono-bristol
 package removed).
 
 I'm using the command: # setenforce 0 # livecd-creator
 --config=/home/.../fedora-live-jam-kde.ks --releasever=17 -f Fedora17-Jam
 --cache=/var/cache/live
 
 When attempting to run it I get stopped at the KDE login, with selinux 
 denials on kdm.
 
 During the build I get this (just after the man page building): 7762 manual
 pages were added. 0 stray cats were added. 0 old database entries were
 purged. /tmp/ks-script-MWTJ2X: line 33: warning: here-document at line 31 
 delimited by end-of-file (wanted `EOF') 
 /etc/selinux/targeted/contexts/files/file_contexts: line 135 has invalid
 context system_u:object_r:svnserve_initrc_exec_t:s0 
 /etc/selinux/targeted/contexts/files/file_contexts: line 356 has invalid
 context system_u:object_r:tuned_etc_t:s0 
 /etc/selinux/targeted/contexts/files/file_contexts: line 361 has invalid
 context system_u:object_r:passwd_file_t:s0 
 /etc/selinux/targeted/contexts/files/file_contexts: line 441 has invalid
 context system_u:object_r:passwd_file_t:s0 
 /etc/selinux/targeted/contexts/files/file_contexts: line 454 has invalid
 context system_u:object_r:dbus_home_t:s0 
 /etc/selinux/targeted/contexts/files/file_contexts: line 471 has invalid
 context system_u:object_r:zoneminder_var_lib_t:s0 
 /etc/selinux/targeted/contexts/files/file_contexts: line 547 has invalid
 context system_u:object_r:bitlbee_log_t:s0 
 /etc/selinux/targeted/contexts/files/file_contexts: line 553 has invalid
 context system_u:object_r:couchdb_etc_t:s0 
 /etc/selinux/targeted/contexts/files/file_contexts: line 579 has invalid
 context system_u:object_r:pacemaker_var_run_t:s0 Exiting after 10 errors.
 
 And at the very end this: umount:
 /var/tmp/imgcreate-OhFs6F/install_root/sys/fs/selinux/load: not found
 
 The umount thing looks like this: 
 https://bugzilla.redhat.com/show_bug.cgi?id=737064
 
 /var/log/messages on the overlay contains these: SELinux is preventing
 /usr/bin/kdm from entrypoint access on the file /etc/kde/kdm/Xsession.
 
 Putting the iso onto disk using: /media/liveos/LiveOS/livecd-iso-to-disk
 --overlay-size-mb 1024 Fedora17-Jam.iso /dev/sdc1
 
 If I put .autorelabel in the root of the overlay (on a live USB) then the
 spin works okay after a relabel and reboot. Is this likely to be a general
 problem, specific to this spin or to do with building an F17 compose on a
 F16 machine? The F16 system is up to date, repos I'm using for the build
 are updates and fedora.
 
 Thanks for your time.
 

There is supposed to be a relabel at the end of a livecd build to make sure
everything is labeled correctly.  I would open a bug on livecd tools.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAqU6gACgkQrlYvE4MpobNUZwCdG4N+V6Ze13tYUB9PbEwFGGlI
5OoAnAsuOSHTksiMIHEAeNPFamBBWJ+N
=7IsI
-END PGP SIGNATURE-
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: building compose, selinux problems

2012-08-14 Thread Brendan Jones

On 08/14/2012 12:45 PM, Ian Malone wrote:

On 14 August 2012 08:49, Ian Malone ibmal...@gmail.com wrote:


Ian, have you go the latest version? There was an missing EOF tag in one 
of the cat statements which could be causing problems.


regards,

Brendan
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: building compose, selinux problems

2012-08-14 Thread Ian Malone
On 14 August 2012 15:02, Brendan Jones brendan.jones...@gmail.com wrote:
 On 08/14/2012 12:45 PM, Ian Malone wrote:

 On 14 August 2012 08:49, Ian Malone ibmal...@gmail.com wrote:


 Ian, have you go the latest version? There was an missing EOF tag in one of
 the cat statements which could be causing problems.


I'll check this evening, it certainly reported a missing EOF, wasn't
sure if that was a standing error or a temporary one.

-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel