jan damborsky stated:
<    Hi Sean,
< 
<    On 02/13/09 18:03, Sean McGrath wrote:
< 
<  Dave Miner stated:
< 
<  Sean McGrath wrote:
< 
<  Hi folks.  We do an install of osol using the AI image, on the console
<   we can change the /etc/default/login file and the sshd_config to allow
<    root to login to see whats going on.
< 
<   This is ok on x86, but on sparc its readonly.  This correct ?
< 
< 
<  Probably not; what does pkg verify say?
< 
<    During AI install,  it doesn't speak nicely:
<     (though I'm guessing that pkg verify during install wouldn't work anyway)
< 
< 
<    if you are in AI environment, AI Sparc boot archive has some limitations
<    as far as write capabilities are concerned. The reason is that it uses
<    dcfs(7F) filesystem.
< 
<    Because of the nature how dcfs works, you can't update
<    compressed file, but you are allowed to remove existing
<    or create new one which can be then updated - when new
<    one is created, it is not compressed.
< 
<    For instance, while you are in AI environment,'recreating'
<    the file in question will allow update:
< 
<    # mv /etc/default/login /tmp/
<    # mv /tmp/login /etc/default/
<    # vi /etc/default/login
< 
<    You could also change this directly in boot archive on AI server,
<    so that the change is permanent - since UFS filesystem is used as
<    backend for dcfs, you can mount boot archive in following way:
< 
<    # mkdir /tmp/mr
<    # mount <path_to_boot_archive>/boot_archive /tmp/mr
<    # mv /tmp/mr/etc/default/login /tmp/
<    # mv /tmp/login /tmp/mr/etc/default/
<    # vi /tmp/mr/etc/default/login
<    # umount -f /tmp/mr
< 
<    Or, if you build your own AI image, Distro Constructor
<    allows you to specify which files in boot archive should
<    be left uncompressed (search for 'fiocompress' in AI DC
<    manifest ai_sparc_image.xml).

 Thanks Jan, we'll give the 'recreating' bits a go.  We try and not go near
  changing the boot_archive images, in case we shoot ourselves in the foot ;)

< 
<    Thank you,
<    Jan

-- 
Sean.
.

Reply via email to