Created
December 12, 2015 21:19
-
-
Save msimerson/096c06329535e6746fcd to your computer and use it in GitHub Desktop.
Mail Toaster 6 - sample output - provision-avg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sh provision-avg.sh | |
mysql enabled | |
toaster host: freebsd-10-2.vmware.imac27.simerson.net | |
toaster domain: imac27.simerson.net | |
shell: /usr/local/bin/bash | |
safe name: stage | |
zroot/jails/base-10.2-RELEASE@p8 snapshot exists | |
zroot/data filesystem exists | |
zfs create -o mountpoint=/data/avg zroot/data/avg | |
*** stage jail cleanup *** | |
stopping jail stage (stage) | |
Stopping jails:. | |
zroot/data/avg filesystem exists | |
*** stage jail filesystem setup *** | |
zfs clone zroot/jails/base-10.2-RELEASE@p8 zroot/jails/stage | |
mounting /usr/ports | |
zroot/data/avg filesystem exists | |
nullfs mount /data/avg /jails/stage/data | |
sysrc -R /jails/stage hostname=avg | |
hostname: base -> avg | |
*** stage jail startup *** | |
Setting hostname: avg. | |
Creating and/or trimming log files. | |
Starting syslogd. | |
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib | |
32-bit compatibility ldconfig path: /usr/lib32 | |
Clearing /tmp (X related). | |
Updating motd:. | |
Starting cron. | |
Sat Dec 12 13:15:30 PST 2015 | |
Updating FreeBSD repository catalogue... | |
FreeBSD repository is up-to-date. | |
All repositories are up-to-date. | |
avg2013ffb-r3115-a6155.i386.tar.gz 100% of 101 MB 1740 kBps 00m59s | |
jexec stage make -C /usr/ports/misc/compat7x install distclean | |
===> License BSD2CLAUSE accepted by the user | |
===> compat7x-amd64-7.4.704000.201310.1 depends on file: /usr/local/sbin/pkg - found | |
=> compat7x-amd64-7.4.704000.201310.1.tar.xz doesn't seem to exist in /usr/ports/distfiles/. | |
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/garga/compat/compat7x-amd64-7.4.704000.201310.1.tar.xz | |
compat7x-amd64-7.4.704000.201310.1.tar.xz 100% of 5019 kB 1385 kBps 00m04s | |
===> Fetching all distfiles required by compat7x-amd64-7.4.704000.201310.1 for building | |
===> Extracting for compat7x-amd64-7.4.704000.201310.1 | |
=> SHA256 Checksum OK for compat7x-amd64-7.4.704000.201310.1.tar.xz. | |
===> Patching for compat7x-amd64-7.4.704000.201310.1 | |
===> Configuring for compat7x-amd64-7.4.704000.201310.1 | |
===> Staging for compat7x-amd64-7.4.704000.201310.1 | |
===> Generating temporary packing list | |
(cd /tmp/portbuild/usr/ports/misc/compat7x/work/compat7x-amd64-7.4.704000.201310.1/lib && install -m 0644 *.so.* /tmp/portbuild/usr/ports/misc/compat7x/work/stage/usr/local/lib/compat) | |
(cd /tmp/portbuild/usr/ports/misc/compat7x/work/stage/usr/local/lib/compat && /bin/ln -sf /lib/libthr.so.3 libkse.so.3) | |
(cd /tmp/portbuild/usr/ports/misc/compat7x/work/compat7x-amd64-7.4.704000.201310.1/lib32 && install -m 0644 *.so.* /tmp/portbuild/usr/ports/misc/compat7x/work/stage/usr/local/lib32/compat) | |
(cd /tmp/portbuild/usr/ports/misc/compat7x/work/stage/usr/local/lib32/compat && /bin/ln -sf /usr/lib32/libthr.so.3 libkse.so.3) | |
====> Compressing man pages (compress-man) | |
===> Installing ldconfig configuration file | |
===> Installing 32-bit ldconfig configuration file | |
===> Installing for compat7x-amd64-7.4.704000.201310.1 | |
===> Checking if compat7x-amd64 already installed | |
===> Registering installation for compat7x-amd64-7.4.704000.201310.1 | |
[avg] Installing compat7x-amd64-7.4.704000.201310.1... | |
******************************************************************************* | |
* * | |
* Do not forget to add COMPAT_FREEBSD7 into * | |
* your kernel configuration (enabled by default). * | |
* * | |
* To configure and recompile your kernel see: * | |
* http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html * | |
* * | |
******************************************************************************* | |
===> SECURITY REPORT: | |
This port has installed the following files which may act as network | |
servers and may therefore pose a remote security risk to the system. | |
/usr/local/lib32/compat/libradius.so.3 | |
/usr/local/lib/compat/libssh.so.4 | |
/usr/local/lib/compat/libroken.so.9 | |
/usr/local/lib/compat/libftpio.so.7 | |
/usr/local/lib/compat/libwrap.so.5 | |
/usr/local/lib/compat/libsmb.so.3 | |
/usr/local/lib32/compat/libwrap.so.5 | |
/usr/local/lib/compat/libkrb5.so.9 | |
/usr/local/lib32/compat/libkrb5.so.9 | |
/usr/local/lib32/compat/libnetgraph.so.3 | |
/usr/local/lib32/compat/libfetch.so.5 | |
/usr/local/lib/compat/libfetch.so.5 | |
/usr/local/lib32/compat/libssh.so.4 | |
/usr/local/lib32/compat/libsmb.so.3 | |
/usr/local/lib/compat/liblwres.so.30 | |
/usr/local/lib/compat/libcrypto.so.5 | |
/usr/local/lib/compat/libmilter.so.4 | |
/usr/local/lib32/compat/libcrypto.so.5 | |
/usr/local/lib/compat/libnetgraph.so.3 | |
/usr/local/lib32/compat/libmilter.so.4 | |
/usr/local/lib32/compat/libroken.so.9 | |
/usr/local/lib32/compat/libftpio.so.7 | |
/usr/local/lib/compat/libradius.so.3 | |
If there are vulnerabilities in these programs there may be a security | |
risk to the system. FreeBSD makes no guarantee about the security of | |
ports included in the Ports Collection. Please type 'make deinstall' | |
to deinstall the port if this is a concern. | |
===> Cleaning for compat7x-amd64-7.4.704000.201310.1 | |
===> Deleting distfiles for compat7x-amd64-7.4.704000.201310.1 | |
installing FreeBSD package lib32 | |
lib32.txz 100% of 16 MB 1657 kBps 00m10s | |
x ./ | |
x ./libexec/ | |
x ./usr/ | |
x ./usr/bin/ | |
x ./usr/lib32/ | |
x ./usr/libdata/ | |
x ./usr/libexec/ | |
<snip lots of output> | |
x ./usr/lib32/private/libheimipcc.so.11 | |
x ./usr/lib32/private/libheimipcs_p.a | |
x ./usr/lib32/private/libldns.a | |
x ./usr/lib32/private/libunbound_p.a | |
x ./usr/lib32/private/libldns.so.5 | |
x ./usr/lib32/private/libyaml.so.1 | |
x ./usr/lib32/private/libunbound.a | |
x ./usr/lib32/private/libunbound.so | |
x ./usr/lib32/private/libucl.a | |
x ./usr/lib32/private/libunbound.so.5 | |
x ./usr/lib32/private/libheimipcc.a | |
x ./usr/lib32/private/libldns_p.a | |
x ./usr/lib32/private/libssh.so | |
x ./usr/lib32/private/libssh.so.5 | |
x ./usr/lib32/private/libucl.so | |
x ./usr/bin/ldd32 | |
x ./libexec/ld-elf32.so.1 | |
/jails/stage/usr/lib32/libiconv.so.3 100% of 1031 kB 412 kBps 00m02s | |
ldconfig32_paths: /usr/lib32 /usr/lib32/compat -> /usr/lib32 /usr/lib32/compat /opt/avg/av/lib | |
=================================================== | |
AVG Anti-Virus for Linux/FreeBSD installation | |
=================================================== | |
Do you want to continue? (yes/no): yes | |
<EF><BB><BF>IMPORTANT: READ THIS AGREEMENT CAREFULLY. IT IS A LEGAL CONTRACT <snip> benchmark nor externally disclose or p | |
Do you agree with the license? (yes/no): yes | |
Operating system is FreeBSD or its fork PC-BSD, DesktopBSD, ... (amd64) (Y/n): y | |
Under which user should AVG Anti-Virus run [root]: | |
What group should be used for AVG Anti-Virus [bin]: | |
Creating destination directories... | |
Installing files... | |
Creating symlinks... | |
Installing 'avgd' service initscripts... | |
Generating uninstall script... | |
Processing command line ... | |
Cfg file not specified using /opt/avg/av/cfg/diagcfg.xml. | |
New installation ID succesffully generated. | |
AVG Anti-Virus for Linux/FreeBSD successfully installed. | |
Would you like to display README now? (Y/n): n | |
Would you like to run AVG setup script now? (Y/n): n | |
Starting AVG AV | |
Starting avgd OK. | |
jexec stage avgcfgctl -w Default.aspam.spamassassin.enabled=false | |
AVG command line avgcfgctl | |
Copyright (c) 2013 AVG Technologies CZ | |
Setting configuration item Default.aspam.spamassassin.enabled to value false. | |
jexec stage avgcfgctl -w Default.tcpd.avg.address=0.0.0.0 | |
AVG command line avgcfgctl | |
Copyright (c) 2013 AVG Technologies CZ | |
Setting configuration item Default.tcpd.avg.address to value 0.0.0.0. | |
jexec stage avgcfgctl -w Default.tcpd.smtp.enabled=false | |
AVG command line avgcfgctl | |
Copyright (c) 2013 AVG Technologies CZ | |
Setting configuration item Default.tcpd.smtp.enabled to value false. | |
jexec stage avgcfgctl -w Default.tcpd.spam.enabled=false | |
AVG command line avgcfgctl | |
Copyright (c) 2013 AVG Technologies CZ | |
Setting configuration item Default.tcpd.spam.enabled to value false. | |
jexec stage avgcfgctl -w Default.setup.features.oad=false | |
AVG command line avgcfgctl | |
Copyright (c) 2013 AVG Technologies CZ | |
Setting configuration item Default.setup.features.oad to value false. | |
jexec stage service avgd.sh restart | |
Shutting down avgd.usage: sleep seconds | |
OK. | |
Starting avgd (recovering) OK. | |
testing AVG process is running | |
16728 0 S+J 0:00.53 /opt/avg/av/bin//avgd | |
16729 0 SL+J 0:00.18 /opt/avg/av/bin/avgavid | |
checking avgtcpd is listening | |
root avgtcpd 16734 40 tcp4 172.16.15.254:54322 *:* | |
*** promoting jail avg *** | |
stopping jail stage (stage) | |
Stopping jails: stage. | |
stage: removed | |
nameserver 172.16.15.3 | |
unmounting /jails/stage/usr/ports | |
zroot/data/avg filesystem exists | |
umount data fs /jails/stage/data | |
unmounting /jails/stage/dev | |
clearing pkg cache | |
zfs rename zroot/jails/stage zroot/jails/avg.ready | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
waiting for ZFS filesystem to quiet | |
cannot unmount '/jails/stage': Device busy | |
trying to force rename | |
waiting for ZFS filesystem to quiet | |
stopping jail avg (avg) | |
Stopping jails:. | |
zroot/data/avg filesystem exists | |
zfs rename zroot/jails/avg.ready zroot/jails/avg | |
avg { | |
ip4.addr = 172.16.15.14; | |
allow.sysvipc = 1; | |
mount += "/data/avg $path/data nullfs rw 0 0"; | |
} | |
*** start jail avg *** | |
Starting jails: avg. | |
Success! A new 'avg' jail is provisioned | |
# jls | |
JID IP Address Hostname Path | |
3 172.16.15.3 dns /jails/dns | |
5 172.16.15.4 mysql /jails/mysql | |
7 172.16.15.5 clamav /jails/clamav | |
9 172.16.15.14 avg /jails/avg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment