CEO Workstation Nakatomi Socrates in beastie.4th
Seriously, don't scare me like that. But JIC: I don't need to worry? Right? Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VIMAGE
Pietro Paolini wrote: Hello all, I am a new bye on the FreeBSD and I am looking at the VIMAGE features experiencing some problems. I added the options : VIMAGE if_bridge and I removed STCP then I recompiled my kernel and install it. After that, following this tutorial http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried the Exercise 2 which consist on the following commands: vimage -c n1 vimage -c n2 ngctl mkpeer efface ether ether ngctl mkpeer efface ether ether ngctl mkpeer em0: bridge lower link0 ngctl name em0:lower bridge0 ngctl connect em0: bridge0: upper link1 ngctl connect ngeth0: bridge0: ether link2 ngctl connect ngeth1: bridge0: ether link3 vimage -i n1 ngeth0 e0 But my virtual interface on the n1 vimage does not receive any packet from the external network while I can see the packet go out from it. For instance using DHCP, e0 on n1 sends DHCP packets but it does not receive the answers (which are send, I verified it from wireshark), in adding the ARP request for his IP address (if I try to add it statically) are not received then it can not answer. At the end of the line the question is: how can I make this virtual network and the external real network be able to communicate ? Thanks in advance. Pietro. 1. That link is from 2007. So very much has changed since then. There are more current links on the internet about this subject. Most are for 8.X releases. 2. If your running 8.2-RELEASE or 9.1-RELEASE all you need to add is options vimage statement to your kernel source and recompile. 3. There are 2 networking methods available for creating vnet/vimage jail networks, if_bridge/epair and netgraph. The if_bridge/epair method is far simpler to config and use then the netgraph method. 4. There are 2 methods of jail setup, the rc.d method where your jail definition parameters go into the hosts rc.conf and the jail(8) method where you can place each jails definition parameter in separate files. 5. There are two very important show stopper PRs on vimage, 164763 memory leak and 149050 the rc.d keyword nojail problem. Vimage is a very long way from prime time usage, thats why it's labeled as highly experimental. Host system freezes and page faults are common. 6. When it comes to running a firewall in a vnet/vimage jail your limited to IPFW and it has limitations. Dummynet and in kernel NAT cause system freezes. IPFILTER causes page fault at boot time. PF will run on the host but not run in the vnet/vimage jail. Here are a bunch of PRs on vimage firewall problems, 143621, 176092, 161094, 176992, 143808, 148155, 165252, 178480, 178482 Check out these links http://druidbsd.sourceforge.net/vimage.shtml http://devinteske.com/vimage-jails-on-freebsd-8 http://lists.freebsd.org/pipermail/freebsd-virtualization/2011-September/000747.html http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto http://zewaren.net/site/?q=node/78 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VIMAGE
Pietro Paolini wrote: On May 30, 2013, at 2:29 PM, Joe fb...@a1poweruser.com wrote: Pietro Paolini wrote: Hello all, I am a new bye on the FreeBSD and I am looking at the VIMAGE features experiencing some problems. I added the options : VIMAGE if_bridge and I removed STCP then I recompiled my kernel and install it. After that, following this tutorial http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried the Exercise 2 which consist on the following commands: vimage -c n1 vimage -c n2 ngctl mkpeer efface ether ether ngctl mkpeer efface ether ether ngctl mkpeer em0: bridge lower link0 ngctl name em0:lower bridge0 ngctl connect em0: bridge0: upper link1 ngctl connect ngeth0: bridge0: ether link2 ngctl connect ngeth1: bridge0: ether link3 vimage -i n1 ngeth0 e0 But my virtual interface on the n1 vimage does not receive any packet from the external network while I can see the packet go out from it. For instance using DHCP, e0 on n1 sends DHCP packets but it does not receive the answers (which are send, I verified it from wireshark), in adding the ARP request for his IP address (if I try to add it statically) are not received then it can not answer. At the end of the line the question is: how can I make this virtual network and the external real network be able to communicate ? Thanks in advance. Pietro. 1. That link is from 2007. So very much has changed since then. There are more current links on the internet about this subject. Most are for 8.X releases. 2. If your running 8.2-RELEASE or 9.1-RELEASE all you need to add is options vimage statement to your kernel source and recompile. 3. There are 2 networking methods available for creating vnet/vimage jail networks, if_bridge/epair and netgraph. The if_bridge/epair method is far simpler to config and use then the netgraph method. 4. There are 2 methods of jail setup, the rc.d method where your jail definition parameters go into the hosts rc.conf and the jail(8) method where you can place each jails definition parameter in separate files. 5. There are two very important show stopper PRs on vimage, 164763 memory leak and 149050 the rc.d keyword nojail problem. Vimage is a very long way from prime time usage, thats why it's labeled as highly experimental. Host system freezes and page faults are common. 6. When it comes to running a firewall in a vnet/vimage jail your limited to IPFW and it has limitations. Dummynet and in kernel NAT cause system freezes. IPFILTER causes page fault at boot time. PF will run on the host but not run in the vnet/vimage jail. Here are a bunch of PRs on vimage firewall problems, 143621, 176092, 161094, 176992, 143808, 148155, 165252, 178480, 178482 Check out these links http://druidbsd.sourceforge.net/vimage.shtml http://devinteske.com/vimage-jails-on-freebsd-8 http://lists.freebsd.org/pipermail/freebsd-virtualization/2011-September/000747.html http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto http://zewaren.net/site/?q=node/78 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Thanks so much, really interesting and good links but I can't again accomplish my task - I followed http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto as a base tutorial - I would like simulate more client for my PC using this technology, and that's my topology: 1 - Two epairs created 2 - Two jail created 3 - Assign one intf for jail 4 - Add the real interface to a bridge where I put all the interfaces --- JAIL1 0b --- --- JAIL2 1b --- --- HOST 0a 1a em0 -- REAL --- Where {0,1}a is the first pair and {0,1}b is the second and em0 is my real interface (it has an IP address), then I got to the problem, I tried to : jexec 2 dhclient epair1b And I can see the DHCP packet with the correct MAC address going out, the server reply (I have a sniffer pc) but the transaction does not end successfully, what is really strange is that if I attach tcpdump on em0 I can NOT see the answer server sends while when I try dhclient em0 I can see the packet going in and out and the DHCP transaction finish successfully. Do you have any idea about how can I accomplish my target ? Maybe I am using the wrong technology ? I would not surprised if I make a error on my configuration but what really interest me is if I CAN do that using jail. Thanks a lot, and in advance ! :-) Pietro. Pietro; You really have to provide a lot more info about your host system and jail configuration. What version of FreeBSD are you running? Which method do you use to create your jails, rc.d/rc.conf or jail(8). How are your creating the if_bridge/epair network, IE entering commands by hand or using a script? Post the script. Can you post the output of ifconfig command after you have your jail
looking for command to display default route ip address
Hello list How do I find the ip address of the default route? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: netgraph network setup for jail(8) vnet jails.
Teske, Devin wrote: snip... I rendered your output by saving it in a file (joe.dot) and then running: dot -Tsvg -o joe.svg joe.dot I then uploaded joe.svg to my website: http://druidbsd.sf.net/download/joe.svg Compare your output to any of the following: http://druidbsd.sf.net/download/warden0.jbsd.svg http://druidbsd.sourceforge.net/download/folsom.svg It looks like everything is connected properly. A couple thoughts off the top of my head: a. Did you enable promiscuous mode on rl0 via ngctl? (in your script perhaps?) b. Have you tried giving ngeth0 a new MAC address? (I do this through ngctl too, but I imagine ifconfig from within the jail could achieve the same thing) -- Devin Yes I enabled promiscuous mode and setautosrc 0 on rl0 via ngctl. I can find no documentation on why this is done. Can you point me to some? Yes I gave the jail a unique MAC address. I tried to generate my own network map, but having problem. ngctl dot file.dot works. dot -Tsvg -o file.svg file.dot gives me command dot not found. Tried ngctl dot -Tsvg -o file.svg file.dot and -T is illegal option. What am I doing wrong? Thanks for your help Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
netgraph network for jail(8) vnet jail unable to reach internet
Hello list. Trying to get my script to work that creates a netgraph network for a jail(8) vnet jail. Every thing seems to work, but from inside of the started vnet jail I can not ping the public internet. The host can ping the public internet so the problem has to be in the netgraph script. The problem must be staring me in the face but I can just not see it. A fresh pair of eyes may see things I am missing. I'm running 9.1-RELEASE with vimage compiled into the kernel. Non-vnet jails work fine and bridge/epair networked vnet jails work fine. The host has a single ethernet interface (rl0) facing the public internet. Dhcp is used to get the hosts ip address and dns server info. The vnet.ng script is designed to create a single ng bridge to rl0 and connect vnet jails to it as the jails are started. The following is a walk through of a test cycle showing what I can see from the host. At the end is a listing of the vnet.ng script. Thanks for your help # From the host lets see if there is a netgraph network before we start? # Nope, no netgraph network running # /root ngctl ls -l There are 2 total nodes: Name: rl0 Type: ether ID: 0001 Num hooks: 0 Name: ngctl2850 Type: socketID: 0037 Num hooks: 0 # Here is the jail(8) jail.conf definition statements # /root cat /usr/local/etc/vnet/vdir9 vdir9 { host.hostname = vdir9; path= /usr/jails/vdir9; mount.fstab = /usr/local/etc/fstab/vdir9; exec.start = /bin/sh /etc/rc; exec.stop = /bin/sh /etc/rc.shutdown; exec.consolelog = /var/log/vdir9.console.log; devfs_ruleset = 4; allow.mount.devfs; vnet; } # Lets start the vnet jail # /root jail -f /usr/local/etc/qjail.vnet/vdir9 -c vdir9: created # Yes it’s really running. # /root jls JID IP Address Hostname Path 4 - vdir9 /usr/jails/vdir9 # Lets start the netgraph network for the running vnet jail # /root vnet.ng start vdir9 rl0 Netgraph vnet jail network established successfully! # Lets check the host for the vnet jail netgraph network # Yep it’s there and looks complete to me. # /root ngctl ls -l There are 4 total nodes: Name: rl0 Type: ether ID: 0001 Num hooks: 2 Local hook Peer name Peer typePeer ID Peer hook -- - ---- - upper bridge0 bridge 003dlink1 lower bridge0 bridge 003dlink0 Name: bridge0 Type: bridge ID: 003d Num hooks: 3 Local hook Peer name Peer typePeer ID Peer hook -- - ---- - link2 vdir9 eiface 0041ether link1 rl0 ether0001upper link0 rl0 ether0001lower Name: vdir9 Type: eiface ID: 0041 Num hooks: 1 Local hook Peer name Peer typePeer ID Peer hook -- - ---- - ether bridge0 bridge 003dlink2 Name: ngctl3126 Type: socket ID: 0046 Num hooks: 0 # Lets log into the running jail # /root jexec vdir9 tcsh # Lets ping freebsd.org ip address. No public internet connection # even though host can do same ping and get good reply. vdir9 / ping -c4 8.8.178.135 PING 8.8.178.135 (8.8.178.135): 56 data bytes --- 8.8.178.135 ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss vdir9 / exit exit # Now stop the vnet jails netgraph network # /root vnet.ng stop vdir9 rl0 Netgraph vnet jail network shutdown successfully! # and yes the netgraph network is shutdown # /root ngctl ls -l There are 2 total nodes: Name: rl0 Type: etherID: 0001 Num hooks: 0 Name: ngctl3167 Type: socket ID: 004b Num hooks: 0 # Here is the vnet.ng script # It starts and stops the vnet jail’s netgraph network #!/bin/sh function=$1 jailname=$2 nicname=$3 jid=`jls -j ${jailname} jid` # Load netgraph kernel modules if not done already. for module in ng_socket netgraph ng_bridge ng_eiface ng_ether; do if ! kldstat -v | grep -qw ${module}; then kldload ${module} || exit 1 fi done # mac manufacturer prefix. Modify if need be. #mac_prefix=00:1d:92 mac_prefix=07:22:49 start() { sysctl net.inet.ip.forwarding=1 /dev/null 2 /dev/null jid=`jls -j ${jailname} jid` if [ ${jid} -gt 100 ]; then echo echo WARNING: The JID value is greater then 100. echo This may indicate many cycles of starting/stopping vnet jails echo which results in lost memory pages. To recover the lost memory, echo shutdown the host and reboot. This will zero out the JID echo counter and make all the memory available again. echo fi # The jid is
Re: graphics/shotwell port don't compile right
On Mon, May 20, 2013 at 04:46:42PM +0200, Xavier wrote: Hi to all, First, I have ports tree all update: snip If I try to compile graphics/shotwell don't right: There are bug reports open on shotwell's issues: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/177913 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/178014 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/177568 You may wish to attach your report to one of them. Best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ngctl list ?
Teske Here is my results Without netgraph compiled into the kernel, issuing ngctl list command on the host only shows the socket for ngctl. After I issue the kldload command on the host for netgraph ng_bridge ng_eiface ng_ether ng_socket, then issuing ngctl list command now shows the real NIC interface device names. Thanks for you insight. I have another problem. To standardize my bridge and eiface names I want to use the JID number as a suffix. jid=`jls -j ${jailname} jid` bridge_name=bridge${jid} When creating the bridge it gets assigned bridge_name just like I want. I want to assign the ${jid} to the ieface peer name and can not figure out the syntax. This is the command I am using now ngctl mkpeer eiface ether ether This creates a default name of ngeth0 I would be ok with ngeth${jid} But would really like to assign my own peer name vetjail${jid} Does the mkpeer syntax allow doing this? Thanks Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
does ifconfig see netgraph bridges?
I create a ng bridge but issuing ifconfig does not show the bridge. Running 9.1-RELEASE. Is this a bug? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ngctl list ?
When I issue ngctl list command on the host it only shows the socket for ngctl. I thought it would also show the real NIC interface device names. Am I wrong in thinking that? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
netgraph network setup for jail(8) vnet jails.
Hello list I cant get to the internet using this netgraph setup script. I sure would appreciate giving this console log a look over for errors. My netgraph knowledge level is not sufficient to see what is wrong. The goal is to run this script to setup and break down a netgraph network for a single vnet jail at a time. rl0 is the real nic interface device name of the nic facing the internet. This box is on my lan and the gateway box does NAT for all lan boxes. The host running this script can ping the internet ok. Thank you very much for your help. The host's kernel has modules with vimage ipfw compiled in. From the host # /root ifconfig rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu options=2008VLAN_MTU,WOL_MAGIC ether 00:0c:6e:09:8b:74 inet 10.0.10.5 netmask 0xfff8 broadcast 10.0.10.7 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST metric 0 mtu 1500 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL ipfw0: flags=8801UP,SIMPLEX,MULTICAST metric 0 mtu 65536 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 inet 127.0.0.1 netmask 0xff00 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL The jails config file # /root cat /usr/local/etc/vnet/vdir4 vdir4 { host.hostname = vdir4; path= /usr/jails/vdir4; mount.fstab = /usr/local/etc/fstab/vdir4; vnet; persist; } The netgraph script # /root cat /usr/local/bin/vnet.ng.test #!/bin/sh # snip comments for displaying here # This script is based on this /usr/share/examples/netgraph/virtual.lan # Give the name of ethernet interface. ETHER_INTF=rl0 # List the names of virtual nodes and their IP addresses. Use ':' # character to separate node name from node IP address and netmask. #TARGET_TOPOLOGY=c1|10.0.2.20/24 c2|10.0.2.21/24 c3|10.0.2.22/24 TARGET_TOPOLOGY=vdir4|10.0.2.20/24 # MAC manufacturer prefix. This can be modified according to needs. MAC_PREFIX=00:1d:92 # Temporary file is important for proper execution of script. TEMP_FILE=/var/tmp/virtual.lan.tmp virtual_lan_start() { # Load netgraph KLD's as necessary. for KLD in ng_ether ng_bridge ng_eiface; do if ! kldstat -v | grep -qw ${KLD}; then echo -n Loading ${KLD}.ko... kldload ${KLD} || exit 1 echo done fi done # Reset all interfaces and jails. If temporary file can not be found # script assumes that there is no previous configuration. if [ ! -e ${TEMP_FILE} ]; then echo No previous configuration(${TEMP_FILE}) found to clean-up. else echo -n Cleaning previous configuration... virtual_lan_stop echo done fi # Create temporary file for usage. This file includes generated # interface names and jail names. All bridges, interfaces and jails # are written to file while created. In clean-up process written # objects are cleaned (i.e. removed) from system. if [ -e ${TEMP_FILE} ]; then touch ${TEMP_FILE} fi echo -n Verifying ethernet interface existence... # Verify ethernet interface exist. if ! ngctl info ${ETHER_INTF}: /dev/null 21; then echo Error: interface ${ETHER_INTF} does not exist exit 1 fi ifconfig ${ETHER_INTF} up || exit 1 echo done # Get current number of bridge interfaces in the system. This number # is used to create a name for new bridge. BRIDGE_COUNT=`ngctl l | grep bridge | wc -l | sed -e s/ //g` BRIDGE_NAME=bridge${BRIDGE_COUNT} # Create new ng_bridge(4) node and attach it to the ethernet interface. # Connect ng_ether:lower hook to bridge:link0 when creating bridge and # connect ng_ether:upper hook to bridge:link1 after bridge name is set. echo Creating bridge interface: ${BRIDGE_NAME}... ngctl mkpeer ${ETHER_INTF}: bridge lower link0 || exit 1 ngctl name ${ETHER_INTF}:lower ${BRIDGE_NAME} || exit 1 ngctl connect ${ETHER_INTF}: ${BRIDGE_NAME}: upper link1 || exit 1 echo Bridge ${BRIDGE_NAME} is created and ${ETHER_INTF} is connected. # In the above code block two hooks are connected to bridge interface, # therefore LINKNUM is set to 2 indicating total number of connected # hooks on the bridge interface. LINKNUM=2 # Write name of the bridge to temp file. Clean-up procedure will use # this name to shutdown bridge interface. echo bridge ${BRIDGE_NAME} ${TEMP_FILE} # Attach vnet jail. for NODE in ${TARGET_TOPOLOGY}; do # Virtual nodes are defined in TARGET_TOPOLOGY variable. They # have the form of 'nodeName|IPaddr'. Below two lines split # node definition to get node name and node IP. NODE_NAME=`echo ${NODE} | awk -F| '{print $1}'` NODE_IP=`echo ${NODE} | awk -F| '{print $2}'` # Create virtual node (jail) with given
Re: netgraph network setup for jail(8) vnet jails.
Teske, Devin wrote: Sorry for top-post, but just wanted to add a quick note: The output of ngctl dot would be very helpful to others in debugging your setup. graph netgraph { edge [ weight = 1.0 ]; node [ shape = record, fontsize = 12 ] { 1 [ label = {rl0:|{ether|[1]:}} ]; 5 [ label = {bridge0:|{bridge|[5]:}} ]; 9 [ label = {ngeth0:|{eiface|[9]:}} ]; e [ label = {ngctl2355:|{socket|[e]:}} ]; }; subgraph cluster_disconnected { bgcolor = pink; e; }; node [ shape = octagon, fontsize = 10 ] { 1.upper [ label = upper ]; 1.lower [ label = lower ]; }; { edge [ weight = 2.0, style = bold ]; 1 -- 1.upper; 1 -- 1.lower; }; node [ shape = octagon, fontsize = 10 ] { 5.link2 [ label = link2 ]; 5.link1 [ label = link1 ]; 5.link0 [ label = link0 ]; }; { edge [ weight = 2.0, style = bold ]; 5 -- 5.link2; 5 -- 5.link1; 5 -- 5.link0; }; 5.link1 -- 1.upper; 5.link0 -- 1.lower; node [ shape = octagon, fontsize = 10 ] { 9.ether [ label = ether ]; }; { edge [ weight = 2.0, style = bold ]; 9 -- 9.ether; }; 9.ether -- 5.link2; }; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
check variable content size in sh script
Hello Have script that has max size on content in a variable. How to code size less than 51 characters? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/jail.conf for automatically started jails listed in /etc/rc.conf
David Demelier wrote: 2013/5/14 Joe fb...@a1poweruser.com: David Demelier wrote: Le lundi 13 mai 2013 16:32:01 Joe a écrit : David Demelier wrote: Hello dear, Does jail.conf(5) does not work for jails listed in the rc.conf ? I've added in /etc/jail.conf: foo { hostname=Foo; path=/jails/foo; allow.sysvipc=1; } And in /etc/rc.conf only foo in the jail_list parameter, but when I try to start the jail it still complain about missing hostname. Regards, There are 2 methods for configuring jails. The legacy method which you put the jail config statements in the hosts /etc/rc.conf file and start and stop control is done by the hosts /etc/rc.d/jail script at boot time. The jail(8) method which has it's own jail config statements in the hosts /etc/jail.conf file and uses the jail(8) program for starting and stopping. You can create a jail.conf file for each jail(8) and start it using jail -c -f /etc/jailname.jail.conf and stop by issuing jail -f /etc/jailname.jail.conf -r jailname You can not mix the 2 methods. My real problem is that I wanted to add allow.sysvipc only for *one* jail and I can't find a real solution by jail_* flags in /etc/rc.conf There is jail_allow_sysvipc but it enable it for all jails. The jail(8) method does have a allow_sysvipc on a per jail basis. To use it you have to use the jail(8) method. The 9.1-RELEASE legacy method is a work in process to incorporate the jail(8) parameters into the rc.conf config statements. About the allow_sysvipc parameter, this breaks the security the jail is designed to provide and should NOT be used on any jails having public internet access. What are you trying to do that you think you need to use the allow_sysvipc parameter? PostgreSQL, usually I install it on the host instead of jails, but I needed a second instance on a different port for a public access.. Regards, -- Demelier David That all sounds logical and is what jails are designed to do. Why would running PostgreSQL in a jail need sysvipc? Have you tried it? Did you get some PostgreSQL error? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
what commands show memory usage
When stopping vnet jails get message about lost memory pages. What console commands show available memory pages so I can determine the lost memory pages after 100 stopped jails? Want to find out if that lost memory page message is bogus or not. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SCTP: transport protocol and vimage jails
All the info on vimage jails say to nooption SCTP when compiling vimage into your kernel. Reason given is that sctp is not vimage aware. If that is ture, then why can't I find a PR on SCTP or vimage about this problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/jail.conf for automatically started jails listed in /etc/rc.conf
David Demelier wrote: Hello dear, Does jail.conf(5) does not work for jails listed in the rc.conf ? I've added in /etc/jail.conf: foo { hostname=Foo; path=/jails/foo; allow.sysvipc=1; } And in /etc/rc.conf only foo in the jail_list parameter, but when I try to start the jail it still complain about missing hostname. Regards, There are 2 methods for configuring jails. The legacy method which you put the jail config statements in the hosts /etc/rc.conf file and start and stop control is done by the hosts /etc/rc.d/jail script at boot time. The jail(8) method which has it's own jail config statements in the hosts /etc/jail.conf file and uses the jail(8) program for starting and stopping. You can create a jail.conf file for each jail(8) and start it using jail -c -f /etc/jailname.jail.conf and stop by issuing jail -f /etc/jailname.jail.conf -r jailname You can not mix the 2 methods. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/jail.conf for automatically started jails listed in /etc/rc.conf
David Demelier wrote: Le lundi 13 mai 2013 16:32:01 Joe a écrit : David Demelier wrote: Hello dear, Does jail.conf(5) does not work for jails listed in the rc.conf ? I've added in /etc/jail.conf: foo { hostname=Foo; path=/jails/foo; allow.sysvipc=1; } And in /etc/rc.conf only foo in the jail_list parameter, but when I try to start the jail it still complain about missing hostname. Regards, There are 2 methods for configuring jails. The legacy method which you put the jail config statements in the hosts /etc/rc.conf file and start and stop control is done by the hosts /etc/rc.d/jail script at boot time. The jail(8) method which has it's own jail config statements in the hosts /etc/jail.conf file and uses the jail(8) program for starting and stopping. You can create a jail.conf file for each jail(8) and start it using jail -c -f /etc/jailname.jail.conf and stop by issuing jail -f /etc/jailname.jail.conf -r jailname You can not mix the 2 methods. My real problem is that I wanted to add allow.sysvipc only for *one* jail and I can't find a real solution by jail_* flags in /etc/rc.conf There is jail_allow_sysvipc but it enable it for all jails. The jail(8) method does have a allow_sysvipc on a per jail basis. To use it you have to use the jail(8) method. The 9.1-RELEASE legacy method is a work in process to incorporate the jail(8) parameters into the rc.conf config statements. About the allow_sysvipc parameter, this breaks the security the jail is designed to provide and should NOT be used on any jails having public internet access. What are you trying to do that you think you need to use the allow_sysvipc parameter? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: enter single user mode from boot menu
Teske, Devin wrote: On Apr 28, 2013, at 3:44 PM, Joe wrote: running 9.1 and can not figure how to get into single user mode or safe mode from the BOOT menu. After hitting the 5 or 6 keys to select those options, what do you do next to continue? Based on your description it sounds like you have the following boot menu (regardless of color): http://twitpic.com/b1pkz1 Pressing 5 or 6 changes the status from off to On Hitting enter key just boots the system without regard to options selected. Pressing ENTER is supposed to boot with the displayed options. Yes this is what I was experiencing. Can not find usage of boot menu in the handbook. The 4th files are heavily documented in man-pages as well as by loader and boot manuals. -- Devin P.S. There have been enhancements already that will come down with 9.2 that add a top-level Boot single user mode option simply by pressing s -- thus making it like the boot menus of 6.x, 7.x, and 8.x (s to boot single user). Devin Background info. I had put load commands for ipfw modules into /boot/loader.conf to test if this would work with a kernel that has vimage compiled in. The boot process would start normally and progress to the point where the usb messages get displayed and them the system would freeze up becoming unresponsive. Figured I would just reboot and go in single user mode and remove the statements from loader.conf. But no matter what I tried the boot menu would no go into single user mode. The solution was to take a testing disk that had 9.1-rc3 on it and cable it as master and the original disk as slave. In this configuration the system booted correctly and I mounted the slave and corrected loader.conf. Recabled the original disk as master and was back in business. I think that because the ipfw modules were loaded before the boot process got to the boot menu is what caused the boot menu to not function correctly. Don't see a PR in this case. Thanks to all who replied. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: loading ipfw at boot time
Andreas Mueller wrote: Hello there. I know ipfw can be loaded at boot time by adding statements to /boot/loader.conf. Problem is I dont know what the ipfw module names are. How do I find the ipfw names to use? Not using ipfw by myself, but according to the handbook, the modules are loaded automatically, when editing rc.conf to load the firewall: Quote: IPFW is included in the basic FreeBSD install as a run time loadable module. The system will dynamically load the kernel module when rc.conf contains the statement firewall_enable=YES. After rebooting the system, the following white highlighted message is displayed on the screen as part of the boot process: ipfw2 initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled Source: http://www.freebsd.org/doc/handbook/firewalls-ipfw.html Greets, Andreas That did not answer my question. What you wrote ONLY applies to the HOST. It has NO effect for a vimage jail. If I use ipfw on the host, then yes the ipfw modules are dynamically loaded into the kernel at boot time and the vimage jail can use them. But I use ipfilter on my host which means I have to recompile the kernel with ipfw hard coded in. Should be able to load the ipfw modules at boot time using loader.conf and still use ipfilter on the host dynamically. So back to the original question. How do I find the ipfw module names to use in the loader.conf file? This is a loader.conf question not a ipfw question. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: loading ipfw at boot time
Polytropon wrote: On Sat, 27 Apr 2013 21:23:58 -0400, Joe wrote: I know ipfw can be loaded at boot time by adding statements to /boot/loader.conf. Problem is I dont know what the ipfw module names are. How do I find the ipfw names to use? There are two ways. The first is to do a ls command in /boot/kernel to see the modules related to ipfw: /boot/kernel/ipfw.ko /boot/kernel/ipfw_nat.ko According to the rule (see man loader.conf for details) of how modules are enabled, the corresponding statements for /boot/loader.conf would be: ipfw_load=YES ipfw_nat_load=YES Note that the ipfw_nat module is only needed if you're going to use NAT functionality. The second way is to check /boot/defaults/loader.conf for related statements. It contains this line: ipfw_load=NO # Firewall Is this what you've been searching for, or did I misunderstand your question? Polytropon your the man. You all ways come through with the correct answers with full details. Thank You ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
enter single user mode from boot menu
running 9.1 and can not figure how to get into single user mode or safe mode from the BOOT menu. After hitting the 5 or 6 keys to select those options, what do you do next to continue? Hitting enter key just boots the system without regard to options selected. Can not find usage of boot menu in the handbook. Help please ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is pkg_glob no longer working for me?
On Fri, Apr 26, 2013 at 02:54:59PM -0600, Tom Russo wrote: Anyone else have this issue? Or am I the only one left still using portupgrade and its associated tools? I use portupgrade and have noticed no failures. I have never used pkg_glob so I cannot address that. I have used portupgrade as you, for many ports, and have always seen failures printed to my terminal at the end of the mass upgrade with an alert to that effect; just like for a single port. It seems that you are not seeing that report? Best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
loading ipfw at boot time
I know ipfw can be loaded at boot time by adding statements to /boot/loader.conf. Problem is I dont know what the ipfw module names are. How do I find the ipfw names to use? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Stop ifconfig high intensity message from master console
When I do a ifconfig bridge create or ifconfig epair create commands I get some high intensity messages on the hosts F1 session master console. I would like to suppress these messages. Is there any way to do that? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
jail(8) vimage epair bridge
Hello questions list I am using jail(8) trying to get a functional vimage environment on my 9.1-RELEASE system. My PC only has a single real NIC facing the public internet. My goal is to be able to have multiple vimage jails, each with their own epairXa epairXb and bridgeX where the X is the jails JID number all having their traffic passing through the single rl0 real interface. The vnet.start script shown below handles this nicely. The problem is after the first vimage jail is started the rl0 interface gets marked as busy when the second vimage jail is started. How do I get all vnet jails to pass through the real rl0 interface? Thanks for you help # /root cat /etc/jail.conf vimage33 { host.hostname = vimage33; path= /usr/jails/vimage33; mount.fstab = /usr/local/etc/fstab/vimage33; exec.start = /bin/sh /etc/rc; exec.stop = /bin/sh /etc/rc.shutdown; exec.consolelog = /var/log/vimage33.console.log; devfs_ruleset = 4; allow.mount.devfs; vnet; exec.poststart=vnet.start vimage33 rl0; exec.prestop=vnet.stop vimage33; } # /root cat /usr/local/bin/vnet.start #!/bin/sh jailname=$1 nicname=$2 jid=`jls -j ${jailname} jid` if [ ${jid} -gt 100 ]; then echo echo The JID value is greater then 100. echo You must shutdown the host and reboot echo to zero out the JID counter and recover echo the lost memory from stopping vimage jails. echo exit 2 fi ifconfig bridge${jid} create /dev/null 2 /dev/null ifconfig bridge${jid} 10.${jid}.0.1 ifconfig bridge${jid} up ifconfig epair${jid} create /dev/null 2 /dev/null ifconfig bridge${jid} addm ${nicname} addm epair${jid}a ifconfig epair${jid}a up ifconfig epair${jid}b vnet ${jid} jexec ${jailname} ifconfig epair${jid}b 10.${jid}.0.2 jexec ${jailname} route add default 10.${jid}.0.1 /dev/null 2 /dev/null jexec ${jailname} ifconfig lo0 127.0.0.1 # Display the hosts network view before starting any vnet jails # /root ifconfig rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu options=2008VLAN_MTU,WOL_MAGIC ether 00:0c:6e:09:8b:74 inet 10.0.10.5 netmask 0xfff8 broadcast 10.0.10.7 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST metric 0 mtu 1500 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet 127.0.0.1 netmask 0xff00 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL # Start the first vnet jail # /root jail -f /etc/jail.conf -c vimage33 vimage33: created bridge1: Ethernet address: 02:8f:94:84:0c:02 epair1a: Ethernet address: 02:c0:a4:00:0b:0a epair1b: Ethernet address: 02:c0:a4:00:0c:0b # /root jls JID IP Address Hostname Path 1 - vimage33 /usr/jails/vimage33 # Lets display the hosts network after the first vnet jail has started # /root ifconfig rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 options=2008VLAN_MTU,WOL_MAGIC ether 00:0c:6e:09:8b:74 inet 10.0.10.5 netmask 0xfff8 broadcast 10.0.10.7 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST metric 0 mtu 1500 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet 127.0.0.1 netmask 0xff00 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL bridge1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu ether 02:8f:94:84:0c:01 inet 10.1.0.1 netmask 0xff00 broadcast 10.255.255.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL 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: epair1a flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 9 priority 128 path cost 14183 member: rl0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 5 priority 128 path cost 20 epair1a: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST options=8VLAN_MTU ether 02:c0:a4:00:09:0a inet6 fe80::c0:a4ff:fe00:90a%epair1a prefixlen 64 scopeid 0x9 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media: Ethernet 10Gbase-T (10Gbase-T full-duplex)
How to manually start firewall after system completed boot.
I have special purpose situation where I need to wait until the boot process has completed the starting of the system and then start the firewall (ipfw or pf). Commenting out the firewall statements from the hosts /etc/rc.conf does stop the firewall from starting at boot time. Is there some format of the service command that could be used to manually start the selected firewall? Any ideas on how to accomplish this is welcome. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
using pax command for archive restore
I archive using the pax command like this pax -wzXt -x cpio -f ${archive_path_file} ${ip_path_file} ${ip_path_dir} and restore pax -rz -pe -f ${archive_path_file} and it restores the contents back to the same location it came from which is what I want. Now I would like to restore that archive file to a different directory. Tried different combinations of flags on the pax command and can't figure out the correct combination. pax -rz -pe -f ${archive_path_file} ${temp_dir} just gives me a syntax error. This has to be simple, but I can't see the trees because the forest is in the way. What am I missing here? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: use of the kernel and licensing
snip How do you explain all the forks of UNIX each claiming their own copyright. They all provide the same concept, use the same names for their commands, use the same programming language, have a filesystem as their base. Just where is the line drawn between a fork and a rewrite? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: use of the kernel and licensing
kpn...@pobox.com wrote: On Sat, Mar 30, 2013 at 09:22:22AM -0400, Maikoda Sutter wrote: If I use the kernel as a basis for my own system and modify the kernel should I still maintain the licensing of the kernel bits, or could release it under it's own license? For example: I would like to rewrite the headers to be 100% POSIX compliant and I do like the BSD license, however I was planning on releasing my whole system under the Unlicense, I understand that certain headers and code that I do not modify has to be released under the BSD license as that is the original license of the code, however for headers or code that I modify can I release it under the Unlicense (http://unlicense.org/)? I do plan on giving credit where it is due and such to the wonderful developers of FreeBSD and those that wrote the original code because without you I would not be able to produce so rapidly that which I am looking to produce I just would like clarification on the extent that I would have to license things via the BSD license. You cannot yourself change the license on code you do not hold the copyright on. Period. If you make changes and redistribute them then add your copyright notice with license to the files. Do not remove the existing copyright notice(s) and license(s). You hold the copyright for stuff you wrote, but the original copyright stays for the parts that did not come from you. Parts means any fraction of a file from the whole file down to small amounts. You are allowed to add restrictions (unless the existing license says you can't), but you are not allowed to loosen the existing restrictions (unless the existing license says you can). Also, it follows from the copyright that your license only applies to the parts copyrighted by you. The existing licenses are similar in that they apply only to their parts of the file. All licenses must be followed when the file is treated (copied, used, etc) as a whole. Make sure your license isn't incompatible with the license that applies to other parts of the same file. If that happens then how it will turn out in court is anyone's guess. The file may not be usable by the public, or the incompatible license terms added by you may be struck down, or a judge could cook up something else. It can't be predicted in advance so just don't even go there. Giving credit where it is due is an important social convention, and I'm glad to see that you aren't planning on doing anything unethical like breaking it. But copyright comes from the law and thus must be obeyed even if you wanted to break purely social conventions. Read up on copyright, and when you do pay close attention to the reliability of the source. The issue has become very political in the past 15 years or so. Don't be badly advised by someone who has their own agenda. Most people, to varying degrees, have their own agenda. Finally, if money is at stake (directly or indirectly) I strongly advise talking to a copyright lawyer in particular. That's just general advice. Taking advice from random people online is not a good idea if any money is involved, but I'd give the same advice to my best friend. The general rule applies here as it does elsewhere: You get what you pay for. Does one have to file legal paper work with the government to be issued a copyright on software? Does any software not having a copyright statement or any license comments included in the source mean that it's public domain? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
shotwell fails to build
Greetings... I checked at http://www.freebsd.org/cgi/query-pr-summary.cgi and found no open bug-reports; and nothing on -questions for March. Maybe it's confined to my system, or I missed an UPDATING notice; if not, I'll go to the maintainer and/or file a bug report. Before I do that are there any clues here WRT this failure? Shotwell fails to build with the following error: === Configuring for shotwell-0.11.6_3 Configured. Type 'make' to build, 'make install' to install. === Building for shotwell-0.11.6_3 valac -c -g --enable-checking --thread --fatal-warnings --vapidir=plugins/ -X -DGETTEXT_PACKAGE='shotwell' -X -I. --pkg=gobject-2.0 --pkg=glib-2.0 --pkg=gdk-2.0 --pkg=gtk+-2.0 --includedir=plugins --vapi=plugins/shotwell-plugin-dev-1.0.vapi --header=plugins/shotwell-plugin-dev-1.0.h src/plugins/SpitInterfaces.vala src/plugins/TransitionsInterfaces.vala src/plugins/PublishingInterfaces.vala gtk+-2.0.vapi:5802.40-5802.42: warning: Gtk is deprecated. Use gtk+-3.0 Compilation failed: 0 error(s), 1 warning(s) gmake: *** [plugins/shotwell-plugin-dev-1.0.vapi] Error 1 *** [do-build] Error code 1 Stop in /usr/ports/graphics/shotwell. uname -a FreeBSD whisperer.chthonixia.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r248932: Sat Mar 30 18:08:33 EDT 2013 r...@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER amd64 Thanks, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/etc/sudoers
I have been moving this file forward since about release 5.0. Today is tried the do a man sudoers and got no page found. The su man page does not reference it. Has the file been removed? Does it maybe belong to some port? Any ideas? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: snd_hda and front headphones jack
On Tue, Mar 12, 2013 at 08:55:49AM -0500, Mark Felder wrote: Hi guys, I seem to be having problems getting my front headphones jack to work. snip If I am looking at this right I believe I need to set nid25 to as=1 which matches the nid31 Speaker and probably also set seq=15. However, this doesn't seem to be working. Am I overlooking something obvious? In XMMS, which is what I use, I have to choose the Front Analog (pcm 2) via Options = Preferences = Configure = Output Plugin for the front headphone jack. Normally, I have it set to Rear Digital (pcm 3) for speakers. HTH, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: who am i logged in as
On Sun, Jan 27, 2013 at 11:01:46AM -0500, Fbsd8 wrote: I know there is a command that will give me the name of the account I am logged in on. But I can not recall the name of this command. What is the name of this command? whoami ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading 8.2 to 9.1, Gnome issue
On Mon, Jan 21, 2013 at 01:02:17PM +0530, Hrisikesh sahu wrote: # portupgrade -fr gnome-session But I am facing a problem shared object libz.so.5 not found freebsd I see libz.so.6 in my /usr/lib on: 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245243: Wed Jan 9 18:25:14 EST 2013 r...@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER amd64 Remind me: did you buildworld and installworld prior to upgrading ports? I did all these steps to upgrade the ports Code: #pkgdb -fF # rm /var/db/pkg/pkgdb.db # portupgrade -arRn While I wonder why you deleted your pkgdb.db, more to the point: did you rebuild it? but i am facing a issue with - Code: /usr/local/sbin/portupgrade:1473:in `get_pkgname': Makefile broken (MakefileBrokenError) My guess is that you did not rebuild the pkgdb.db... Please help me how to come out from this Makefile broken and shared object libz.so.5 not found freebsd. and I'd do that before trying to solve fixing the libz.so.5 issue. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202
On Fri, Jan 18, 2013 at 10:19:25PM -0800, Waitman Gobble wrote: On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble gobble...@gmail.comwrote: Hi, I have a PCI Express card with VIA VL800 chipset which seems to work OK with a Seagate drive, so I presume the interface is working. I think my question is relevant: Does the working drive mean that you have the proper USB bits in your kernel? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html 19.5.1 Configuration If you use a custom kernel, be sure that the following lines are present in your kernel configuration file: device scbus == device da== device pass += device uhci device ohci device ehci device usb device umass == I don't see them mentioned below. If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0 card, the display shows messages about the SanDisk device, appears to properly identify it, and with like 'querying ...' slots on the card reader, which all fail - (there are no cards in the reader). Then the machine sails into outerspace, kind of just sits there until (perhaps) the end of time, or until I kill the power. It never gets the network interface up, so no ssh. kernel built with: deviceahci# AHCI-compatible SATA controllers deviceuhci# UHCI PCI-USB interface deviceohci# OHCI PCI-USB interface deviceehci# EHCI PCI-USB interface (USB 2.0) devicexhci# XHCI PCI-USB interface (USB 3.0) General question: The man page is ambiguous to me; does it mean that one only needs xhci for all three versions, or must one specify all? DESCRIPTION The xhci driver provides support for the USB eXtensible Host Controller Interface, which allows use of USB 1.0, 2.0 and 3.0 devices on the same USB port. Such that xhci can handle *all* such USB devices? Also, ahci has a number of sysctl knobs for interrupts. Maybe that is a path to resolving the issue? Regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: tar compression
On Thu, Jan 17, 2013 at 09:29:55PM -0500, Fbsd8 wrote: The man page for tar command says there a 4 different compress types you can use, xz, bzip, bzip2 and gzip. xz uses Lempel-Ziv-Markov chain algorithm. bzip2 uses Burrows-Wheeler transform. Which one is the fastest and compresses the most? Sounds like a case of fast or cheap: choose one. Or is it fast or expensive? Or maybe it's all just bragging. OTOH, apropos compression may be instructive: 7z (and related) I am using -z option for gzip and it sure is slow. Hoping one of the other zip options are better. What do you guys use? Used to use bzip2 and tar. Nowadays I just place files on a big disk that only runs when I backup my bits. Another question about tar is can I have tar create a compressed bkup of 2 files and a directory tree all in single tar command? For directories, I've used this: tar -cf - -C srcdir . | tar xpf - -C destdir The tar man page has this: tar -czf file.tar.gz source.c source.h Since anything is a file, it seems to me it would work on a directory with this: tar -czf file.tar.gz source.c source.h /path/to/directory I also note that (since you've mentioned mtree) the man page on tar provides an example on mtree. Could this be applied to your needs? Best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: tar compression
On Fri, Jan 18, 2013 at 03:59:39AM +0100, Ralf Mardorf wrote: It doesn't archive permissions. Which is why, if it is used, one *must* (or *should*) use tar. Best, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Regarding: Script configure failed unexpectedly.
On Sun, Jan 13, 2013 at 10:34:30AM -0800, Waitman Gobble wrote: Hi, Yeah i think it just sends through sendmail on the local machine. You may find it convenient to use the web interface. Your config.log says you are running FreeBSD 9.1-PRERELEASE #0: Mon Oct 22 00:16:27 EDT 2012, you should consider upgrading to 9.1, which was released in December. My very, very, bad mistake: I forget to mention in this email thread my current uname -a, which is in the send-pr that was rejected: FreeBSD whisperer.chthonixia.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245243: Wed Jan 9 18:25:14 EST 2013 r...@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER amd64 Since I did not think the bug would be addressed via this thread, I'm really sorry to have wasted your time; I should have thought to submit another PR via the web interface with my current environment. I can do that that so a proper bug report is opened unless you think it unnecessary. Best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Regarding: Script configure failed unexpectedly.
Greetings... I was upgrading kino tonight, and the upgrade process failed and tossed this request at the tail of the error: === Script configure failed unexpectedly. Please report the problem to po...@freebsd.org [maintainer] and attach the /usr/ports/multimedia/kino/work/kino-1.3.4/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/sbin/pkg_info -Ea). On January 2, the same thing happened and I did as requested...my email can be seen in the January 2013 thread in the mailing lists and seems unacknowledged. Looking at it, I saw (and remembered) send-pr as the method to use. My question: should a PR be opened on the Script 'configure... message, such that use send-pr instead of send it to ports@ is used? I imagine this sort of problem is common. Regards, Joe Altman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Regarding: Script configure failed unexpectedly.
On Sat, Jan 12, 2013 at 06:21:28PM -0800, Waitman Gobble wrote: Hi, If the email contact is as listed it seems there is not a specific person who has taken the port. I found your email to the ports list with the attached config.log. I will take a look at the problem and probably find a solution. I'm heading out for the evening so I may not get to it until tomorrow morning. Thank you; it's not urgent for me, as kino currently works. I just wanted to open a bug report. Also: it seems that since the last time I used send-pr Spamassassin was placed between the recipients of send-pr and dynamic hosts. So it looks as if it may be best for people to be told to use the web interface for bugs, since send-pr seems to use the localhost MTA, rather than SMTP AUTH. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update: fale?
On Thu, Jan 03, 2013 at 03:50:44PM +0100, Martin Laabs wrote: Hi, On 01/02/13 01:21, Joe Altman wrote: Greetings, list. I have the following error; though I can load update5.FreeBSD.org in a browser: [...] maybe you use a release that is not supported by freebsd-update. Run uname -r an compare the release with that you see when looking at http://update4.freebsd.org/ If it is not there you can not use freebsd-update. Yes; I realized that after I revisited the man page and handbook; somehow I managed to miss that initially. I'm currently using 9.1-PRERELEASE. Now I am left to wonder how that state will last; ISTM that eventually 9.1 will be supported by freebsd-update but I cannot tell when that might happen. Given that CVSUP is going away soon, I can't see reinstalling it just for this unnecessary upgrade. Since I appear to be stuck between things, I have three questions: 1) Is there any way to guesstimate how long until 9.1 is supported by freebsd-update? 2) Am I correct in assuming that there is no good reason (security concerns, for instance) to update right now? I seem to have no problems with my system; it runs fine. 3) Does freebsd-update really require at least a Gig of space in /var for a major or minor upgrade? If so, it looks like I may as well reinstall the OS, since I never anticipated needing that much in /var. At this point, given the amount of 'portupgrade -fr' I'll need to do, it might consume less time to start from scratch. Thanks for the followup, and best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is csup broken?
On Wed, Jan 02, 2013 at 04:20:25PM +0100, Polytropon wrote: Have you tried checking out via SVN which now is the desired default method (even though it's not integrated in the base install and the make scripting mechanism)? ISTM that SVN is not the default method for users; but portsnap is the preferred method for users. Developers, OTOH, may find SVN useful. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-portsnap.html I have no idea if the OP is a user or a developer; but I do know that at least a cursory reading of the Handbook is a good idea, since the OP question seems to be directly addressed in the Handbook. Regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
freebsd-update: fale?
Greetings, list. I have the following error; though I can load update5.FreeBSD.org in a browser: root-is-on-fire # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from update4.FreeBSD.org... failed. Fetching public key from update5.FreeBSD.org... failed. Fetching public key from update3.FreeBSD.org... failed. No mirrors remaining, giving up. Am I missing something in this process? Regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-texlive port
This is not constructive criticism, but just to give voice to how great it would be if texlive could become an official port of freebsd, integrated into the ports system!!! On Wed, Oct 10, 2012 at 6:01 PM, Jamie Paul Griffin ja...@kode5.net wrote: [ Polytropon wrote on Wed 10.Oct'12 at 17:49:25 +0200 ] On Wed, 10 Oct 2012 14:01:44 +0100, Jamie Paul Griffin wrote: If you prefer, you can just use the download dvd or netinstall from the texlive website. They have provided binaries for FreeBSD. I installed the full TeX distribution myself just the other week on FreeBSD 9. So no need to use the ports system if you don't want. The only remaining problem will be dependencies within the port management system, e. g. ports requiring a TeX distribution which defaults to teTeX... By the way, would it be possible or desired to introduce a setting to /etc/make.conf regarding _which_ TeX distribution to use, e. g. WITH_TEX=texlive (will install TeXlive) or WITH_TEX=teTeX (will install teTeX) if a dependency of TeX is requested? That's a very good point. I recall installing something from ports the other day that needed the binary mktexlsr, and I pointed it at my texlive installation by adding the $PATH to root's shell file, but it didn't work out. I had to let it install the tetex port for it to work. I don't mind having more than one TeX distribution on the system but tetex is just so outdated, it would be nice if ports could be set up in a way that they can use texlive if the user has it installed, either from the ports collection itself or from the main texlive site as I have. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.3 with LSI MegaRAID 9265-8i
Thanks. It sounds like the same problem, but we're using a dvd burned from an iso downloaded from freebsd.org just today. It sounds like the commits you are talking about should already be in there. Is there something else I need to be doing? - Original Message - From: Rick Miller vmil...@hostileadmin.com To: Joseph Mays m...@win.net Cc: freebsd-questions@freebsd.org Sent: Thursday, October 04, 2012 6:03 PM Subject: Re: FreeBSD 8.3 with LSI MegaRAID 9265-8i On Thu, Oct 4, 2012 at 1:52 PM, Joseph Mays m...@win.net wrote: Trying to load FreeBSD 8.3 on to an LSI MegaRAID 9265i volume -- 3 3TB disks for a total volume size of 8.8 TB. The installer program runs from the DVD (we are using 8.3 because we couldn't get a 9.0 boot disk to load at all, actually.) But when it gets to the point of creating partitions it says no hard disk is present. Is this something I should have expected, or am I missing something? That device is based on the SAS2208 chip. I had the same issue (different card, same chip). Check out the blog post below, it may help. http://blog.hostileadmin.com/2012/05/22/freebsd-on-dell-poweredge-12g-servers/ -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.3 with LSI MegaRAID 9265-8i
Oh. http://support.freenas.org/ticket/1244 - Original Message - From: Joe Mays m...@win.net To: Rick Miller vmil...@hostileadmin.com Cc: freebsd-questions@freebsd.org Sent: Thursday, October 04, 2012 8:53 PM Subject: Re: FreeBSD 8.3 with LSI MegaRAID 9265-8i Thanks. It sounds like the same problem, but we're using a dvd burned from an iso downloaded from freebsd.org just today. It sounds like the commits you are talking about should already be in there. Is there something else I need to be doing? - Original Message - From: Rick Miller vmil...@hostileadmin.com To: Joseph Mays m...@win.net Cc: freebsd-questions@freebsd.org Sent: Thursday, October 04, 2012 6:03 PM Subject: Re: FreeBSD 8.3 with LSI MegaRAID 9265-8i On Thu, Oct 4, 2012 at 1:52 PM, Joseph Mays m...@win.net wrote: Trying to load FreeBSD 8.3 on to an LSI MegaRAID 9265i volume -- 3 3TB disks for a total volume size of 8.8 TB. The installer program runs from the DVD (we are using 8.3 because we couldn't get a 9.0 boot disk to load at all, actually.) But when it gets to the point of creating partitions it says no hard disk is present. Is this something I should have expected, or am I missing something? That device is based on the SAS2208 chip. I had the same issue (different card, same chip). Check out the blog post below, it may help. http://blog.hostileadmin.com/2012/05/22/freebsd-on-dell-poweredge-12g-servers/ -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.3 with LSI MegaRAID 9265-8i
Which ISO? The driver didn't make it into 8.3-RELEASE. Do you have a stable/8 iso that was made sometime after the 8.3 release? No, I was trying to install from 8.3 RELEASE. Where do I get a .iso of 8.3 STABL:E that will include the new mfi driver? I can't find one on the ftp site. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.3 with LSI MegaRAID 9265-8i
Well, this is a real problem. I have nothing where I am to build and burn an ISO, and I am trying to work with someone several states away through an IKVM switch. The server-to-be is on a port on the switch and I need them to download the ISO via FTP and burn it to a disc and drop it in the tray. Right now I'll happily pay $50 to to anyone who can provide me with an ISO of 8.3 stable in a location that I can provide to the person in missouri so he can download it and create the DVD. I'm serious. Paypal is at the ready. - Original Message - From: Rick Miller vmil...@hostileadmin.com To: Joe Mays m...@win.net Sent: Thursday, October 04, 2012 9:55 PM Subject: Re: FreeBSD 8.3 with LSI MegaRAID 9265-8i On Thu, Oct 4, 2012 at 9:38 PM, Joe Mays m...@win.net wrote: Which ISO? The driver didn't make it into 8.3-RELEASE. Do you have a stable/8 iso that was made sometime after the 8.3 release? No, I was trying to install from 8.3 RELEASE. Where do I get a .iso of 8.3 STABL:E that will include the new mfi driver? I can't find one on the ftp site. There is no ISO to download. The most recent stable/8 code at http://svn.freebsd.org/base/stable/8/ includes the driver. Check it out and build a release ISO based on that code. Reference the URL below, but don't pay any mind to patching sysinstall, kernel config, or Executing/Using the kernel sections and it'll guide you in building a release. Once the release is built, run mkisofs on it and you'll have your ISO. http://blog.hostileadmin.com/2012/10/01/building-freebsd-with-multiple-kernels/ Also consider reading the release(7) manpage at http://www.freebsd.org/cgi/man.cgi?query=releaseapropos=0sektion=0manpath=FreeBSD+8.3-RELEASEarch=defaultformat=html for information on building a release. -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Upgrading emacs; Glib-warning, SIGCHLD, SIG_IGN and ECHILD
Greetings FYI: On or about August 1 I upgraded emacs to V. 24.x and when running it, I found this error in a terminal: GLib-WARNING **: In call to g_spawn_sync(), exit status of a child process was requested but SIGCHLD action was set to SIG_IGN and ECHILD was received by waitpid(), so exit status can't be returned. This is a bug in the program calling g_spawn_sync(); either don't request the exit status, or don't set the SIGCHLD action. Then my X session would hang, and I needed to pkill emacs to regain my X session's mouse and keyboard. I found that a make config which sets GTK3 and unsets GTK2 seems to be the fix. Best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
On Thu, Jun 21, 2012 at 7:45 PM, Stas Verberkt lego...@legolasweb.nl wrote: Mark Felder schreef op 21-06-2012 19:28: On Thu, 21 Jun 2012 12:16:31 -0500, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: programs compiled by GPLv3 compiler are not encumbered. This has not been decided in court yet. Additionally, the exceptions for using the GCC runtime library for non-GPL executables is limited to what hey call eligible compilation processes, what rules out using proprietary GCC plugins or other combinations of core GCC functionality with non-GPL tooling and extensions. Please note that this is indeed not tested in court. Therefore, reality may turn out even more interesting. That's why a lawyer's answer should always be it depends. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org So, has anyone compared the performance of clang vs gcc compiled in daily use-- for example as a server? Anyone can cherry pick a couple of binaries, but how important is this for the performance of FreeBSD world? -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CLANG vs GCC tests of fortran/f2c program
On Wed, Jun 20, 2012 at 7:18 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Yes, Clang in general produces slower binaries than gcc. Is that in dispute or something? Or is this just repetition in case we didn't hear you the first time? just yesterday i've heard lots of otherwise claim. Try thinking of the transition as a step back to take many steps forward. What exactly step forward it means? For now i see ONLY politics and aggression after pointing out facts. This doesn't look like serious behaviour of serious people. I think that this is a more complicated decision than just choosing the 'fastest' compiler. There are many other variables involved, and of course the decision has a political dimension. Most things do. Diversity and competition are nice attributes to have in a system. Having alternatives allows users choose a compiler based on what criteria they think are important. Users also benefit from the experience, but more importantly, for such non-trivial projects as LLVM, different designs are interesting in themselves. I personally, am looking forward to seeing what the lldb debugger can do. Historically, some of the most important software projects have been themselves disasters, but they've lead people to change the way they think about a problem and lead to later better solutions-- for example MULTICS ;) This is part of the development process. And this can't just happen in a laboratory. LLVM needs projects like FreeBSD to test it and simply be involved. I notice that bitrig, which recently forked from OpenBSD, and which want to be a more progressive operating system will also be swapping to LLVM and Clang. We don't know what possible benefits there will be from the LLVM project. But there will be some. I was a bit frustrated about being stuck with gcc4.2 for a while, and was trying to compile as many ports as possible using gcc4.6 (FreeBSD 8.2). There seemed to be some improvement in performance, but now I don't bother, world is compiled with Clang and the ports are compiled with gcc4.2 and everything works (most of the time.) I'm satisfied with performance. I don't really understand your concerns. I mean unless you're a fairly radical environmentalist and are really concerned about saving every clock-cycle, running a bit slower really isn't that much of a problem most of the time. Or just change your compiler. Will i be able to compile FreeBSD base system with gcc after some time? not sure. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang?
On Tue, Jun 19, 2012 at 1:42 PM, Robert Huff roberth...@rcn.com wrote: Thomas Mueller writes: Now how will I know whether GCC or Clang is the default compiler for building the world and kernel, and for ports? My understanding is: 8.* base - gcc ports - gcc 9.0 (and possibly 9.*) base - gcc ports - clang (with the caveat some ports need either any gcc or a specific version) I can't confirm this other than to say, that I compile stable 9 base (kernel + world) using clang and ports using gcc. I have to compile base using WERROR= and NO_WERROR= settings in make.conf so that the compilation doesn't halt on error messages. Maybe this is no longer required. This is as per wiki, though admittedly, as per wiki a couple of months ago. I can imagine that the problem will be compiling ports with clang. Some of the gcc code is not correct as per specification. There's a list somewhere of currently compilable ports using clang. CURRENT base - as of this writing, clang (look for announcement in current@ or hackers@) ports - clang, as above though with a shorter list (Someone please correct me if they have more accurate information.) Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
On Mon, Jun 18, 2012 at 6:56 PM, Mark Felder f...@feld.me wrote: Please stop asking for instant gratification; you won't have it no matter how loud you yell. The Clang decision is far-reaching and gives numerous advantages to the FreeBSD platform. It's also not been a waste of time; you're implying that the FreeBSD devs have spent thousands of hours hacking away at Clang which is far away from the fact. We're simply building upon their work, testing Clang on the codebase (and finding bugs GCC was hiding!!), and reporting any issues upstream which get fixed very very quickly. If you want to recompile everything with lang/gcc (4.6.3) and the latest binutils go right ahead, but don't expect support when things go horribly pear-shaped. Clang is a great set of compiler tools. If you are only a user, as you suggest, than you shouldn't be compiling anything, just running binaries. If you are using a compiler, than you may not be a developer, but you aren't just a user. In any case, if you're not developing, like me, you don't really get a say-- well, you do, but probably nobody is listening. http://www.drdobbs.com/cpp/240001128 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
On Mon, Jun 18, 2012 at 8:34 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Please stop asking for instant gratification; you won't have it no matter how loud you yell. gratification Seems like you ask for it. This might be to gratuitous for most on the list, but diversity is almost reason enough. And I don't mean this is some sort of fashion-way. I think llvm and clang are interesting and serious projects. Actually, to be honest, c programming with clang is really nice, it gives me really nice error messages, which makes debugging easier. I like it for that too. From a practical point of view, the only negative thing about using clang is that some applications which have been written using gcc won't compile using it, but gcc is also ok. I'm not that interested in saving a few minutes compile time, or bytes of memory. The Clang decision is far-reaching and gives numerous advantages to the FreeBSD platform. for example what? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
On Wed, Jun 6, 2012 at 9:11 PM, 文鳥 bunc...@googlemail.com wrote: On Wed, 06 Jun 2012 19:05:59 +0100 Matthew Seaman matt...@freebsd.org wrote: On 06/06/2012 18:28, Thomas D. Dean wrote: Has the discussion on why change to clang been made available? You might be interested in this video: http://www.llvm.org/devmtg/2011-11/videos/Davis_LLVMinFreeBSD-mobile.mp4 Yes, endlessly. Mostly on lists like freebsd-hackers@... and at various conferences and developer summits. Check the list archives. I would like to know the reasoning. It's simple. gcc-4.2, which is what the base system compiler is derived from is: * fairly old * doesn't perform as well as more recent compilers * doesn't adhere to recently established standards There's another good reason for clang which nobody mentioned so far: clear diagnostics. If you ever had to wade through gcc's debug output and compare several thousand character long template instantiations, just to find where they differ and then see the clear problem descriptions that clang produces instead, you'll understand what I mean. And in combination with libc++, which just arrived on stable, I am finally able to use all the features of C++11 that I want. Try to use e.g. std::regex even on g++47, and just see what happens. Of course, getting rid of GPL is an added benefit ;) After reading all those complaints, I just had to respond and thank everyone involved very much for importing clang and libc++. Great job well done! Best regards, 文鳥 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why am I, Still subscribed and reading this list ?
...@freebsd.org freebsd...@freebsd.org freebsd-apa...@freebsd.org freebsd-...@freebsd.org freebsd-...@freebsd.org freebsd-driv...@freebsd.org freebsd-virtualizat...@freebsd.org freebsd-sysinst...@freebsd.org freebsd-toolch...@freebsd.org freebsd-off...@freebsd.org freebsd-desk...@freebsd.org Thank you very much . Mehmet Erol Sanliturk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: starting xfce4 reboots machine
On Thu, May 31, 2012 at 8:43 AM, Waitman Gobble gobble...@gmail.com wrote: On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble gobble...@gmail.comwrote: On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble gobble...@gmail.comwrote: On Mon, May 28, 2012 at 7:42 AM, Warren Block wbl...@wonkity.com wrote: On Sun, 27 May 2012, Waitman Gobble wrote: Hi, I've been running FreeBSD 10.0-CURRENT for some months, last time i rebuilt the system was April 20th. I've rebooted my machine many times and started X and Xfce4 without any trouble, however today I'm out of town on the road and when I startx my machine reboots. If I log in as root and startx i can run xorg without xfce4. but if i try startxfce4 the machine reboots. If I try to startx without xfce4 from my non-root account it locks up. It's pretty quick and nothing I can see in the logs... Anyone have any ideas about troubleshooting??? It seems like it's out of the blue with no changes to the system that I recall. :) First, make sure you have cairo-1.10 instead of 1.12. After that, run pkg_libchk from sysutils/bsdadminscripts. Rebuild anything that says it is missing libxfce4-utils. After that, well, I still see some unsteadiness from xfce-4.10. There's a long delay on start, like a DNS timeout (but I have working DNS). Switching to console works, switching back usually does not, rebooting the machine. Leaving X and starting again reboots the machine. These last two could be due to the recent X upgrade, except I'm pretty sure they did not happen until xfce-4.10. thanks. i'll check it out.. Waitman spending some time troubleshooting this. it's a weird harold, the machine runs fine for days doing various things (but if i want X i have to log in as root first and startx, otherwise instant reboot). I've noticed that if i do a pkg_add the thing reboots, if i run SciTe editor it reboots. like snap of a finger instantly. I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll have to re-add somehow, might have to build from source if it won't stop rebooting :) i'll try the pkg_libchk Thanks, Waitman this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up with the zero-byte files.. i did do a pkg_delete but didn't expect to see this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Can't help with a solution. I had a very similar problem. I'm following 9.0-STABLE (rev. 235976 ca. week old) using xfce and have a thinkpad laptop with intel on-board graphics chip. My problems started when I updated the cairo port, and at the time I couldn't really believe that cairo was the cause of _the_ problem, because of the way X was crashing. What was even more frustrating was that the Xorg log file was not revealing anything other than unknown error and segfault. So, I didn't know what to do for a while, and after spending a couple of days looking for an answer, downgrading cairo fixed that issue. Couple of days later the new xfce is also available, and I have had no problems running it, on stable with downgraded (currently current again*) cairo. Be sure to read UPDATING with respect to xfce4-utils etc. It would be interesting to hear from someone who knows what's going on as this is the first major hiccup that I've had using freebsd. Thanks, Joe * http://www.freshports.org/commit.php?category=graphicsport=cairofiles=yesmessage_id=201205260354.q4q3sboi042...@repoman.freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: no X after updating ports [Intel i945GME]
Hi all, same problem here as well. Apparently this is in relation to updating Cairo. See the thread on the forum: http://forums.freebsd.org/showthread.php?p=178116 = downgrade Cairo to 1.10 http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/cairo/distinfo Would be good to see this fixed ;) On Wed, May 23, 2012 at 2:24 PM, Ramiro Caso ramirocas...@yahoo.com.ar wrote: On 21/05/2012 23:23, Antonio Olivares wrote: Dear folks, I have an acer-aspire 1 netbook running FreeBSD 9.0 i386. It was working beautifully, but after todays updates, X no longer works. I have a similar problem. I have a Dell Inspiron 1318 running 9.0 amd. I use KDE4 (kde-4.7.4_1). After an upgrade of ports (using portupgrade), X works, but every time I launch a non-KDE application, X crashes. Putting vesa instead of intel in xorg.conf stopped the crashes. I upgraded roughly the same ports, and I get a Segmentation fault: 11 at address 0x10 error. The card is an Intel Mobile GM965/GL960 IGC. If it helps, I can provide more details (upgraded ports, log files and screen output). On screen I have drm0:Intel i945GME on vgapci0 info: [drm] AGP at 0x2000 256MB info: [drm] Initialized i915 1.6.0 20080730 I have also: xfsettingsd: Fatal IO error 35 (Resource temporarily unavailable) on X server :0. xfce4-settings-helper: Fatal IO error 35 (Resource temporarily unavailable) on X server :0. xfwm4: Fatal IO error 35 (Resource temporarily unavailable) on X server :0. Thunar: Fatal IO error 35 (Resource temporarily unavailable) on X server :0. wrapper: Fatal IO error 35 (Resource temporarily unavailable) on X server :0. xfce4-panel: Fatal IO error 35 (Resource temporarily unavailable) on X server :0. gkrellm: Fatal IO error 0 (No error: 0) on X server :0. running 'ssh-agent -s -k' unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1785 killed; xinit connection to X server lost waiting for X server to shut down xfdesktop: Fatal IO error 2 (No such file or directory) on X server :0.0. Segmentation fault: 11 at address 0x10 Fatal server errror: Caught signal 11 (Segmentation fault: 11). Server aborting updates installed via portmaster: fontconfig-2.9.0,1 gdk-pixbuf-2.23.5_2 gtk-2.24.6_1 also cairo went from cairo-1.10.2_3,1 to cairo-1.12.2,1 Any advice, comments or suggestions are greatly appreciated. Best Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Questions on adaptive mutexes and trylock
The newest GLib (as well as PHP APC) is starting to use adaptive mutexes in their code. When a mutex type is set to adaptive and you try to call pthread_mutex_trylock() on it, you get back an EINVAL. Is this a bug, or should this really be happening (the code clearly indicates adaptive mutexes are not handled by trylock)? I imagine Linux is not doing this since the code doesn't abort on Linux as it does on FreeBSD. Should we be silently allowing trylock to perform a no-op on adaptive mutexes, or should we be handling adaptive mutexes with trylock? Thanks. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Wterm and FreeBSD 9
Greetings... For FreeBSD 8, we see this for wterm: BROKEN= does not compile .if ${OSVERSION} 97 BROKEN= fails to build with new utmpx .endif I'd like to confirm that wterm will build and run on 9. I'm currently running 8.3-RELEASE-p1 FreeBSD 8.3-RELEASE-p1 #0. Does anyone know? Thanks, and best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash
On 03/30/2012 07:41, Joe Greco wrote: On 3/29/2012 7:01 AM, Joe Greco wrote: On 3/28/2012 1:59 PM, Mark Felder wrote: FreeBSD 8-STABLE, 8.3, and 9.0 are untested As much as I'm sensitive to your production requirements, realistically it's not likely that you'll get a helpful result without testing a newer version. 8.2 came out over a year ago, many many things have changed since then. Doug So you're saying that he should have been using 8.3-RELEASE, then. That isn't what I said at all, sorry if I wasn't clear. The OP mentioned 9.0-RELEASE, and in the context of his message (which I snipped) he mentioned 8-stable. That's what I was referring to. And since both the poster and I made it clear that this doesn't seem to be a case of it fails reliably on a machine of your choosing, just installing random other versions and hoping that it's going to cause a fail ... well, let's just say that doesn't make a whole lot of sense. Or at least it's a recipe for a hell of a lot of busywork, busywork not guaranteed to return any sort of useful result. And since you can't reliably reproduce the problem, how do you expect us to? I understand that these sorts of bugs are difficult/annoying, etc. Been there, done that. Nobody expected you to. We're trying to figure out any commonalities that might exist; these may serve to help shed light on where the problem lies. The interesting thing is that I took it and looked at it and came to a conclusion that might have been wrong, though I think the trail of reasoning I used was itself reasonable, given my exceedingly small (one example of problem) sample size. Mark's able to actually *reproduce* the problem on separate installs and with circumstances that are at least somewhat different than what my theory involved, though it is not quite possible to rule out some sort of corruption. Since I have to *assume* that many sites run some sort of FreeBSD on their VMware gear, given that VMware actually lists it as a supported version and VMware generally does things for profit, I am still kind of of the opinion that this is some sort of corruption bug, one that I triggered inadvertently, but one that Mark's environment reproduces rather more frequently. That just seems so unlikely, but more unlikely things have come to pass, so I'm holding onto it as my working theory ;-) I still plan to try to recover my broken VM from backups at some point if time permits. But in short, to answer your question: I don't *care* if you can reproduce the problem. As a user, you can't win. If you don't report a problem, you get criticized. If you report a problem but can't figure out how to reproduce it, you get criticized. If you can reproduce it but you don't submit a workaround, you get criticized. If you submit a workaround but you don't submit a patch, you get criticized. If you submit a patch but it's not in the preferred format, you get criticized. Hm. ... JG -- Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net We call it the 'one bite at the apple' rule. Give me one chance [and] then I won't contact you again. - Direct Marketing Ass'n position on e-mail spam(CNN) With 24 million small businesses in the US alone, that's way too many apples. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash
On 4/2/2012 11:43 AM, Joe Greco wrote: As a user, you can't win. If you don't report a problem, you get criticized. If you report a problem but can't figure out how to reproduce it, you get criticized. If you can reproduce it but you don't submit a workaround, you get criticized. If you submit a workaround but you don't submit a patch, you get criticized. If you submit a patch but it's not in the preferred format, you get criticized. I'm still not sure what you're taking as criticism. Nothing I've said was intended that way, nor should it be read that way. If you feel that you've been criticized by others in the manner you describe, you should probably take it up with them on an individual basis. It certainly seemed to me that As much as I'm sensitive to your production requirements, realistically it's not likely that you'll get a helpful result without testing a newer version. 8.2 came out over a year ago, many many things have changed since then. was an unwarranted criticism for reasons that I've already explained. Or perhaps this: And since you can't reliably reproduce the problem, how do you expect us to? I understand that these sorts of bugs are difficult/annoying, etc. Been there, done that. Which would appear to be suggesting that either (or possibly both): 1) The reporter has a duty to be able to reliably reproduce the problem prior to reporting, and/or 2) That there was some unreasonable expectation on the reporter's part that you were expected to reproduce it. I consider 1) to be ridiculous, as long as the reporter is reasonably willing to work to resolve the issue, that should certainly be good enough, and he's certainly been interactive enough to _my_ comments, and 2) seems to be nowhere in sight in the reporter's comments, but is nonetheless present in your response. Please respect Reply-to. Thanks. ... JG -- Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net We call it the 'one bite at the apple' rule. Give me one chance [and] then I won't contact you again. - Direct Marketing Ass'n position on e-mail spam(CNN) With 24 million small businesses in the US alone, that's way too many apples. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash
On 3/29/2012 7:01 AM, Joe Greco wrote: On 3/28/2012 1:59 PM, Mark Felder wrote: FreeBSD 8-STABLE, 8.3, and 9.0 are untested As much as I'm sensitive to your production requirements, realistically it's not likely that you'll get a helpful result without testing a newer version. 8.2 came out over a year ago, many many things have changed since then. Doug So you're saying that he should have been using 8.3-RELEASE, then. That isn't what I said at all, sorry if I wasn't clear. The OP mentioned 9.0-RELEASE, and in the context of his message (which I snipped) he mentioned 8-stable. That's what I was referring to. And since both the poster and I made it clear that this doesn't seem to be a case of it fails reliably on a machine of your choosing, just installing random other versions and hoping that it's going to cause a fail ... well, let's just say that doesn't make a whole lot of sense. Or at least it's a recipe for a hell of a lot of busywork, busywork not guaranteed to return any sort of useful result. What you suggest is a fine solution for My ASUS Sempron box fails when I do X! -- in such a case, Try a different version of FreeBSD makes lots of sense. The problem is, in a virtualization environment, theoretically the virtual hosts are all the same sort of hardware (modulo any specific configuration changes of course), so when someone presents a problem that afflicts only a percentage of their VM's, it is important to keep in mind that you are not interacting with physical hardware, and that reinstalling an OS on a problem VM...? Well, let's just say I like real hardware better for many reasons. In the meantime, it's unrealistic to tell people to use supported releases, to wait fifteen months between releases, and then to criticize people complaining about problems with a supported release for using old code. ... JG -- Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net We call it the 'one bite at the apple' rule. Give me one chance [and] then I won't contact you again. - Direct Marketing Ass'n position on e-mail spam(CNN) With 24 million small businesses in the US alone, that's way too many apples. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash
On Thu, 29 Mar 2012 19:27:31 -0500, Joe Greco jgr...@ns.sol.net wrote: It also doesn't explain the experience here, where one VM basically crapped out but only after a migration - and then stayed crapped out. It would be interesting to hear about your datastore, how busy it is, what technology, whether you're using thin, etc. I just have this real strong feeling that it's some sort of corruption with the vmfs3 and thin provisioned disk format, but it'd be interesting to know if that's totally off-track. We've ruled out SAN, but we haven't ruled out VMFS. Even FreeBSD Guests on standalone ESXi servers with no SAN exhibit this crash. For the record, we only use thick provisioning and if it was corruption I'm not sure what layer the corruption could be at. The crashy servers show no abnormalities when I run either `freebsd-update IPS` or `pkg_libchk` to confirm checksums of all installed programs. Now the other data on there... it's not exactly verified, but our backups via rsnapshot seem to prove there is no issue there or we'd have lots of new files each run. Crud, there goes part of my theory :-) Have you migrated these hosts, or were they installed in-place and never moved? fwiw the apparent integrity of things on the VM is consistent with our experience too. ... JG -- Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net We call it the 'one bite at the apple' rule. Give me one chance [and] then I won't contact you again. - Direct Marketing Ass'n position on e-mail spam(CNN) With 24 million small businesses in the US alone, that's way too many apples. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash
Hi, * have you filed a PR? * is the crash easily reproducable? * are you able to boot some ramdisk-only FreeBSD-8.2 images (eg create a ramdisk image using nanobsd?) and do some stress testing inside that? It sounds like you've established it's a storage issue, or at least interrupt handling for storage issue. So I'd definitely try the ramdisk-only boot and thrash it using lighttpd/httperf or something. If that survives fine, I'd look at trying to establish whether there's something wrong in the disk driver(s) freebsd is using. I'm not that cluey on ESXi, but there may be some PIC/APIC/ACPI change between 7.x and 8.0 which has caused this to surface. We've seen this. Or something that seems really like it. We run dozens of FreeBSD VM's, many of which are 8.mumble. We have a scripted build environment dating back many years, so generally servers come out in a fairly reproducible form. After several months of smooth running, we had need to shuffle some things around, and migrated some servers to a different datastore. Suddenly, one particular VM, our corp Jabber server, started randomly disconnecting people every morning. Some inspection showed that the machine was running, but disk I/O in the VM was freezing up. Subsequent inspection suggested that it was happening during the periodic daily, though we never managed to get it to happen by manually forcing periodic daily, so that's only a theory. Given that several times it appeared that one of the find commands was running, I was guessing that something in the thin provisioned disk image for the system had gone bad, but reading the entire disk with dd didn't cause a hang, running the periodic daily by hand didn't cause a hang, etc. Migrating the VM to a different host and datastore did not fix the issue. Migrating the VM from an Opteron to a Xeon host with all the latest ESXi 4 patches also didn't make any difference. Migrating the disk image from thin to full seemed to fix it, but I only gave it a day or two, then decided there were other good reasons to reload the VM, so I nuked the VM, which, of course, fixed it. In the meantime, a dozen other similar VM's alongside it run just fine. My conclusion was that it was something specific that had gone awry in the virtual machine, probably in the disk image, but I could not identify it without significant digging that I had no particular reason or inclination to do; since it appeared to be a VMware problem, the reload it and be done with it seemed the quickest path to resolution. That having been said, if anyone has any brilliant ideas about what would constitute useful further steps to isolate this, I can look at recovering the faulty VM from backup and seeing if it still exhibits the problem. ... JG -- Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net We call it the 'one bite at the apple' rule. Give me one chance [and] then I won't contact you again. - Direct Marketing Ass'n position on e-mail spam(CNN) With 24 million small businesses in the US alone, that's way too many apples. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash
On 3/28/2012 1:59 PM, Mark Felder wrote: FreeBSD 8-STABLE, 8.3, and 9.0 are untested As much as I'm sensitive to your production requirements, realistically it's not likely that you'll get a helpful result without testing a newer version. 8.2 came out over a year ago, many many things have changed since then. Doug So you're saying that he should have been using 8.3-RELEASE, then. If you'll kindly go over to http://www.freebsd.org and look under Latest Releases, please note that 8.2 is a production release. If you don't want it to be a production release, then find a way to make it so, but please don't snipe at people who are using the code that the FreeBSD project has indicated is a current production offering. There are many good reasons not to run arbitrary snapshots on your production gear. It's unrealistic to expect people to run non- RELEASE non-production code on their production gear. We can have that discussion if you don't understand that, drop me a note off- list and I'll be happy to explain it. Otherwise, you've told him to run a newer version, of which NONE IS AVAILABLE, unless you're thinking 9.0, but FreeBSD has a rather catastrophic history of point zero releases, and most clueful admins won't run those in production without carefully measuring the risks and benefits. So you've basically told him to run a newer version without any such version being realistically available. WTF? You want people not to use releases that came out over a year ago? The generally sensible solution to that is to release RELEASEs more than once every fourteen or fifteen months. ... JG -- Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net We call it the 'one bite at the apple' rule. Give me one chance [and] then I won't contact you again. - Direct Marketing Ass'n position on e-mail spam(CNN) With 24 million small businesses in the US alone, that's way too many apples. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash
On Thursday 29 March 2012 15:42:42 Joe Greco wrote: Hi, Do both 32- and 64-bit versions of FreeBSD crash? We've only seen it happen on one virtual machine. That was a 32-bit version. And it's not so much a crash as it is a disk I/O hang. The fact that it was happening regularly to that one VM, while a bunch of other similar VM's were running alongside it without any incident, along with the problem moving with the VM as it is moved from host to host and from Opteron to Xeon, strongly points at something being wrong with the VM itself. Our systems are built mostly by script; I rebuilt the VM a few months ago and the problem vanished. The rebuilt system should have been virtually identical to the original. I never actually compared them though. My working theory was that something bad had happened to the VM during a migration from one datastore to another. We have a really slow-writing iSCSI server that it had been migrated onto for a little bit, which was where the problem first appeared, I believe. At first I thought it was the nightly cron jobs just exceeding the iSCSI server's capacity to cope, so we migrated the VM onto a host with local datastores, and it remained broken thereafter. So my conclusion was that it seemed likely that somehow VMware's thin provisioned disk image had gotten fouled up, and under some unknown use case, it could be teased into locking up further I/O on the VM. I wasn't able to prove it. I tried a read-dd of the entire disk - passed, flying. I tried several things to duplicate the nightly periodic tasks where it seemed so prone to locking up. They all ran fine. But if I left the machine run, it'd do it again eventually. I explained it at the time to one of my VMware friends: But here's where it gets weird. Three times, now, one VM - our Jabber server - has gone wonky in the wee early AM hours. Disk I/O on the VM just locks up. You can type at the console until it does I/O, so you can put in root at the login: prompt but never get a pw prompt. My systems all run top from /etc/ttys and I can see that a whole bunch of processes are stopped in getblk. It's like the iSCSI disk has gone away, except it hasn't, since the other VM's are all happily churning away, on the same datastore, on the same VMware host. http://www.sol.net/tmp/freebsd/freebsd-esxi-lockup.gif Now it's *possible* that the problem actually happens after the 3AM cron run (note slight CPU/memory drop) but the Jabber implosion actually happens around 0530, see drop in memory%. But the root problem at the VM level seems to be that disk I/O has frozen. I can't tell for sure when that happens. All three instances are similar to this. I can't explain this or figure out how to debug it. Since it's locked up right now, thought I'd ping you for ideas before resetting it. Now that was actually before we migrated it back to local datastore, but when we did, the problem remained, suggesting that whatever has happened to the VM, it is contained within the VM's vmdk or other files. ... JG -- Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net We call it the 'one bite at the apple' rule. Give me one chance [and] then I won't contact you again. - Direct Marketing Ass'n position on e-mail spam(CNN) With 24 million small businesses in the US alone, that's way too many apples. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash
On Thursday 29 March 2012 17:49:30 Joe Greco wrote: On Thursday 29 March 2012 15:42:42 Joe Greco wrote: Hi, Do both 32- and 64-bit versions of FreeBSD crash? We've only seen it happen on one virtual machine. That was a 32-bit version. And it's not so much a crash as it is a disk I/O hang. It almost sounds like the lost interrupt issue I've seen with USB EHCI devices, though disk I/O should have a retry timeout? That doesn't seem to fit. Why would a perfectly functional VM suddenly develop this problem when given a slow underlying datastore (fits so far) but then the problem *remains* when returned to a fast local datastore, even on a different host and architecture? And why wouldn't the other VM's running alongside develop the same problem? What does wmstat -i output? No idea, we reloaded the VM months ago. ... JG -- Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net We call it the 'one bite at the apple' rule. Give me one chance [and] then I won't contact you again. - Direct Marketing Ass'n position on e-mail spam(CNN) With 24 million small businesses in the US alone, that's way too many apples. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash
And then there is this one with similar symptoms and a workaround: http://forums.freebsd.org/showthread.php?t=3D27899 I'm now investigating those loader.conf options. I have my crashy machine set to use them on next boot so we'll see if it crashes now that I'm using LSI SAS emulated controller. If it still crashes, we'll see what happens after that with those loader.conf options enabled. Um, if I may, that's something completely different. VMDirectPath, or PCIe passthru, is making a hardware device on a VMware host available directly to a guest. It'll take your LSI controller, in the example cited, and make it unavailable to VMware ESXi, and present it instead inside the guest environment. You do this when you have an app whose performance would suffer greatly when made to operate through the indirection that a VM naturally lives in; for example, it is quite common for FreeNAS users to pass a disk controller through to a VM guest in order to allow a virtualized FreeNAS instance to directly manage the physical disks. In that case, there are some issues with ESXi and interrupt delivery to the guest VM; virtualization doesn't actually get rid of the possibility of ESXi problems, since the hypervisor is still ultimately involved. It is certainly possible that there's some common issue involving interrupt delivery somehow, but I wouldn't get my hopes up. It also doesn't explain the experience here, where one VM basically crapped out but only after a migration - and then stayed crapped out. It would be interesting to hear about your datastore, how busy it is, what technology, whether you're using thin, etc. I just have this real strong feeling that it's some sort of corruption with the vmfs3 and thin provisioned disk format, but it'd be interesting to know if that's totally off-track. ... JG -- Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net We call it the 'one bite at the apple' rule. Give me one chance [and] then I won't contact you again. - Direct Marketing Ass'n position on e-mail spam(CNN) With 24 million small businesses in the US alone, that's way too many apples. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How much space do I need on / for a 7.4 to 8 stable upgrade?
I need to upgrade a server from 7.4 stable to 8.x stable. I running buildworld as I write this, and plan to build a GENERIC kernel. The root disk partition is 248 MB which was probably the auto default size when the server was originally built. I remember having to do some scrambling during the last update to free up enough space for a new kernel and I really don't want that to happen again. I have 65MB of free space on /. Is that going to be enough? I've already moved tftpboot to /usr, cleaned out /root, /boot/kernel.old, and /tmp. What else could I clean out if I need more space? I'm thinking some executables in /rescue. ls -l shows most of them being 4MB each but that can't be right. Thanks in advance! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: How much space do I need on / for a 7.4 to 8 stable upgrade?
From: Adam Vande More [mailto:amvandem...@gmail.com] Sent: Wednesday, February 22, 2012 12:16 PM To: Joe Moore Cc: freebsd-questions@freebsd.org Subject: Re: How much space do I need on / for a 7.4 to 8 stable upgrade? On Wed, Feb 22, 2012 at 11:47 AM, Joe Moore joe.mo...@holidaycompanies.com wrote: I have 65MB of free space on /. Is that going to be enough? I've already moved tftpboot to /usr, cleaned out /root, /boot/kernel.old, and /tmp. What else could I clean out if I need more space? I'm thinking some executables in /rescue. ls -l shows most of them being 4MB each but that can't be right. I don't know the specific numbers of what you'll need but you can probably delete the *.symbol files(they aren't needed by default). i386 also produces smaller files/mem imprint than most equivalent amd64 bins. -- Adam Vande More Thanks Adam. I should have mentioned that I am running 32 bit i386. .jgm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: How much space do I need on / for a 7.4 to 8 stable upgrade?
-Original Message- From: Dan Nelson [mailto:dnel...@allantgroup.com] Sent: Wednesday, February 22, 2012 12:33 PM To: Joe Moore Cc: freebsd-questions@freebsd.org Subject: Re: How much space do I need on / for a 7.4 to 8 stable upgrade? In the last episode (Feb 22), Joe Moore said: I need to upgrade a server from 7.4 stable to 8.x stable. I running buildworld as I write this, and plan to build a GENERIC kernel. The root disk partition is 248 MB which was probably the auto default size when the server was originally built. I remember having to do some scrambling during the last update to free up enough space for a new kernel and I really don't want that to happen again. I have 65MB of free space on /. Is that going to be enough? I've already moved tftpboot to /usr, cleaned out /root, /boot/kernel.old, and /tmp. I did a 5.5 - 8.1 upgrade (no intermediate installs!) on a system with a 256MB root a few years ago and didn't have any problems. As Adam said, get rid of any /boot/*/*.symbol files. With symbols, a kernel directory could be 50-70 MB, but without, you're looking at only 5-15 MB. My root is only 90MB used, so there should be quite a bit of space you should be able to free up still. Try deleting web browser cache dirs or ccache trees in ~root. What else could I clean out if I need more space? I'm thinking some executables in /rescue. ls -l shows most of them being 4MB each but that can't be right. All the files in /rescue is hardlinked to each other, so they only consume 4MB total. -- Dan Nelson dnel...@allantgroup.com I deleted /boot/kernel/*symbols and that freed up another 90+ MB. I've got 159MB free so I'm good to go. Thanks to all responders! ...jgm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error in building documentation from source
On Mon, Jan 09, 2012 at 07:15:21PM +0100, Patrick Lamaiziere wrote: Le Sun, 8 Jan 2012 19:58:18 -0500, Hello, I've just tried without problem. Well, have you the port textproc/docproj installed (of course)? The equivalent, AIUI: docproj-nojadetex. Be sure that the source are up to date too. Yes, they are. You can ask on doc@ or fill or a bug report within the doc section. (I would ask doc@ because it works for me, not sure if there is a bug) I'll ask there; thanks. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD Kernel Internals Documentation
of terms but not the other? It is either right or it is wrong. You cannot be slightly pregnant. I personally find such terms morally repugnant; however, since they are commonly used on this forum it appears that they are socially acceptable. Would you not concur or are you going to try and bullshit your way out of this one? You so clearly define what is the basic problem with FreeBSD in general. The sour grapes attitude is so clearly self evident. You would rather spend your time defending something that doesn't work as fully functional as it could be if the developers stopped patting themselves on the back for accomplishing what other OSs had already done 3 or more years earlier and rather attempted to bring the OS on par with those competing OSs. What do you define with your hanging around sniping at people and sabotaging discussions attitude? In the years I have been on this list, it seems like you have demonstrated a rabid hatred of all things related to FreeBSD and most things related to open source software in general, which makes me wonder why you hang around this mailing list. I have a morbid hatred of those who suffer from decidophobia. However, after restudying the matter, I think it more likely that the real problem is an irrational fear of success. If only Microsoft was able to accomplish things like easily getting a printer fully functional under its environment, making sound or video or wireless cards work without in all too many cases resorting to draconian measures, and the list goes on, I would agree with you. However, we (and by we I am assuming that you haven't got your head buried so far up your ass that you are not aware of what is transpiring on other Operating Systems) are both aware that, that is not the case. Linux in general and Ubuntu in particular have made huge strides in making computers easier to use and opening up the path for better, easier and more advanced software to be installed. There is a commonly held truism, If you are not the lead dog of the pack, the view never changes. Now if you are happy playing follow the leader and watch their balls dangle in your face, then fine. Personally, I want to be in the lead. As soon as anyone steps up and remarks about FreeBSD's standing in the desktop market, they are immediately met with the Blame the {fill in the blank} choir. I am now officially renaming that the Sour Grapes Posse. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD Kernel Internals Documentation
Writers who rely on ideological positions such as (socialism || fascism || jedi-knight == good | bad) really need to go visit a social science mailing list. It's not like political/ religious mailing lists don't exist. My positivist take on things: 1. Nobody is stopping anybody from changing their freebsd kernel. The same cannot be said of MS Windows. Documentation is an excuse. 2. FreeBsd is a main-stream O/S-- just look at the number of different architectures/applications which are supported by FreeBSD. 3. FreeBSD isn't even hard to use, if you only want to use it like 80% of computer users, to run your web browser, watch videos and listen to music. People who consider it difficult might like to remember their first experiences with learning windows. 4. Drivers aren't really a limitation. Look at the history of computing, that modern O/S support such diverse platforms is an amazing development. As far as I'm concerned, FreeBSD supports main stream components, there are no classes of components that I'm aware of which aren't supported by FreeBSD. If you need to use a particular device, for which there is no driver, historically it's not unusual to find that on any particular platform a particular device is not supported. 5. Nobody is making anyone use FreeBSD. It's free. If you don't enjoy it, don't use it. Maybe remove yourself from the mailing list-- or don't, if you just want to stay informed. Normative takes: 6. Is FreeBSD better than windows? For me it is. For me it's stabler. What I remember from using windows, and what I'm aware of, from people around me who use windows is that over time, the system seems to degrade. This leads to really major actions such as re-installation every 6mths or so. And... 7. The temptation to install illegal software on MS Windows is very high. Who wants to pay for every little gimmicky app? Who can afford to pay for some major applications, which are needed for studying etc.? This often leads to an unstable system and security problems. The ports system in comparison is a much preferred software/ application distribution system because at least you get to look at the source code, if you want to. 8. It's an individual choice. Depends what you use your computer for. maths/R is one of my favorite applications and it even runs on windows. May the force be with you! On Fri, Dec 30, 2011 at 10:38 PM, Robert Bonomi bon...@mail.r-bonomi.comwrote: David Jackson djackson...@gmail.com wrte: Robert Bonomi bon...@mail.r-bonomi.comwrote: David Jackson djackson...@gmail.com wrte: ... However, My finding is that due to poor documentation, ... [ sneck remaineder of ill-informed trolling ] Start with The Design and Implementation of the BSD 4.4.4 Operating System by McKusick, eal. Then read The design and Implementation of the FreeBSD Operating System, by McKusick and Neville-Neal.` *You* are free to contribute 'better documentation' as you review any particular file. Since you feel it is important, you are strongly encouraged to do something to actually 'make it better', as opposed to merely sitting on the sidelines and sniping at the work of others. Well, okay, yes, I have heard of these books. Ah, you've heard of them. And, you obviously haven't bothered to read them, right? Do you know _who_ McKusick is? Or Bostic? Or the other authors of the first book I referenced? Do you have any idea why it might be a good idea to start with what they've written? Do you know that manpages exist for a lot of kernel-mode functions? Do you understand that with all that *external* documentation, there is little need to replicate it inside the source files? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: The ports are really funcional?
I agree, the ports are *amazing*. Even when installing a major component like kde4. If you have your base system set up correctly this very complex task will generally complete flawlessly. For a first-time install you can accept most of the default options when configuring, but it's probably not a good idea to just blindly accept every default. Experiment with the different port management software until you find something which you like. Read the documentation about dealing with common issues, making backups, saving compiler/ installation errors, etc. If you are having many problems with ports which require few dependencies, you may have a non-ports related issue of some kind. My entire system is ports based and I belong more to the user than the hacker class. Good luck! On Mon, Oct 31, 2011 at 4:05 AM, Polytropon free...@edvax.de wrote: On Sun, 30 Oct 2011 22:36:44 -0400, Alejandro Imass wrote: For very large packages such as the graphics system, open or libre office etc. it's much better to use binary versions via pkg_add. It's a waste of time to compile these very large suites and most of the time you will get the config options wrong, and they take forever to compile. Exceptions: 1) You need language-specific settings. Example: OpenOffice in German. 2) You need others than the default options, e. g. if you want to include or exclude some stuff. Example: OpenOffice without KDE. 3) You need options to be set at compile time that do differ from the default options from which the binary packages are made, or because of artificially shit in your pants legal requirements and restrictions. Example: mplayer with mencoder and all (!) codecs 4) You need to speed up things to make them run on older hardware, and you fight for every optimization. Example: mplayer's RUNTIME_CPU_DETECTION. But this is, I think, a case for 1% of users only. You hardly need to do that. In most cases, the default options are fine, and the binary packages just work. For things you want to tailor and optimize to your needs then use the ports system. FBSD is so cool that it doesn't matter if you install one way or the other and you can use almost all methods interchangeably. A managament tool (such as portmaster or portupgrade) helps to keep an eye on dependencies when using the many possible ways. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading libxul, dependency on Firefox 3
On Sat, Oct 22, 2011 at 09:28:40PM +0200, Beat G?tzi wrote: On Oct 22, 2011, at 2:54 AM, Joe Altman wrote: Greetings... I was running portupgrade on libxul and noticed it depends on Firefox 3.x. I cancelled the upgrade, because I thought FF3.x was insecure and therefore deprecated while FF7 was recommended and secure. My questions: 1) is the dependency libxul has for FF3 a security problem? libxul doesn't depend on FF3. Got it. Thanks, and best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Upgrading libxul, dependency on Firefox 3
Greetings... I was running portupgrade on libxul and noticed it depends on Firefox 3.x. I cancelled the upgrade, because I thought FF3.x was insecure and therefore deprecated while FF7 was recommended and secure. My questions: 1) is the dependency libxul has for FF3 a security problem? 2) is the dependency on FF3 a bug in libxul? If it is a bug, who should receive a report: gecko@ or the Mozilla project? FYI: I'm pretty sure it was portsclean -D (and not me) that deleted FF3...yet libxul tried to pull it in during the portupgrade. Best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: net/netatalk afpd causes abort on amd64?
On 8/8/11 7:46 AM, Kouichiro Iwao wrote: Hi. After upgraded to current portversion of netatalk, I cannot start netatalk. I do rc.d/netatalk start then afpd fails SIGABRT. On i386 freebsd, netatalk/afpd works fine. Any solutions to use netatalk on amd64? pid 19160 (afpd), uid 0: exited on signal 6 (core dumped) pid 19175 (afpd), uid 0: exited on signal 6 (core dumped) pid 19188 (afpd), uid 0: exited on signal 6 (core dumped) If you compiled with Zeroconf support (the default), then you need to make sure Avahi is running. Add avahi_daemon_enable=YES and avahi_dnsconf_enable=YES to rc.conf and reboot (or run the two rc.d scripts). Alternatively, you can rebuild netatalk without Zeroconf support. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gn...@freebsd.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Link exchange with your site
Dear Webmaster, I just visited your site http://www.freebsd.org/ and really appreciate it for good design and information. I have good quality sites from where you would like to have linked from. And as you might aware getting links from good quality site would definitely help your site to get higher placement or ranking in search engines like Google, Yahoo etc. In case you are interested in link exchange, you can reply me back and I will offer you good deal for your site, which will help in improving your website ranking in the search engine. Hope to hear from you soon and have a great day :) Thanks, Joe Note: If you do not respond to this email you will not receive any additional emails from us. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
pkg-add - package insists on old version of Perl
I am trying to install the Amanda server package. I am running FreeBSD 8.2 with Perl 5.12.3. The package lists Perl 5.10.1 as a dependency and since my newer version of Perl conlicts with the older version the install fails. pkg_add with -f just tries to force the installation of the older Perl and fails. How do I get the package to install and use the Perl I already have? I'd rather not downgrade Perl. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
LTO3 tape drive not detected
I have FreeBSD 8.2-RELEASE running on an HP DL360 G5. I recently added an (HP branded) LSI Logic single channel SCSI 320 card and attached an HP Ultrium 920 LTO3 tape drive. The system sees the SCSI controller as mpt0, and it seems to know there's something at SCSI ID 4, but I get an AutoSense Failed for hba/id/lun 0:4:0 at boot and subsequent camcontrol rescans. I checked the supported hardware doc for the release but it doesn't get very specific about tape drives. This is my first experience with LTO3 tape. I was hoping that I'd automagically get a /dev/sa0 device like I always did with my old DLT drives but it wasn't to be this time. Is there a way to make this drive work? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Building misc/freebsd-doc-en fails
On Sun, May 29, 2011 at 1:05 AM, Adam Vande More amvandem...@gmail.comwrote: Seems like there should be more detail. Try make clean make -j1 Interesting: === Building for en-freebsd-doc-20110521 /bin/cat /usr/ports/misc/freebsd-doc-en/pkg-plist.html-split /usr/ports/misc/freebsd-doc-en/pkg-plist.html-common /usr/ports/misc/freebsd-doc-en/pkg-plist.extras /usr/ports/misc/freebsd-doc-en/pkg-plist.common /usr/ports/misc/freebsd-doc-en/work/pkg-plist === en_US.ISO8859-1 (all) === en_US.ISO8859-1/articles (all) === en_US.ISO8859-1/articles/5-roadmap (all) === en_US.ISO8859-1/articles/bsdl-gpl (all) === en_US.ISO8859-1/articles/building-products (all) /usr/bin/perl /usr/ports/misc/freebsd-doc-en/work/doc/share/misc/epsgeom -offset 100 100 /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-organization.eps | /usr/local/bin/gs -q -dBATCH -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dEPSCrop -r100x100 -dNOPAUSE -dSAFER -sDEVICE=pnm -sOutputFile=- -g`/usr/bin/perl /usr/ports/misc/freebsd-doc-en/work/doc/share/misc/epsgeom -geom 100 100 /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-organization.eps` - | /usr/local/bin/pnmtopng /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-organization.png /usr/bin/perl /usr/ports/misc/freebsd-doc-en/work/doc/share/misc/epsgeom -offset 100 100 /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.eps | /usr/local/bin/gs -q -dBATCH -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dEPSCrop -r100x100 -dNOPAUSE -dSAFER -sDEVICE=pnm -sOutputFile=- -g`/usr/bin/perl /usr/ports/misc/freebsd-doc-en/work/doc/share/misc/epsgeom -geom 100 100 /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.eps` - | /usr/local/bin/pnmtopng /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.png Error: no BoundingBox found. Error: no BoundingBox found. Error: no BoundingBox found. pnmtopng: bad magic number - not a ppm, pgm, or pbm file *** Error code 1 Error: no BoundingBox found. pnmtopng: bad magic number - not a ppm, pgm, or pbm file *** Error code 1 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 1 1 error *** Error code 2 There is this thread from 2009, and it looks like the same issue as the one in this message: http://lists.freebsd.org/pipermail/freebsd-questions/2009-December/209892.html It looks like I'll need to open a bug report with the Doc project team. Thanks for the pointer, Adam. Best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Building misc/freebsd-doc-en fails
On Sun, May 29, 2011 at 02:32:37PM +, Joe Altman wrote: There is this thread from 2009, and it looks like the same issue as the one in this message: http://lists.freebsd.org/pipermail/freebsd-questions/2009-December/209892.html It looks like I'll need to open a bug report with the Doc project team. After reading the thread referenced above, and looking at the output of my build, I noticed that the build was failing in different areas. So I decided to run make on the port multiple times, and eventually the port installed successfully. However, the port in my tree (dated # $FreeBSD: ports/misc/freebsd-doc-en/Makefile,v 1.36 2011/05/22 14:28:49 blackend Exp $) in a fresh tree made only through 2010, according to the copyright at the top of the handbook. Individual files in that doc tree were variously dated; the newest being 8/2010. So I ran make, multiple times, on the source; and that gave me a doc tree dated 2011. Most of the files there were dated 5/29/11. A few exceptions were found in image files dated 3/2010, which all loaded in SeaMonkey, except for some files in: advanced-networking, security, vinum, geom. I may have missed others in other books. To summarize: 1) It appears that make is, in this case, a hammer that must be applied more than once to either the source or the port. 2) Not all images are seen as valid, and according to make may have bad magic numbers. If building from source is used on a fresh tree, it may be possible to have make ignore all the errors by using the -k flag. 3) I have no idea how things will go with an upgrade to the doc source; I normally use portupgrade, so I suppose I will find out later. I've submitted a bug report. Best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Building misc/freebsd-doc-en fails
Greetings... uname -a FreeBSD whisperer.chthonixia.net 8.1-RELEASE-p4 FreeBSD 8.1-RELEASE-p4 #0: Sat May 28 21:25:00 EDT 2011 r...@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER amd64 Sources, including ports, updated on May 28 after the bind security notice. Here is the tail of the error: === en_US.ISO8859-1/articles/building-products (all) groff -p -S -Wall -mtty-char -man /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.pic /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.ps groff -p -S -Wall -mtty-char -man /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-organization.pic /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-organization.ps /bin/rm -f docbook.css /bin/cat /usr/ports/misc/freebsd-doc-en/work/doc/share/misc/docbook.css docbook.css /usr/local/bin/gs -q -dNOPAUSE -dBATCH -dSAFER -dDELAYSAFER -sPAPERSIZE=letter -r72 -sDEVICE=bbox -sOutputFile=/dev/null /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.ps /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.eps 21 /usr/local/bin/gs -q -dNOPAUSE -dBATCH -dSAFER -dDELAYSAFER -sPAPERSIZE=letter -r72 -sDEVICE=bbox -sOutputFile=/dev/null /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-organization.ps /usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-organization.eps 21 *** Error code 1 *** Error code 1 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/misc/freebsd-doc-en. *** Error code 1 Stop in /usr/ports/misc/freebsd-doc-en. Any clues on how to fix this? I chose only split HTML as the output. Please feel free to Cc: me as I'm not on the list; but I will check the web interface for the list. Thank you for any help, and best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fuse 2.7.4?
Should I ask about this to the ports list? I'd really like to get an up-to-date s3fs port installed on my FreeBSD machines... Joe Auty mailto:j...@netmusician.org April 5, 2011 1:56 PM Hello, What is the status of the fusefs-libs port? I'd like to try the newer s3fs builds with FUSE, but they require 2.8.4 or higher. I was unable to get FUSE 2.8.5 to build with the current patches included in the port. Are these patches still necessary? -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org http://www.netmusician.org j...@netmusician.org mailto:j...@netmusician.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Fuse 2.7.4?
Hello, What is the status of the fusefs-libs port? I'd like to try the newer s3fs builds with FUSE, but they require 2.8.4 or higher. I was unable to get FUSE 2.8.5 to build with the current patches included in the port. Are these patches still necessary? -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org http://www.netmusician.org j...@netmusician.org mailto:j...@netmusician.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
pop-up
I keep getting a pop-up on my computer that reads unexpected error has occurred ESOAPHTTP exception a connection w/ server could not be established Url:http bootstrap developement how can i remove as pop up thank you JJkenyon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: py26-dbus
On 12/26/10 11:11 AM, Chris Brennan wrote: While upgrading python to 2.6.x (by following /usr/src/UPDATING and running 'cd /usr/ports/lang/python make upgrade-site-packages -DUSE_PORTMASTER') I get the following error msg from devel/py-dbus. Attached is the config file from the build-process. I can reproduce this by independently running make in the portdir (devel/py-dbus). The tree is current as of a few days ago. I've been getting this error for several weeks now and been unable to figure it out. /usr/src/UPDATING has nothing specific to py(26)-dbus. Just Python, which is what I was following. You need to reinstall devel/pth. Joe FreeBSD ziggy.xaerolimit.net 7.3-RELEASE-p3 FreeBSD 7.3-RELEASE-p3 #8: Sun Oct 2401:53:03 EDT 2010 r...@ziggy.xaerolimit.net:/usr/obj/usr/src/sys/ZIGGY i386 [r...@ziggy [~]# cd /usr/ports/lang/python make upgrade-site-packages -DUSE_PORTMASTER [..] === License check disabled, port has not defined LICENSE === Extracting for py26-dbus-0.83.2 = SHA256 Checksum OK for dbus-python-0.83.2.tar.gz. === Patching for py26-dbus-0.83.2 === py26-dbus-0.83.2 depends on file: /usr/local/bin/python2.6 - found === py26-dbus-0.83.2 depends on executable: gmake - found === py26-dbus-0.83.2 depends on package: libtool=2.2 - found === py26-dbus-0.83.2 depends on shared library: dbus-glib-1.2 - found === py26-dbus-0.83.2 depends on shared library: intl - found === Configuring for py26-dbus-0.83.2 [..] checking whether /usr/local/bin/python2.6 version = 2.4.0... yes checking for /usr/local/bin/python2.6 version... 2.6 checking for /usr/local/bin/python2.6 platform... freebsd7 checking for /usr/local/bin/python2.6 script directory... ${prefix}/lib/python2.6/site-packages checking for /usr/local/bin/python2.6 extension module directory... ${exec_prefix} /lib/python2.6/site-packages checking for Python headers using /usr/local/bin/python2.6-config --includes... -I /usr/local/include/python2.6 -I/usr/local/include/python2.6 checking whether those headers are sufficient... no configure: error: could not find Python headers === Script configure failed unexpectedly. Please run the gnomelogalyzer, available from http://www.freebsd.org/gnome/gnomelogalyzer.sh;, which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD GNOME team at gn...@freebsd.org, and attach (a) /usr/ports/devel/py-dbus/work/dbus-python-0.83.2/config.log, (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list (gn...@freebsd.org), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software. *** Error code 1 Stop in /usr/ports/devel/py-dbus. [r...@ziggy [/usr/ports/devel/py-dbus]# Of the errror message, this is what stuck out the most for me; [..] checking whether those headers are sufficient... no [..] This tells me something is missing, but what? How do I figure out what headers aren't sufficient? Incidentally could this be the cause? [..] [r...@ziggy [/usr/ports/lang/python]# lsl /usr/local/lib/python2.6/site-packages/ total 20 2 drwxr-xr-x 3 root wheel 512B Dec 18 14:55 . 14 drwxr-xr-x 28 root wheel14K Dec 18 14:45 .. 2 -r--r--r-- 1 root wheel 119B Dec 18 14:44 README 2 drwxr-xr-x 2 root wheel 512B Dec 18 14:55 xcbgen [r...@ziggy [/usr/ports/lang/python]# lsl /usr/local/lib/python2.5/site-packages/ total 350 2 drwxr-xr-x 3 root wheel 512B Oct 14 14:47 . 14 drwxr-xr-x 3 root wheel13K Sep 8 2009 .. 178 -rw-r--r-- 1 root wheel 178K Mar 20 2009 _dbus_bindings.a 2 -rwxr-xr-x 1 root wheel 910B Mar 20 2009 _dbus_bindings.la 130 -rwxr-xr-x 1 root wheel 130K Mar 20 2009 _dbus_bindings.so 6 -rw-r--r-- 1 root wheel 4.5K Mar 20 2009 _dbus_glib_bindings.a 2 -rwxr-xr-x 1 root wheel 1.1K Mar 20 2009 _dbus_glib_bindings.la 8 -rwxr-xr-x 1 root wheel 7.2K Mar 20 2009 _dbus_glib_bindings.so 2 drwxr-xr-x 3 root wheel 1.5K Mar 20 2009 dbus 2 -rw-r--r-- 1 root wheel33B Mar 20 2009 dbus_bindings.py 2 -rw-r--r-- 1 root wheel 191B Mar 20 2009 dbus_bindings.pyc 2 -rw-r--r-- 1 root wheel 191B Mar 20 2009 dbus_bindings.pyo [r...@ziggy [/usr/ports/lang/python]# [..] If I've missed anything, by all means, let me know and I shall provide it. P.S. I cross-posted this to 'gnome at' as well as 'freebsd-gnome at' as I was unsure/unclear if they were the same list or not. ___ freebsd-gn...@freebsd.org mailing list
cpio misunderstanding?
Let me state a couple of given's up front: 1) I would post this on a FreeSBIE list if I could find one. 2) I think the issue I have right now is not understanding completely the limitations of cpio. My problem is that when building the file system to use for making the iso cpio fails when copying some of the files saying Operation not permitted. These are some of the files fairly important to the operating system like libexec/ld-elf.so.1 and lib/libc.so.7. I don't see any reason for copying the other 16,540 files and failing on these 22 important files. Can anyone point me in the right direction for a better understanding of what's going on, or even just call me an idiot and tell me the simple thing I've missed? Either will be appreciated. Joe. Details I'm using 8.1-STABLE FreeBSD 8.1-STABLE #2, and freesbie-2.0.20070710 from ports. I've updated the kernel conf file to match GENERIC, with the following lines from the original FreeSBIE kernel added at the end: device bktr options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_DEFAULT_TO_ACCEPT device pf device pflog device pfsync options IPSTEALTH options IPDIVERT options GEOM_UZIP options GEOM_LABEL options VESA options SC_PIXEL_MODE The system seems to build fine but hits a snag in this section of the script: # If FILE_LIST isn't defined... if [ -z ${FILE_LIST:-} ]; then # then copy the whole filesystem find . -print -depth | cpio -dump -l -v ${CLONEDIR} ${LOGFILE} 21 else # else pass it to cpio ... more code to dump filenames from ${FILE_LIST} to cpio ... fi If I try to run it manually on one of the files that fails, I get this: slug# echo /usr/local/freesbie-fs/libexec/ld-elf.so.1 | cpio -dump -l -v /usr/local/freesbie-clone /usr/local/freesbie-clone/usr/local/freesbie-fs/libexec/ld-elf.so.1 cpio: Can't create '/usr/local/freesbie-clone/usr/local/freesbie- fs/libexec/ld-elf.so.1': Operation not permitted 0 blocks I can use cp to copy the file, so I don't understand what's going on here. Does anyone have any ideas? /Details ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cpio misunderstanding?
Pegasus Mc Cleaft wrote: If I try to run it manually on one of the files that fails, I get this: slug# echo /usr/local/freesbie-fs/libexec/ld-elf.so.1 | cpio -dump -l -v /usr/local/freesbie-clone /usr/local/freesbie-clone/usr/local/freesbie-fs/libexec/ld-elf.so.1 cpio: Can't create '/usr/local/freesbie-clone/usr/local/freesbie- fs/libexec/ld-elf.so.1': Operation not permitted 0 blocks I can use cp to copy the file, so I don't understand what's going on here. Does anyone have any ideas? I don't know if this is your problem, but whenever I see that Operation not permitted error I start to suspect file flags. You might want to check for extra flags put on the source file or destination directory and see if anything weird had been set on it. You can look at the flags with the command ls -lao. You may also want to do a man chflags and read the manual page there. OK, now I know what's going on. I just don't know why. The immutable flag was set on all these files, if you clear it cpio will happily copy them to the new directory. I'm guessing it's a change in how the installation copies the files with the schg intact, I ran into a discussion about that from 2008. The original FreeSBIE scripts were based on FBSD 6.2 and maybe never ran into this issue. I don't quite get why this works this way though. I understand the immutable flag will keep the file itself from being changed, deleted or moved. But I don't see in any documentation that the immutable flag will not allow a file to be copied. I did note that when using the 'cp' command it cleared the immutable bit on the new file instead of keeping it, but at least it makes the copy. Joe. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ipfw and outbound IP rules
Hello, I'm using imapproxy and it is making outbound connections using one of my IP aliases rather than the parent IP. According to the devs of this software there is no such option to specify the outbound IP. Can I create an ipfw rule that will reroute/rewrite requests from one of these secondary IP into my main IP? This will help make setting up firewalls on machines that receive this traffic more predictable... Is there a name for what I want to do so that I can Google this sort of thing in the future? -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org http://www.netmusician.org j...@netmusician.org mailto:j...@netmusician.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
IP aliasing and Postfix
Hello, I have a few IP aliases setup: em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM ether 00:0c:29:79:d5:66 inet address1 netmask 0xff80 broadcast broadcast address inet address2 netmask 0xff80 broadcast broadcast address inet address3 netmask 0xff80 broadcast broadcast address media: Ethernet autoselect (1000baseT full-duplex) status: active How do I make address3 the ifconfig default over its aliases? The problem is, as far as mail sending goes the IP address that should be used is address3, when what is presented to my relayhost is address1. My rc.conf: ifconfig_em0=inet address3 netmask 255.255.255.128 ifconfig_em0_alias0=inet address1 netmask 255.255.255.128 ifconfig_em0_alias1=inet address2 netmask 255.255.255.128 How do I get Postfix to use address3 in sending out mail? If I set Postfix's myhostname to a FQDN that resolves as address3, inet_interfaces will not work when set to: inet_interfaces = $myhostname it needs to be set to: inet_interfaces = $myhostname, localhost I see nothing in Postfix that would explain why Postfix is gleaming onto address1, which makes me think that perhaps this is a BSD ifconfig thing and it is gleaming onto the first address it finds associated with my em0 interface, which if the ifconfig and its IP order means anything, is address1? Does this make sense? Anyway to set the default here? -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org http://www.netmusician.org j...@netmusician.org mailto:j...@netmusician.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: IP aliasing and Postfix
Коньков Евгений wrote: # OUTGOING MAIL FROM IP smtp_bind_address=address3 Thanks, this is exactly what I needed! -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org http://www.netmusician.org j...@netmusician.org mailto:j...@netmusician.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/usr/local/lib/compat and /usr/local/lib/compat/pkg
The other night I spent some frustrating time discovering that after updating from 7.2 to 8.1, for some reason some of the libraries in /usr/local/lib/compat/pkg were 32 bit on my 64 bit system which was causing several of my binaries to generate unsupported filesystem layout errors. I ended up copying the ones from /usr/local/lib/compat into /usr/local/lib/compat/pkg which seemed to fix the problem. Will this solution end up hurting me? Was there an official pathname change to phase out the pkg directory at some point that might warrant updating all of my packages (which I forgot to do)? -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org http://www.netmusician.org j...@netmusician.org mailto:j...@netmusician.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /usr/local/lib/compat and /usr/local/lib/compat/pkg
Dan Nelson wrote: In the last episode (Oct 21), Joe Auty said: The other night I spent some frustrating time discovering that after updating from 7.2 to 8.1, for some reason some of the libraries in /usr/local/lib/compat/pkg were 32 bit on my 64 bit system which was causing several of my binaries to generate unsupported filesystem layout errors. I ended up copying the ones from /usr/local/lib/compat into /usr/local/lib/compat/pkg which seemed to fix the problem. Did you also do a 32- 64-bit migration at some point? You probably should have moved everything in /usr/local/lib/compat to /usr/local/lib32 then to avoid problems. 32-bit apps shouldn't look for their shlibs in /usr/local/lib on a 64-bit system. You can manually move any remaining ones by using the file command to identify 32-bit files, then moving them (or removing them if you have no 32-bit apps anymore). Nope, there was never a 32 - 64 bit migration or vice versa. However, doing a: file /usr/local/lib/compat/pkg/libcrypt.so.4 indicated that several of these libraries in compat/pkg were i386 rather than amd64. -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org http://www.netmusician.org j...@netmusician.org mailto:j...@netmusician.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
newsyslog.conf and Apache log files
Hello, I have the following entry for dealing with my Apache log files: /var/log/httpd/* 644 2 * $M1D0 GBJ /var/run/httpd.pid 30 Unfortunately, this has created these big long log files such as the following: httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2 How can I prevent these dumb log file names from being created? -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org http://www.netmusician.org j...@netmusician.org mailto:j...@netmusician.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: newsyslog.conf and Apache log files
Lowell Gilbert wrote: Joe Auty j...@netmusician.org writes: Hello, I have the following entry for dealing with my Apache log files: /var/log/httpd/* 644 2 * $M1D0 GBJ /var/run/httpd.pid 30 Unfortunately, this has created these big long log files such as the following: httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2 How can I prevent these dumb log file names from being created? Don't use wildcards in newsyslog.conf. What's happening is httperror_log.2.bz2 gets rotated into httperror_log.2.baz2.1.bz2, because it matches the filename glob you specified. Aha! That makes sense... What alternatives are there then so that I don't have to type in log file paths for each of my virtually hosted domains? How about: /var/log/httpd/*_log would this work? -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org http://www.netmusician.org j...@netmusician.org mailto:j...@netmusician.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ZFS jails
I am thinking about running zfs on the host for everything except booting the system. I plan to create a 1gb zfs area which I want to use for a jail directory tree. Is this possible? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org