|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
install.site won't run
Hi all,
I'm trying to create a custom 5.2 cd for work and I've got a problem with my install.site and site52.tgz. When I run the obsd installer I can see my site52.tgz and if I select it the files are being extracted to /mnt/site52/. but nothing happens after the files have been extracted. Before creating the .tgz I ran chmod u+x on install.site. My install.site just installs a couple of programs and these are included in the site52.tgz. Can anyone help me? |
|
|||
What is the ownership of the install.site script & site52.tgz files?
|
|
|||
Quote:
Code:
-rw-r--r-- 1 root wheel 209786912 Jan 19 00:49 site52.tgz -rwxr-xr-x 1 root wheel 5397 Jan 18 13:13 install.site |
|
|||
Two comments:
|
|
|||
Quote:
|
|
|||
Per Section 4.14 of the FAQ:
Code:
As the last step in the install/upgrade process, the scripts look in the root directory of the newly installed/upgraded system for install.site or upgrade.site... |
|
|||
I use these permissions, owner and group:
Code:
-rwxrw---- 1 root wheel 251 Jan 14 14:31 install.site -rwxrw---- 1 root wheel 7925 Jan 14 14:31 postinstall_alix Code:
# cat install.site #!/bin/sh # install.site for alix INSTALL_LOG=./var/log/post_install.report install -m 660 /dev/null ${INSTALL_LOG} . ./postinstall_alix 2>&1 | tee ${INSTALL_LOG} cat <<END $0 : done ------------------------------------------------------------ END Code:
sitexx ${SITEXX} : .if exists(${SITEDIR}/install.site) install -p -o root -g wheel -m 760 ${SITEDIR}/install.site FILES .else @printf "\nWARNING: No ${SITEDIR}/install.site !!!\n\n" .endif .if exists(${SITEDIR}/postinstall_${BOX}) install -p -o root -g wheel -m 760 ${SITEDIR}/postinstall_${BOX} FILES .else @printf "\nWARNING: No ${SITEDIR}/postinstall_${BOX} !!\n\n" ; .endif tar cvzf ${SITEXX} ${TARXX}
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
The contents of the site52.tgz so you can see the correct path;
Code:
# tar tvzf site52.tgz drwx------ 2 root wheel 0 Feb 20 2011 ./root -rw-r----- 1 root wheel 1126 Jan 27 2010 ./root/format_fstab -rw-r----- 1 root wheel 764 Jan 31 2010 ./root/_serialconsole -rw-r----- 1 root wheel 231 Feb 20 2011 ./root/_boot-bsd.rd -rw-r----- 1 root wheel 1590 Mar 8 2010 ./root/PKGenv -rw-r----- 1 root wheel 244 Feb 20 2011 ./root/_boot-bsd.rd-serialconsole drwxr-xr-x 2 root wheel 0 Feb 14 2011 ./etc -rw------- 1 root wheel 1758 Feb 24 2010 ./etc/pf.conf -rwxrw---- 1 root wheel 251 Jan 14 14:31 ./install.site -rwxrw---- 1 root wheel 7925 Jan 14 14:31 ./postinstall_alix
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
siteXX.tgz and install.site | Oko | OpenBSD Installation and Upgrading | 6 | 2nd March 2011 12:50 AM |
Help with Home connection site to site vpn setup | badguy | OpenBSD Security | 3 | 25th October 2010 05:15 PM |
Routing between site-to-site tunnels | docrice | OpenBSD General | 5 | 26th September 2008 09:21 AM |
OBSD 4.3 Customize site43 & install.site problems | gamaliel | OpenBSD Installation and Upgrading | 7 | 3rd June 2008 03:25 PM |
Bare Minimum Site-to-Site VPN on OpenBSD | ai-danno | Guides | 0 | 20th May 2008 12:45 AM |