Столкнулся с странным поведением при сборке новой jail на сервере
Код: Выделить всё
11.0-RELEASE-p3 FreeBSD 11.0-RELEASE-p3 #0 r309140
Код: Выделить всё
/usr/src # make distribution DESTDIR=$JAIL
cd /usr/src/etc; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac CC="cc " CXX="c++ " CPP="cpp " AS="as" AR="ar" LD="ld" NM=nm OBJDUMP=objdump OBJCOPY="objcopy" RANLIB=ranlib STRINGS= SIZE="size" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin make METALOG= distribution
cd /usr/src/etc; install -o root -g wheel -m 644 crontab devd.conf devfs.conf ddb.conf dhclient.conf disktab fbtab gettytab group hosts hosts.allow hosts.equiv libalias.conf libmap.conf login.access login.conf mac.conf motd netconfig network.subr networks newsyslog.conf nsswitch.conf phones profile protocols rc rc.bsdextended rc.firewall rc.initdiskless rc.shutdown rc.subr remote rpc services shells sysctl.conf syslog.conf termcap.small etc.amd64/ttys apmd.conf auto_master blacklistd.conf ftpusers inetd.conf /usr/src/etc/../usr.bin/locate/locate/locate.rc /usr/src/etc/../usr.bin/mail/misc/mail.rc ntp.conf nscd.conf portsnap.conf rc.sendmail csh.cshrc csh.login csh.logout /jails02/etc; cap_mkdb -l /jails02/etc/login.conf; services_mkdb -l -q -o /jails02/var/db/services.db /jails02/etc/services; install -o root -g wheel -m 755 netstart pccard_ether rc.suspend rc.resume /jails02/etc; install -o root -g wheel -m 600 master.passwd nsmb.conf opieaccess /jails02/etc;
cd /usr/src/etc; install -o root -g wheel -m 600 snmpd.config /jails02/etc;
pwd_mkdb -i -p -d /jails02/etc /jails02/etc/master.passwd
cd /usr/src/etc/autofs; make install
install -o root -g wheel -m 755 include_ldap special_hosts special_media special_noauto special_null /jails02/etc/autofs/
cd /usr/src/etc/casper; make install
install -o root -g wheel -m 444 system.dns system.grp system.pwd system.random system.sysctl /jails02/etc/casper/
cd /usr/src/etc/defaults; make install
install -o root -g wheel -m 444 devfs.rules periodic.conf rc.conf /jails02/etc/defaults/
cd /usr/src/etc/devd; make install
install -o root -g wheel -m 644 asus.conf uath.conf ulpt.conf usb.conf zfs.conf /jails02/etc/devd/
cd /usr/src/etc/gss; make install
install -o root -g wheel -m 444 mech qop /jails02/etc/gss/
cd /usr/src/etc/ntp; make install
install -o root -g wheel -m 644 leap-seconds /jails02/etc/ntp/
cd /usr/src/etc/periodic; make install
===> daily (install)
install -o root -g wheel -m 755 100.clean-disks 110.clean-tmps 120.clean-preserve 200.backup-passwd 210.backup-aliases 330.news 400.status-disks 401.status-graid 406.status-gmirror 407.status-graid3 408.status-gstripe 409.status-gconcat 420.status-network 430.status-uptime 450.status-security 510.status-world-kernel 999.local 300.calendar 130.clean-msgs 480.status-ntpd 480.leapfile-ntpd 150.clean-hoststat 440.status-mailq 460.status-mail-rejects 500.queuerun 404.status-zfs 800.scrub-zfs /jails02/etc/periodic/daily/
install -o root -g wheel -m 555 310.accounting /jails02/etc/periodic/daily/
install -o root -g wheel -m 555 140.clean-rwho /jails02/etc/periodic/daily/
===> security (install)
install -o root -g wheel -m 755 100.chksetuid 110.neggrpperm 200.chkmounts 300.chkuid0 400.passwdless 410.logincheck 700.kernelmsg 800.loginfail 900.tcpwrap 500.ipfwdenied 550.ipfwlimit /jails02/etc/periodic/security/
install -o root -g wheel -m 444 security.functions /jails02/etc/periodic/security/
===> weekly (install)
install -o root -g wheel -m 755 340.noid 450.status-security 999.local 310.locate 320.whatis 330.catman /jails02/etc/periodic/weekly/
===> monthly (install)
install -o root -g wheel -m 755 450.status-security 999.local /jails02/etc/periodic/monthly/
install -o root -g wheel -m 555 200.accounting /jails02/etc/periodic/monthly/
cd /usr/src/etc/pkg; make install
install -o root -g wheel -m 644 FreeBSD.conf /jails02/etc/pkg/
cd /usr/src/etc/rc.d; make install
install -o root -g wheel -m 555 DAEMON FILESYSTEMS LOGIN NETWORKING SERVERS abi addswap adjkerntz archdep auditd auditdistd bgfsck blacklistd bridge cleanvar cleartmp cron ctld ddb defaultroute devd devfs dhclient dmesg dumpon fsck gbde geli geli2 gptboot growfs gssd hostid hostid_save hostname iovctl ip6addrctl ipfilter ipfs ipfw ipmon ipnat ipsec kadmind kdc kfd kld kldxref kpasswdd ldconfig local localpkg lockd mixer motd mountcritlocal mountcritremote mountlate mdconfig mdconfig2 mountd msgs natd netif netoptions netwait newsyslog nfsclient nfscbd nfsd nfsuserd nisdomain nscd nsswitch ntpdate pf pflog pfsync ppp pppoed pwcheck quota random rarpd rctl resolv root route6d routing rpcbind rtadvd rtsold savecore securelevel serial sppp statd static_arp static_ndp stf swap swaplate sysctl syslogd tmp ugidfw utx var watchdogd ypbind ypldap yppasswdd ypserv ypset ypupdated ypxfrd powerd automount automountd autounmountd bootparams ccd ftpd inetd iscsictl iscsid moused syscons ipropd_master ipropd_slave othermta ntpd keyserv timed /jails02/etc/rc.d/
install -o root -g wheel -m 555 accounting /jails02/etc/rc.d/
install -o root -g wheel -m 555 power_profile /jails02/etc/rc.d/
install -o root -g wheel -m 555 apm apmd /jails02/etc/rc.d/
install -o root -g wheel -m 555 bsnmpd /jails02/etc/rc.d/
install -o root -g wheel -m 555 hastd /jails02/etc/rc.d/
install -o root -g wheel -m 555 /jails02 jail /jails02/etc/rc.d/
install: /jails02: Inappropriate file type or format
*** Error code 71
Stop.
make[3]: stopped in /usr/src/etc/rc.d
*** Error code 1
Stop.
make[2]: stopped in /usr/src/etc
*** Error code 1
Stop.
make[1]: stopped in /usr/src
*** Error code 1
Stop.
make: stopped in /usr/src
Никто не сталкивался?
На всякий случай make.conf и src.conf (вроде не должны повлиять):
Код: Выделить всё
# cat /etc/make.conf
OPTIONS_UNSET= X11 DOCS INFO
PORTSDIR?= /usr/ports
Код: Выделить всё
# cat /etc/src.conf
WITHOUT_AMD=YES
WITHOUT_ASSERT_DEBUG=YES
WITHOUT_ATM=YES
WITHOUT_PF=YES
WITH_BSD_GREP=YES
WITHOUT_BLUETOOTH=YES
WITHOUT_DICT=YES
WITHOUT_FLOPPY=YES
WITHOUT_FREEBSD_UPDATE=YES
WITHOUT_GAMES=YES
WITHOUT_HYPERV=YES
WITHOUT_IPFILTER=YES
WITHOUT_IPX=YES
WITHOUT_IPX_SUPPORT=YES
WITH_NAND=YES
WITHOUT_NCP=YES
WITHOUT_LPR=YES
WITHOUT_NDIS=YES
WITHOUT_PC_SYSINSTALL=YES
WITHOUT_PPP=YES
WITHOUT_QUOTAS=YES
WITHOUT_ROUTED=YES
WITHOUT_WIRELESS=YES
WITHOUT_WPA_SUPPLICANT_EAPOL=YES