Re: Streaming server / YouTube
2009/5/26 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: So again, speaking before you research? again unnecessary comments. Sorry, what? Do you really think: Wojciech wrote: you mean videos from youtube are copyrighted? that was necessary? Stop making noise! It's in the terms of use http://www.youtube.com/t/terms The content on the YouTube Website, except all User Submissions i'm not regular youtube watcher and actually i was not aware that there are really anything else than User Submissions there. If you don't know something, then Google is your friend. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ 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
sane-backends
When doing a portupgrade -a the port sane-backends-1.0.20_1 gives compilation errors... What to do with that? Just wait for 1.0.20_2 to come up? Where to find information? ... canon_dr.c:1333: error: 'SANE_NAME_STANDARD' undeclared (first use in this funct ion)^M canon_dr.c:1333: error: (Each undeclared identifier is reported only once^M ... gmake[2]: *** [libcanon_dr_la-canon_dr.lo] Error 1^M gmake[2]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backend s-1.0.20/backend'^M gmake[1]: *** [all] Error 2^M gmake[1]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backend s-1.0.20/backend'^M gmake: *** [all-recursive] Error 1^M *** Error code 1^M ^M Stop in /usr/ports/graphics/sane-backends.^M *** Error code 1^M Stop in /usr/ports/graphics/sane-backends.^M --- Build of graphics/sane-backends ended at: Tue, 26 May 2009 08:55:02 +0200 (consumed 00:00:42) --- Upgrade of graphics/sane-backends ended at: Tue, 26 May 2009 08:55:02 +020 0 (consumed 00:00:42) --- ** Upgrade tasks 2: 0 done, 0 ignored, 0 skipped and 1 failed ___ 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: updating from 7.1 to 7.2 AMD64
-Original Message- From: Wojciech Puchar [mailto:woj...@wojtek.tensor.gdynia.pl] Sent: 26 May 2009 02:20 To: Graeme Dargie Cc: ill...@gmail.com; freebsd-questions@freebsd.org Subject: RE: updating from 7.1 to 7.2 AMD64 I am trying to update 2 7.1 systems to 7.2. sun3# freebsd-update upgrade -r 7.2RELEASE 7.2-RELEASE Maybe? Haha ... thank I knew it was something blindly obvious that I was missing ... there be a lesson don't try to upgrade 3 systems at once and watch TV. even more important - why you are upgrading at all. did you find in 7.1 problems that you wanted to solve by moving to 7.2? [amd64] The FreeBSD kernel virtual address space has been increased to 6GB. This allows subsystems to use larger virtual memory space than before. For example, zfs(8) adaptive replacement cache (ARC) requires large kernel memory space to cache file system data, so it benefits from the increased address space. Note that the ceiling on the kernel map size is now 60% of the size rather than an absolute quantity. Various network interface drivers have been improved, including ae(4), ath_hal(4), axe(4), bce(4), cxgb(4), fxp(4), igb(4), jme(4), msk(4), mxge(4), nfe(4), re(4), rl(4), sis(4), and txp(4). Very specifically that I was getting watchdog time outs and link status up down up on the re nic driver, hopefully 7.2 solves this. Regards G ___ 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
df -h returns negatives values
Hi, I have FreeBSD 7.0-RELEASE-p4. After a problem, I have : /dev/aacd0s1d 2.9G -2.2G4.9G -83%/var I tried to do fsck but no change. Any ideas? thanks. nr. ___ 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: Streaming server
On Tue, May 26, 2009 at 12:31:54AM +0200, Wojciech Puchar wrote: Sorry, mistake: s/file streaming/file download/ when you play file directly from HTTP/FTP source it's streaming too. just much more simple, portable, and cachable by squid/other proxies Yes, you're right. For static content, buffering a TCP connection is certainly good enough. But for live streams and video conferencing, buffering adds latency (and the bigger the buffer, the higher the latency). The effect is then similar to what you observe if you talked on a geostationary satellite network, doing multiple uplink-downlink hops (many times 1/3 of a second). That's quite noticeable and pretty annoying. Some people prefer a couple of lost frames to this latency, and that's why protocols like RTP do have their uses (even if we ignored multicasting). And for a real-world example: just look at the way the GSM network deals with lost frames in the traffic channels (TCH) of the Um interface (radio link between BTS and MS): they're not requested again, but simply compensated for with error correction codes, or even dropped. A TCP-like link there would be non-sensical. This may not apply to the control channels, where latency is not so important, as opposed to data integrity, but for the voice traffic itself, it makes perfect sense. Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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: sane-backends
On Tuesday 26 May 2009 12:15:32 am Pieter Donche wrote: When doing a portupgrade -a the port sane-backends-1.0.20_1 gives compilation errors... What to do with that? Just wait for 1.0.20_2 to come up? Where to find information? The fix has been posted several times in freebsd-po...@freebsd.org. You can cd /usr/ports/graphics/sane-backends make deinstall make reinstall An alternative is to pkg_delete it and then reinstall it with portupgrade. The deinstall and reinstall commands are in my history but I wanted to see if portupgrade would install it and the N option was successful. Kent ... canon_dr.c:1333: error: 'SANE_NAME_STANDARD' undeclared (first use in this funct ion)^M canon_dr.c:1333: error: (Each undeclared identifier is reported only once^M ... gmake[2]: *** [libcanon_dr_la-canon_dr.lo] Error 1^M gmake[2]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backend s-1.0.20/backend'^M gmake[1]: *** [all] Error 2^M gmake[1]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backend s-1.0.20/backend'^M gmake: *** [all-recursive] Error 1^M *** Error code 1^M ^M Stop in /usr/ports/graphics/sane-backends.^M *** Error code 1^M Stop in /usr/ports/graphics/sane-backends.^M --- Build of graphics/sane-backends ended at: Tue, 26 May 2009 08:55:02 +0200 (consumed 00:00:42) --- Upgrade of graphics/sane-backends ended at: Tue, 26 May 2009 08:55:02 +020 0 (consumed 00:00:42) --- ** Upgrade tasks 2: 0 done, 0 ignored, 0 skipped and 1 failed ___ 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 -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.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: updating from 7.1 to 7.2 AMD64
On Tue, 26 May 2009 09:01:36 +0100 Graeme Dargie a...@tangerine-army.co.uk wrote: -Original Message- Various network interface drivers have been improved, including ae(4), ath_hal(4), axe(4), bce(4), cxgb(4), fxp(4), igb(4), jme(4), msk(4), mxge(4), nfe(4), re(4), rl(4), sis(4), and txp(4). Very specifically that I was getting watchdog time outs and link status up down up on the re nic driver, hopefully 7.2 solves this. 7.2 did fix this for me. -- Ghirai. ___ 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: updating from 7.1 to 7.2 AMD64
Are you suggesting a user should only upgrade if they are having a problem, or do you just like to contribute more nonsense to the list mostly yes - keep things as is if it works. and it's only nonsense for 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: updating from 7.1 to 7.2 AMD64
I'd say it depends very much on the system's use. For a system which is in production (i.e. doing ongoing work), there is a great deal to be said for not fixing things that aren't broken. if they are not broken - there is nothing to fix. ___ 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: updating from 7.1 to 7.2 AMD64
Very specifically that I was getting watchdog time outs and link status up down up on the re nic driver, hopefully 7.2 solves this. hmm i do have re(8) nic with 7.1 (6.3 before) - no problems. strange ___ 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 Software RAID
Wojciech Puchar wrote: you are right. you can't be happy of warm house without getting really cold some time :) that's why it's excellent that ZFS (and few other things) is included in FreeBSD but it's COMPLETELY optional. Well, I switched from the heater that doesn't work and is poorly documented (gvinum) to the one that does and is (zfs, albeit mostly documented by Sun), and so far I am warm :-) Once I'd increased kmem, at least. I did get a panic before that, but now I am shuffling data happily and slightly faster than gvinum did, and memory has levelled off at about 160MB for zfs. I'll be keeping my previous hardware RAID in one piece for a little while though, I think, just in case! (old Adaptec card with a 2TB limit on containers). ___ 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: Streaming server
Yes, you're right. For static content, buffering a TCP connection is certainly good enough. But for live streams and video conferencing, buffering adds latency we talked about playing/streaming videos from files. for IP-TV, videophone, telephone of course only UDP transport make sense ___ 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: Streaming server
we talked about playing/streaming videos from files. Even streaming from files makes sense in many situations. Please, go back to netbsd or start using linux, at least in linux forums your constant stream of opinion based drivel is most welcome. In here you are poisoning the questions list, especially the archives, for people who really need the info, not uninformed opinions! -Reko ___ 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 to remove redundant login in a FreeBSD live CD?
Hi all I made a live CD based on FreeBSD 7.2. When the CD boots, it prompts for a login. Type root without password can log in. It seems this login is redundant. How to remove this redundant login? Best regards Unga ___ 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: Streaming server
we talked about playing/streaming videos from files. Even streaming from files makes sense in many situations. Please, go back to netbsd or start using linux, at least in linux forums your constant stream of opinion based drivel is most welcome. In here you are poisoning the questions list, especially the archives, for people who really having different opinion than yours and trolling is 2 different things. you are not a judge. ___ 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 to remove redundant login in a FreeBSD live CD?
Unga wrote: Hi all I made a live CD based on FreeBSD 7.2. When the CD boots, it prompts for a login. Type root without password can log in. It seems this login is redundant. How to remove this redundant login? Best regards Unga I found this info in a text file of mine (copied from somewhere, but don't remember the source). I remember I used it once to create an autologin workstation for someone who really wouldn't want to know anything about usernames, password or this while unix type of thing. And as I recall it worked ;) 1. Add to the /etc/gettytab file the following strings: test:\ :al=test:ht:np:sp#115200: Explanation: test:\ - entry name, autologin will use this username; al=test - autologin username; ht - terminal has real tabs; np - 8-bit chars; (optional) sp#115200 - line speed; 2. Edit /etc/ttys file: ttyv0 /usr/libexec/getty test cons25 on secure Change 'Pc' with test. ___ 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: Streaming server
Wojciech Puchar wrote: when you play file directly from HTTP/FTP source it's streaming too. just much more simple, portable, and cachable by squid/other proxies Oke, but ftp doesn't show the actual file but only downloads it, right? Jos Chrispijn ___ 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: Streaming server
Wojciech Puchar wrote: so please test as it's true :) I did test it and indeed it looks that way... actually youtube player does not throttle at all - just load as fast as possible into memory while playing at normal speed. Yes but we are now discussing another service here. Imho there is some difference between downloading (and viewing) by HTTP or viewing a YouTube movie thru a YouTube site (and watching a Flash movie instead). Do you mean that providing any movie in Flash format will have the same advantages as it has viewing such a file thru a YouTube server? look at progress bar below movie window. if your network connection is fast, it quickly gets from beginning to end, while current position mark advances as movie is played. That is true, I saw that indeed. in mplayer you can set buffer size, if you'll set it as large or larger as movie - it will behave the same way with FTP/HTTP provided movie. realplayer do the same thing, and supports both URL's and live streaming protocol. So it would be better to forget my issue and rely on the smart settings of the client's movieplayer? thanks, Jos Chrispijn ___ 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: Streaming server
On Monday 25 May 2009 4:41:04 pm Jos Chrispijn wrote: I have some short movies (a la YouTube) that I would like to show as video streams. Presenting them by download is messing up my bandwidth (...). Can someone tell me if there is a simple solution installing such a stream service/server into FreeBDS 7.2? Have You tried FFserver? NAME ffserver - FFserver video server SYNOPSIS ffserver [options] DESCRIPTION FFserver is a streaming server for both audio and video. It supports several live feeds, streaming from files and time shifting on live feeds (you can seek to positions in the past on each live feed, pro- vided you specify a big enough feed storage in ffserver.conf). [...snip...] # pkg_info ffmpeg-2008.07.27_10 Information for ffmpeg-2008.07.27_10: Comment: Hyper fast realtime audio/video encoder/converter, streaming server [...snip...] WWW: http://ffmpeg.mplayerhq.hu/ With best regards, Ott Köstner -- Kuula Z-Raadiot / Listen Z-Radio: http://radio.zzz.ee/ ___ 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: Streaming server
when you play file directly from HTTP/FTP source it's streaming too. just much more simple, portable, and cachable by squid/other proxies Oke, but ftp doesn't show the actual file but only downloads it, right? depend what program you use. if you mean ftp as /usr/bin/ftp or maybe lftp/ncftp - yes it is. just i don't catch what it has in common with the discussion. ___ 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: Streaming server
so please test as it's true :) I did test it and indeed it looks that way... OK actually youtube player does not throttle at all - just load as fast as possible into memory while playing at normal speed. Yes but we are now discussing another service here. Imho there is some difference between downloading (and viewing) by HTTP or viewing a YouTube movie thru a YouTube site (and watching a Flash movie instead). Do you mean that providing any movie in Flash format will have the same advantages as it has viewing such a file thru a YouTube server? exactly. you may make a webpage with just link to the movie(s) somewhere, maybe some selector, preview images, whatever you like. it's just matter of that difference. you too may write some javascript/whatever program that will set up the movie playing in the right place on screen, provide stop/start/rev/fd (i'm imprecise as i know little of modern web/java/javascript programming :). That's what youtube do, AND do extra effort to lower bandwidth efficiency by preventing caching and storing files ;) possibly because of copyright reasons as someone pointed out. More probably for some other reason, as most files on youtube are just users amateur videos not copyrighted restricted material - while youtube prevent caching everything. There will be no practical difference between playing from FTP/HTTP and this. realplayer do the same thing, and supports both URL's and live streaming protocol. So it would be better to forget my issue and rely on the smart settings of the client's movieplayer? exactly! or - if you like cool webpage interface just make that webpage similarly to youtube and provide just link with Play to your movies. ___ 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: Streaming server
Comment: Hyper fast realtime audio/video encoder/converter, streaming server good for IP-TV but not very (and overcomplex) for playing few 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
Re: Streaming server
Ott Köstner wrote: Have You tried FFserver? No, not yet. Thanks for this I will have a look to that one! Best regards, Jos Chrispijn ___ 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: Streaming server
Wojciech Puchar wrote: There will be no practical difference between playing from FTP/HTTP and this. Aha, now we are getting somewhere! exactly! or - if you like cool webpage interface just make that webpage similarly to youtube and provide just link with Play to your movies. Personally I have nothing with YouTube except that I constantly wonder how they 'stream', which according to your information, is less than I expected :-) thanks again Jos Chrispijn ___ 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
Heartbeat
Hello, doing heartbeat install: # cd /usr/ports/sysutils/heartbeat/ # make install clean Installation begins, but getting stopped with errors: ... Making all in rc.d gmake[2]: Entering directory `/usr/ports/sysutils/heartbeat/work/heartbeat-1.2.5/heartbeat/rc.d' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/ports/sysutils/heartbeat/work/heartbeat-1.2.5/heartbeat/rc.d' Making all in resource.d gmake[2]: Entering directory `/usr/ports/sysutils/heartbeat/work/heartbeat-1.2.5/heartbeat/resource.d ' cd ../.. /bin/sh ./config.status heartbeat/resource.d/BSDService config.status: error: invalid argument: heartbeat/resource.d/BSDService gmake[2]: *** [BSDService] Error 1 gmake[2]: Leaving directory `/usr/ports/sysutils/heartbeat/work/heartbeat-1.2.5/heartbeat/resource.d ' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/heartbeat/work/heartbeat-1.2.5/heartbeat' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/sysutils/heartbeat. Uname output: # uname -a FreeBSD ib-03.x.xxx.com 6.2-RELEASE-p12 FreeBSD 6.2-RELEASE-p12 #0: Thu Apr 30 13:03:39 EEST 2009 r...@ib-01.x.xxx.com:/usr/obj/usr/src/sys/IB i386 Tried to reinstall all necessary packages, installed fresh copy of the heartbeat...nothing helps. Please provide with a support, how to install heartbeat. Thanx. ___ 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: Streaming server
similarly to youtube and provide just link with Play to your movies. Personally I have nothing with YouTube except that I constantly wonder how they 'stream', which according to your information, is less than I expected :-) except that it prevents caching, it's not less than but just fine. Today overcomplexity is very popular, but still wrong :) ___ 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: Canon printer and TurboPrint
Jerry, please excuse my reply, but I think you're not right, and unfair. On Mon, 25 May 2009 15:48:16 -0400, Jerry ges...@yahoo.com wrote: Seriously, one of the major problems I face when trying to get an associate or friend to try a non Windows solution is printing. Windows users are use to just sticking a CD in the box, installing the driver and whatever other programs the distributor has assembled for them, and then printing. Atleast in Germany, they let a computer literate friend do this, because they are not able to, not willing to, or just too lazy. :-) *nix systems have never been really 'printer' friendly. Explicite NO. This is wrong. So, what's correct? Correct is that (1) FreeBSD is extremely printer-friendly to printers that conform to existing standards. Other than the Windows PC that needs drivers specific to the many different Windows versions that exist, FreeBSD doesn't need any drivers in best case, which is a PS capable printer. No poppin' in of CDs and Yes, yes, yes, yes, reboot. In many other cases, tools like apsfilter or CUPS can handle the printer without much interaction. Furthermore correct is that (2) most printers (or devices that the manufacturer calls that way) are not FreeBSD-friendly. This is of course intended, because the manufacturer doesn't want you to use anything except Windows, because that's everything that exists, and MICROS~1 invented the PC, the mouse, the Internet and the universe anyway. :-) If the menufacturers would stick to existing standards and USE them, there wouldn't be so much problems. In any case, please recognize that I don't disagree with you that printing on FreeBSD can cause trouble in the installation phase, but once you got things working, you don't need to do anything else, and it won't fail. On Windows systems, a Service pack can make the printer stop working (I've seen this once - for real). If we are ever going to increase the market share, [...] FreeBSD doesn't have oh joy oh market share, because it isn't a corporation that speculates at the stock exchange. :-) No, honestly: I appreciate every means that increases the usage share (i. e. how many users use the system, not how the buying of a product has influence on the percentage of the whole market, measured in money). And you're right, making printing more easy is one of the goals here. But this is not in FreeBSD's hand (or in the hands of the developers of FreeBSD, or of apsfilter, or of CUPS). It's the printer makers who invent new stuff day by day, only supplying drivers for the most recent Windows. [...] improving the whole printer 'experience' needs to be given some serious consideration. Tell the printer makers not to be that stupid, and things will change - for them (sell more printers), and for FreeBSD (attract more users). When going to buy a printer, I primarily consider the compatibility OF THE PRINTER towards the OS I use, not vice versa. I always decided to use office-class printers, even at home, because they just work. Personally, I cannot see a child or even many adults, going through the convoluted steps you have described needed to get a simple printer to work. It isn't a simple printer. The steps needed to get it running indicate this. If it would be a simple printer, using PS, apsfilter or CUPS would completely do the job. And the thing even doesn't look like a printer, more like a cross-over between a toaster and a suitcase. :-) There has to be a better way. Then again, that is just my 2¢ on the matter. Yes, the better way would be the manufacturers using the existing standards. It even IS that simple. Or they could release their specifications so volunteers would quickly write a printer driver for their product. In my opinion, FreeBSD does it better than Windows: It comes with printer drivers (or they can be installed without a CD just by pkg_add -r apsfilter or pkg_add -r cups) and loads the proper driver automatically. This should be mentioned. Just my 0,02 Euro. :-) -- Polytropon From 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: Streaming server / YouTube
On Mon, 25 May 2009 23:25:13 +0200, FBSD UG free...@rgbaz.eu wrote: without that youtube nonsense there wouldn't be a youtube anymore it's a copyright agreement not to store the videos on someone's harddrive while watching... While downloading, you're usually not watching (while it's still possible to watch inclomplete files with mplayer). And for complete correctness, the video IS stored on the harddrive in parts (according to the hard drive based caching of the stream). -- Polytropon From 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: df -h returns negatives values
On Tue, 26 May 2009 09:45:55 +0200, n ramrani nramr...@gmail.com wrote: Hi, I have FreeBSD 7.0-RELEASE-p4. After a problem, I have : /dev/aacd0s1d 2.9G -2.2G4.9G -83%/var I tried to do fsck but no change. Any ideas? FreeBSD keeps a certain percentage (I thin 8%) of your disk as a reserve, so you can have more disk space occupied than full size minus 8%). At the moment, the reserve is utilized to store some data. Maybe you find some files to delete in /var, the situation should normalize. But still, the values look something strange... too strange... -- Polytropon From 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
rtmpdump (was: Re: Streaming server)
While we're talking about streaming protocols: how comes we don't have rtmpdump in the ports? http://lkcl.net/rtmp/ Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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 Software RAID
Howard Jones wrote: Wojciech Puchar wrote: you are right. you can't be happy of warm house without getting really cold some time :) that's why it's excellent that ZFS (and few other things) is included in FreeBSD but it's COMPLETELY optional. Well, I switched from the heater that doesn't work and is poorly documented (gvinum) to the one that does and is (zfs, albeit mostly documented by Sun), and so far I am warm :-) Once I'd increased kmem, at least. I did get a panic before that, but now I am shuffling data happily and slightly faster than gvinum did, and memory has levelled off at about 160MB for zfs. I'll be keeping my previous hardware RAID in one piece for a little while though, I think, just in case! (old Adaptec card with a 2TB limit on containers). I moved my AMANDA tapeless backup system to ZFS well over a year ago. It's got four 500GB SATA drives. At first, it would panic frequently sometime during the backup. The backups peak at ~400Mbps of network traffic. I adopted the following script to write out the memory usage during the backup, so I could better tune the system (sorry, I can't recall where I found this code snip): #!/bin/sh TEXT=`/sbin/kldstat | /usr/bin/awk 'BEGIN {print 16i 0;} NR1 \ {print toupper($4) +} END {print p}' | dc` DATA=`/usr/bin/vmstat -m | sed -Ee \ '1s/.*/0/;s/.* ([0-9]+)K.*/\1+/;$s/$/1024*p/' | dc` TOTAL=$((DATA + TEXT)) DATE=`/bin/date | awk '{print $4}'` /bin/echo $DATE `/bin/echo $TOTAL | \ /usr/bin/awk '{print $1/1048576}'` /home/steve/mem.usage Cronned every minute, I'd end up with a file like this: 19:16:01 500.205 19:17:02 485.699 19:18:01 474.305 19:19:01 473.265 19:20:01 471.874 19:21:02 471.94 ...the next day, I'd be able to review this file to see what the memory usage was at the time of the panic/reboot. I found that: vm.kmem_size=1536M vm.kmem_size_max=1536M made the system extremely stable, and since then: amanda# uptime 9:01AM up 81 days, 17:06, I'm about to upgrade the system to -STABLE today... Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: rtmpdump (was: Re: Streaming server)
On Tue, 26 May 2009 15:11:41 +0200, cpghost cpgh...@cordula.ws wrote: While we're talking about streaming protocols: how comes we don't have rtmpdump in the ports? Maybe because of mplayer -streamdump rtsp:// ... ? :-) I've not checked, but using -streamdump with mplayer lets you dump most datastreams (coming from another file, a DVD, a HTTP link or something else) into a file (see -dumpfile). -- Polytropon From 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: rtmpdump (was: Re: Streaming server)
On Tue, May 26, 2009 at 03:21:26PM +0200, Polytropon wrote: On Tue, 26 May 2009 15:11:41 +0200, cpghost cpgh...@cordula.ws wrote: While we're talking about streaming protocols: how comes we don't have rtmpdump in the ports? Maybe because of mplayer -streamdump rtsp:// ... ? :-) I've not checked, but using -streamdump with mplayer lets you dump most datastreams (coming from another file, a DVD, a HTTP link or something else) into a file (see -dumpfile). Hmmm... are you sure? Looking at the sources of rtmpdump-1.6 and mplayer's RTSP library, that's a totally different beast. The protocol strings supported by rtmpdump are: rtmp:// rtmpt:// rtmps:// rtmpe:// rtmpte:// rtmpfp:// Not that this wouldn't be a nice extension to mplayer though... ;-) -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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: df -h returns negatives values
On Tue, 26 May 2009 16:47:15 +0300, Ivailo Tanusheff i.tanush...@procreditbank.bg wrote: If that was the case it would say something like 108%, not -83%. Yes, this makes it really strange. I didn't recognize it at first sight, because of the missing header: FilesystemSize Used Avail Capacity Mounted on /dev/aacd0s1d 2.9G -2.2G 4.9G-83% /var Another thing that I recognize right now is the device name - aacd0s1d - which refers to the Adaptec AdvancedRAID Controller driver (aac / d0 / s1 / d); maybe some disk data is reported wrong by the controller? Not much likely, too... The other strange value is the used size -2.2G. I see only 2 options: - Buffer overflow of the command (not much likely) - Problem with the data on the disk. This could be determined by running # du -sh /var and compare the total result to the size of the /var slice (/dev/aacd0s1d). In any case, a check in SUM with unmounted partition would be good, as you mentioned. Maybe you should run fsck -fFyv /var -- Polytropon From 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: df -h returns negatives values
Hi, do you have by change a partition larger than 2TB ? I had this with larger partions when I was trying to do them with fdisk, not with gpt ? Peter n ramrani wrote: Hi, I have FreeBSD 7.0-RELEASE-p4. After a problem, I have : /dev/aacd0s1d 2.9G -2.2G4.9G -83%/var I tried to do fsck but no change. Any ideas? thanks. nr. ___ 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: df -h returns negatives values
If that was the case it would say something like 108%, not -83%. The other strange value is the used size -2.2G. I see only 2 options: - Buffer overflow of the command (not much likely) - Problem with the data on the disk. Maybe you should run fsck -fFyv /var Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD Polytropon free...@edvax.de Sent by: owner-freebsd-questi...@freebsd.org 26.05.2009 16:12 Please respond to Polytropon free...@edvax.de To n ramrani nramr...@gmail.com cc freebsd-questions@freebsd.org Subject Re: df -h returns negatives values On Tue, 26 May 2009 09:45:55 +0200, n ramrani nramr...@gmail.com wrote: Hi, I have FreeBSD 7.0-RELEASE-p4. After a problem, I have : /dev/aacd0s1d 2.9G -2.2G4.9G -83%/var I tried to do fsck but no change. Any ideas? FreeBSD keeps a certain percentage (I thin 8%) of your disk as a reserve, so you can have more disk space occupied than full size minus 8%). At the moment, the reserve is utilized to store some data. Maybe you find some files to delete in /var, the situation should normalize. But still, the values look something strange... too strange... -- Polytropon From 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 ___ 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-7.1-RELEASE and libkrb5
I had the same issue you describe portupgrading to evolution-exchange-2.26.2. I moved /usr/lib/libkrb5.so.9 to /usr/lib/libkrb5.so.9_old and created a symbolic link. mv /usr/lib/libkrb5.so.9 /usr/lib/libkrb5.so.9_old ln -s /usr/local/lib/libkrb5.so.23 /usr/lib/libkrb5.so.9 it seems to have done the trick and evolution-exchange works fine for me now :-) Philip ___ 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 Software RAID
Sweet thanks for the info. Building one of those boxes is next in the list. On 5/26/09, Steve Bertrand st...@ibctech.ca wrote: Howard Jones wrote: Wojciech Puchar wrote: you are right. you can't be happy of warm house without getting really cold some time :) that's why it's excellent that ZFS (and few other things) is included in FreeBSD but it's COMPLETELY optional. Well, I switched from the heater that doesn't work and is poorly documented (gvinum) to the one that does and is (zfs, albeit mostly documented by Sun), and so far I am warm :-) Once I'd increased kmem, at least. I did get a panic before that, but now I am shuffling data happily and slightly faster than gvinum did, and memory has levelled off at about 160MB for zfs. I'll be keeping my previous hardware RAID in one piece for a little while though, I think, just in case! (old Adaptec card with a 2TB limit on containers). I moved my AMANDA tapeless backup system to ZFS well over a year ago. It's got four 500GB SATA drives. At first, it would panic frequently sometime during the backup. The backups peak at ~400Mbps of network traffic. I adopted the following script to write out the memory usage during the backup, so I could better tune the system (sorry, I can't recall where I found this code snip): #!/bin/sh TEXT=`/sbin/kldstat | /usr/bin/awk 'BEGIN {print 16i 0;} NR1 \ {print toupper($4) +} END {print p}' | dc` DATA=`/usr/bin/vmstat -m | sed -Ee \ '1s/.*/0/;s/.* ([0-9]+)K.*/\1+/;$s/$/1024*p/' | dc` TOTAL=$((DATA + TEXT)) DATE=`/bin/date | awk '{print $4}'` /bin/echo $DATE `/bin/echo $TOTAL | \ /usr/bin/awk '{print $1/1048576}'` /home/steve/mem.usage Cronned every minute, I'd end up with a file like this: 19:16:01 500.205 19:17:02 485.699 19:18:01 474.305 19:19:01 473.265 19:20:01 471.874 19:21:02 471.94 ...the next day, I'd be able to review this file to see what the memory usage was at the time of the panic/reboot. I found that: vm.kmem_size=1536M vm.kmem_size_max=1536M made the system extremely stable, and since then: amanda# uptime 9:01AM up 81 days, 17:06, I'm about to upgrade the system to -STABLE today... Steve -- Adam Vande More Systems Administrator Mobility Sales ___ 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: USB WLAN Atheros and USB Ethernet FBSD 7.2
thank you, this was exactly stuff i was looking for, external linksys or other is already here, but i want to do one device this stuff. unfortunatly the device has no mini-pci slot, i'd love to build it like this as i see very good atheros support in fbsd. however, if the other drivers also support hostap mode this would be a way to go.current-8 is of course not applicable for this job as i want a stable system ;-) thank you guys very much for your help, marco Jan Henrik Sylvester wrote: Marco wrote: iam thinking of building a router with usb wlan and usb ethernet controller attached. as the wlan device shall be an AP i would go for atheros stick. however, i'am unsure if anybody has expirience if or which devices should work out of the box with latest stable release. i read something about a uath device module but could not find it in my sys-tree. uath is only available in 8-CURRENT and I am not sure, if it does Host AP mode. (The same goes for upgt.) In 7.2-RELEASE (and 7-STABLE), the only usb wlan drivers are ural, rum, and zyd, but zyd does not do Host AP for what I know (and it was never stable for me). ural and rum both do Host AP. Maybe this is interesting for you: http://en.wikipedia.org/wiki/Comparison_of_Open_Source_Wireless_Drivers Anyhow, why does it have to be usb? From my own experience, usb devices do not work as well as Cardbus or (Mini)PCI. You will probably be much more happy, if you get an ath based MiniPCI card. Cheers, Jan Henrik ___ 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
sendmail: stat=Deferred: Connection reset by local
Hi people. Please help! This morning I decided to go back to plain smtp without authentication that I had enabled about one year ago following the instructions in the handbook. Now sendmail doesn't deliver any more local mail. Here's part of a line from /var/log/maillog stat=Deferred: Connection reset by local and # sendmail -bp ... n4Q8Wf2u075903 1254 Tue May 26 10:32 au...@host1.com (reply: read error from local) anotheru...@host2.com Total requests: 118 So here's what I've done this morning: # /usr/local/etc/rc.d/saslauthd stop edit /etc/rc.conf to remove the following line: saslauthd_enable=YES edit /etc/make.conf and remove the following lines: SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # cd /usr/ports/security/cyrus-sasl2-saslauthd # make deinstall # cd /usr/ports/security/cyrus-sasl2 # make deinstall # pw userdel cyrus # cd /usr/src/lib/libsmutil # make cleandir make obj make # cd /usr/src/lib/libsm # make cleandir make obj make # cd /usr/src/usr.sbin/sendmail # make cleandir make obj make make install # cd /etc/mail edit /etc/mail/myhost.mydomain.mc Remove these lines from it: dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl # make # make install restart 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: sendmail: stat=Deferred: Connection reset by local
for completeness, the last lines of maillog if I send a mail from root to a local account (robi): May 26 17:40:46 jupiter sendmail[10730]: n4QFeh7V010730: to=robi, ctladdr=root (0/0), delay=00:00:03, xdelay=00:00:03, mailer=relay, pri=30032, r=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4QFeh2X010731 Message accepted for delivery) May 26 17:40:46 jupiter sm-mta[10733]: n4QFeh2X010731: smtpquit: mailer local exited with exit value 1 May 26 17:40:46 jupiter sm-mta[10733]: n4QFeh2X010731: to=r...@mymail.host, ctladdr=r...@mymail.host (0/0), delay=00:00:03,lay=00:00:00, mailer=local, pri=30862, relay=local, dsn=4.4.2, stat=Deferred: Connection reset by local May 26 17:40:47 jupiter spamd[4853]: prefork: child states: II Please help! Thank you! Robi Roberto Nunnari ha scritto: Hi people. Please help! This morning I decided to go back to plain smtp without authentication that I had enabled about one year ago following the instructions in the handbook. Now sendmail doesn't deliver any more local mail. Here's part of a line from /var/log/maillog stat=Deferred: Connection reset by local and # sendmail -bp ... n4Q8Wf2u075903 1254 Tue May 26 10:32 au...@host1.com (reply: read error from local) anotheru...@host2.com Total requests: 118 So here's what I've done this morning: # /usr/local/etc/rc.d/saslauthd stop edit /etc/rc.conf to remove the following line: saslauthd_enable=YES edit /etc/make.conf and remove the following lines: SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # cd /usr/ports/security/cyrus-sasl2-saslauthd # make deinstall # cd /usr/ports/security/cyrus-sasl2 # make deinstall # pw userdel cyrus # cd /usr/src/lib/libsmutil # make cleandir make obj make # cd /usr/src/lib/libsm # make cleandir make obj make # cd /usr/src/usr.sbin/sendmail # make cleandir make obj make make install # cd /etc/mail edit /etc/mail/myhost.mydomain.mc Remove these lines from it: dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl # make # make install restart 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 ___ 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: sendmail: stat=Deferred: Connection reset by local
for completeness, the last lines of maillog if I send a mail from root to a local account (robi): May 26 17:40:46 jupiter sendmail[10730]: n4QFeh7V010730: to=robi, ctladdr=root (0/0), delay=00:00:03, xdelay=00:00:03, mailer=relay, pri=30032, r=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4QFeh2X010731 Message accepted for delivery) May 26 17:40:46 jupiter sm-mta[10733]: n4QFeh2X010731: smtpquit: mailer local exited with exit value 1 May 26 17:40:46 jupiter sm-mta[10733]: n4QFeh2X010731: to=r...@mymail.host, ctladdr=r...@mymail.host (0/0), delay=00:00:03,lay=00:00:00, mailer=local, pri=30862, relay=local, dsn=4.4.2, stat=Deferred: Connection reset by local May 26 17:40:47 jupiter spamd[4853]: prefork: child states: II Please help! Thank you! Robi please do ps ax|grep sendmail ___ 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: rtmpdump (was: Re: Streaming server)
have rtmpdump in the ports? Maybe because of mplayer -streamdump rtsp:// ... ? :-) I've not checked, but using -streamdump with mplayer lets you dump most datastreams (coming from another file, a DVD, actually i never had a case it would fail to 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: Inspiron 15 (aka 1545)
On 5/16/09, Bob Johnson fbsdli...@gmail.com wrote: This question has sort of been asked before, but I never saw a clear answer, so here it is, in the hope that someone can save me some time: I need a cheap, simple, reasonably light laptop, but not a tiny display, and I'm looking at the Best Buy pre-configured Inspiron 15 (i.e. Inspiron 1545). Anyone have direct experience with FreeBSD amd64 on one of these? Is there anything that isn't going to work? For the benefit of anyone else considering this laptop: I went ahead and bought the thing, and everything I have looked at so far except the Dell Wireless 1397 card is working (and I expect to eventually beat it into submission), although some things took a little extra work. I'm in the process of writing up my experience at http://myfreebsd.tumblr.com The video is Intel Integrated Graphics Media Accelerator 4500MHD. If it works well enough to watch DVDs and the occasional downloaded video, I'll be happy. Video works with X.org. The wireless card is a Dell 1397 802.11b/g. Will I be able to build an NDIS driver (presumably on 7.2-RELEASE amd64)? No success yet. Dell's most recent 64-bit driver wrapped with ndisgen panics the system when I kldload it. Is the ExpressCard 34 slot supported? Don't have a card to test it with yet. Best Buy's description is at http://www.bestbuy.com/site/olspage.jsp?skuId=9149414type=productid=1218036213682 Sound works. USB ports work. Haven't tested external video. Got the Yukon wired Ethernet card to work by installing Yukon's proprietary FreeBSD driver (myk). As of today, it appears that there is a patch to the BSD msk driver that will get it working with this card, but I haven't tested it. The 7-function multimedia slot seems to work, but the only time I've used it to copy data from a card, it was excruciatingly slow. It took hours to copy a 2 GB SD card (kept stalling and moving no data for minutes at a time). I haven't tried to find the reason for that yet, but my vague recollection is that I've run into that problem in the past and was able to fix it. Haven't yet tested the camera, but it is seen by the USB system, so I expect there to be software out there that knows what to do with it. A few quirks that are interesting (e.g. default keyboard mapping). See the blog linked above for details. - Bob ___ 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: Streaming server / YouTube
while watching... While downloading, you're usually not watching (while it's still possible to watch inclomplete files with mplayer). if you type URL containing flash movie in browser (with flash enabled of course ;) it will start playing it before downloading all. And for complete correctness, the video IS stored on the harddrive in parts (according to the hard drive based caching of the stream). are you sure on harddrive not memory only? i assume you talk about youtube player. ___ 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: Streaming server
Personally I have nothing with YouTube except that I constantly wonder how i do have. because youtube quality== no quality. i treat this mostly as a preview, like downloading for eg. music video to look if it's worth to seek for normal quality version. anyway noone is forced to use it, and it's free so all is fine :) ___ 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: Secure unsalted or fixed salt symmetric encryption?
On May 25, 2009, at 2:00 PM, Roland Smith wrote: You could use the -S option and specify a constant salt. It might make the encrypted materials easier to break, though. You can generate a random salt with openssl as well: Or you can use the -nosalt option. But as explained in [http://www.openssl.org/docs/apps/enc.html], using a random salt by default is a design decision because: Without the -salt option it is possible to perform efficient dictionary attacks on the password. That doesn't sound good, does it? This is being used for file encryption, not password encryption. So a dictionary attack isn't all that likely unless the encrypted files are of a specific nature (known template which remains constant while only small parts of the file vary). Note that without salt (or with constant salt) an attacker would know which files are identical both within a snapshot or across them. But this is pretty much what the OP wants the back-up system to know, so I guess that would be okay. If you are using a (e.g. USB connected) disk as backup, use geli(8) to encrypt the whole disk instead of encrypting each file separately. The OP may be doing something like rsync over an insecure network. But in the absence of details about the OPs situation it's hard to make solid recommendations. As you suggest, encrypting the resulting back-up filesystem is probably the the best option if the back-up filesystem is exacted to be the target of attack. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ 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: sendmail: stat=Deferred: Connection reset by local
Hi Wojciech. Thank you. See my answer in context. Wojciech Puchar ha scritto: for completeness, the last lines of maillog if I send a mail from root to a local account (robi): May 26 17:40:46 jupiter sendmail[10730]: n4QFeh7V010730: to=robi, ctladdr=root (0/0), delay=00:00:03, xdelay=00:00:03, mailer=relay, pri=30032, r=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4QFeh2X010731 Message accepted for delivery) May 26 17:40:46 jupiter sm-mta[10733]: n4QFeh2X010731: smtpquit: mailer local exited with exit value 1 May 26 17:40:46 jupiter sm-mta[10733]: n4QFeh2X010731: to=r...@mymail.host, ctladdr=r...@mymail.host (0/0), delay=00:00:03,lay=00:00:00, mailer=local, pri=30862, relay=local, dsn=4.4.2, stat=Deferred: Connection reset by local May 26 17:40:47 jupiter spamd[4853]: prefork: child states: II Please help! Thank you! Robi please do ps ax|grep sendmail # ps ax|grep sendmail 12313 ?? Ss 0:00.04 sendmail: accepting connections (sendmail) 12314 ?? S 0:02.34 sendmail: ./n4QG4DDt012314 mx1.eu.apache.org.: client DATA 354 (sendmail) 12315 ?? Is 0:00.00 sendmail: Queue run...@00:30:00 for /var/spool/clientmqueue (sendmail) 12765 p1 S+ 0:00.01 grep sendmail ___ 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: sendmail: stat=Deferred: Connection reset by local
Hi Tim. Thank you for your time. Tim Kellers ha scritto: Was sendmail compiled with SASL? Do you have anything in I can I find it out? Here's my /etc/make.conf # cat /etc/make.conf CFLAGS= -O -pipe NO_PROFILE=1 # no X, solo alfanumerico WITHOUT_X11=yes NO_X11=yes # come richiesto dal sistema di ports.. X11BASE=${LOCALBASE} # per compilare ports che dipendono su apache e mod_perl WITH_MODPERL2=1 WITH_APACHE2=1 # Begin portconf settings # Do not touch these lines .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 # End portconf settings # added by use.perl 2009-03-27 16:19:32 PERL_VERSION=5.8.9 /etc/mail/mailer.conf? # cat /etc/mail/mailer.conf # $FreeBSD: src/etc/mail/mailer.conf,v 1.3 2002/04/05 04:25:12 gshapiro Exp $ # # Execute the real sendmail program, named /usr/libexec/sendmail/sendmail # sendmail/usr/libexec/sendmail/sendmail send-mail /usr/libexec/sendmail/sendmail mailq /usr/libexec/sendmail/sendmail newaliases /usr/libexec/sendmail/sendmail hoststat/usr/libexec/sendmail/sendmail purgestat /usr/libexec/sendmail/sendmail Roberto Nunnari wrote: for completeness, the last lines of maillog if I send a mail from root to a local account (robi): May 26 17:40:46 jupiter sendmail[10730]: n4QFeh7V010730: to=robi, ctladdr=root (0/0), delay=00:00:03, xdelay=00:00:03, mailer=relay, pri=30032, r=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4QFeh2X010731 Message accepted for delivery) May 26 17:40:46 jupiter sm-mta[10733]: n4QFeh2X010731: smtpquit: mailer local exited with exit value 1 May 26 17:40:46 jupiter sm-mta[10733]: n4QFeh2X010731: to=r...@mymail.host, ctladdr=r...@mymail.host (0/0), delay=00:00:03,lay=00:00:00, mailer=local, pri=30862, relay=local, dsn=4.4.2, stat=Deferred: Connection reset by local May 26 17:40:47 jupiter spamd[4853]: prefork: child states: II Please help! Thank you! Robi Roberto Nunnari ha scritto: Hi people. Please help! This morning I decided to go back to plain smtp without authentication that I had enabled about one year ago following the instructions in the handbook. Now sendmail doesn't deliver any more local mail. Here's part of a line from /var/log/maillog stat=Deferred: Connection reset by local and # sendmail -bp ... n4Q8Wf2u075903 1254 Tue May 26 10:32 au...@host1.com (reply: read error from local) anotheru...@host2.com Total requests: 118 So here's what I've done this morning: # /usr/local/etc/rc.d/saslauthd stop edit /etc/rc.conf to remove the following line: saslauthd_enable=YES edit /etc/make.conf and remove the following lines: SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # cd /usr/ports/security/cyrus-sasl2-saslauthd # make deinstall # cd /usr/ports/security/cyrus-sasl2 # make deinstall # pw userdel cyrus # cd /usr/src/lib/libsmutil # make cleandir make obj make # cd /usr/src/lib/libsm # make cleandir make obj make # cd /usr/src/usr.sbin/sendmail # make cleandir make obj make make install # cd /etc/mail edit /etc/mail/myhost.mydomain.mc Remove these lines from it: dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl # make # make install restart 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 ___ 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: sane-backends
On Tue, May 26, 2009 at 09:15:32AM +0200, Pieter Donche wrote: When doing a portupgrade -a the port sane-backends-1.0.20_1 gives compilation errors... What to do with that? Don't upgrade it, but remove the port with pkg_delete and then compile and install the newer version. Upgrading doesn't work in this case because the compilation finds and uses the installed header files of the old version, which obviously don't match the new code. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpOc0PZTVKTw.pgp Description: PGP signature
Re: sendmail: stat=Deferred: Connection reset by local
ps ax|grep sendmail # ps ax|grep sendmail 12313 ?? Ss 0:00.04 sendmail: accepting connections (sendmail) 12314 ?? S 0:02.34 sendmail: ./n4QG4DDt012314 mx1.eu.apache.org.: client DATA 354 (sendmail) 12315 ?? Is 0:00.00 sendmail: Queue run...@00:30:00 for /var/spool/clientmqueue (sendmail) this looks fine. now show me your /etc/mail/`hostname`*.mc ___ 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
Better version of ispell?
Is there a version/improvment of ispell that: % Lets you exclude certain sections of a file from spellchecking? Example: I often email sendmail logs with their random-character queue ids. I don't want ispell to check those cut/pasted logs. % Lets you declare correctly-spelled words as being incorrect? % Example: I often misspell the word cron as corn; ispell obviously doesn't catch this. I rarely use the word corn. I want to remove corn from the dictionary w/o actually tweaking /usr/dict/words or whatever ispell uses. I know you can *add* words (using %$HOME/.ispell_english for example), but what spellchecker lets you *remove* them as well? I know about aspell, but think it suffers from the same limitations (in fact, ti may be the same program?) I posted a similar query to aspell-u...@gnu.org earlier, but got no reply, so I thought I'd try this list instead. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. [for absolute pedants: yes, I misspelled improvement incorrectly up there!] ___ 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: sendmail: stat=Deferred: Connection reset by local
Wojciech Puchar ha scritto: ps ax|grep sendmail # ps ax|grep sendmail 12313 ?? Ss 0:00.04 sendmail: accepting connections (sendmail) 12314 ?? S 0:02.34 sendmail: ./n4QG4DDt012314 mx1.eu.apache.org.: client DATA 354 (sendmail) 12315 ?? Is 0:00.00 sendmail: Queue run...@00:30:00 for /var/spool/clientmqueue (sendmail) this looks fine. now show me your /etc/mail/`hostname`*.mc here it is: divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 gshapiro Exp $') OSTYPE(freebsd6) DOMAIN(generic) dnl FEATURE(`dnsbl', `relays.ordb.org', `550 Email rejected due to sending server misconfiguration - see http://www.ordb.org/faq/\#why_rejected;')dnl FEATURE(`dnsbl', `sbl.spamhaus.org', `550 Mail from $`'{client_addr} refused - see http://www.spamhaus.org/sbl/;') FEATURE(`dnsbl', `list.dsbl.org', `550 Mail from $`'{client_addr} refused - see http://dsbl.org/;') FEATURE(`dnsbl', `bl.spamcop.net', `450 Mail from $`'{client_addr} refused - see http://spamcop.net/bl.shtml;') FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl FEATURE(genericstable, `hash -o /etc/mail/genericstable') dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains') INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m') define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBroken') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) ___ 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: sendmail: stat=Deferred: Connection reset by local
Was sendmail compiled with SASL? Do you have anything in /etc/mail/mailer.conf? Roberto Nunnari wrote: for completeness, the last lines of maillog if I send a mail from root to a local account (robi): May 26 17:40:46 jupiter sendmail[10730]: n4QFeh7V010730: to=robi, ctladdr=root (0/0), delay=00:00:03, xdelay=00:00:03, mailer=relay, pri=30032, r=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4QFeh2X010731 Message accepted for delivery) May 26 17:40:46 jupiter sm-mta[10733]: n4QFeh2X010731: smtpquit: mailer local exited with exit value 1 May 26 17:40:46 jupiter sm-mta[10733]: n4QFeh2X010731: to=r...@mymail.host, ctladdr=r...@mymail.host (0/0), delay=00:00:03,lay=00:00:00, mailer=local, pri=30862, relay=local, dsn=4.4.2, stat=Deferred: Connection reset by local May 26 17:40:47 jupiter spamd[4853]: prefork: child states: II Please help! Thank you! Robi Roberto Nunnari ha scritto: Hi people. Please help! This morning I decided to go back to plain smtp without authentication that I had enabled about one year ago following the instructions in the handbook. Now sendmail doesn't deliver any more local mail. Here's part of a line from /var/log/maillog stat=Deferred: Connection reset by local and # sendmail -bp ... n4Q8Wf2u075903 1254 Tue May 26 10:32 au...@host1.com (reply: read error from local) anotheru...@host2.com Total requests: 118 So here's what I've done this morning: # /usr/local/etc/rc.d/saslauthd stop edit /etc/rc.conf to remove the following line: saslauthd_enable=YES edit /etc/make.conf and remove the following lines: SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # cd /usr/ports/security/cyrus-sasl2-saslauthd # make deinstall # cd /usr/ports/security/cyrus-sasl2 # make deinstall # pw userdel cyrus # cd /usr/src/lib/libsmutil # make cleandir make obj make # cd /usr/src/lib/libsm # make cleandir make obj make # cd /usr/src/usr.sbin/sendmail # make cleandir make obj make make install # cd /etc/mail edit /etc/mail/myhost.mydomain.mc Remove these lines from it: dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl # make # make install restart 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 ___ 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: sendmail: stat=Deferred: Connection reset by local
now show me your /etc/mail/`hostname`*.mc here it is: it's `hostname`.mc looks OK but how about `hostname`.submit.mc ___ 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: sendmail: stat=Deferred: Connection reset by local
Wojciech Puchar ha scritto: now show me your /etc/mail/`hostname`*.mc here it is: it's `hostname`.mc looks OK but how about `hostname`.submit.mc here it is: divert(0)dnl VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 2003/10/19 00:03:13 gshapiro Exp $') define(`confCF_VERSION', `Submit')dnl define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet define(`confTIME_ZONE', `USE_TZ')dnl define(`confDONT_INIT_GROUPS', `True')dnl define(`confBIND_OPTS', `WorkAroundBroken')dnl dnl dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1] FEATURE(`msp', `[127.0.0.1]')dnl ___ 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: df -h returns negatives values
- No the controller doesn't report something wrong with my disk (test with arrconf) - my partitions are less than 2TB, I have two 146GB disks in raid1for my system - yes the controller is Adaptec - du -sh /var give me 258M /var /dev/aacd0s1d 2.9G -2.2G4.9G -83%/var I have /var/crash/ -rw--- 1 root wheel 94818304 May 20 11:56 vmcore.0 I do rm vmcore.0 /dev/aacd0s1d 2.9G -2.3G4.9G -86%/var I'll try again to do ( but I am not convinced that this solves my problem) fsck -fFyv /var 2009/5/26 Polytropon free...@edvax.de On Tue, 26 May 2009 09:45:55 +0200, n ramrani nramr...@gmail.com wrote: Hi, I have FreeBSD 7.0-RELEASE-p4. After a problem, I have : /dev/aacd0s1d 2.9G -2.2G4.9G -83%/var I tried to do fsck but no change. Any ideas? FreeBSD keeps a certain percentage (I thin 8%) of your disk as a reserve, so you can have more disk space occupied than full size minus 8%). At the moment, the reserve is utilized to store some data. Maybe you find some files to delete in /var, the situation should normalize. But still, the values look something strange... too strange... -- Polytropon From 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: sendmail: stat=Deferred: Connection reset by local
From /usr/local/share/doc/cyrus-sasl2/Sendmail.README: 5) Add the following before FEATURE(msp) in your submit.mc file: DAEMON_OPTIONS(`Name=NoMTA, Addr=127.0.0.1, M=EA')dnl This disables SMTP AUTH on the loopback interface. Did you take that line out of your submit.mc file? Tim Roberto Nunnari wrote: Wojciech Puchar ha scritto: ps ax|grep sendmail # ps ax|grep sendmail 12313 ?? Ss 0:00.04 sendmail: accepting connections (sendmail) 12314 ?? S 0:02.34 sendmail: ./n4QG4DDt012314 mx1.eu.apache.org.: client DATA 354 (sendmail) 12315 ?? Is 0:00.00 sendmail: Queue run...@00:30:00 for /var/spool/clientmqueue (sendmail) this looks fine. now show me your /etc/mail/`hostname`*.mc here it is: divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 gshapiro Exp $') OSTYPE(freebsd6) DOMAIN(generic) dnl FEATURE(`dnsbl', `relays.ordb.org', `550 Email rejected due to sending server misconfiguration - see http://www.ordb.org/faq/\#why_rejected;')dnl FEATURE(`dnsbl', `sbl.spamhaus.org', `550 Mail from $`'{client_addr} refused - see http://www.spamhaus.org/sbl/;') FEATURE(`dnsbl', `list.dsbl.org', `550 Mail from $`'{client_addr} refused - see http://dsbl.org/;') FEATURE(`dnsbl', `bl.spamcop.net', `450 Mail from $`'{client_addr} refused - see http://spamcop.net/bl.shtml;') FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl FEATURE(genericstable, `hash -o /etc/mail/genericstable') dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains') INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m') define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBroken') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) ___ 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: sendmail: stat=Deferred: Connection reset by local
here it is: divert(0)dnl VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 2003/10/19 00:03:13 gshapiro Exp $') define(`confCF_VERSION', `Submit')dnl define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet define(`confTIME_ZONE', `USE_TZ')dnl define(`confDONT_INIT_GROUPS', `True')dnl define(`confBIND_OPTS', `WorkAroundBroken')dnl dnl dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1] FEATURE(`msp', `[127.0.0.1]')dnl 6 this line i wanted to check if it listens. looks fine, while your messages suggested that it's not. so no more idea, you talked about that you upgraded things, maybe rm *.cf;make;make install;/etc/rc.d/sendmail restart ? but actually i don't have more ideas. ___ 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: Secure unsalted or fixed salt symmetric encryption?
On Tue, May 26, 2009 at 09:31:25AM -0500, Jeffrey Goldberg wrote: On May 25, 2009, at 2:00 PM, Roland Smith wrote: You could use the -S option and specify a constant salt. It might make the encrypted materials easier to break, though. You can generate a random salt with openssl as well: Or you can use the -nosalt option. But as explained in [http://www.openssl.org/docs/apps/enc.html], using a random salt by default is a design decision because: Without the -salt option it is possible to perform efficient dictionary attacks on the password. That doesn't sound good, does it? This is being used for file encryption, not password encryption. Of course. So a dictionary attack isn't all that likely unless the encrypted files are of a specific nature Suppose you are encrypting a tarfile that includes /usr/src/. There are definitely files in that tree that haven't changed in a long time. These could be used as (partial) cribs. (known template which remains constant while only small parts of the file vary). Or if you have the case of a 'known-plaintext' attack. It happens more often than you would think: [http://en.wikipedia.org/wiki/Known-plaintext_attack] Note that using a random salt would be a good protection against such an attack! I agree that in this case such an attack seems unlikely. From the original posters' questions I get the feeling that he is looking for an incremental encrypted backup solution for a large file or files. All possible solutions involve trade-offs between ease of use, robustness and security. And as you've said making a good choice requires more insight into the constraints. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpzbNdD21c09.pgp Description: PGP signature
Re: sendmail: stat=Deferred: Connection reset by local
Tim Kellers ha scritto: From /usr/local/share/doc/cyrus-sasl2/Sendmail.README: 5) Add the following before FEATURE(msp) in your submit.mc file: DAEMON_OPTIONS(`Name=NoMTA, Addr=127.0.0.1, M=EA')dnl This disables SMTP AUTH on the loopback interface. Did you take that line out of your submit.mc file? Hi never had that line.. Any more hints? Tim Roberto Nunnari wrote: Wojciech Puchar ha scritto: ps ax|grep sendmail # ps ax|grep sendmail 12313 ?? Ss 0:00.04 sendmail: accepting connections (sendmail) 12314 ?? S 0:02.34 sendmail: ./n4QG4DDt012314 mx1.eu.apache.org.: client DATA 354 (sendmail) 12315 ?? Is 0:00.00 sendmail: Queue run...@00:30:00 for /var/spool/clientmqueue (sendmail) this looks fine. now show me your /etc/mail/`hostname`*.mc here it is: divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 gshapiro Exp $') OSTYPE(freebsd6) DOMAIN(generic) dnl FEATURE(`dnsbl', `relays.ordb.org', `550 Email rejected due to sending server misconfiguration - see http://www.ordb.org/faq/\#why_rejected;')dnl FEATURE(`dnsbl', `sbl.spamhaus.org', `550 Mail from $`'{client_addr} refused - see http://www.spamhaus.org/sbl/;') FEATURE(`dnsbl', `list.dsbl.org', `550 Mail from $`'{client_addr} refused - see http://dsbl.org/;') FEATURE(`dnsbl', `bl.spamcop.net', `450 Mail from $`'{client_addr} refused - see http://spamcop.net/bl.shtml;') FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl FEATURE(genericstable, `hash -o /etc/mail/genericstable') dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains') INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m') define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBroken') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) ___ 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 -- Roberto Nunnari Servizi Informatici SUPSI-DTI SUPSI-DTI - Via Cantonale - 6928 Manno - Switzerland email: mailto:roberto.nunn...@supsi.ch tel: +41-58-561 ___ 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: sendmail: stat=Deferred: Connection reset by local
Wojciech Puchar ha scritto: here it is: divert(0)dnl VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 2003/10/19 00:03:13 gshapiro Exp $') define(`confCF_VERSION', `Submit')dnl define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet define(`confTIME_ZONE', `USE_TZ')dnl define(`confDONT_INIT_GROUPS', `True')dnl define(`confBIND_OPTS', `WorkAroundBroken')dnl dnl dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1] FEATURE(`msp', `[127.0.0.1]')dnl 6 this line i wanted to check if it listens. looks fine, while your messages suggested that it's not. so no more idea, you talked about that you upgraded things, maybe rm *.cf;make;make install;/etc/rc.d/sendmail restart I did that.. but it doesn't help.. I also recompiled again sendmail from source.. but didn't help neighter.. ? but actually i don't have more ideas. I also don't know what else to look for.. any more hints anybody? Robi ___ 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: Better version of ispell?
On Tue, May 26, 2009 at 09:39:25AM -0700, Kelly Jones wrote: Is there a version/improvment of ispell that: % Lets you exclude certain sections of a file from spellchecking? Example: I often email sendmail logs with their random-character queue ids. I don't want ispell to check those cut/pasted logs. % Lets you declare correctly-spelled words as being incorrect? % Example: I often misspell the word cron as corn; ispell obviously doesn't catch this. I rarely use the word corn. I've made a file of sed(1) commands to correct common typos, e.g: s/THe/The/g s/corn/cron/g After I've typed something, I use sed to correct these frequent mistakes: sed -i .bak -f mybad.txt file.txt This will leave the original text in file.txt.bak. Using diff(1) to compare the altered file and the backup, I can check if things have been replaced that shouldn't have been, an fix them. If you are using emacs, you can use flyspell-mode[1] to do spell-checking with ispell while you are typing. Roland [1: http://www-sop.inria.fr/members/Manuel.Serrano/flyspell/flyspell.html] -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpNBxX20sr1Y.pgp Description: PGP signature
Re: FreeBSD Software RAID
On Monday 25 May 2009 08:57:48 am Howard Jones wrote: I'm was half-considering switching to ZFS, but the most positive thing I could find written about that (as implemented on FreeBSD) is that it doesn't crash that much, so perhaps not. That was from a while ago though. Wojciech hates it for some reason, but I wouldn't let that deter you. I'm using ZFS on several production machines now and it's been beautifully solid the whole time. It has several huge advantages over UFS: - Filesystem sizes are dynamic. They all grow and shrink inside the same pool, so you don't have to worry about making one too large or too small. - You can sort of think of a ZFS filesystem as a directory with a set of configurable, inheritable attributes. Set your /usr/ports to use compression, and tell /home to keep two copies of everything for safety's sake. - Snapshots aren't painful. It's been 100% reliable on every amd64 machine I've put it on (but avoid it on x86!). 7-STABLE hasn't required any tuning since February or so. UFS and gstripe/gmirror/graid* are good, but ZFS has spoiled me and I won't be going back. -- Kirk Strauser ___ 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
turning [x]html files into .odt files.
This may or may not be of interest to anybody who creates professional typeset-looking manuscripts. I use vi as I have for 30 years simply because my fingers know it. I can keep fingers on keyboard rather than switch back and forth to mouse. Last night I used a very short php/html file that used HTML and converted it [[[EVENTUALLY]]] to the open desktop format. Just now I wrote a one sentence file, a2oofile, using vi/nvi: Good morning, people. It is so *great* to be back home. Then using File - Export, saved it as a2oofile.odt. *) atom a2oofile [ creates a2oofile.html ] The a2oofile.html file is: !doctype html public '-//IETF//DTD HTML//EN' !-autotranslation from ASCII or ISO-8859.1 by Gary Kline, kl...@thought.org--- ! @(#) a2oofile.html translated from a2oofile ! HTML HEAD TITLE !your title here -- /TITLE ! your header lines here -- /HEAD META NAME=Keywords CONTENT=whatever META NAME=revisit-after CONTENT=7 days META NAME=author content=Gary Kline META NAME=copyright content=\xa9 Thought Unlimited BODY BGCOLOR=#FF LINK=#00 VLINK=#006633FONT SIZE=4 P ldquo;Good morning, people. It is so EMgreat/EM to be back home.rdquo; /FONT /BODY /HTML *) Then switer a2oofile.html *) File - Export [and select to save as the ODT] and you have a2oofile.odt I began writing my ascii to markup suite in 1994; it was designed to do ONE thing: to *word* into EMword/EM. I've added only the left and right quotes. atom does nothing else. i have tweaked it for 15 years; never gave to it ports because I hate writing the docs. Anybody interested in handing the port, please let me know. gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 4.91a release of Jottings: http://jottings.thought.org/index.php ___ 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 Software RAID
Why avoid ZFS on x86? -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Kirk Strauser Sent: Tuesday, May 26, 2009 12:39 PM To: freebsd-questions@freebsd.org Subject: Re: FreeBSD Software RAID On Monday 25 May 2009 08:57:48 am Howard Jones wrote: I'm was half-considering switching to ZFS, but the most positive thing I could find written about that (as implemented on FreeBSD) is that it doesn't crash that much, so perhaps not. That was from a while ago though. Wojciech hates it for some reason, but I wouldn't let that deter you. I'm using ZFS on several production machines now and it's been beautifully solid the whole time. It has several huge advantages over UFS: - Filesystem sizes are dynamic. They all grow and shrink inside the same pool, so you don't have to worry about making one too large or too small. - You can sort of think of a ZFS filesystem as a directory with a set of configurable, inheritable attributes. Set your /usr/ports to use compression, and tell /home to keep two copies of everything for safety's sake. - Snapshots aren't painful. It's been 100% reliable on every amd64 machine I've put it on (but avoid it on x86!). 7-STABLE hasn't required any tuning since February or so. UFS and gstripe/gmirror/graid* are good, but ZFS has spoiled me and I won't be going back. -- Kirk Strauser ___ 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 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: FreeBSD Software RAID
On Tue, May 26, 2009 at 01:15:41PM -0500, Gary Gatten wrote: Why avoid ZFS on x86? That's because ZFS works best with huge amounts of (Kernel-)RAM, and i386 32-bit doesn't provide enough adressing space. Btw, I've tried ZFS on two FreeBSD/amd64 test machines with 8GB and 16GB of RAM, and it looks very promising. I wouldn't put it on production servers yet, but will eventually, once FreeBSD's ZFS integration matures and stabilizes. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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 Software RAID
Gary Gatten wrote: Why avoid ZFS on x86? Because in order to deal most effectively with disk arrays of 100s or 1000s of GB as are typical nowadays, ZFS requires more than the 4GB of addressable RAM[*] that the i386 arch can provide. You can make ZFS work on i386, but it requires very careful tuning and is not going to work brilliantly well for particularly large or high-throughput filesystems. Cheers, Matthew [*] Technically, it requires more than the typical 2GB of kernel memory that is the default on i386. KVM under 64bit architectures can be *much* bigger than that. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
RE: FreeBSD Software RAID
What about with PAE and/or other extension schemes? If it's just memory requirements, can I assume if I don't have a $hit load of storage and billions of files it will work ok with 4GB of RAM? I guess I'm just making sure there isn't some bug that only exists on the i386 architecture? -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Matthew Seaman Sent: Tuesday, May 26, 2009 1:38 PM To: Gary Gatten Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Software RAID Gary Gatten wrote: Why avoid ZFS on x86? Because in order to deal most effectively with disk arrays of 100s or 1000s of GB as are typical nowadays, ZFS requires more than the 4GB of addressable RAM[*] that the i386 arch can provide. You can make ZFS work on i386, but it requires very careful tuning and is not going to work brilliantly well for particularly large or high-throughput filesystems. Cheers, Matthew [*] Technically, it requires more than the typical 2GB of kernel memory that is the default on i386. KVM under 64bit architectures can be *much* bigger than that. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW 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
Logcheck-1.2.54_3 build error?
Hi! I'm trying to build the logcheck port on my FreeBSD 7.2 system. # uname -prs FreeBSD 7.2-STABLE amd64 Here's the error I get: # cd /usr/ports/security/logcheck/ # make = logcheck_1.2.54.tar.gz doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://www.gtlib.cc.gatech.edu/pub/debian/pool/main/l/logcheck/. logcheck_1.2.54.tar.gz100% of 137 kB 82 kBps === Extracting for logcheck-1.2.54_3 = MD5 Checksum OK for logcheck_1.2.54.tar.gz. = SHA256 Checksum OK for logcheck_1.2.54.tar.gz. === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Patching for logcheck-1.2.54_3 === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Applying FreeBSD patches for logcheck-1.2.54_3 === logcheck-1.2.54_3 depends on executable: docbook2man - found === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Configuring for logcheck-1.2.54_3 === Building for logcheck-1.2.54_3 *** Error code 255 Stop in /usr/ports/security/logcheck. and that's all I get. I've tried to mail the port maintainer(glar...@freebsd.org), and the latest person that built the Makefile (d...@freebsddiary.org) but neither address allowed my message through. I've re-built (make deinstall make reinstall) the BUILD_DEPENDS(/usr/ports/texproc/docbook2man) and RUN_DEPENDS(/usr/ports/mail/procmail, /usr/ports/shells/bash) but I still get the same error. What more do I need to provide to help troubleshoot this error to allow logcheck to install? Thanks! Bryan -- Bryan Albright If you receive something that says, Send this to everyone you know, PLEASE pretend you DON'T know me. ___ 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 Software RAID
On Tuesday 26 May 2009 01:44:51 pm Gary Gatten wrote: What about with PAE and/or other extension schemes? If it's just memory requirements, can I assume if I don't have a $hit load of storage and billions of files it will work ok with 4GB of RAM? I guess I'm just making sure there isn't some bug that only exists on the i386 architecture? My understanding is that it's much more than just the memory addressing. ZFS is thoroughly 64-bit and uses 64-bit math pervasively. That means you have to emulate all those operations with 2 32-bit values, and on the register-starved x86 platform you end up with absolutely horrible performance. Furthermore, it's just not that well tested. Sun designed ZFS for 64-bit systems and I think 32-bit support was pretty much an afterthought. -- Kirk Strauser ___ 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: Streaming server / YouTube
On Tue, 26 May 2009 18:09:42 +0200 (CEST), Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: While downloading, you're usually not watching (while it's still possible to watch inclomplete files with mplayer). if you type URL containing flash movie in browser (with flash enabled of course ;) it will start playing it before downloading all. At first, yes, content goes to the player directly (like over a | pipe), but it can happen that content has to be cached. And for complete correctness, the video IS stored on the harddrive in parts (according to the hard drive based caching of the stream). are you sure on harddrive not memory only? i assume you talk about youtube player. Okay yes, maybe memory, but it isn't guaranteed that streamed content does get stored in main memory only. So it can happen that content gets stored in the swap partition or in a local swap file in the main file system (as a file or part of a file). Temporarily, of course, and splitted. You know what I mean. :-) -- Polytropon From 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: Streaming server / YouTube
content does get stored in main memory only. So it can happen that content gets stored in the swap partition or in a local swap file in the main file system (as a file or part of a file). Temporarily, of course, and splitted. You know what I mean. :-) of course, i meant virtual memory saying memory :) ___ 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 Software RAID
Wojciech hates it for some reason, but I wouldn't let that deter you. I'm same == incredibly low performance. of course having overmuscled CPU not much used for anything else - it may not be a 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: FreeBSD Software RAID
10-4, thanks! -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Kirk Strauser Sent: Tuesday, May 26, 2009 2:00 PM To: freebsd-questions@freebsd.org Subject: Re: FreeBSD Software RAID On Tuesday 26 May 2009 01:44:51 pm Gary Gatten wrote: What about with PAE and/or other extension schemes? If it's just memory requirements, can I assume if I don't have a $hit load of storage and billions of files it will work ok with 4GB of RAM? I guess I'm just making sure there isn't some bug that only exists on the i386 architecture? My understanding is that it's much more than just the memory addressing. ZFS is thoroughly 64-bit and uses 64-bit math pervasively. That means you have to emulate all those operations with 2 32-bit values, and on the register-starved x86 platform you end up with absolutely horrible performance. Furthermore, it's just not that well tested. Sun designed ZFS for 64-bit systems and I think 32-bit support was pretty much an afterthought. -- Kirk Strauser ___ 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 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: FreeBSD Software RAID
- Filesystem sizes are dynamic. They all grow and shrink inside the same pool, so you don't have to worry about making one too large or too small. there are actually almost no filesystems, just one filesystem with many upper descriptors and separate per filesystem quota. just to make happy those who like to have separate filesystem for many things. i always make one filesystem for /, unless it's multiple disks config and i do like some data to be physically on different drive.for example highly loaded squid cache. ___ 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 Software RAID
You can make ZFS work on i386, but it requires very careful tuning and is not going to work brilliantly well for particularly large or high-throughput filesystems. you mean high transfer like reading/writing huge files. anyway not faster than properly configured UFS+maybe gstripe/gmirror. for small files it's only fast when they will fit in cache, same with UFS ___ 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 Software RAID
ZFS is thoroughly 64-bit and uses 64-bit math pervasively. That means you have to emulate all those operations with 2 32-bit values, and on the register-starved x86 platform you end up with absolutely horrible performance. no this difference isn't that great. it doesn't use much less CPU on the same processor using i386 and amd64 kernels - i checked it. no precise measurements but there are no more than 20% performance difference - comparable to most programs used in i386 and amd64 mode. so no horrible performance on i386, or if you prefer - always horrible performance no matter what CPU mode. while x86 architecture doesn't have much registers EAX,EBX,ECX,EDX,ESI,EDI,EBP,ESP 8 total (+EIP) it doesn't affect programs that much, as all modern x86 processors perform memory-operand instructions single cycle (or more than one of them). anyway extra 8 registers and PC-relative addresses are very useful. this roughly 20% performance difference is because of this. if you mean gain on 64-bit registers when calculating block checksums in ZFS - it's for sure memory-bandwidth and latency limited, not CPU power. ___ 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
A FreeBSD program that rotates text
Dear list, I'm searching for a FreeBSD based means to align text in a circle, adjusted like in a sigulum. I've tried to find an option in OpenOffice, but failed. Can anyone name me a program that can be used to do so? It can even be LaTeX, or a painting program that lets me construct a sigulum, like this: http://www-e.uni-magdeburg.de/ruge/verschiedenes/medien-als-manipulatoren/otto.gif Text at the top should be adjustable with its bottom towards the inner of the circle, text at the circle's bottom hould be adjustable with the bottom to the outer perimeter of the circle so both text is standing up. A pictural figure should be placable in the inner of the circle. Colours should be applyable. Final output can be everything: Image formats like PNG or JPG, PDF files, Postscript. Suggestions, anyone? =^_^= Thank you! -- Polytropon From 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: A FreeBSD program that rotates text
Can anyone name me a program that can be used to do so? It can even be LaTeX, or a painting program that lets for sure it's possible with LaTeX, most probably there is ready module already :) if not - make a simple program that will generate command sequence for latex for each letter with placement and rotation. ___ 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 FreeBSD program that rotates text
On Tue, May 26, 2009 at 2:35 PM, Polytropon free...@edvax.de wrote: Dear list, I'm searching for a FreeBSD based means to align text in a circle, adjusted like in a sigulum. I've tried to find an option in OpenOffice, but failed. Can anyone name me a program that can be used to do so? It can even be LaTeX, or a painting program that lets me construct a sigulum, like this: http://www-e.uni-magdeburg.de/ruge/verschiedenes/medien-als-manipulatoren/otto.gif Text at the top should be adjustable with its bottom towards the inner of the circle, text at the circle's bottom hould be adjustable with the bottom to the outer perimeter of the circle so both text is standing up. A pictural figure should be placable in the inner of the circle. Colours should be applyable. Final output can be everything: Image formats like PNG or JPG, PDF files, Postscript. Suggestions, anyone? =^_^= Thank you! -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org Check out the Gimp tutorial regarding text to path: http://gimp-tutorials.net/gimp-text-to-path-tutorial Does this meet your needs? Andrew ___ 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 FreeBSD program that rotates text
On Tue, May 26, 2009 at 4:35 PM, Polytropon free...@edvax.de wrote: Dear list, I'm searching for a FreeBSD based means to align text in a circle, adjusted like in a sigulum. I've tried to find an option in OpenOffice, but failed. Can anyone name me a program that can be used to do so? It can even be LaTeX, or a painting program that lets me construct a sigulum, like this: http://www-e.uni-magdeburg.de/ruge/verschiedenes/medien-als-manipulatoren/otto.gif Text at the top should be adjustable with its bottom towards the inner of the circle, text at the circle's bottom hould be adjustable with the bottom to the outer perimeter of the circle so both text is standing up. A pictural figure should be placable in the inner of the circle. Colours should be applyable. Final output can be everything: Image formats like PNG or JPG, PDF files, Postscript. Suggestions, anyone? =^_^= Hi Polytropon! I'm really glad to be able to have a solid answer to one of your questions, I mean .. I've read so many solid answers coming from you, beign able to answer one of your questions makes me feel good. The tool I use to do that is Inkscape, and here you'll find a video tutorial on how to do exactly what you are asking for (and a lot of video tutorials to do whatever you may want to do with Inkscape =) ): http://screencasters.heathenx.org/episode-014/ Hope I helped Regards Gonzalo Nemmi ___ 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 FreeBSD program that rotates text
On Tue, 26 May 2009 14:48:21 -0500, Andrew Gould andrewlylego...@gmail.com wrote: Check out the Gimp tutorial regarding text to path: http://gimp-tutorials.net/gimp-text-to-path-tutorial Does this meet your needs? Yes, I think so. Thanks! I just have to figure out how to draw circles 'n stuff. I've never used The Gimp for drawing before, but it seems to be okay for this task. Seems that it's not wrong to learn a bit Gimp. By the way, I had a look at XFig - anyone knows this? Looks and feels very professional, at least I found things quicker than in Gimp. But XFig doesn't seem to be able to align Text on a circle. And Wojciech, because me fail math, doing it in LaTeX seems to be too complicated right now. What I have is an image of what will be in the center of the circle (needs to be clipped against the circle perimeter, and maybe scaled). I've used some google and found that there's a \cicle macro that can draw circles d, position with put (x, y), but alignment of text to the circle and rotating it seems to be a job - as you suggested - for pre-calculated values, like doing a put(position, rotate(character, degree)). Do [ Me continue Gimp() until fail; redo in \LaTeX{} then ]; until 1400 tomorrow. :-) // -- Polytropon From 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: Logcheck-1.2.54_3 build error?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bryan Albright wrote: Hi! I'm trying to build the logcheck port on my FreeBSD 7.2 system. # uname -prs FreeBSD 7.2-STABLE amd64 Here's the error I get: # cd /usr/ports/security/logcheck/ # make = logcheck_1.2.54.tar.gz doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://www.gtlib.cc.gatech.edu/pub/debian/pool/main/l/logcheck/. logcheck_1.2.54.tar.gz100% of 137 kB 82 kBps === Extracting for logcheck-1.2.54_3 = MD5 Checksum OK for logcheck_1.2.54.tar.gz. = SHA256 Checksum OK for logcheck_1.2.54.tar.gz. === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Patching for logcheck-1.2.54_3 === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Applying FreeBSD patches for logcheck-1.2.54_3 === logcheck-1.2.54_3 depends on executable: docbook2man - found === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Configuring for logcheck-1.2.54_3 === Building for logcheck-1.2.54_3 *** Error code 255 Stop in /usr/ports/security/logcheck. and that's all I get. I've tried to mail the port maintainer(glar...@freebsd.org), and the latest person that built the Makefile (d...@freebsddiary.org) but neither address allowed my message through. I've re-built (make deinstall make reinstall) the BUILD_DEPENDS(/usr/ports/texproc/docbook2man) and RUN_DEPENDS(/usr/ports/mail/procmail, /usr/ports/shells/bash) but I still get the same error. What more do I need to provide to help troubleshoot this error to allow logcheck to install? Thanks! Bryan Hi Bryan, I got your direct message a little while ago - did it also bounce back to you? Coincidentally, I have been working on this problem today. Do you have the textproc/docbook-to-man port installed on your machine? I recently changed security/logcheck to use textproc/docbook2X to convert its SGML man page source into a man page, since its a much lighter-weight port than docbook-to-man. However, if docbook-to-man is already installed, it should be used instead of docbook2X. I didn't take that into account initially. I just updated the port, so please refresh your tree and try reinstalling. Let me know how that works for you. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKHFGl0sRouByUApARAoseAJ0bmz9WPEgrclwuu2Me8jXdYsRvgwCgjn8g BBQLCVgLjXdsnT6crDOX2d4= =1Mdw -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
How to detect when gmirror sync is complete?
I know I could have a script that continually checks gmirror status to detect when a gmirror synchronization has completed, but is there a more event-driven approach? Something that could be used to trigger and event like devd does for drive pulls/inserts would be nice. 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
Is this a gmirror bug?
I've seen this kind of thing appear in my df output: # df Filesystem 1K-blocksUsed Avail Capacity Mounted on /dev/mirror/gm0a 5077038 1685050 298582636%/ devfs 1 1 0 100%/dev linprocfs 4 4 0 100%/proc /dev/mirror/gm0d 4058062 -377792 4111210 -10%/tmp /dev/mirror/gm0e 15231278 -113942 14126718-1%/var /dev/ad10s3e121487580 4 111768570 0%/v3 /dev/ad8s3e 121487580 4 111768570 0%/v2 /dev/ad6s3e 121487580 4 111768570 0%/v1 /dev/ad4s3e 121487580 4 111768570 0%/v0 It's showing that two partitions in my gm0 partition are below 0% capacity. This is clearly wrong, but what does it mean? ___ 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: sendmail: stat=Deferred: Connection reset by local
Thank you Wojciech and Tim. Could not yet find the solution, but at least I got sendmail back delivering mail by reinstalling security/cyrus-sasl2 Don't know why nor how, but obviously there is some configuration left around that makes sendmail try to use some of sasl.. When I find the solution, I'll post it here. Best regards. Robi Roberto Nunnari ha scritto: Wojciech Puchar ha scritto: here it is: divert(0)dnl VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 2003/10/19 00:03:13 gshapiro Exp $') define(`confCF_VERSION', `Submit')dnl define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet define(`confTIME_ZONE', `USE_TZ')dnl define(`confDONT_INIT_GROUPS', `True')dnl define(`confBIND_OPTS', `WorkAroundBroken')dnl dnl dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1] FEATURE(`msp', `[127.0.0.1]')dnl 6 this line i wanted to check if it listens. looks fine, while your messages suggested that it's not. so no more idea, you talked about that you upgraded things, maybe rm *.cf;make;make install;/etc/rc.d/sendmail restart I did that.. but it doesn't help.. I also recompiled again sendmail from source.. but didn't help neighter.. ? but actually i don't have more ideas. I also don't know what else to look for.. any more hints anybody? Robi ___ 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: A FreeBSD program that rotates text
On Tue, 26 May 2009 17:08:53 -0300, Gonzalo Nemmi gne...@gmail.com wrote: The tool I use to do that is Inkscape, and here you'll find a video tutorial on how to do exactly what you are asking for (and a lot of video tutorials to do whatever you may want to do with Inkscape =) ): http://screencasters.heathenx.org/episode-014/ Sadly, I can't see it because I have no Flash, and youtube-dl, mplayer and swfplayer cannot handle this. :-( (Because Flash is mostly used to pollute the web, nag the users and slow down the system, I decided to keep my system free of it.) Anyway, I had already installed Inkscape and just had a look into it. I've been advised that it's a powerful tool, still relatively easy to master, and I've been told that I should use it to postprocess my manga drawings. If you don't mind, can you describe me in a few steps what to do? -- Polytropon From 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: A FreeBSD program that rotates text
On Tue, May 26, 2009 at 5:49 PM, Polytropon free...@edvax.de wrote: On Tue, 26 May 2009 17:08:53 -0300, Gonzalo Nemmi gne...@gmail.com wrote: The tool I use to do that is Inkscape, and here you'll find a video tutorial on how to do exactly what you are asking for (and a lot of video tutorials to do whatever you may want to do with Inkscape =) ): http://screencasters.heathenx.org/episode-014/ Sadly, I can't see it because I have no Flash, and youtube-dl, mplayer and swfplayer cannot handle this. :-( (Because Flash is mostly used to pollute the web, nag the users and slow down the system, I decided to keep my system free of it.) Anyway, I had already installed Inkscape and just had a look into it. I've been advised that it's a powerful tool, still relatively easy to master, and I've been told that I should use it to postprocess my manga drawings. If you don't mind, can you describe me in a few steps what to do? I can do better than that ...: http://screencasters.heathenx.org/podpress_trac/web/20/0/ep014.avi BTW: as can be found in http://screencasters.heathenx.org/about/ Our screencast videos are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported http://creativecommons.org/licenses/by-nc-sa/3.0/ License. This means we encourage you to share and/or remix the work as long as you give us credit for the original work, use it for non-commercial purposes, and attach a similar license to any remixed or altered work you may derive from it. Pretty simple. So, I can safely point you to: http://www.torrentreactor.net/torrents/2131627/inkscape-screencast-by-heathen-x Sorry I didn't post it before. Hope that helps =D Best Regards Gonzalo Nemmi ___ 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: netbooks vs FreeBSD
On 2009-May-24 15:33:43 +0200, Gabor Kovesdan ga...@freebsd.org wrote: Acer Aspire ONE. I haven't got comments from these lists about that model in particular but I googled a bit and it seems mostly everything works with it. I have the SSD version and everything except the webcam and suspend/ resume works out of the box. With WiFi and camera turned off, I can get over 3 hrs on the std battery doing things like locally reading mail. I have a USB 3G dongle and it's quite power-hungry (1/4 to 1/3 of total power consumption). -- Peter Jeremy pgpRGOI9743th.pgp Description: PGP signature
Re: A FreeBSD program that rotates text
On Tue, 26 May 2009 18:06:44 -0300, Gonzalo Nemmi gne...@gmail.com wrote: If you don't mind, can you describe me in a few steps what to do? I can do better than that ...: http://screencasters.heathenx.org/podpress_trac/web/20/0/ep014.avi Just wgot it. :-) //* wgot is the past tense of wget, indicating a $? of 0. :-) So, I can safely point you to: http://www.torrentreactor.net/torrents/2131627/inkscape-screencast-by-heathen-x This would force me to install a torrent client. :-) Sorry I didn't post it before. Don't mind, thank you! Hope that helps =D I'm very sure it does. Thanks again! That Inkscape really seems to be a very cool program. Wished I had played around with it earlier, not at night time (it's almost midnight here in Germany). -- Polytropon From 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: A FreeBSD program that rotates text
http://www.torrentreactor.net/torrents/2131627/inkscape-screencast-by-heathen-x This would force me to install a torrent client. :-) /usr/ports/net-p2p/rtorrent :) ___ 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 this a gmirror bug?
I've seen this kind of thing appear in my df output: linprocfs 4 4 0 100%/proc /dev/mirror/gm0d 4058062 -377792 4111210 -10%/tmp /dev/mirror/gm0e 15231278 -113942 14126718-1%/var /dev/ad10s3e121487580 4 111768570 0%/v3 /dev/ad8s3e 121487580 4 111768570 0%/v2 /dev/ad6s3e 121487580 4 111768570 0%/v1 /dev/ad4s3e 121487580 4 111768570 0%/v0 It's showing that two partitions in my gm0 partition are below 0% capacity. This is clearly wrong, but what does it mean? it has nothing to do with gmirror - no matter if it's virtual disk (gm0 that case) or physical, partition or not, it's just block device to UFS. definitely it is some problem but with UFS here. unmount this filesystems and do fsck_ffs -y on them ___ 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: Logcheck-1.2.54_3 build error?
On 05/26/09 at 04:31PM, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bryan Albright wrote: Hi! I'm trying to build the logcheck port on my FreeBSD 7.2 system. # uname -prs FreeBSD 7.2-STABLE amd64 Here's the error I get: # cd /usr/ports/security/logcheck/ # make = logcheck_1.2.54.tar.gz doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://www.gtlib.cc.gatech.edu/pub/debian/pool/main/l/logcheck/. logcheck_1.2.54.tar.gz100% of 137 kB 82 kBps === Extracting for logcheck-1.2.54_3 = MD5 Checksum OK for logcheck_1.2.54.tar.gz. = SHA256 Checksum OK for logcheck_1.2.54.tar.gz. === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Patching for logcheck-1.2.54_3 === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Applying FreeBSD patches for logcheck-1.2.54_3 === logcheck-1.2.54_3 depends on executable: docbook2man - found === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Configuring for logcheck-1.2.54_3 === Building for logcheck-1.2.54_3 *** Error code 255 Stop in /usr/ports/security/logcheck. and that's all I get. I've tried to mail the port maintainer(glar...@freebsd.org), and the latest person that built the Makefile (d...@freebsddiary.org) but neither address allowed my message through. I've re-built (make deinstall make reinstall) the BUILD_DEPENDS(/usr/ports/texproc/docbook2man) and RUN_DEPENDS(/usr/ports/mail/procmail, /usr/ports/shells/bash) but I still get the same error. What more do I need to provide to help troubleshoot this error to allow logcheck to install? Thanks! Bryan Hi Bryan, I got your direct message a little while ago - did it also bounce back to you? Coincidentally, I have been working on this problem today. Greg -- First off, let me say thank you for maintaining this port and being so quick to respond to requests. I did not receive a bounce. I checked my mailq and saw that after 10 minutes that there was a delay, so I went this route. Do you have the textproc/docbook-to-man port installed on your machine? Nope. Just docbook2X-0.8.8_2. I recently changed security/logcheck to use textproc/docbook2X to convert its SGML man page source into a man page, since its a much lighter-weight port than docbook-to-man. However, if docbook-to-man is already installed, it should be used instead of docbook2X. I didn't take that into account initially. I just updated the port, so please refresh your tree and try reinstalling. Let me know how that works for you. I just finished updating my ports tree, both from cvsup1.us.freebsd.org and from cvsup15.us.freebsd.org (the fastest from a fastest_cvsup output), but the security/logcheck port didn't update. How long should I wait to see in in the ports tree, or is there a non-normal location to pull the ports from? Thanks! Bryan -- Bryan Albright If you receive something that says, Send this to everyone you know, PLEASE pretend you DON'T know me. ___ 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 this a gmirror bug?
Wojciech Puchar wrote: I've seen this kind of thing appear in my df output: linprocfs 4 4 0 100%/proc /dev/mirror/gm0d 4058062 -377792 4111210 -10%/tmp /dev/mirror/gm0e 15231278 -113942 14126718-1%/var /dev/ad10s3e121487580 4 111768570 0%/v3 /dev/ad8s3e 121487580 4 111768570 0%/v2 /dev/ad6s3e 121487580 4 111768570 0%/v1 /dev/ad4s3e 121487580 4 111768570 0%/v0 It's showing that two partitions in my gm0 partition are below 0% capacity. This is clearly wrong, but what does it mean? it has nothing to do with gmirror - no matter if it's virtual disk (gm0 that case) or physical, partition or not, it's just block device to UFS. definitely it is some problem but with UFS here. unmount this filesystems and do fsck_ffs -y on them Nothing is wrong. 10% of the disk space is reserved for the superuser. The 10% free mark is what shows as 0% in df. If you're negative, it means you've tapped into the super-user reserve. This is not good, because it means you've lost a lot of the FS-level optimizations from UFS. -- Chris Cowart Network Technical Lead Network Infrastructure Services, RSSP-IT UC Berkeley pgp4eFf8CObOK.pgp Description: PGP signature
Re: Is this a gmirror bug?
On Tue, 26 May 2009 16:05:22 -0700, Chris Cowart ccow...@rescomp.berkeley.edu wrote: 10% of the disk space is reserved for the superuser. The 10% free mark is what shows as 0% in df. If you're negative, it means you've tapped into the super-user reserve. This is not good, because it means you've lost a lot of the FS-level optimizations from UFS. Wouldn't it look like Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/mirror/gm0d 4058062 -377792 4111210 110%/tmp /dev/mirror/gm0e 15231278 -113942 14126718 101%/var then? I always assumed that a disk occupation 100% would go into this reserved area, which would turn the Capacity field to be more than 100%, and not less than 0%? This is the case when I have more data on a UFS partition than it is allowed to... -- Polytropon From 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: Secure unsalted or fixed salt symmetric encryption?
On Tue, 26 May 2009 19:02:10 +0200 Roland Smith rsm...@xs4all.nl wrote: Or if you have the case of a 'known-plaintext' attack. It happens more often than you would think: [http://en.wikipedia.org/wiki/Known-plaintext_attack] Note that using a random salt would be a good protection against such an attack! Only if the passphrase is weak. If you don't use salt you can pre-compute a table that maps weak passphrases to a few bytes of of the ciphertext of a known plaintext first block. But if that passphrase contains sufficient entropy it's no cheaper than a brute-force attack against the cipher. A cipher that can't withstand that isn't worth using. ___ 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: Logcheck-1.2.54_3 build error?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bryan Albright wrote: On 05/26/09 at 04:31PM, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bryan Albright wrote: Hi! I'm trying to build the logcheck port on my FreeBSD 7.2 system. # uname -prs FreeBSD 7.2-STABLE amd64 Here's the error I get: # cd /usr/ports/security/logcheck/ # make = logcheck_1.2.54.tar.gz doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://www.gtlib.cc.gatech.edu/pub/debian/pool/main/l/logcheck/. logcheck_1.2.54.tar.gz100% of 137 kB 82 kBps === Extracting for logcheck-1.2.54_3 = MD5 Checksum OK for logcheck_1.2.54.tar.gz. = SHA256 Checksum OK for logcheck_1.2.54.tar.gz. === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Patching for logcheck-1.2.54_3 === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Applying FreeBSD patches for logcheck-1.2.54_3 === logcheck-1.2.54_3 depends on executable: docbook2man - found === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Configuring for logcheck-1.2.54_3 === Building for logcheck-1.2.54_3 *** Error code 255 Stop in /usr/ports/security/logcheck. and that's all I get. I've tried to mail the port maintainer(glar...@freebsd.org), and the latest person that built the Makefile (d...@freebsddiary.org) but neither address allowed my message through. I've re-built (make deinstall make reinstall) the BUILD_DEPENDS(/usr/ports/texproc/docbook2man) and RUN_DEPENDS(/usr/ports/mail/procmail, /usr/ports/shells/bash) but I still get the same error. What more do I need to provide to help troubleshoot this error to allow logcheck to install? Thanks! Bryan Hi Bryan, I got your direct message a little while ago - did it also bounce back to you? Coincidentally, I have been working on this problem today. Greg -- First off, let me say thank you for maintaining this port and being so quick to respond to requests. I did not receive a bounce. I checked my mailq and saw that after 10 minutes that there was a delay, so I went this route. Do you have the textproc/docbook-to-man port installed on your machine? Nope. Just docbook2X-0.8.8_2. I recently changed security/logcheck to use textproc/docbook2X to convert its SGML man page source into a man page, since its a much lighter-weight port than docbook-to-man. However, if docbook-to-man is already installed, it should be used instead of docbook2X. I didn't take that into account initially. I just updated the port, so please refresh your tree and try reinstalling. Let me know how that works for you. I just finished updating my ports tree, both from cvsup1.us.freebsd.org and from cvsup15.us.freebsd.org (the fastest from a fastest_cvsup output), but the security/logcheck port didn't update. How long should I wait to see in in the ports tree, or is there a non-normal location to pull the ports from? Thanks! Bryan Hi Bryan, Ok, I think the FreeBSD mail server has implemented greylisting, so that's probably why there was a delivery delay. By any chance do you have the textproc/docbook-4.1 port installed? That's the actual port that conflicts with docbook2X, but docbook-to-man typically has it as a dependency. If you don't, then I need to do a little more troubleshooting. I didn't bump the PORTREVISION on the port, but check the header of the Makefile. If it's version 1.26, then you have the latest one. I always update my ports trees with portsnap, and updates are generated within an hour or so, I think. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKHIo60sRouByUApARAo4PAKC4w7D/ajpNwXQAR0nPQnjukSfh7gCgzREd /3DYErLVkGc0LZzA19wqkKI= =gTHx -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
Re: Logcheck-1.2.54_3 build error?
On 05/26/09 at 08:32PM, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bryan Albright wrote: On 05/26/09 at 04:31PM, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bryan Albright wrote: Hi! I'm trying to build the logcheck port on my FreeBSD 7.2 system. # uname -prs FreeBSD 7.2-STABLE amd64 Here's the error I get: # cd /usr/ports/security/logcheck/ # make = logcheck_1.2.54.tar.gz doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://www.gtlib.cc.gatech.edu/pub/debian/pool/main/l/logcheck/. logcheck_1.2.54.tar.gz100% of 137 kB 82 kBps === Extracting for logcheck-1.2.54_3 = MD5 Checksum OK for logcheck_1.2.54.tar.gz. = SHA256 Checksum OK for logcheck_1.2.54.tar.gz. === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Patching for logcheck-1.2.54_3 === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Applying FreeBSD patches for logcheck-1.2.54_3 === logcheck-1.2.54_3 depends on executable: docbook2man - found === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Configuring for logcheck-1.2.54_3 === Building for logcheck-1.2.54_3 *** Error code 255 Stop in /usr/ports/security/logcheck. and that's all I get. I've tried to mail the port maintainer(glar...@freebsd.org), and the latest person that built the Makefile (d...@freebsddiary.org) but neither address allowed my message through. I've re-built (make deinstall make reinstall) the BUILD_DEPENDS(/usr/ports/texproc/docbook2man) and RUN_DEPENDS(/usr/ports/mail/procmail, /usr/ports/shells/bash) but I still get the same error. What more do I need to provide to help troubleshoot this error to allow logcheck to install? Thanks! Bryan Hi Bryan, I got your direct message a little while ago - did it also bounce back to you? Coincidentally, I have been working on this problem today. Greg -- First off, let me say thank you for maintaining this port and being so quick to respond to requests. I did not receive a bounce. I checked my mailq and saw that after 10 minutes that there was a delay, so I went this route. Do you have the textproc/docbook-to-man port installed on your machine? Nope. Just docbook2X-0.8.8_2. I recently changed security/logcheck to use textproc/docbook2X to convert its SGML man page source into a man page, since its a much lighter-weight port than docbook-to-man. However, if docbook-to-man is already installed, it should be used instead of docbook2X. I didn't take that into account initially. I just updated the port, so please refresh your tree and try reinstalling. Let me know how that works for you. I just finished updating my ports tree, both from cvsup1.us.freebsd.org and from cvsup15.us.freebsd.org (the fastest from a fastest_cvsup output), but the security/logcheck port didn't update. How long should I wait to see in in the ports tree, or is there a non-normal location to pull the ports from? Thanks! Bryan Hi Bryan, Ok, I think the FreeBSD mail server has implemented greylisting, so that's probably why there was a delivery delay. Understood. I was just a bit annoyed at the delay, so I hit up the questions@ list to see if anyone else had an answer. I'm glad you keep an eye on this list too. Thanks! By any chance do you have the textproc/docbook-4.1 port installed? That's the actual port that conflicts with docbook2X, but docbook-to-man typically has it as a dependency. If you don't, then I need to do a little more troubleshooting. Yes, I did have it installed. It is now uninstalled. No dependencies were listed, so it didn't hurt to take it out. I didn't bump the PORTREVISION on the port, but check the header of the Makefile. If it's version 1.26, then you have the latest one. I always update my ports trees with portsnap, and updates are generated within an hour or so, I think. I have the version described: # $FreeBSD: ports/security/logcheck/Makefile,v 1.26 2009/05/26 20:25:59 glarkin Exp $ The build of security/logcheck (Makefile version 1.26) breaks in exactly the same way as described in my initial e-mail. CUT === logcheck-1.2.54_3 depends on executable: docbook2man - found === logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found === Configuring for logcheck-1.2.54_3 === Building for logcheck-1.2.54_3 *** Error code 255 After uninstalling the textproc/docbook-4.1 port, I was able to do a make install clean on the logcheck port just fine. It looks to me like the Makefile needs to check to see if docbook-4.1 is installed, and if so, exit with a warning/error something to the effect of textproc/docbook4.1 breaks the
Another uptime story
...unfortunately, due to re-racking and upgrade requirements, I have to pull the plug. There is nothing hidden or obfuscated in my output, and I am not ashamed of that. Just a little bit of sadness of having to 'down' it, given this uptime in my relatively hostile environment. *sigh* I know this usually generates flames, but in the past, I've seen these types of messages do more good than harm. Someone have a beer for me as I watch my personal uptime record go bye-bye: radius# uptime 11:01PM up 553 days, 13:38, 1 user, load averages: 0.00, 0.00, 0.00 radius# date Tue May 26 23:01:37 EDT 2009 radius# uname -a FreeBSD radius.eagle.ca 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Thu Jun 14 15:16:10 EDT 2007 r...@radius.eagle.ca:/usr/obj/usr/src/sys/RADIUS i386 ...and for archive purposes: radius# cat /var/run/dmesg.boot Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE-p5 #0: Thu Jun 14 15:16:10 EDT 2007 r...@radius.eagle.ca:/usr/obj/usr/src/sys/RADIUS ACPI APIC Table: D845WD WD84510A Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (1495.16-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf12 Stepping = 2 Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM real memory = 1073479680 (1023 MB) avail memory = 1041477632 (993 MB) ioapic0: Changing APIC ID to 2 ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: D845WD WD84510A on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: Intel 82845 host to AGP bridge mem 0xf800-0xfbff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0 pci2: ACPI PCI bus on pcib2 fxp0: Intel 82550 Pro/100 Ethernet port 0xde80-0xdebf mem 0xfeafc000-0xfeafcfff,0xfea8-0xfea9 irq 18 at device 12.0 on pci2 miibus0: MII bus on fxp0 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:07:e9:9c:df:f3 fxp1: Intel 82550 Pro/100 Ethernet port 0xdd80-0xddbf mem 0xfeafb000-0xfeafbfff,0xfea4-0xfea5 irq 19 at device 13.0 on pci2 miibus1: MII bus on fxp1 inphy1: i82555 10/100 media interface on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:07:e9:9c:df:f4 atapci0: Promise PDC20267 UDMA100 controller port 0xdff0-0xdff7,0xdfe4-0xdfe7,0xdfa8-0xdfaf,0xdfe0-0xdfe3,0xdf00-0xdf3f mem 0xfeaa-0xfeab irq 22 at device 14.0 on pci2 ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 pci2: display, VGA at device 15.0 (no driver attached) isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci1: Intel ICH2 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: ATA channel 0 on atapci1 ata1: ATA channel 1 on atapci1 uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0xef40-0xef5f irq 19 at device 31.2 on pci0 uhci0: [GIANT-LOCKED] usb0: Intel 82801BA/BAM (ICH2) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: serial bus, SMBus at device 31.3 (no driver attached) uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 0xef80-0xef9f irq 23 at device 31.4 on pci0 uhci1: [GIANT-LOCKED] usb1: Intel 82801BA/BAM (ICH2) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: floppy drive controller port 0x3f0-0x3f1,0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: Standard parallel printer port port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: Parallel port bus on ppc0 pmtimer0 on isa0 orm0: ISA Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc8fff,0xc9000-0xd17ff,0xd1800-0xd27ff,0xd2800-0xd37ff on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 vga0: