Hi Tim,

How are you making these changes? Are you doing so in the kickstart, in a %post section? If so, that probably won't work, because your code might get run before the code that sets the default firewall rules.

If you want such changes to be made via your kickstart file, you need to add the commands to the end of /etc/rc.d/init.d/livesys, so that they'll be run on first boot. See fedora-live-base.ks for details on how to go about it. (In fact, fedora-live-base.ks sets up the livesys file, and then fedira-live-desktop.ks has an example of how to add extra commands afterwards by means of 'cat >> /etc/rc.d.init.d/livesys << EOF'.)

James

On Tue, 2011-10-25 at 18:34 +0100, Tim Coote wrote:
Thanks, James. That's what I was hoping. Further and better particulars will have to wait until I get back to the computer, I'm afraid.

Anything in particular?  

So far, I was I just enabling sshd (chkconfig --levels 345 sshd on), turning off the firewall (chkconfig --levels 345 iptables off)  and then "shutdown -r now".
Upon reboot, no sshd. Now I know what to expect, I can dig around more specifically.

Tim
On 25 Oct 2011, at 10:52, James Heather wrote:

> You've understood correctly. Changes anywhere that's under / should persist, except for temp-style directories: /tmp, /var/tmp, /var/cache/yum.
> 
> Something else must be going wrong. I think we'll need more details to work out what.
> 
> James
> 
> On Tue, 2011-10-25 at 10:50 +0100, Tim Coote wrote:
>> Hullo
>> I'm trying to use livecd to test fedora upgrades non-destructively. To make this work, I really need to be able to use the persistent overlay to fix drivers. I'm using the standard command: 
>> 
>> livecd-iso-to-disk --overlay-size-mb 2047 /path/to/live.iso /dev/sdb1
>> 
>> However, this is not working as I'd expect. If I boot from the resulting usb drive and change the configuration (eg to enable sshd), then the changes are lost on reboot.
>> 
>> Have I misunderstood how persistent overlays are supposed to work - I'd interpreted the documentation to mean that the overlay can persist changes from /, as well as just providing a persistent overlay to /home?
>> 
>> tia
>> 
>> Tim
>> --
>> livecd mailing list
>> 
>> livecd@lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/livecd
> 
> --
> livecd mailing list
> livecd@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/livecd


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