Is "/usr/bin/sscop" still relevant? (related to ATM)
Is "/usr/bin/sscop" still relevant? The sscop tool implements the Q.2110 transport protocol, which is used in ATM-Networks. The NATM framework was removed in April 2017, but sscop depends on netgraph (libngatm.so.4), so it seems to be independent from NATM. The manpage refers to libunimsg(3), which does not exist, but unimsg(3) does. It also depends on libngatm.so.4, which also does not have a man page. So, is it still useful? The most documents i found about ATM are from the early 2000 to mid 2010s. -- Martin ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Files in /usr/share/misc
While browsing the filesystem, i found the folder /usr/share/misc and now i am curious, what kind of files and why they were put there. The list on "13.0-ALPHA2 stable/13-f76393a63" looks like this: -r--r--r-- 1 root wheel 3170 Jan 24 09:18 ascii -r--r--r-- 1 root wheel 5265 Jun 25 2020 bc.library -r--r--r-- 1 root wheel 374 Jan 24 09:18 birthtoken -r--r--r-- 1 root wheel43643 Jan 24 09:18 bsd-family-tree -r--r--r-- 1 root wheel 6633 Jan 24 09:18 committers-doc.dot -r--r--r-- 1 root wheel23555 Jan 24 09:18 committers-ports.dot -r--r--r-- 1 root wheel29343 Jan 24 09:18 committers-src.dot -r--r--r-- 1 root wheel19304 Jan 24 09:18 definitions.units -r--r--r-- 1 root wheel 1390 Jan 24 09:18 flowers drwxr-xr-x 2 root wheel2 Jun 25 2020 fonts -r--r--r-- 1 root wheel 3267 Jan 24 09:18 gprof.callg -r--r--r-- 1 root wheel 1064 Jan 24 09:18 gprof.flat -r--r--r-- 1 root wheel 25 Jan 24 09:18 init.ee -r--r--r-- 1 root wheel15481 Jan 24 09:18 iso3166 -r--r--r-- 1 root wheel12422 Jan 24 09:18 iso639 -r--r--r-- 1 root wheel 2391 Jan 24 09:18 latin1 -r--r--r-- 1 root wheel 1177518 Jan 24 09:18 magic -r--r--r-- 1 root wheel 6653320 Jan 24 09:18 magic.mgc -r--r--r-- 1 root wheel 941 Jan 24 09:18 mail.help -r--r--r-- 1 root wheel 1284 Jan 24 09:18 mail.tildehelp -r--r--r-- 1 root wheel 1133 Jan 24 09:18 mdoc.template -r--r--r-- 1 root wheel 582 Jan 24 09:18 operator -r--r--r-- 1 root wheel 4165 Jan 24 09:18 organization.dot -r--r--r-- 1 root wheel 1246724 Jan 24 09:18 pci_vendors -r--r--r-- 1 root wheel10913 Jan 24 09:18 scsi_modes -r--r--r-- 1 root wheel 212427 Jan 24 09:18 termcap -r--r--r-- 1 root wheel 1343488 Jan 24 09:18 termcap.db -r--r--r-- 1 root wheel37626 Jan 24 09:18 usb_hid_usages -r--r--r-- 1 root wheel 206318 Jan 24 09:18 usbdevs -r--r--r-- 1 root wheel 7081 Jan 24 09:18 windrv_stub.c There are - some more, some less technical "lookup" files, like: ascii, birthtoken, flowers, iso3166, iso639, latin1,... - some FreeBSD project related files, like: bsd-family-tree.dot, committers-*.dot, organization.dot These would better be part of the documentation. BTW, on 12.x they are out of date: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251701 - some configuration an scripting examples, like: init.ee, gprof.callg, gprof.flat,... IMHO better placed in .../examples - development(?) related files, like: pci_vendors, scsi_modes, usb_hid_usages, usbdevs, windrv_stub.c I don't know if these files are used during build-/runtime - some files which are used during (build-?/)runtime: magic, magic.mgc, termcap, termcap.db Shouldn't these be in a more specific place? They are pretty static, so the "var" part in /var/db does not fit, but services.db is located there, too. - is the fonts folder in base, or did some port create it? I'm not sure. What is the history behind /usr/share/misc? -- Martin ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Re: Files in /usr/share/misc
Thank you all for the input. So, this directory is a little bit like the bottom drawer on my desk, where i put things, i don't know where to put else :) the hier man page states: misc/ miscellaneous system-wide ASCII text files About half of the files are ASCII text, according to the file command. The others are UTF-8, ISO-8859 or even binary. There seems a little bit of divergence from the "text" :) -- Martin ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Network in VNET jail does not work on my FreeBSD current bhyve vm
Hello everybody, since a few weeks, my jails on a bhyve-vm, running current are not reachable via network, when configured with VNET. They can't even access the gateway. I don't remember when this problem started, but it's a few weeks. The same jail.conf works on a 13.0 host, on a current system the network does not work. A configuration without VNET on the same jail works. Are there any changes, that i missed? Here is the configuration, maybe someone spots an error, or has an idea what's going on: -- Martin uname on bhyve vm: -- root@fbsd14:~ # uname -a FreeBSD fbsd14.fritz.box 14.0-CURRENT FreeBSD 14.0-CURRENT main-n247020-e0fa04e257c GENERIC-NODEBUG amd64 root@fbsd14:~ # freebsd-version -kru 14.0-CURRENT 14.0-CURRENT 14.0-CURRENT jail.conf on bhyve vm: -- # set default configuration values mount.devfs = true; exec.clean = true; allow.chflags = 1; allow.raw_sockets = 1; devfs_ruleset = 5; exec.system_user = "root"; exec.jail_user= "root"; exec.timeout = 30; stop.timeout = 30; # # Jails # # j1 { # Hostname host.hostname = "j1.fritz.box"; host.domainname = "fritz.box"; host.hostuuid = "68c2ad9b-b582-11eb-a925-589cfc0ac350"; osrelease = "14.0-CURRENT"; osreldate = "1400013"; # Network vnet = 1; vnet.interface = "epair2b"; exec.prestart += "ifconfig epair2 create up"; exec.prestart += "ifconfig epair2a description 'IFID=2 JAIL=j1'"; exec.prestart += "ifconfig bridge0 addm epair2a"; command = "ifconfig epair2b inet 192.168.1.101/22"; command += "route -n add -inet default 192.168.0.1"; exec.prestop = "ifconfig epair2b -vnet j1"; exec.poststop += "ifconfig bridge0 deletem epair2a"; exec.poststop += "ifconfig epair2a destroy"; sysvmsg = new; sysvsem = new; sysvshm = new; path = "/jails/j1"; allow.mount.zfs = 1; ## Script execution exec.timeout = 90; # Pre-/Post-Scripts exec.prestart += "logger trying to start jail j1 ..."; exec.poststart += "logger jail j1 has started"; exec.prestop += "logger shutting down jail j1"; exec.poststop += "logger jail j1 has shut down"; # Start Script exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; } --- /etc/rc.conf on bhyve vm: - syslogd_flags="-ss" sendmail_enable="NONE" hostname="fbsd14.fritz.box" ifconfig_vtnet0="inet 192.168.1.100 netmask 255.255.252.0" defaultrouter="192.168.0.1" local_unbound_enable="YES" sshd_enable="YES" ntpd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" zfs_enable="YES" jail_enable="YES" keymap="de" cloned_interfaces="bridge0" ifconfig_bridge0="addm vtnet0 up" # NFS rpc_lockd_enable="YES" rpc_statd_enable="YES" nfs_client_enable="YES" nfsuserd_enable="YES" - ifconfig on bhyve vm: - root@fbsd14:~ # ifconfig -f inet:cidr vtnet0: flags=8863 metric 0 mtu 1500 options=80028 ether 58:9c:fc:0a:c3:50 inet 192.168.1.100/22 broadcast 192.168.3.255 media: Ethernet autoselect (10Gbase-T ) status: active nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1/8 groups: lo nd6 options=21 bridge0: flags=8843 metric 0 mtu 1500 ether 58:9c:fc:10:ff:bf id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: epair2a flags=143 ifmaxaddr 0 port 4 priority 128 path cost 2000 groups: bridge nd6 options=9 epair2a: flags=8943 metric 0 mtu 1500 description: IFID=2 JAIL=j1 options=8 ether 02:b4:ee:59:b3:0a groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=29 --- /etc/rc.conf in jail: - syslogd_flags="-ss" sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" sshd_enable="YES" --- ifconfig in jail: - root@j1:~ # ifconfig -f inet:cidr lo0: flags=8049 metric 0 mtu 16384 options=680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1/8 groups: lo nd6 options=21 epair2b: flags=8843 metric 0 mtu 1500 options=8 ether 02:b4:ee:59:b3:0b inet 192.168.1.101/22 broadcast 192.168.3.255 groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=29 uname in jail: -- root@j1:
Re: svn commit: r351858 - in head: bin/uuidgen ...
Building a jail from pkgbase packages after base r351858 shows this cap_mkdb message: to create the jail this command is used: pkg --rootdir /jails/test01 -o 'ASSUME_ALWAYS_YES=true' -o 'ABI=FreeBSD:13:amd64' install --repository FreeBSD-base FreeBSD-utilities FreeBSD-rc (note: FreeBSD-base is the repository name, not a package) ... Checking integrity... done (0 conflicting) [1/20] Installing FreeBSD-clibs-13.0.s20190914152450... [1/20] Extracting FreeBSD-clibs-13.0.s20190914152450: .. done [2/20] Installing FreeBSD-runtime-13.0.s20190914152450... [2/20] Extracting FreeBSD-runtime-13.0.s20190914152450: .. done cap_mkdb: file argument: No such file or directory [3/20] Installing FreeBSD-utilities-13.0.s20190914152450... [3/20] Extracting FreeBSD-utilities-13.0.s20190914152450: .. done [4/20] Installing FreeBSD-rc-13.0.s20190914152450... [4/20] Extracting FreeBSD-rc-13.0.s20190914152450: .. done ... This happens, after the login.conf file was moved into the Freebsd-utilities package. The order in which the packages are installed is problematic, since cap_mkdb is executed in step 2, the FreeBSD-runtime package installation, but the login.conf file is installed in step 3, the FreeBSD-utilities. I opened a bugreport: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240582 -- Martin ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"