Fedora Linux Support Community & Resources Center
  #1  
Old 25th January 2012, 08:36 PM
Freesat Offline
Registered User
 
Join Date: Jan 2012
Location: Brazil
Posts: 1
windows_7chrome
Fedora 16 Kickstart PostInstall, start service on chroot

Hi all, it´s my first time on fedora forum,

My older automated instalation with kickstart works fine ( last sucess with FC13 )

After read about changes in service to systemctl, i chane my kickstart post scripts to be compatible with FC15+

But when i try to install on FC16, i found some complications inserting data to mysql on post install, my older script looks like:

service mysqld start # Starting MySql server
mysqladmin -u root create databasename # Creating Database
mysql -u root databasename < /folder/schema.sql# Inserting Data
mysqladmin -u root password newpassword # Changing password

on new one, i changed to
systemctl start mysqld.service # this raise an error that say: "Running in chroot, ignoring request"
mysqladmin -u root create databasename # Creating Database
mysql -u root databasename < /folder/schema.sql# Inserting Data
mysqladmin -u root password newpassword # Changing password

and i canot insert data into MySql at kickstart post install anymore.

how to solve this ?

i realy apreciate some help.

thanks..

Last edited by Freesat; 26th January 2012 at 01:49 AM. Reason: correction of systemctl error message
Reply With Quote
  #2  
Old 25th February 2012, 04:18 PM
djtomi Offline
Registered User
 
Join Date: Apr 2010
Posts: 1
windows_7ie
Re: Fedora 16 Kickstart PostInstall, start service on chroot

Hej,

do you have a solution for this meanwhile?

Also stuck here ^^

Thx
Reply With Quote
Reply

Tags
chroot, fedora, kickstart, mysql, postinstall, service, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F15 KickStart PostInstall Script Mount CIFS Problem TiggerFish Installation and Live Media 3 7th September 2011 10:36 AM
[SOLVED] A init.d service script works with `service XX start` but not `systemctl start XX` lovetide Using Fedora 0 17th June 2011 05:03 AM
F15 kickstart problem re. postinstall script & installing rpms zack_dingbat Installation and Live Media 0 15th June 2011 11:35 AM
Fedora 10 Kickstart postinstall script i2ambler Installation and Live Media 0 6th March 2009 10:34 PM
FC6 kickstart chroot mount problem dax EOL (End Of Life) Versions 3 19th July 2007 11:49 PM


Current GMT-time: 17:32 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat