shutting down f19-livecd corrups raid1
by Joshua C.
My raid1 gets corrupted _everytime_ I shut down a
f19-kde-livecd-image. I used kernel.f19 and mdadm.f19 in a f17-livecd
and everything works fine. So these two are not the problem.
What should I look at? maybe dracut???
PS: Testing and experimenting isn't a good idea here because it takes
almost 3 hours for the raid to rebuild...
--
--joshua
9 years, 9 months
Changes to 'refs/tags/livecd-tools-19.9'
by Brian C. Lane
Tag 'livecd-tools-19.9' created by Brian C. Lane <bcl(a)redhat.com> at 2014-01-31 22:54 +0000
Tag as livecd-tools-19.9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUAUuwpqRF+jBaO/jp/AQLEZwf8Da+9Yy99KzSt4Lh6bTJH/LW9JkDELGia
4C4Sa86XWydMBJjaVNHahR2IC/rRLhc12GSYlOy0S5uG2tYuMVy1um3lWy0VDMhG
lp5fXHMuWnA6a5wsppZgh7B26QcT4uI4RD1j3kkxGRvt/m2QhCxId5PaqS+D3g0g
pYxXKXokPlVAs5GeOfoHIrTYE2rmAopA9oWE/WUpHy/FxG3TVPxnv2wBpp/pzNIr
jTT5eQy1RaWZqRe7n1oV8K99a5XUHkMGsdn7nOCR99hbe9eJmqIQScWICcOpZhB+
zBtoRI0wooPeJMrFAXM+TshpjwjCaAEK/qg/mlYBfABkq0QczecOgw==
=LV8d
-----END PGP SIGNATURE-----
Changes since livecd-tools-19.7:
Brian C. Lane (9):
Add missing quote (#1044675)
Version 19.8
Remove switch to Permissive (#1051523)
utf8 decode unicode error strings (#1035248)
Add docleanup to edit-livecd (#1000744)
Catch CreatorError during class init (#1005580)
Check kickstart for repo line (#1005580)
Add check for extlinux tools (#881317)
Version 19.9
---
Makefile | 2 -
imgcreate/errors.py | 4 ++-
imgcreate/yuminst.py | 2 -
tools/edit-livecd | 9 +++++-
tools/livecd-creator | 57 ++++++++++++++++++--------------------------
tools/livecd-iso-to-disk.sh | 5 +++
6 files changed, 41 insertions(+), 38 deletions(-)
---
9 years, 10 months
Branch 'f19-branch' - 7 commits - imgcreate/errors.py Makefile tools/edit-livecd tools/livecd-creator tools/livecd-iso-to-disk.sh
by Brian C. Lane
Makefile | 2 -
imgcreate/errors.py | 4 ++-
tools/edit-livecd | 9 +++++-
tools/livecd-creator | 57 ++++++++++++++++++--------------------------
tools/livecd-iso-to-disk.sh | 5 +++
5 files changed, 40 insertions(+), 37 deletions(-)
New commits:
commit 9e5331b7428868f38c2ef4e729e1c68cff8c26c6
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Fri Jan 31 14:54:25 2014 -0800
Version 19.9
diff --git a/Makefile b/Makefile
index e5cc336..26cc65e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION = 19.8
+VERSION = 19.9
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
commit 9885730cfe43571bc31779b40ee6ba032043f0ff
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Wed Jan 29 17:22:53 2014 -0800
Add check for extlinux tools (#881317)
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 77691d6..3187537 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -563,6 +563,11 @@ checkFilesystem() {
fi
fi
+ if [ "$TGTFS" = "ext2" -o "$TGTFS" = "ext3" -o "$TGTFS" = "ext4" ] && [ ! -x /usr/sbin/extlinux ]; then
+ echo "Target filesystem ($TGTFS) requires syslinux-extlinux to be installed."
+ exitclean
+ fi
+
TGTLABEL=$(/sbin/blkid -s LABEL -o value $dev)
if [ "$TGTLABEL" != "LIVE" ]; then
if [ "$TGTFS" = "vfat" -o "$TGTFS" = "msdos" ]; then
commit 5fb4e8c87b466dc3aaa5913064e25e08f1491272
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Wed Jan 29 16:59:32 2014 -0800
Check kickstart for repo line (#1005580)
diff --git a/tools/livecd-creator b/tools/livecd-creator
index 67e3cec..a2919e6 100755
--- a/tools/livecd-creator
+++ b/tools/livecd-creator
@@ -174,6 +174,9 @@ def main():
logging.info("Using title '%s' and product '%s'" % (title, product))
ks = imgcreate.read_kickstart(options.kscfg)
+ if not ks.handler.repo.seen:
+ print >> sys.stderr, "Kickstart (%s) must have at least one repository." % (options.kscfg)
+ return 1
try:
if options.image_type == 'livecd':
commit 5d12dccbaa26f077f84759dbd47c1849884f1e08
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Tue Jan 14 14:00:01 2014 -0800
Catch CreatorError during class init (#1005580)
diff --git a/tools/livecd-creator b/tools/livecd-creator
index 44d07a1..67e3cec 100755
--- a/tools/livecd-creator
+++ b/tools/livecd-creator
@@ -25,7 +25,6 @@ import optparse
import logging
import imgcreate
-from imgcreate.fs import makedirs
class Usage(Exception):
def __init__(self, msg = None, no_error = False):
@@ -105,7 +104,7 @@ def parse_options(args):
else:
options.image_type = 'livecd'
if options.image_type not in ('livecd', 'image'):
- raise Usage("'%s' is a recognized image type" % options.image_type)
+ raise Usage("'%s' is not a recognized image type" % options.image_type)
# image-create compatibility: Last argument is kickstart file
if len(args) == 1:
@@ -176,26 +175,26 @@ def main():
ks = imgcreate.read_kickstart(options.kscfg)
- if options.image_type == 'livecd':
- creator = imgcreate.LiveImageCreator(ks, name,
- fslabel=fslabel,
- releasever=options.releasever,
- tmpdir=os.path.abspath(options.tmpdir),
- useplugins=options.plugins,
- title=title, product=product,
- cacheonly=options.cacheonly,
- docleanup=not options.nocleanup)
- elif options.image_type == 'image':
- creator = imgcreate.LoopImageCreator(ks, name,
- fslabel=fslabel,
- releasever=options.releasever,
- useplugins=options.plugins,
- tmpdir=os.path.abspath(options.tmpdir),
- cacheonly=options.cacheonly,
- docleanup=not options.nocleanup)
- else:
- # Cannot happen, we validate this when parsing options.
- logging.error(u"'%s' is not a valid image type" % options.image_type)
+ try:
+ if options.image_type == 'livecd':
+ creator = imgcreate.LiveImageCreator(ks, name,
+ fslabel=fslabel,
+ releasever=options.releasever,
+ tmpdir=os.path.abspath(options.tmpdir),
+ useplugins=options.plugins,
+ title=title, product=product,
+ cacheonly=options.cacheonly,
+ docleanup=not options.nocleanup)
+ elif options.image_type == 'image':
+ creator = imgcreate.LoopImageCreator(ks, name,
+ fslabel=fslabel,
+ releasever=options.releasever,
+ useplugins=options.plugins,
+ tmpdir=os.path.abspath(options.tmpdir),
+ cacheonly=options.cacheonly,
+ docleanup=not options.nocleanup)
+ except imgcreate.CreatorError as e:
+ logging.error(u"%s creation failed: %s", options.image_type, e)
return 1
creator.compress_type = options.compress_type
commit 75601166def6c68d38a60edb998832ae8e82edb3
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Tue Jan 14 12:20:51 2014 -0800
Add docleanup to edit-livecd (#1000744)
diff --git a/tools/edit-livecd b/tools/edit-livecd
index 1670228..f1287bf 100755
--- a/tools/edit-livecd
+++ b/tools/edit-livecd
@@ -58,7 +58,7 @@ class LiveImageEditor(LiveImageCreator):
"""
- def __init__(self, name):
+ def __init__(self, name, docleanup=True):
"""Initialize a LiveImageEditor instance.
creates a dummy instance of LiveImageCreator
@@ -125,6 +125,8 @@ class LiveImageEditor(LiveImageCreator):
self.__ImageCreator__selinux_mountpoint = fields[4]
break
+ self.docleanup = docleanup
+
# properties
def __get_image(self):
if self._LoopImageCreator__imagedir is None:
@@ -611,6 +613,9 @@ def parse_options(args):
parser.add_option("", "--skip-minimize", action="store_true",
dest="skip_minimize", default=False,
help="Specify no osmin.img minimal snapshot.")
+ parser.add_option("", "--nocleanup", action="store_true",
+ dest="nocleanup", default=False,
+ help="Skip cleanup of temporary files")
setup_logging(parser)
@@ -673,7 +678,7 @@ def main():
if output == '/dev':
output = options.tmpdir
- editor = LiveImageEditor(name)
+ editor = LiveImageEditor(name, docleanup=not options.nocleanup)
editor._exclude = options.exclude
editor._exclude_file = options.exclude_file
editor._include = options.include
commit 5f9fe3b612d283d6330182b71f869ad758327f01
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Tue Jan 14 12:01:42 2014 -0800
utf8 decode unicode error strings (#1035248)
diff --git a/imgcreate/errors.py b/imgcreate/errors.py
index 800dc3b..092770d 100644
--- a/imgcreate/errors.py
+++ b/imgcreate/errors.py
@@ -42,7 +42,9 @@ class CreatorError(Exception):
return repr(self.message)
def __unicode__(self):
- return unicode(self.message)
+ if not self.message:
+ return unicode("")
+ return unicode(self.message.decode("utf8"))
class KickstartError(CreatorError):
pass
commit 8db288315bd67e942674315164c13dda69b86b51
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Tue Jan 14 11:09:59 2014 -0800
Remove switch to Permissive (#1051523)
SELinux has improved to the point where livecd-creator can be run with
it in Enforcing mode so it is no longer necessary to switch to
Permissive. If problems come up in the future they should be corrected
with SELinux policy.
diff --git a/tools/livecd-creator b/tools/livecd-creator
index a39e43f..44d07a1 100755
--- a/tools/livecd-creator
+++ b/tools/livecd-creator
@@ -23,7 +23,6 @@ import sys
import time
import optparse
import logging
-import selinux
import imgcreate
from imgcreate.fs import makedirs
@@ -144,12 +143,6 @@ def main():
print >> sys.stderr, "You must run %s as root" % sys.argv[0]
return 1
- # Set selinux to Permissive if it is enforcing
- selinux_enforcing = False
- if selinux.is_selinux_enabled() and selinux.security_getenforce():
- selinux_enforcing = True
- selinux.security_setenforce(0)
-
if options.fslabel:
fslabel = options.fslabel
name = fslabel
@@ -203,8 +196,6 @@ def main():
else:
# Cannot happen, we validate this when parsing options.
logging.error(u"'%s' is not a valid image type" % options.image_type)
- if selinux_enforcing:
- selinux.security_setenforce(1)
return 1
creator.compress_type = options.compress_type
@@ -228,8 +219,6 @@ def main():
return 1
finally:
creator.cleanup()
- if selinux_enforcing:
- selinux.security_setenforce(1)
return 0
9 years, 10 months
Changes to 'refs/tags/livecd-tools-20.4'
by Brian C. Lane
Tag 'livecd-tools-20.4' created by Brian C. Lane <bcl(a)redhat.com> at 2014-01-31 22:30 +0000
Tag as livecd-tools-20.4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUAUuwj/BF+jBaO/jp/AQKbswf7BwIREeeP8WPgwTfwV1Hf53iT4TjS2UYz
6uar/yrwFHThz+djSQIBxyW+VDwVJRP+OnwVuA2nBU2s4Urds9lpuzpEBZe09HKv
Haq+LgXlW9ZpdfTFrd4s9eWQ7eh/pFc2L/xNe8D16jbYA8VVpAwTHvy676Wr23BT
AIlBNR2T7n7Cjeo6BG1wGtMVya1AXbTCl6s2TVLiocsWil6AOT74klVVAbrgWw8n
gB/3QvqrxBZqpTLA0RfXPo3Ygu97iFXPPht2/bHEnoAutwJ2SoxDMkiE7B5x5XwV
RdQ7KHTSAT04Xb7AGmyoCgBJjgJkhJxqrDjQSXaY081kJiRwlsy9Yg==
=e+qB
-----END PGP SIGNATURE-----
Changes since livecd-tools-20.3:
Brian C. Lane (7):
Remove switch to Permissive (#1051523)
utf8 decode unicode error strings (#1035248)
Add docleanup to edit-livecd (#1000744)
Catch CreatorError during class init (#1005580)
Check kickstart for repo line (#1005580)
Fix extlinux check (#1059278)
Version 20.4
---
Makefile | 2 -
imgcreate/errors.py | 4 ++-
tools/edit-livecd | 9 +++++-
tools/livecd-creator | 57 ++++++++++++++++++--------------------------
tools/livecd-iso-to-disk.sh | 2 -
5 files changed, 36 insertions(+), 38 deletions(-)
---
9 years, 10 months
Makefile
by Brian C. Lane
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a388b953476f238b69a915ee642bf97942512f29
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Fri Jan 31 14:30:09 2014 -0800
Version 20.4
diff --git a/Makefile b/Makefile
index d94ad9e..38a187c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION = 20.3
+VERSION = 20.4
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
9 years, 10 months
Changes to 'refs/tags/livecd-tools-13.4.5'
by Brian C. Lane
Tag 'livecd-tools-13.4.5' created by Brian C. Lane <bcl(a)redhat.com> at 2014-01-31 22:24 +0000
Tag as livecd-tools-13.4.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUAUuwikRF+jBaO/jp/AQJxbwf+In7piJxjPsi/aYdVu8/uif3bryEujkOa
a7+wvqVxQIcxWhfqskZQGxz3PVhgjxDTxb2rqWKTNzgSmDCsBEL/N2+f9bAC8pIe
1kgXcAiUXmF9N3VDbEFxLGXGopTb+K4cXj8X7jP4GxtbbiwdmrHrUlgHoX6UiCPQ
0HnB3xkiUAUlEATEUZv99OaBs9Nx6jqSzBVerm1eQsk5uWcRRHkrJJgBHnSDKzTs
VFuGX0+Dd+7t8Sia0TNUFTAYR7XVVD/QeuNcjNoAm6jQOantkajkmC0/KFJfXYcR
ZWGUgMslnmSz26YWpjzXQqnBoYP05wkGOWSLbUZq+H1BooimR0nUYA==
=OKjp
-----END PGP SIGNATURE-----
Changes since livecd-tools-13.4.4:
Brian C. Lane (2):
Add dmsquash-live module to dracut (#957892)
Version 13.4.5
---
Makefile | 2 +-
imgcreate/live.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
---
9 years, 10 months
Branch 'rhel6-branch' - Makefile
by Brian C. Lane
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a30c5cfde9ac988a0750e9173d44ce09e72d1d13
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Fri Jan 31 14:24:03 2014 -0800
Version 13.4.5
diff --git a/Makefile b/Makefile
index 9c88497..7946173 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION = 13.4.4
+VERSION = 13.4.5
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
9 years, 10 months
how to remove rhgb quiet from livecd boot
by Ranjan Maitra
Hi,
I was wondering how to create a LiveCD which would not have rhgb and
quiet as an included option. What do I change and where?
Many thanks,
Ranjan
--
Important Notice: This mailbox is ignored: e-mails are set to be
deleted on receipt. Please respond to the mailing list if appropriate.
For those needing to send personal or professional e-mail, please use
appropriate addresses.
____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!
9 years, 10 months
What do these error messages mean?
by Ranjan Maitra
Hi,
I was trying to make a LiveCD by mimicking the LXDE livecd but I get
these messages: what do they mean/are they serious?
The kickstart files are at:
http://www.public.iastate.edu/~maitra/shunya/
Anyway, here are the messages that I wonder if I should be concerned
about:
Opening default zone 'public'
No changes to default zone needed.
Note: Forwarding request to 'systemctl enable NetworkManager.service'.
Note: Forwarding request to 'systemctl disable sshd.service'.
rm '/etc/systemd/system/multi-user.target.wants/sshd.service'
mkfs.fat 3.0.24 (2013-11-23)
Loop device does not match a floppy size, using default hd params
Initialized /dev/loop1 as a 20 MB HFS Plus volume
The unit files have no [Install] section. They are not meant to be
enabled using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another
unit's .wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which
has a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path,
timer, D-Bus, udev, scripted systemctl call, ...).
Thanks,
Ranjan
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth
9 years, 10 months
tools/livecd-iso-to-disk.sh
by Brian C. Lane
tools/livecd-iso-to-disk.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2f7152e94947c732ee9fd47ad7746a4d56cc7623
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Wed Jan 29 17:22:53 2014 -0800
Fix extlinux check (#1059278)
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index cccb225..696407c 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -567,7 +567,7 @@ checkFilesystem() {
fi
fi
- if [ "$TGTFS" = "ext2" -o "$TGTFS" = "ext3" -o "$TGTFS" = "ext4" -a ! -x /sbin/extlinux ]; then
+ if [ "$TGTFS" = "ext2" -o "$TGTFS" = "ext3" -o "$TGTFS" = "ext4" ] && [ ! -x /usr/sbin/extlinux ]; then
echo "Target filesystem ($TGTFS) requires syslinux-extlinux to be installed."
exitclean
fi
9 years, 10 months