Re: best way to rebuild all perl ports
2011-01-05 02:42, ja...@gnix.co.uk skrev: Do you have PERL_VERSION= set correctly in /etc/make.conf? This was set automatically when i first installed perl5.12. This line was later over-written when perl5.10 was installed. Since i used portupgrade to change back to perl5.12 this line has been set correctly. Susbsequent ports i've installed that require perl have been built against 5.12. jamie Hi Check so you not have perl-threaded. If you have you must type portupgrade -fr perl-treaded. Othervise it just do nothing. Sven ___ 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: setting a random password with PAM API
Christopher J. Ruwe c...@cruwe.de writes: I am trying to implement the feature to set a random password like in BSD pw usermod -W in the Solaris passwd. Regrettably, I have not found or perhaps not understood the PAM API documentation on how to _inject a given string_ into the change-auth-token function pam_chauthtok(...), which always jumps in an interactive pw-changing loop. There is no reliable way to do that. You don't even know that there is such a thing as a password. DES -- Dag-Erling Smørgrav - d...@des.no ___ 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
mysql-5.5.8 Postfix/Dovecot
I have seen it posted here and on the Dovecot forum that upgrading to mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot. Apparently reverting to the mysql-client-5.5.7 corrects this problem. Can any one else confirm this or is this simply an isolated incident? If this is correct, is there a PR filed against it? I was not able to locate one. Specifically, I am interested in the interaction on an FreeBSD-8.2 / amd64 system. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ Kaufman's First Law of Party Physics: Population density is inversely proportional to the square of the distance from the keg. ___ 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
port print/teTeX-base failed to install
I'm updating to teTeX-base-3.0_21. I can build the port, but trying to install it gives me this error: *snip* install -o root -g wheel -m 444 ./mktex.opt /usr/local/share/texmf/web2c/mktex.opt install -o root -g wheel -m 555 ./mktexdir /usr/local/share/texmf/web2c/mktexdir install -o root -g wheel -m 444 ./mktexdir.opt /usr/local/share/texmf/web2c/mktexdir.opt install -o root -g wheel -m 555 ./mktexnam /usr/local/share/texmf/web2c/mktexnam install -o root -g wheel -m 444 ./mktexnam.opt /usr/local/share/texmf/web2c/mktexnam.opt install -o root -g wheel -m 555 ./mktexupd /usr/local/share/texmf/web2c/mktexupd /bin/sh ../libtool --mode=install install -o root -g wheel -m 444 .libs/libkpathsea.a /usr/local/lib install -o root -g wheel -m 444 .libs/libkpathsea.a /usr/local/lib/libkpathsea.a ranlib /usr/local/lib/libkpathsea.a chmod 644 /usr/local/lib/libkpathsea.a /bin/sh ../libtool --mode=install install -s -o root -g wheel -m 555 kpsewhich /usr/local/bin install -o root -g wheel -m 555 -s kpsewhich /usr/local/bin/kpsewhich install -s -o root -g wheel -m 555 kpsestat /usr/local/bin BFD: /usr/local/bin/stZ0ROVc: The first section in the PT_DYNAMIC segment is not the .dynamic section strip:/usr/local/bin/stZ0ROVc[.interp]: Bad value BFD: /usr/local/bin/stZ0ROVc: The first section in the PT_DYNAMIC segment is not the .dynamic section strip:/usr/local/bin/stZ0ROVc: Bad value install: wait: No such file or directory gmake[2]: *** [install-exec] Error 70 gmake[2]: Leaving directory `/usr/ports/print/teTeX-base/work/tetex-src-3.0/texk/kpathsea' gmake[1]: *** [install] Error 1 gmake[1]: Leaving directory `/usr/ports/print/teTeX-base/work/tetex-src-3.0/texk' gmake: *** [install] Error 1 *** Error code 2 Stop in /usr/ports/print/teTeX-base. # Please advise many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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
Why top(1) only shows time of the main thread?
TIME column is supposed to show time of the process (according to its man page). But it seems like it only shows the time of its main thread. Why? Bug in documentation? Yuri ___ 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: init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs
On Mon, Dec 27, 2010 at 03:04:44PM +, Matthew Seaman wrote: On 27/12/2010 14:11, Anton Shterenlikht wrote: On 9.0-CURRENT r216732 ia64 I get this message: % grep getty /var/log/messages | tail Dec 27 13:26:57 mech-cluster241 init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs Dec 27 13:27:27 mech-cluster241 init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs Dec 27 13:27:57 mech-cluster241 init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs Dec 27 13:45:22 mech-cluster241 init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs Dec 27 13:45:53 mech-cluster241 init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs Dec 27 13:46:23 mech-cluster241 init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs Dec 27 13:52:55 mech-cluster241 init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs Dec 27 13:53:25 mech-cluster241 init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs Dec 27 13:57:56 mech-cluster241 init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs Dec 27 13:58:26 mech-cluster241 init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs % % grep ttyv8 /etc/ttys ttyv8 /usr/local/bin/xdmxterm on secure % cat /var/log/xdm.log % And no other indication of anything going wrong. I've seen quite a few similar reports on the net, but no conclusive answer. What exactly does the above message mean? Usually that xdm is failing to start. getty will keep trying to run it, and wil fill your log files with messages of failure until you fix the problem. I'd turn off xdm on that vty temporarily, [change 'on' to 'off' in that line in /etc/ttys, and 'kill -HUP 1' to restart init] and then try running xdm manually from the console to see what happens. It could be all sorts of things causing the problem. Matthew, yes, this helped. I don't get this message in the logs anymore. Perhaps the problem is that this node has no graphics card. It accepts XDMCP connections only via network. All virtual terminals are off, only serial terminals are allowed in /etc/ttys. Maybe this conficts with the normal operation of getty.. I'd still like to start xdm automatically on reboot. If I can't do it via /etc/ttys, what would be the alternative way? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: best way to rebuild all perl ports
Check so you not have perl-threaded. If you have you must type portupgrade -fr perl-treaded. Othervise it just do nothing. wow that was easy. this was the problem and it's now rebuilding everything. thanks to everyone for their advice. jamie ___ 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: mysql-5.5.8 Postfix/Dovecot
On Wed, Jan 5, 2011 at 2:49 PM, Jerry freebsd.u...@seibercom.net wrote: I have seen it posted here and on the Dovecot forum that upgrading to mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot. Apparently reverting to the mysql-client-5.5.7 corrects this problem. Can any one else confirm this or is this simply an isolated incident? If this is correct, is there a PR filed against it? I was not able to locate one. Specifically, I am interested in the interaction on an FreeBSD-8.2 / amd64 system. I haven't filed a case though. My system is 8.2-STABLE/i386. I was running 5.5.7 with Request Tracker (Devel)http://bestpractical.com/rtand all played nice until I upgraded to 5.5.8. As this is a test platform, I wanted to install the next devel version of RT when I encountered a problem with initializing the database: I get this error: cut DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ENGINE=InnoDB CHARACTER SET utf8' at line 15 at /usr/home/wash/Tools/RT/RT-4/rt-4.0.0rc1/sbin/../lib/RT/Handle.pm line 508. *** Error code 255 /cut My worry is so much about the character set error. I also found my dovecot broken: Jan 05 15:26:16 master: Error: service(auth): child 46112 returned error 1 Jan 05 15:26:16 master: Error: service(auth): command startup failed, throttling Jan 05 15:26:51 pop3-login: Error: Timeout waiting for handshake from auth server. my pid=46111, input bytes=0 Jan 05 15:27:16 auth: Error: /libexec/ld-elf.so.1: /usr/local/lib/libmysqlclient.so.16: version libmysqlclient_16 required by /usr/local/libexec/dovecot/auth not defined -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: a perl question
In freebsd-questions Digest, Vol 344, Issue 4, Message: 14 On Tue, 4 Jan 2011 23:24:01 -0700 Chad Perrin per...@apotheon.com wrote: On Tue, Jan 04, 2011 at 09:33:03AM -0800, Randal L. Schwartz wrote: Patrick == Patrick Bihan-Faou patrick.bihan-f...@teambox.fr writes: Patrick cat asdf.txt | grep -v XYZ | grep -v bla And yet, you still have the Useless Use of Cat. The weirdest thing about most useless uses of cat is that not using cat would actually be a little clearer and involve fewer keystrokes -- as in this case. Do you know of any 'less useless' or more economical way to do such as: % cat /boot/boot1 /boot/boot2 | diff - /boot/boot % ?, Ian ___ 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
Real ISO-8859-15 support or just an `alias' to 8859-1 ?
Hello, I can't write these characters '€' 'œ' using ISO-8859-15 locales, in fact the 'œ' character is replaced with '½'. As you can see here http://fr.wikipedia.org/wiki/ISO_8859-15 the œ character should be replaced with ½, so i'm guessing if the locales are really using ISO-8859-15 and not only 8859-1 These problems were reported on xterm / urxvt with or without vim. My locales : mark...@melon ~ $ locale LANG=fr_FR.ISO8859-15 LC_CTYPE=fr_FR.ISO8859-15 LC_COLLATE=fr_FR.ISO8859-15 LC_TIME=fr_FR.ISO8859-15 LC_NUMERIC=fr_FR.ISO8859-15 LC_MONETARY=fr_FR.ISO8859-15 LC_MESSAGES=fr_FR.ISO8859-15 LC_ALL= Kind regards, -- David Demelier ___ 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: Real ISO-8859-15 support or just an `alias' to 8859-1 ?
Le Wed, 05 Jan 2011 14:49:31 +0100, David Demelier demelier.da...@gmail.com a écrit : Hello, Hello, I can't write these characters '€' 'œ' using ISO-8859-15 locales, in fact the 'œ' character is replaced with '½'. As you can see here http://fr.wikipedia.org/wiki/ISO_8859-15 the œ character should be replaced with ½, so i'm guessing if the locales are really using ISO-8859-15 and not only 8859-1 These problems were reported on xterm / urxvt with or without vim. I think the problem is the font. It works fine using an iso8859-* in xterm, by example: $ xterm -font '-*-fixed-medium-r-*-*-18-*-*-*-*-*-iso8859-*' Works fine with Terminal too. My locales : mark...@melon ~ $ locale LANG=fr_FR.ISO8859-15 LC_CTYPE=fr_FR.ISO8859-15 LC_COLLATE=fr_FR.ISO8859-15 LC_TIME=fr_FR.ISO8859-15 LC_NUMERIC=fr_FR.ISO8859-15 LC_MONETARY=fr_FR.ISO8859-15 LC_MESSAGES=fr_FR.ISO8859-15 LC_ALL= looks good, I use: ~$ locale LANG=fr_FR.ISO8859-15 LC_CTYPE=fr_FR.ISO8859-15 LC_COLLATE=fr_FR.ISO8859-15 LC_TIME=fr_FR.ISO8859-15 LC_NUMERIC=fr_FR.ISO8859-15 LC_MONETARY=fr_FR.ISO8859-15 LC_MESSAGES=fr_FR.ISO8859-15 LC_ALL=fr_FR.ISO8859-15 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
Re: Real ISO-8859-15 support or just an `alias' to 8859-1 ?
On 05/01/2011 15:07, Patrick Lamaiziere wrote: Le Wed, 05 Jan 2011 14:49:31 +0100, David Demelierdemelier.da...@gmail.com a écrit : Hello, Hello, I can't write these characters '€' 'œ' using ISO-8859-15 locales, in fact the 'œ' character is replaced with '½'. As you can see here http://fr.wikipedia.org/wiki/ISO_8859-15 the œ character should be replaced with ½, so i'm guessing if the locales are really using ISO-8859-15 and not only 8859-1 These problems were reported on xterm / urxvt with or without vim. I think the problem is the font. No, my font is DejaVu and it supports these characters! It works fine using an iso8859-* in xterm, by example: $ xterm -font '-*-fixed-medium-r-*-*-18-*-*-*-*-*-iso8859-*' Exactly the same thing, '1/2' instead of 'oe' and a square instead of euro sign. It looks like I'm really using 8859-1 instead of 8859-15. Works fine with Terminal too. My locales : mark...@melon ~ $ locale LANG=fr_FR.ISO8859-15 LC_CTYPE=fr_FR.ISO8859-15 LC_COLLATE=fr_FR.ISO8859-15 LC_TIME=fr_FR.ISO8859-15 LC_NUMERIC=fr_FR.ISO8859-15 LC_MONETARY=fr_FR.ISO8859-15 LC_MESSAGES=fr_FR.ISO8859-15 LC_ALL= looks good, I use: ~$ locale LANG=fr_FR.ISO8859-15 LC_CTYPE=fr_FR.ISO8859-15 LC_COLLATE=fr_FR.ISO8859-15 LC_TIME=fr_FR.ISO8859-15 LC_NUMERIC=fr_FR.ISO8859-15 LC_MONETARY=fr_FR.ISO8859-15 LC_MESSAGES=fr_FR.ISO8859-15 LC_ALL=fr_FR.ISO8859-15 Regards. -- David Demelier ___ 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: vsftpd + SSL not working
On Thu, Dec 9, 2010 at 2:46 PM, Redd Vinylene reddvinyl...@gmail.comwrote: On Thu, Dec 9, 2010 at 1:16 PM, Odhiambo Washington odhia...@gmail.comwrote: On Thu, Dec 9, 2010 at 3:10 PM, Redd Vinylene reddvinyl...@gmail.comwrote: I'm trying to set up a virtual vsftpd-ssl-2.3.2 server (FreeBSD 8.2-PRERELEASE) so my band can share new tracks, production material and what not, but my SSL certificate keeps messing it up: http://pastie.org/1358536 - anybody know why? It works just fine when I disable the SSL. I have no firewalls running. I hope this is not too off-topic. I just don't know where else to ask. Would it not be better if you posted your configuration and debug logs for those willing to help you out to see? It's all in http://pastie.org/1358536, but incase you don't want to click the link: ## /var/log/vsftpd.conf (FTPRush) Wed Dec 8 11:21:07 2010 [pid 38781] CONNECT: Client 161.149.221.220 Wed Dec 8 11:21:07 2010 [pid 38781] DEBUG: Client 161.149.221.220, SSL version: TLSv1/SSLv3, SSL cipher: DES-CBC3-SHA, not reused, no cert Wed Dec 8 11:21:08 2010 [pid 38780] [bruner] OK LOGIN: Client 161.149.221.220 Wed Dec 8 11:21:08 2010 [pid 38781] [bruner] DEBUG: Client 161.149.221.220, SSL version: TLSv1/SSLv3, SSL cipher: DES-CBC3-SHA, not reused, no cert Wed Dec 8 11:21:08 2010 [pid 38781] [bruner] DEBUG: Client 161.149.221.220, SSL shutdown state is: NONE Wed Dec 8 11:21:08 2010 [pid 38781] [bruner] DEBUG: Client 161.149.221.220, SSL shutdown state is: SSL_SENT_SHUTDOWN And then the directory listing after 3 minutes: Wed Dec 8 11:24:29 2010 [pid 38781] [bruner] DEBUG: Client 161.149.221.220, SSL shutdown state is: 3 ## /var/log/vsftpd.conf (FlashFXP) Wed Dec 8 11:33:50 2010 [pid 56557] [bruner] OK LOGIN: Client 161.149.221.220 Wed Dec 8 11:33:51 2010 [pid 56558] [bruner] DEBUG: Client 161.149.221.220, SSL version: TLSv1/SSLv3, SSL cipher: DES-CBC3-SHA, reused, no cert Wed Dec 8 11:33:51 2010 [pid 56558] [bruner] DEBUG: Client 161.149.221.220, SSL shutdown state is: NONE Wed Dec 8 11:33:51 2010 [pid 56558] [bruner] DEBUG: Client 161.149.221.220, SSL shutdown state is: SSL_SENT_SHUTDOWN Wed Dec 8 11:33:51 2010 [pid 56558] [bruner] DEBUG: Client 161.149.221.220, SSL shutdown state is: SSL_SENT_SHUTDOWN Wed Dec 8 11:33:51 2010 [pid 56558] [bruner] DEBUG: Client 161.149.221.220, SSL shutdown state is: SSL_SENT_SHUTDOWN Wed Dec 8 11:33:51 2010 [pid 56558] [bruner] DEBUG: Client 161.149.221.220, SSL ret: 18446744073709551615, SSL error: error::lib(0):func(0):reason(0), errno: 22 Wed Dec 8 11:33:53 2010 [pid 56559] [bruner] OK DELETE: Client 161.149.221.220, /bruner_december_2010/track_1.mp3 Wed Dec 8 11:33:53 2010 [pid 56559] [bruner] OK DELETE: Client 161.149.221.220, /bruner_december_2010/tracks.sfv Wed Dec 8 11:33:53 2010 [pid 56559] [bruner] OK DELETE: Client 161.149.221.220, /bruner_december_2010/tracks.txt Wed Dec 8 11:33:53 2010 [pid 56559] [bruner] OK DELETE: Client 161.149.221.220, /bruner_december_2010/tracks.m3u And in FlashFXP: [R] 200 PORT command successful. Consider using PASV. [R] STOR tracks.m3u [R] Transfer Failed! [R] Connection lost: bruner I tried installing OpenSSL 1.0.0b from ports over 0.9.8p that came with FreeBSD - and then recompiling vsftpd (commenting out the .if ${OSVERSION} 70 and the .endif below it in the Makefile to force it to link to the port) - but it made no difference. ## openssl s_client -state -connect my_ip:800 (remote box) CONNECTED(0003) SSL_connect:before/connect initialization SSL_connect:SSLv2/v3 write client hello A SSL_connect:error in SSLv2/v3 read server hello A 3280:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:567: ## openssl s_client -tls1 -state -connect my_ip:800 (remote box) CONNECTED(0003) SSL_connect:before/connect initialization SSL_connect:SSLv3 write client hello A SSL3 alert write:fatal:protocol version SSL_connect:error in SSLv3 read server hello A 3392:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_pkt.c:284: ## openssl s_server -cert vsftpd.pem -key vsftpd.pem -accept 4443 (localhost) Using default temp DH parameters Using default temp ECDH parameters ACCEPT -BEGIN SSL SESSION PARAMETERS- MHUCAQECAgMBBAIAOQQgMAQ7m6+qXFxEjTGqANwiHnptuHDkR+55xtbmzAhtHDwE MLF1LRUOLLBlR8J9QrkZkiCtBgWC88NwFVX4p9wYtt09Ms0MQm/EuzMB1Jm7uquC taEGAgRM/7XlogQCAgEspAYEBAE= -END SSL SESSION PARAMETERS- Shared
Bot?
Keep getting calls from our provider at one location that our FreeBSD 8.0-RELEASE server is sending bursts of 1000 spam messages to 70K recipients. Since the first call a few weeks ago, I have MRTG and Mail Statistics graphs setup and see no spikes in traffic. Their last sighting was over the weekend and graphs show a reduction in traffic during that time as expected, again with no spikes in traffic or messages sent/received by our Postfix/Amavisd-maia MTA. All services on that server including SSH, SMTP and mail queue size all monitored by Nagios and have had no alerts from that server. Nonetheless, they claim I must have a bot and the mail is not passing through my own SMTP. And I suspect little traffic is needed for the alleged bursts. They have no envelope info. Can someone advise on what port(s) are available for bot detection and/or prevention? In all my years of running FreeBSD as mail gateways, this is the first time I've had this issue. --Robert ___ 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: Bot?
It's unlikely that the bot would relay outbound spam through your MTA - that would be inconvenient, slow and raise some suspicion. If the provider is right, you most likely have a bit of code running on the server that is directly connecting to external mail servers. There could be reasons you aren't seeing a spike, such as you're only looking at traffic processed by the MTA, or it simply doesn't show as a material increase on a graph of traffic on the network interface if the server is busy. Jerry On 1/5/2011 10:41 AM, Robert Fitzpatrick wrote: Keep getting calls from our provider at one location that our FreeBSD 8.0-RELEASE server is sending bursts of 1000 spam messages to 70K recipients. Since the first call a few weeks ago, I have MRTG and Mail Statistics graphs setup and see no spikes in traffic. Their last sighting was over the weekend and graphs show a reduction in traffic during that time as expected, again with no spikes in traffic or messages sent/received by our Postfix/Amavisd-maia MTA. All services on that server including SSH, SMTP and mail queue size all monitored by Nagios and have had no alerts from that server. ___ 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: Bot?
El dÃa Wednesday, January 05, 2011 a las 10:41:29AM -0500, Robert Fitzpatrick escribió: Keep getting calls from our provider at one location that our FreeBSD 8.0-RELEASE server is sending bursts of 1000 spam messages to 70K recipients. Since the first call a few weeks ago, I have MRTG and Mail Statistics graphs setup and see no spikes in traffic. Their last sighting was over the weekend and graphs show a reduction in traffic during that time as expected, again with no spikes in traffic or messages sent/received by our Postfix/Amavisd-maia MTA. All services on that server including SSH, SMTP and mail queue size all monitored by Nagios and have had no alerts from that server. Nonetheless, they claim I must have a bot and the mail is not passing through my own SMTP. And I suspect little traffic is needed for the alleged bursts. They have no envelope info. Can someone advise on what port(s) are available for bot detection and/or prevention? In all my years of running FreeBSD as mail gateways, this is the first time I've had this issue. --Robert Check with tcpdump (on another host connected by a HUB, no switch, to the box) if you can see that port 25 traffic of the NIC of the host; that would be my 1st check to catch it... If someone has lifted up your FreeBSD into a VM running on that bot, you will not see this inside the FreeBSD, I think. matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ ___ 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: a perl question
Quoth Chad Perrin on Tuesday, 04 January 2011: On Tue, Jan 04, 2011 at 09:33:03AM -0800, Randal L. Schwartz wrote: Patrick == Patrick Bihan-Faou patrick.bihan-f...@teambox.fr writes: Patrick cat asdf.txt | grep -v XYZ | grep -v bla And yet, you still have the Useless Use of Cat. The weirdest thing about most useless uses of cat is that not using cat would actually be a little clearer and involve fewer keystrokes -- as in this case. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] I blame OOP. Programmer thinks about the data stream before they think about the process. It's a nouns-first orientation. -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgpaYeod9JmjW.pgp Description: PGP signature
Re: a perl question
Quoth Ian Smith on Thursday, 06 January 2011: In freebsd-questions Digest, Vol 344, Issue 4, Message: 14 On Tue, 4 Jan 2011 23:24:01 -0700 Chad Perrin per...@apotheon.com wrote: On Tue, Jan 04, 2011 at 09:33:03AM -0800, Randal L. Schwartz wrote: Patrick == Patrick Bihan-Faou patrick.bihan-f...@teambox.fr writes: Patrick cat asdf.txt | grep -v XYZ | grep -v bla And yet, you still have the Useless Use of Cat. The weirdest thing about most useless uses of cat is that not using cat would actually be a little clearer and involve fewer keystrokes -- as in this case. Do you know of any 'less useless' or more economical way to do such as: % cat /boot/boot1 /boot/boot2 | diff - /boot/boot % ?, Ian ___ 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 Here you're using cat for what it was intended -- conCATenation. It's the right tool for that job. -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgp6YwaaNVSZJ.pgp Description: PGP signature
Re: Bot?
On 5 January 2011 10:47, Jerry Bell je...@nrdx.com wrote: There could be reasons you aren't seeing a spike, such as you're only looking at traffic processed by the MTA, or it simply doesn't show as a material increase on a graph of traffic on the network interface if the server is busy. Those are good points and to go a little further regarding looking at traffic... To really see what your machine is doing, consider taking a look at the network flows. pfflowd, netflowd, ipaudit and a host of others can get you flow data with mostly minimal overhead. kmw ___ 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: Real ISO-8859-15 support or just an `alias' to 8859-1 ?
by the way xev outputs this : KeyPress event, serial 27, synthetic NO, window 0x1c1, root 0x12c, subw 0x0, time 1519140, (917,798), root:(919,814), state 0x90, keycode 13 (keysym 0x20ac, EuroSign), same_screen YES, XLookupString gives 1 bytes: (a4) ¤ XmbLookupString gives 1 bytes: (a4) ¤ XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0x1c1, root 0x12c, subw 0x0, time 1519323, (917,798), root:(919,814), state 0x90, keycode 13 (keysym 0x20ac, EuroSign), same_screen YES, XLookupString gives 1 bytes: (a4) ¤ XFilterEvent returns: False -- David Demelier ___ 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
Checking for ZFS upgrade 'Gotcha's
Hi All: I'm just upgraded from FBSD 8.0 (amd64) to 8.1, I currently run with the ZFS file system containing root. I understand that in the past, after rebuilding world and kernel and upgrading the pool to version 14, there have been some issues concerning bootcode not being able to read the upgraded pools. Does anyone know if this is still an issue? Thanks, Gene Versions are: zfs upgrade This system is currently running ZFS filesystem version 3. All filesystems are formatted with the current version. and: zpool upgrade This system is currently running ZFS pool version 14. The following pools are out of date, and can be upgraded. After being upgraded, these pools will no longer be accessible by older software versions. VER POOL --- 13 zroot Use 'zpool upgrade -v' for a list of available versions and their associated features. -- ___ 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: Real ISO-8859-15 support or just an `alias' to 8859-1 ?
Le Wed, 05 Jan 2011 17:20:02 +0100, David Demelier demelier.da...@gmail.com a écrit : by the way xev outputs this : The keysym is good. IMO the problem is in the display. How do you see this text in iso-8859-15 (download and cat test.txt)? http://user.lamaiziere.net/patrick/test.txt You should see un œuf pour un €uro I confirm that the DejaVu font displays well the euro and the oe french ligature. Well, I don't know where is your problem. It has always worked fine here, on the console and under X11. If it can help, locale -a ~$ locale -a | grep fr_FR fr_FR.ISO8859-1 fr_FR.ISO8859-15 fr_FR.UTF-8 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
Re: port print/teTeX-base failed to install
On Wed, Jan 05, 2011 at 11:56:33AM +, Anton Shterenlikht wrote: I'm updating to teTeX-base-3.0_21. I can build the port, but trying to install it gives me this error: *snip* install -o root -g wheel -m 444 ./mktex.opt /usr/local/share/texmf/web2c/mktex.opt install -o root -g wheel -m 555 ./mktexdir /usr/local/share/texmf/web2c/mktexdir install -o root -g wheel -m 444 ./mktexdir.opt /usr/local/share/texmf/web2c/mktexdir.opt install -o root -g wheel -m 555 ./mktexnam /usr/local/share/texmf/web2c/mktexnam install -o root -g wheel -m 444 ./mktexnam.opt /usr/local/share/texmf/web2c/mktexnam.opt install -o root -g wheel -m 555 ./mktexupd /usr/local/share/texmf/web2c/mktexupd /bin/sh ../libtool --mode=install install -o root -g wheel -m 444 .libs/libkpathsea.a /usr/local/lib install -o root -g wheel -m 444 .libs/libkpathsea.a /usr/local/lib/libkpathsea.a ranlib /usr/local/lib/libkpathsea.a chmod 644 /usr/local/lib/libkpathsea.a /bin/sh ../libtool --mode=install install -s -o root -g wheel -m 555 kpsewhich /usr/local/bin install -o root -g wheel -m 555 -s kpsewhich /usr/local/bin/kpsewhich install -s -o root -g wheel -m 555 kpsestat /usr/local/bin BFD: /usr/local/bin/stZ0ROVc: The first section in the PT_DYNAMIC segment is not the .dynamic section strip:/usr/local/bin/stZ0ROVc[.interp]: Bad value BFD: /usr/local/bin/stZ0ROVc: The first section in the PT_DYNAMIC segment is not the .dynamic section strip:/usr/local/bin/stZ0ROVc: Bad value install: wait: No such file or directory gmake[2]: *** [install-exec] Error 70 gmake[2]: Leaving directory `/usr/ports/print/teTeX-base/work/tetex-src-3.0/texk/kpathsea' gmake[1]: *** [install] Error 1 gmake[1]: Leaving directory `/usr/ports/print/teTeX-base/work/tetex-src-3.0/texk' gmake: *** [install] Error 1 *** Error code 2 Stop in /usr/ports/print/teTeX-base. # Please advise many thanks anton teTeX is ancient and my advice would be to install TeXLive. It's not in ports but instructions for installing it can be found on the forums: https://forums.freebsd.org/showthread.php?t=9681 I think TeXLive 2010 has been released and this has binaries for FreeBSD. You can get this from http://www.tug.org/ and installation should consist of just running the installer. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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: port print/teTeX-base failed to install
teTeX is ancient and my advice would be to install TeXLive. It's not in ports but instructions for installing it can be found on the forums: I think TeXLive 2010 has been released and this has binaries for FreeBSD. You can get this from http://www.tug.org/ and installation should consist of just running the installer. Tug.org have provided TeXlive binaries for freebsd and installing it is easy but, some other ports do still require TeTeX as a dependency and it's not unsual to have both distributions installed - i do. jamie ___ 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: a perl question
On Thu, Jan 06, 2011 at 12:07:13AM +1100, Ian Smith wrote: Do you know of any 'less useless' or more economical way to do such as: % cat /boot/boot1 /boot/boot2 | diff - /boot/boot % Actually, that looks like a useful use of cat, whose original purpose it is to concatenate the contents of two files. `cat /boot/boot1 /boot/boot2` concatenates the contents of two files, so that the resulting single text stream can be treated as a file to be compared by diff to `/boot/boot`. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpTrSURKXqIn.pgp Description: PGP signature
Re: Real ISO-8859-15 support or just an `alias' to 8859-1 ?
On 05/01/2011 18:39, Patrick Lamaiziere wrote: Le Wed, 05 Jan 2011 17:20:02 +0100, David Demelierdemelier.da...@gmail.com a écrit : by the way xev outputs this : The keysym is good. IMO the problem is in the display. How do you see this text in iso-8859-15 (download and cat test.txt)? http://user.lamaiziere.net/patrick/test.txt You should see un œuf pour un €uro I confirm that the DejaVu font displays well the euro and the oe french ligature. Well, I don't know where is your problem. It has always worked fine here, on the console and under X11. If it can help, locale -a ~$ locale -a | grep fr_FR fr_FR.ISO8859-1 fr_FR.ISO8859-15 fr_FR.UTF-8 Regards. No it prints the square and the 1/2 :-(. On tty it works! So it's probably in X. -- David Demelier ___ 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: Bot?
On Wed, Jan 5, 2011 at 8:15 AM, Kevin Wilcox kevin.wil...@gmail.com wrote: On 5 January 2011 10:47, Jerry Bell je...@nrdx.com wrote: There could be reasons you aren't seeing a spike, such as you're only looking at traffic processed by the MTA, or it simply doesn't show as a material increase on a graph of traffic on the network interface if the server is busy. Those are good points and to go a little further regarding looking at traffic... To really see what your machine is doing, consider taking a look at the network flows. pfflowd, netflowd, ipaudit and a host of others can get you flow data with mostly minimal overhead. Also, keep in mind that depending on how badly the machine has been compromised, you may not be able to trust the output of utilities running on the machine itself. You may have to resort to capturing its network traffic on another machine for analysis. ___ 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: a new hard-drive in a 2y/o laptop
On Wed, Jan 5, 2011 at 12:44 AM, Ian Smith smi...@nimnet.asn.au wrote: Saw Chris' later message that -F isn't there for him, but here's what should be, on the data, the sure-fire way to clobber that last sector: dd if=/dev/zero of=/dev/ad4 oseek=1465149167 which command SHOULD report just 512 bytes written (we're sure it can't write past the end of the disk with no count specified), after which: dd if=/dev/ad4 iseek=1465149167 | hd SHOULD show zeroes from to 01ff (ie next block 0200) If not, there really must be some hardware issue with writing? Hopefully getting there! cheers, Ian [..] Fixit# sysctrl kern.geom.debugflags=16 kern.geom.debugflags: 0 - 16 Fixit# dd if=/dev/zero of=/dev/ad4 oseek=1465149167 dd: /dev/ad4: end of device 2+0 records in 1+0 records out 512 bytes transferred in 0.011 secs (51195 bytes/sec) Fixit# dd if=/dev/ad4 iseek=1465149167 | hd 1+0 records in 1+0 records out 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || 512 bytes transferred om 0.009863 secs (51912 bytes/sec) * 0200 Fixit# [..] restarting and back to sysinstall from BETA1 is nice dice ... same original error ... can I just zero the whole drive? ___ 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: Bot?
I agree on this point. That said, I once thought my employer's server was hacked and I ran local utilities and dug through months of logs only to discover that an install of either phpBB or phpMyAdmin had a slice of bad code that allowed someone to install software remotely and run its own p2p network off of it. I wasted a few days trying to dig in the wrong place. On Jan 5, 2011, at 12:25 PM, David Brodbeck wrote: On Wed, Jan 5, 2011 at 8:15 AM, Kevin Wilcox kevin.wil...@gmail.com wrote: On 5 January 2011 10:47, Jerry Bell je...@nrdx.com wrote: There could be reasons you aren't seeing a spike, such as you're only looking at traffic processed by the MTA, or it simply doesn't show as a material increase on a graph of traffic on the network interface if the server is busy. Those are good points and to go a little further regarding looking at traffic... To really see what your machine is doing, consider taking a look at the network flows. pfflowd, netflowd, ipaudit and a host of others can get you flow data with mostly minimal overhead. Also, keep in mind that depending on how badly the machine has been compromised, you may not be able to trust the output of utilities running on the machine itself. You may have to resort to capturing its network traffic on another machine for analysis. ___ 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: setting a random password with PAM API
On Wed, 05 Jan 2011 11:45:08 +0100 Dag-Erling Smørgrav d...@des.no wrote: Christopher J. Ruwe c...@cruwe.de writes: I am trying to implement the feature to set a random password like in BSD pw usermod -W in the Solaris passwd. Regrettably, I have not found or perhaps not understood the PAM API documentation on how to _inject a given string_ into the change-auth-token function pam_chauthtok(...), which always jumps in an interactive pw-changing loop. There is no reliable way to do that. You don't even know that there is such a thing as a password. DES Thank you very much for your answer, although I suspected so, I still hoped for another content. Kind regards, -- Christopher J. Ruwe TZ GMT + 1 signature.asc Description: PGP signature
Re: Bot?
On 5 January 2011 13:25, David Brodbeck g...@gull.us wrote: On Wed, Jan 5, 2011 at 8:15 AM, Kevin Wilcox kevin.wil...@gmail.com wrote: To really see what your machine is doing, consider taking a look at the network flows. pfflowd, netflowd, ipaudit and a host of others can get you flow data with mostly minimal overhead. Also, keep in mind that depending on how badly the machine has been compromised, you may not be able to trust the output of utilities running on the machine itself. You may have to resort to capturing its network traffic on another machine for analysis. That's an excellent point. A span port from the upstream switch/router would be ideal unless you've verified, through mechanisms external to the machine (known good test media), the tools on that machine are trustworthy. kmw ___ 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: init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs
On 05/01/2011 12:12, Anton Shterenlikht wrote: I'd still like to start xdm automatically on reboot. If I can't do it via /etc/ttys, what would be the alternative way? Well, you'ld have to start it as a daemon using some sort of rc.d file. There doesn't seem to be one supplied with the x11/xdm port, so I guess you'll have to write your own. Shouldn't be too difficult -- just copy and mutate some other relatively simple daemon's rc script. I think you'll need to put in some work on the Xdm config files, as it defaults to trying to manage a local display. Remember too that running X in plaintext over a network is roughly on a par, security wise, as running such deprecated services as rsh or rlogin. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Checking for ZFS upgrade 'Gotcha's
On 05/01/2011 16:06, Gene wrote: I'm just upgraded from FBSD 8.0 (amd64) to 8.1, I currently run with the ZFS file system containing root. I understand that in the past, after rebuilding world and kernel and upgrading the pool to version 14, there have been some issues concerning bootcode not being able to read the upgraded pools. Does anyone know if this is still an issue? Yes. ZFS is not actually prescient, so older boot blocks tend not to be able to read more recent versions of ZFS. However the cure is simple: reinstall the bootblocks using the upgraded version of ZFS you just installed. This is the final stage of, and should be a routine action when upgrading a ZFS based system: after installing the new kernel, then the new world and rebooting, check the kernel boot messages to see if ZFS says that upgraded zpool or zfs versions are available. If so, run 'zpool upgrade -a' and/or 'zfs upgrade -a', plus 'gpt bootcoode ...' to update the bootblocks on all relevant drives. Then reboot again to verify that it all works. Cheer, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: mysql-5.5.8 Postfix/Dovecot
On Wed, 5 Jan 2011 15:37:38 +0300 Odhiambo Washington odhia...@gmail.com articulated: On Wed, Jan 5, 2011 at 2:49 PM, Jerry freebsd.u...@seibercom.net wrote: I have seen it posted here and on the Dovecot forum that upgrading to mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot. Apparently reverting to the mysql-client-5.5.7 corrects this problem. Can any one else confirm this or is this simply an isolated incident? If this is correct, is there a PR filed against it? I was not able to locate one. Specifically, I am interested in the interaction on an FreeBSD-8.2 / amd64 system. I haven't filed a case though. My system is 8.2-STABLE/i386. I was running 5.5.7 with Request Tracker (Devel)http://bestpractical.com/rtand all played nice until I upgraded to 5.5.8. As this is a test platform, I wanted to install the next devel version of RT when I encountered a problem with initializing the database: I get this error: cut DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ENGINE=InnoDB CHARACTER SET utf8' at line 15 at /usr/home/wash/Tools/RT/RT-4/rt-4.0.0rc1/sbin/../lib/RT/Handle.pm line 508. *** Error code 255 /cut My worry is so much about the character set error. I also found my dovecot broken: Jan 05 15:26:16 master: Error: service(auth): child 46112 returned error 1 Jan 05 15:26:16 master: Error: service(auth): command startup failed, throttling Jan 05 15:26:51 pop3-login: Error: Timeout waiting for handshake from auth server. my pid=46111, input bytes=0 Jan 05 15:27:16 auth: Error: /libexec/ld-elf.so.1: /usr/local/lib/libmysqlclient.so.16: version libmysqlclient_16 required by /usr/local/libexec/dovecot/auth not defined I wonder if this is a Dovecot error or a problem with the MySQL upgrade. Did you try asking Timo regarding the Dovecot problem? In any case, it might be worth it to file a PR against both Dovecot and MySQL. Nothing will probably get done until one is filed. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ And that's the way it is... Walter Cronkite ___ 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: init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs
On Wed, Jan 05, 2011 at 06:54:58PM +, Matthew Seaman wrote: On 05/01/2011 12:12, Anton Shterenlikht wrote: I'd still like to start xdm automatically on reboot. If I can't do it via /etc/ttys, what would be the alternative way? Well, you'ld have to start it as a daemon using some sort of rc.d file. There doesn't seem to be one supplied with the x11/xdm port, so I guess you'll have to write your own. Shouldn't be too difficult -- just copy and mutate some other relatively simple daemon's rc script. yes, I thought so. I think you'll need to put in some work on the Xdm config files, as it defaults to trying to manage a local display. Remember too that running X in plaintext over a network is roughly on a par, security wise, as running such deprecated services as rsh or rlogin. yes, I know. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: make buildkernel pre-build too long
On Tue Sep 21 10, David DEMELIER wrote: 2010/9/21 Alexander Best arun...@freebsd.org: On Fri Sep 17 10, David DEMELIER wrote: 2010/9/17 Alexander Best arun...@freebsd.org: On Thu Sep 16 10, David DEMELIER wrote: Hi there, I can't understand why this part of make buildkernel is so long on my amd64 machine (8.1-R) make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP=cc -E CC=cc xargs mkdep -a -f .newdep -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector This command takes around 5-6 minutes before continuing, on my i386 machine (which is really old) it only takes about 20 seconds. The kernel configs are almost the same for both machines. are there any differences in /etc/make.conf? cheers. alex Do you have any idea? Kind regards, -- Demelier David -- a13x No, except the KERNCONF entry it's exactly the same : hmmmstrange. could you post the ouput of `make -VCFLAGS -VCOPTFLAGS` on both your machines, please? cheers. alex # General settings. KERNCONF=Melon MASTER_SORT?= .fr .uk # Portconf. .if !empty(.CURDIR:M/usr/ports*) exists(/usr/local/libexec/portconf) _PORTCONF!=/usr/local/libexec/portconf .for i in ${_PORTCONF:S/|/ /g} ${i:S/%/ /g} .endfor .endif # Perl. PERL_VERSION=5.10.1 # No need modules. NO_MODULES=yes # Specify other directories. WRKDIRPREFIX= /usr/obj DISTDIR= /usr/distfiles -- Demelier David -- a13x -O2 -pipe I think the problem is the amd64 architecture. When I buildkernel using TARGET_ARCH=i386 it takes only one minute or even less, it's only native target (amd64) which is long. i finally had the time to measue target buildkernel for amd64 and for i386: make buildkernel KERNCONF=GENERIC TARGET=i386 248,84s user 47,29s system 101% cpu 4:52,15 total vs. make buildkernel KERNCONF=GENERIC TARGET=amd64 246,36s user 47,08s system 103% cpu 4:44,62 total ...so no difference in my case. this was tested on a very recent HEAD with arch=amd64. cheers. alex Kind regards, -- Demelier David -- a13x ___ 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: Portupgrade status
On Tue, 04 Jan 2011 11:04:03 -0500, Warren Block wbl...@wonkity.com wrote: On Tue, 4 Jan 2011, Matthew Seaman wrote: On 04/01/2011 00:51, ill...@gmail.com wrote: No, the -R flag in portmaster tells it to not rebuild ports taht have already been built on this run (I believe from reading man portmaster). The -R flag in portupgrade rebuilds the ports on which the named port depends -R --upward-recursive Act on all those packages required by the given packages as well. (When specified with -F, fetch recursively, including the brand new, uninstalled ports that an upgraded port requires) I don't see any equivalent functionality for portmaster, sadly. This is actually portmaster's default behaviour. So: portupgrade -R foo/bar is equivalent to portmaster foo/bar portupgrade -fRr foo/bar is equivalent to portmaster -fr foo/bar I'm not seeing where portmaster has the portupgrade -R functionality (rebuild this port and those it depends on). portmaster(8) says The focus of this tool is to keep the dependency tracking information for your ports up to date. This allows you to safely update a specific port without having to update all of the ports above it. That would make the default action equivalent to portupgrade's -r option (rebuild this port and all those that depend on it). What have I missed? I agree the quoted passage might admit of more than one interpretation, but here is what I think it's saying: Portmaster will automagically update the dependencies for the port you select (= portupgrade -R). Thus there is no need to update the ports that depend on the one you have selected (= portupgrade -r), since all downstream dependencies will be taken care of by default whenever you run portmaster against any of these upstream ports. Jud -- I'd take the awe of understanding over the awe of ignorance any day. - Douglas Adams ___ 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: Real ISO-8859-15 support or just an `alias' to 8859-1 ?
On 05/01/2011 19:09, David Demelier wrote: On 05/01/2011 18:39, Patrick Lamaiziere wrote: Le Wed, 05 Jan 2011 17:20:02 +0100, David Demelierdemelier.da...@gmail.com a écrit : by the way xev outputs this : The keysym is good. IMO the problem is in the display. How do you see this text in iso-8859-15 (download and cat test.txt)? http://user.lamaiziere.net/patrick/test.txt You should see un œuf pour un €uro I confirm that the DejaVu font displays well the euro and the oe french ligature. Well, I don't know where is your problem. It has always worked fine here, on the console and under X11. If it can help, locale -a ~$ locale -a | grep fr_FR fr_FR.ISO8859-1 fr_FR.ISO8859-15 fr_FR.UTF-8 Regards. No it prints the square and the 1/2 :-(. On tty it works! So it's probably in X. It works with xfce4 Terminal ! -- David Demelier ___ 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: Any recommendations for FreeBSD VPS hosting?
On Thu, 30 Dec 2010 09:10:02 + Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 30/12/2010 01:21, n j wrote: Thanks for the input, I'll look into the suggested options: http://arpnetworks.com/vps http://www.rootbsd.net/virtual-hosting/ http://www.johncompanies.com/jc_bsd.html If you know of any other FreeBSD VPS providers, please share. For people this side of the pond, http://www.goscomb.net do FreeBSD VPS's too. They're a bit expensive but you get a VM that's just 0.6ms from Linx in the UK, great tech support and IPv6. -- Bruce Cran ___ 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: Bot? / pf question
On 05-Jan-11 1:44 PM, Kevin Wilcox wrote: On 5 January 2011 13:25, David Brodbeckg...@gull.us wrote: On Wed, Jan 5, 2011 at 8:15 AM, Kevin Wilcoxkevin.wil...@gmail.com wrote: To really see what your machine is doing, consider taking a look at the network flows. pfflowd, netflowd, ipaudit and a host of others can get you flow data with mostly minimal overhead. Also, keep in mind that depending on how badly the machine has been compromised, you may not be able to trust the output of utilities running on the machine itself. You may have to resort to capturing its network traffic on another machine for analysis. That's an excellent point. A span port from the upstream switch/router would be ideal unless you've verified, through mechanisms external to the machine (known good test media), the tools on that machine are trustworthy. kmw ___ Since I am going to be setting up a mail server sometime next week and have to keep things like this in mind; would it make sense to run pf and block all outbound traffic that isn't on port 25 ( port 995 , etc) and force any web administration programs onto a port other than 80 to help with this sort of thing? Any other thoughts on how to make sure future installations can be kept secure? As always, thanks in advance to everyone, Mark Moellering ___ 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: Bot? / pf question
Yes and no. You want to leave ftp open, too, just in case for port upgrading/downloading, plus you would want to do monitoring across the wire (Nagios or something, maybe?). You could, though, do a dual-NIC setup and have one be a private network LAN for the servers if you aren't already considering it. On Jan 5, 2011, at 1:48 PM, Mark Moellering wrote: Since I am going to be setting up a mail server sometime next week and have to keep things like this in mind; would it make sense to run pf and block all outbound traffic that isn't on port 25 ( port 995 , etc) and force any web administration programs onto a port other than 80 to help with this sort of thing? Any other thoughts on how to make sure future installations can be kept secure? As always, thanks in advance to everyone, Mark Moellering ___ 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: mysql-5.5.8 Postfix/Dovecot
On Wed, Jan 5, 2011 at 10:09 PM, Jerry freebsd.u...@seibercom.net wrote: On Wed, 5 Jan 2011 15:37:38 +0300 Odhiambo Washington odhia...@gmail.com articulated: On Wed, Jan 5, 2011 at 2:49 PM, Jerry freebsd.u...@seibercom.net wrote: I have seen it posted here and on the Dovecot forum that upgrading to mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot. Apparently reverting to the mysql-client-5.5.7 corrects this problem. Can any one else confirm this or is this simply an isolated incident? If this is correct, is there a PR filed against it? I was not able to locate one. Specifically, I am interested in the interaction on an FreeBSD-8.2 / amd64 system. I haven't filed a case though. My system is 8.2-STABLE/i386. I was running 5.5.7 with Request Tracker (Devel)http://bestpractical.com/rtand all played nice until I upgraded to 5.5.8. As this is a test platform, I wanted to install the next devel version of RT when I encountered a problem with initializing the database: I get this error: cut DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ENGINE=InnoDB CHARACTER SET utf8' at line 15 at /usr/home/wash/Tools/RT/RT-4/rt-4.0.0rc1/sbin/../lib/RT/Handle.pm line 508. *** Error code 255 /cut My worry is so much about the character set error. I also found my dovecot broken: Jan 05 15:26:16 master: Error: service(auth): child 46112 returned error 1 Jan 05 15:26:16 master: Error: service(auth): command startup failed, throttling Jan 05 15:26:51 pop3-login: Error: Timeout waiting for handshake from auth server. my pid=46111, input bytes=0 Jan 05 15:27:16 auth: Error: /libexec/ld-elf.so.1: /usr/local/lib/libmysqlclient.so.16: version libmysqlclient_16 required by /usr/local/libexec/dovecot/auth not defined I wonder if this is a Dovecot error or a problem with the MySQL upgrade. Did you try asking Timo regarding the Dovecot problem? In any case, it might be worth it to file a PR against both Dovecot and MySQL. Nothing will probably get done until one is filed. Such minor breakages (like Dovecot experienced) don't worry me much sometimes. I simply recompile and life continues. When I upgrade a port I always expect (as a matter of principle) that something might go wrong and I go looking for it. However, the breakage with RT is one that has left me so worried - that character set issue, since it manifests itself on the main system, and only with 5.5.8 and not 5.5.7! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: Bot? / pf question
On Wed, Jan 5, 2011 at 1:48 PM, Mark Moellering m...@msen.com wrote: That's an excellent point. A span port from the upstream switch/router Since I am going to be setting up a mail server sometime next week and have to keep things like this in mind; would it make sense to run pf and block all outbound traffic that isn't on port 25 ( port 995 , etc) and force any web administration programs onto a port other than 80 to help with this sort of thing? Any other thoughts on how to make sure future installations can be kept secure? As always, thanks in advance to everyone, That a great example of when jails should be used, I put each service into it's own jail eg MTA, FTP, www. Actually I use something like pound then put each different website in it's own jail. Make sure each database backed service has separate login/passwords. Then if something like phplist, or an MTA is compromised the host OS and utilities can still be trusted, in theory at least. Also a managed port can help you deal with issues by tracking stat metrics/port mirroring/etc. You can use something ezjail to make administration tasks easier, and if you isolate the jail FS's(UFS/ZFS) make use of the snapshotting utilities. There are a couple of utilities in ports to help automate snapshots too. -- Adam Vande More ___ 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 and
hi all: i set up the freeradius 21.100.1 on freebsd 8.1. it uses local authentication database of /etc/passwd (thanks to the previous discussions alan did with others). the problem is: it only works with the condition of the server id running as root instead of freeradius due to the one way MD5 hash of /etc/passwd file. are there any other better ways to implement 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
Re: freebsd and
(don't see why this was on -current) In response to gahn ipfr...@yahoo.com: hi all: i set up the freeradius 21.100.1 on freebsd 8.1. it uses local authentication database of /etc/passwd (thanks to the previous discussions alan did with others). the problem is: it only works with the condition of the server id running as root instead of freeradius due to the one way MD5 hash of /etc/passwd file. are there any other better ways to implement this? a) Put the Radius server in a jail, so it can run as root without all the security concerns. b) Use something other than /etc/passwd authentication -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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: Any recommendations for FreeBSD VPS hosting?
On Wed, Jan 05, 2011 at 07:46:53PM +, Bruce Cran wrote: On Thu, 30 Dec 2010 09:10:02 + Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 30/12/2010 01:21, n j wrote: Thanks for the input, I'll look into the suggested options: http://arpnetworks.com/vps http://www.rootbsd.net/virtual-hosting/ http://www.johncompanies.com/jc_bsd.html If you know of any other FreeBSD VPS providers, please share. For people this side of the pond, http://www.goscomb.net do FreeBSD VPS's too. They're a bit expensive but you get a VM that's just 0.6ms from Linx in the UK, great tech support and IPv6. http://www.freebsd.org/commercial/isp.html I just rented a jail from exonetric.net - seems ok. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: Any recommendations for FreeBSD VPS hosting?
http://www.freebsd.org/commercial/isp.html I just rented a jail from exonetric.net - seems ok. FreeBSD 9.0-CURRENT is on aws now ( on EU instances too yay!) still a bit slow as hell (if you're building stuff) on t1.micros tho.. -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07534206249 e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA - ___ 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: Any recommendations for FreeBSD VPS hosting?
Hi all, FYI (and ours ;-) ) the company I work with is __planning__ on expanding our server usage at M5 hosting (which BTW provide outstanding support and have really great infrastructure). Anyway, in our new servers we are going to be migrating existing customers to Jails, and we will probably have some capacity left, so we were thinking of providing FBSD Jail services as such, but didn't know for a fact there was a demand for such a service. Apparently there is! Are there any particular requirements that people here should think we would be offering? I mean are there any specific configurations/options that people wish for? SLA requirements, etc.? If we actually do expand our servers I will let you know, but in the mean time it would be helpful to understand the potential client wishes. Thanks, Alex On Wed, Jan 5, 2011 at 2:46 PM, Bruce Cran br...@cran.org.uk wrote: On Thu, 30 Dec 2010 09:10:02 + Matthew Seaman m.sea...@infracaninophile.co.uk wrote: ___ 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: Any recommendations for FreeBSD VPS hosting?
On Thu, Dec 30, 2010 at 12:02:58AM +0100, n j wrote: Hello, I'm looking for inexpensive but reliable FreeBSD VPS hosting. Any input coming from a positive personal experience will be most appreciated. So far the most likely candidate seems to be http://www.nqhost.com/unmetered-xen-vds.html. If anyone ever dealt with them, please share. TIA, -- Nino Not a VPS, but http://your.org has made a great commitment to supporting FreeBSD, and providing VM instances. Thomas -- Thomas Abthorpe | FreeBSD Committer tabtho...@freebsd.org | http://people.freebsd.org/~tabthorpe pgpjbWJfhhAlG.pgp Description: PGP signature
Re: a perl question
On Wed, 5 Jan 2011 08:05:14 -0800 Chip Camden sterl...@camdensoftware.com wrote: Quoth Chad Perrin on Tuesday, 04 January 2011: The weirdest thing about most useless uses of cat is that not using cat would actually be a little clearer and involve fewer keystrokes -- as in this case. I blame OOP. Programmer thinks about the data stream before they think about the process. It's a nouns-first orientation. You might easily get the same prejudice from data flow diagrams - or plumbing. Personally I find that using cat makes things simpler and less error prone when reusing pipelines in shell history. For example it's easier to edit cat file | foo into cat file | bar | foo or cat file? | foo than editing foo file into bar file | foo or cat file? | foo ___ 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: a perl question
On Wed, Jan 05, 2011 at 10:15:38PM +, RW wrote: For example it's easier to edit cat file | foo into cat file | bar | foo or cat file? | foo than editing foo file into bar file | foo or cat file? | foo In this case, example was: cat file | foo arg . . . where it could have been: foo arg file That's just kind of absurd. I mean, that sort of usage (foo arg file) is exactly the purpose for which grep was designed. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpuPZgJNS4Mz.pgp Description: PGP signature
the GIMP and Samba
Can someone enlighten me as to why the GIMP package would require libsmbclient? This strikes me as the very height of software bloat absurdity. Maybe I'm missing something. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpXAcYF9nPLh.pgp Description: PGP signature
Re: the GIMP and Samba
On Wed, 5 Jan 2011 15:19:39 -0700, Chad Perrin per...@apotheon.com wrote: Can someone enlighten me as to why the GIMP package would require libsmbclient? This strikes me as the very height of software bloat absurdity. Maybe I'm missing something. Welcome to the glory of rapid application development and modern programming! :-) According to your question: I am confident that the SMB dependency is brought into Gimp by the gutenprint module (can't even tell you exactly what it does, may have something to do with CUPS I also don't have any use for). CUPS seems to be hardcoded into Gimp even if you don't use it (due to a normal printer). The SMB dependency is also used by several Gnome-related dependencies, such as Gnome-VFS, a part of nearly every file open dialog in Gtk. The /var/db/pkg/portname/+REQUIRED_BY file tells you about the next higher stage of dependency (maybe another library or a primary program - the thing you actually want to use). Note that observations like this are the reason you have to constantly buy a new computer in order to keep doing the same things at the same average speed. :-) -- 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
RE: the GIMP and Samba
There's prolly a 10 line function the developer didn't want to write. I've seen some case where it takes more code to link to other packages than just write what's needed. Drives me crazy to have to install apps that have nothing to do with the app I really need... -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Chad Perrin Sent: Wednesday, January 05, 2011 4:20 PM To: FreeBSD Questions Subject: the GIMP and Samba Can someone enlighten me as to why the GIMP package would require libsmbclient? This strikes me as the very height of software bloat absurdity. Maybe I'm missing something. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] font size=1 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in' /div This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. /font ___ 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 GIMP and Samba
On Wed, 5 Jan 2011, Chad Perrin wrote: Can someone enlighten me as to why the GIMP package would require libsmbclient? This strikes me as the very height of software bloat absurdity. Maybe I'm missing something. package = pre-built, off-the-rack, one-size-fits-all. I don't know where the dependency comes in, but gimp withtout libsmbclient works here. ___ 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
Swap Space
I will be installing 8.1 on a Dell Poweredge 2850, with dual 3 GHz XEON processors and 6GB RAM. What is the recommended swap space? I'm finding conflicting data on this. Some say 0, some say 1 times RAM, others say stay with 2 x RAM. 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
Re: the GIMP and Samba
Quoth Warren Block on Wednesday, 05 January 2011: On Wed, 5 Jan 2011, Chad Perrin wrote: Can someone enlighten me as to why the GIMP package would require libsmbclient? This strikes me as the very height of software bloat absurdity. Maybe I'm missing something. package = pre-built, off-the-rack, one-size-fits-all. I don't know where the dependency comes in, but gimp withtout libsmbclient works here. ___ 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 Gutenprint support is an OPTION in gimp -- perhaps turning that off relieves you of the dependency? -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgpyDMxKd1loL.pgp Description: PGP signature
Re: the GIMP and Samba
On Wed, 5 Jan 2011 15:03:02 -0800, Chip Camden sterl...@camdensoftware.com wrote: Gutenprint support is an OPTION in gimp -- perhaps turning that off relieves you of the dependency? Or maybe it's an option to gnomevfs... or something related to Gtk 2 in general... -- 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
Re: Swap Space
On Wed, Jan 5, 2011 at 4:33 PM, Jeff Whitman jwhit...@jwnetsource.comwrote: I will be installing 8.1 on a Dell Poweredge 2850, with dual 3 GHz XEON processors and 6GB RAM. What is the recommended swap space? I'm finding conflicting data on this. Some say 0, some say 1 times RAM, others say stay with 2 x RAM. Definitely not 0, but 2x would probably be way too much IMO. 4 - 6 GB should be enough for most use cases. -- Adam Vande More ___ 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: Swap Space
I will be installing 8.1 on a Dell Poweredge 2850, with dual 3 GHz XEON processors and 6GB RAM. What is the recommended swap space? I'm finding conflicting data on this. Some say 0, some say 1 times RAM, others say stay with 2 x RAM. Definitely not 0, but 2x would probably be way too much IMO. 4 - 6 GB should be enough for most use cases. Correct me if I'm wrong, but if necessary one could add (and activate) a secondary / additional swap file if necessary without rebooting. So maybe start with a few gig and add an additional swap file if necessary? font size=1 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in' /div This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. /font ___ 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 GIMP and Samba
On Thu, 6 Jan 2011, Polytropon wrote: On Wed, 5 Jan 2011 15:03:02 -0800, Chip Camden sterl...@camdensoftware.com wrote: Gutenprint support is an OPTION in gimp -- perhaps turning that off relieves you of the dependency? Or maybe it's an option to gnomevfs... or something related to Gtk 2 in general... It's not gutenprint (which I have installed), at least not directly. devel/gnome-vfs does have a Samba option, which is disabled here. ___ 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: Swap Space
On Wed, 5 Jan 2011 17:20:48 -0600 Gary Gatten ggat...@waddell.com wrote: Correct me if I'm wrong, but if necessary one could add (and activate) a secondary / additional swap file if necessary without rebooting. So maybe start with a few gig and add an additional swap file if necessary? Swapping to a file is really slow and should only be done if absolutely necessary since every read/write has to go through the filesystem code which it doesn't do if done via a swap slice. -- Bruce Cran ___ 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: Swap Space
Correct me if I'm wrong, but if necessary one could add (and activate) a secondary / additional swap file if necessary without rebooting. So maybe start with a few gig and add an additional swap file if necessary? Swapping to a file is really slow and should only be done if absolutely necessary since every read/write has to go through the filesystem code which it doesn't do if done via a swap slice. Good point. It's been several years and back on v5 or 6 when I did something like this. If there's unpartitioned space on the drive, can one add a secondary swap partition real-time? I forget what I did here - I'm sure I followed what's in the handbook re swap space. Probably did a swap file... font size=1 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in' /div This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. /font ___ 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: Swap Space
On Wed, Jan 5, 2011 at 5:33 PM, Gary Gatten ggat...@waddell.com wrote: Correct me if I'm wrong, but if necessary one could add (and activate) a secondary / additional swap file if necessary without rebooting. So maybe start with a few gig and add an additional swap file if necessary? Swapping to a file is really slow and should only be done if absolutely necessary since every read/write has to go through the filesystem code which it doesn't do if done via a swap slice. Good point. It's been several years and back on v5 or 6 when I did something like this. If there's unpartitioned space on the drive, can one add a secondary swap partition real-time? I forget what I did here - I'm sure I followed what's in the handbook re swap space. Probably did a swap file... Yes you can do that with swapon(1) It's been said though that FreeBSD memory paging algorithms take into account the system's entire available VM for deciding on when to act in low memory conditions and these parameters are tuned expect some of that to be swap space. That is why one reason there *should* be a least some swap space even on a system w/ plenty of RAM. -- Adam Vande More ___ 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: Swap Space - hijack?
Correct me if I'm wrong, but if necessary one could add (and activate) a secondary / additional swap file if necessary without rebooting. So maybe start with a few gig and add an additional swap file if necessary? Swapping to a file is really slow and should only be done if absolutely necessary since every read/write has to go through the filesystem code which it doesn't do if done via a swap slice. Good point. It's been several years and back on v5 or 6 when I did something like this. If there's unpartitioned space on the drive, can one add a secondary swap partition real-time? I forget what I did here - I'm sure I followed what's in the handbook re swap space. Probably did a swap file... Yes you can do that with swapon(1) It's been said though that FreeBSD memory paging algorithms take into account the system's entire available VM for deciding on when to act in low memory conditions and these parameters are tuned expect some of that to be swap space. That is why one reason there *should* be a least some swap space even on a system w/ plenty of RAM. Sorry for the probable hijack... Speaking of swapping algorithms, is there a way to force a parent and all child processes to NOT be swapped - period - and always remain 100% in real memory? And if so, is it discouraged or completely up to the sysadmin? font size=1 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in' /div This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. /font ___ 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: Swap Space
Adam Vande More writes: I will be installing 8.1 on a Dell Poweredge 2850, with dual 3 GHz XEON processors and 6GB RAM. What is the recommended swap space? I'm finding conflicting data on this. Some say 0, some say 1 times RAM, others say stay with 2 x RAM. Definitely not 0, but 2x would probably be way too much IMO. 4 - 6 GB should be enough for most use cases. One data point: last pid: 58457; load averages: 1.91, 2.20, 2.27 up 8+19:16:27 18:51:23 166 processes: 5 running, 158 sleeping, 2 stopped, 1 zombie Mem: 1541M Active, 1267M Inact, 1223M Wired, 195M Cache, 802M Buf, 3440M Free Swap: 18G Total, 11M Used, 18G Free (That's 8g total memory.) It's a fairly lightly loaded workstation. A philosophical consideration: modern disks are cheap, and fairly fast. Repartitioning if you don't have enough is a pain. 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
Re: Swap Space
On 01/05/11 15:20, Gary Gatten wrote: I will be installing 8.1 on a Dell Poweredge 2850, with dual 3 GHz XEON processors and 6GB RAM. What is the recommended swap space? I'm finding conflicting data on this. Some say 0, some say 1 times RAM, others say stay with 2 x RAM. Definitely not 0, but 2x would probably be way too much IMO. 4 - 6 GB should be enough for most use cases. Correct me if I'm wrong, but if necessary one could add (and activate) a secondary / additional swap file if necessary without rebooting. So maybe start with a few gig and add an additional swap file if necessary? font size=1 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in' /div This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. /font ___ 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 yep man swapon though this won't be as elegant as having it set up as normal swap -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) da...@vicor.com david.robi...@fisglobal.com _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. 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
Re: a perl question
On Wed, 5 Jan 2011 15:13:02 -0700 Chad Perrin per...@apotheon.com wrote: In this case, example was: cat file | foo arg . . . where it could have been: foo arg file That's just kind of absurd. I mean, that sort of usage (foo arg file) is exactly the purpose for which grep was designed. Obviously, I'm talking about the general case. If I'd meant grep I'd have written grep and not foo. ___ 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 and
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/01/2011, at 07:02, Bill Moran wrote: (don't see why this was on -current) In response to gahn ipfr...@yahoo.com: hi all: i set up the freeradius 21.100.1 on freebsd 8.1. it uses local authentication database of /etc/passwd (thanks to the previous discussions alan did with others). the problem is: it only works with the condition of the server id running as root instead of freeradius due to the one way MD5 hash of /etc/passwd file. are there any other better ways to implement this? a) Put the Radius server in a jail, so it can run as root without all the security concerns. b) Use something other than /etc/passwd authentication Cant radius use pam? perhaps you should look into that. It may be a pain though, freeradius is largely undocumented, and what documentation exists is often incomplete, incorrect and full of people touting IT JUST WORKS when 99% of the time, It never works. Once you figure it out however, its great. I would highly recommend putting your raddb into a version control system. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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 William Brown pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) iQIcBAEBAgAGBQJNJRKdAAoJEHF16AnLoz6Je6YP/j5sfpXOReiyviyNututzGfA dS+/6MoBfumuzdLAxTZ5gCJ4r7hIWJSbl0vPbt8zDbigcGJKcuT63dfdeAsV/7vu /0KqeC1HbrS5mXB2bVVjUvxgm+LbTlTrS8pIkS3A1jWSvvYgqb5ABXL2gXDARJig pQ5Ehw/mJsgNNmYOrHD1FV5H1/0s0arXSK6rK/sJa7qBIyuLvfuatfK2NOFlPAr5 ST1UqvGrEVP5vA4GGO3+l4m7CBIuzVBuVaLpTpsHUXcdjxoB0bgZrR6se42z7VFo PgClT1bKv/Ht8rD9EO6oRpASAHB89/K1HpNvHbV9KT+veuKcla0xVPilpyt+XMES c4iDxwOBzml+N6QPiGdD9+GhfvZbg2JBgHoGYFXclyDJFceiDVkMgTWN75miB+d4 tMTZbtwkQNoobRmp/BCAlVqRJC3dUQeVqDSAUkuMf6ZU0WQWfh6g8qtGb0IA5mWH u0mRbBacEr4kx3bSeIzCb09DJMkDFmb1/kaQPVqUEYpU+ggW8yLV5sz/vdomdpRB 6hUfcXHnGK/GY4FsMPHaLTWghHdG6cFv8XwM/8ftsrCTtJYl0mD8xzSxqeTBCrua VPHcZ0d4gxe7reylYZfp8NqTAK96JBkRqEoTtYyi6Oiy8kbolY8SHiok98o/uydT nGM30URjS7EC7oSyL4N5 =ppAO -END PGP SIGNATURE- ___ 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
blog-site questions....
Guys, If there are any people who are into maintaining web logs/blog, this might be _the_ place to ask. O/wise, type 'd' now. One thing I've heard several times is that blogging is a good way of promoting one's own books. (I've got at least three books either published or to-be-published. [[ ... .]]) Now, outside this list nobody knows me--and that's fine, except that with a just published ebook, it's time to make my name and ebook public. Before I rush out and sign up with some blogging websites, would be be better to use a FBSD port and do it myself? Ill be open about this: I'm still not _entirely_ sure whata blog is. But I'm a fast study :) If there are better places to ask about web logs, URL's please... . gary PS: Any reason why nobody here has read my ebook? It is for geeks and about op en source stuff, so, like , v'mon, people -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.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: blog-site questions....
On Wed, Jan 5, 2011 at 11:13 PM, Gary Kline kl...@thought.org wrote: Guys, If there are any people who are into maintaining web logs/blog, this might be _the_ place to ask. O/wise, type 'd' now. One thing I've heard several times is that blogging is a good way of promoting one's own books. (I've got at least three books either published or to-be-published. [[ ... .]]) Now, outside this list nobody knows me--and that's fine, WAIT! Who's Gary Kline? except that with a just published ebook, it's time to make my name and ebook public. Before I rush out and sign up with some blogging websites, would be be better to use a FBSD port and do it myself? Ill be open about this: I'm still not _entirely_ sure whata blog is. But I'm a fast study :) If there are better places to ask about web logs, URL's please... . gary PS: Any reason why nobody here has read my ebook? It is for geeks and about open source stuff, so, like , v'mon, people a Blog is a website ... think wordpress, blogger.com or livejournal.com just to name a few personally, I'm an lj lifer, that's all I've ever used. That being said ... if there is a port it would be something like workpress (and/or joomla and the ilk). which will just do what you can do yourself by grabbing the sources from their perspective websites and install yourself in about 10 minutes. Very easy to do. If you want to promote some of your written work ... get a domain and set one of these up for yourself. My personal opinion says that if you've set up a domain to promote a book yourself vs using something like blogger.com/livejournal.com/wordpress.com (yes they will give you your very own blog, free of charge under their domain). In my eyes, these look very unprofessional. This is an argument I've had with my roommates side business on more then one occasion ... usually after he wonders why his business generates about 1 client/mo. At the end of the day it's what you want to put out of pocket for the domain and hosting. C- ___ 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