Thanks Moinak and Dave for your initial review of the files in this directory.
Based on your comments,
I have re-grouped the files. After my question below gets answered, I will try
to implement
what I propose if there are no other suggestions/modifications.
Create as a parameter by Distro Constructor
-------------------------------------------
f 0444 root:root .livecd
f 0644 root:staff etc/inet/hosts
- make name of host same as name of volumn in .livecd?
f 0644 root:root etc/nodename
f 0644 root:sys etc/passwd
- User will specify default root shell and root shell
d u=rwx,g=rx,o=rx root:root root
- The default root "home dir" will be created as specified in passwd
Live Media specific, deliver in a package into microroot
------------------------------------------------------
f 0644 root:other reconfigure
f 0555 root:bin lib/svc/method/live-devices-local
f 0555 root:bin lib/svc/method/live-fs-root
f 0555 root:bin lib/svc/method/live-fs-usr
f 0555 root:bin lib/svc/method/live-sysidtool-system
f 0444 root:sys var/svc/manifest/system/device/live-devices-local.xml
f 0444 root:sys var/svc/manifest/system/filesystem/live-root-fs.xml
f 0444 root:sys var/svc/manifest/system/filesystem/live-usr-fs.xml
f 0444 root:sys var/svc/manifest/system/live-sysidtool.xml
- I know all the live media specific manifest and scripts need to
be incorporating in the long term. But just have them here for now.
f 0644 root:root etc/rtc_config
f 0644 root:root etc/inet/routing.conf
- In the future, can probably do it via SMF, for now, just
ship this in a file.
Live Media specific, deliver in a package into proto area
---------------------------------------------------------
f 0644 root:root boot/grub/sx-boot.xpm.gz
Live Media specific, modify existing files by a script?
--------------------------------------------------------
f 0644 root:root etc/vfstab
- Script to add the "/devices/ramdisk:a ....." line. Is there
a CLI to modify this file? The vfstab(4) man page says
the getvfsent(3c) system call can be used to read/write to this file.
f 0644 root:sys etc/power.conf
- Setup correctly using the "pmconfig" command
f 0644 root:root etc/nsswitch.conf
- This will be a copy of nsswitch.files
f 0644 root:other etc/dumpadm.conf
- This will be setup using the dumpadm command
f 0644 root:other etc/coreadm.conf
- This will be setup using the coreadm command
Questions still need to be resolved
------------------------------------
f 0644 root:root boot/solaris/bootenv.rc
f 0644 root:sys boot/grub/menu.lst
- These 2 files above are live media specific, but they are also
deliver by normal Solaris packages. What should we do? Just
replace the whole file or modify the necessary stuff via a script?
f 0600 root:root etc/ssh/ssh_host_dsa_key
f 0644 root:root etc/ssh/ssh_host_dsa_key.pub
f 0600 root:root etc/ssh/ssh_host_rsa_key
f 0644 root:root etc/ssh/ssh_host_rsa_key.pub
- Generating this every will definately impact performance, I guess
we can measure how much. One concern I have about having
hard coded keys is that the system will not be "secure" anymore.
For now, I think we will leave them out to see what happens.
The following files will be removed from the bootcd_skel. They will not
be "moved" to anywhere.
-----------------------------------------------
f 0755 root:sys kernel/fs/hsfs
f 0555 root:bin lib/opengl/ogl_select/nvidia_vendor_select
f 0644 root:sys etc/security/prof_attr
f 0644 root:sys etc/security/exec_attr
f 0644 root:sys etc/profile
f 0644 root:root etc/default_env.sh
f 0644 root:sys etc/devlink.tab
f 0644 root:other etc/.UNCONFIGURED
d 0755 root:root etc/xconfigs
f 0644 root:root etc/xconfigs/xorg.conf.virtpc
f 0644 root:root etc/xconfigs/xorg.conf.f4k
f 0644 root:sys etc/security/device_policy
f 0640 root:smmsp etc/mail/aliases.db
f 0644 root:sys etc/logindevperm
f 0644 root:root etc/resolv.conf
f 0644 root:root etc/nsswitch.nis
f 0644 root:sys etc/minor_perm
f 0644 root:sys etc/rpc
f 0400 root:sys etc/shadow
f 0644 root:sys etc/pam.conf
f 0644 root:sys etc/services
d u=rwx,g=rx,o=rx root:root root/Desktop
f 0644 root:root root/Desktop/install_solaris.desktop
d u=rwx,g=rx,o=rx root:root root/installer
f 0755 root:bin root/installer/install_live
f 0755 root:bin root/installer/install-finish
f 0777 root:root noautoshutdown
Thanks,
--Karen
--
This message posted from opensolaris.org