Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When doing a kickstart script install, a package that modifies the timezone may cause anaconda to crash. #1779

Open
KimEbert42 opened this issue Oct 24, 2012 · 1 comment
Assignees
Labels
Milestone

Comments

@KimEbert42
Copy link

This may be an upstream issue that has been solved in a later release.

Example kickstart script:

Kickstart script for the Webapp

version=6

install

url --url=http://10.10.10.50/mirror/CentOS/6/os/x86_64

repo --name=customrepo --baseurl=http://somewhere
lang en_US.UTF-8
keyboard us
network --bootproto dhcp --noipv6
rootpw --iscrypted XaTsKD57f6RMU
authconfig --enableshadow --passalgo=sha512 --disablefingerprint
selinux --enforcing
timezone --utc America/Boise
bootloader --location=mbr --driveorder=hda
reboot --eject
firstboot --enable
services --disabled=network --enabled=NetworkManager

%packages
@base
@core

system administration tools

crypto-utils
firstboot
httpd
mysql
mysql-server
mod_ssl
NetworkManager
openssl
openssh-clients
php
php-xml
php-mysql
rsync
system-config-firewall-tui
system-config-network-tui
setuptool
screen
vim

custom-package

Example custom package POST script.

%post

rm -f /etc/localtime.bak
cp -f /etc/localtime /etc/localtime.bak
rm -f /etc/localtime
ln -s /usr/share/zoneinfo/UTC /etc/localtime

Anaconda crashes with

Read-only file system: '/mnt/sysimage/etc/localtime'

Upon examining the file, it is a symlink to

ln -s /usr/share/zoneinfo/UTC /etc/localtime

Although it probably makes sense for the kickstart script and rpm to agree on timezones.

@ghost ghost assigned herlo Oct 24, 2012
@herlo
Copy link
Member

herlo commented Nov 11, 2012

This also happens on upstream 6.0. Moving milestone to 6.1b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants