From Olivier.Nicole at cs.ait.ac.th Thu Oct 1 01:16:56 2009 From: Olivier.Nicole at cs.ait.ac.th (Olivier Nicole) Date: Thu Oct 1 01:17:02 2009 Subject: Netwroked Storage In-Reply-To: (gpeel@thenetnow.com) References: <6201873e0909300607u7bdbe45aw91972f253299e853@mail.gmail.com> Message-ID: <200910010116.n911Gmk2024725@banyan.cs.ait.ac.th> Hi, > All of the 200 domains on each server have thier own Real Unix user > (obviously). Once the NAS is setup, (using NFS), how do the permissions on > the NAS machine play out? i.e. when user 'hisname' logs into a server via > ftp, and uploads a file to his home directory (which is on the NAS), will > the file permissions be the same, and will 'hisname' own the file exactly > the same as if he were writing to the local (server) disk? That is expected, else something bad would exists in the configuration of the NAS. > In the NAS > exports do I have to map every user to the NFS or can I just maproot? Maproot is the easiest as it gives complete access to the NFS exported directory. Now you may consider that for security reason, users of client-machine 1 should only be allowed to NFS mount their own home directory. In that case, you may need the users of client-machine 1 to exist on client-machine 1 and on the server, etc for machine 2... Actually I never had this case when a user account only exists on an NFS client but not on the NFS server, so I am not too sure. I guess that user ID of the users should be different on every client system. You may consider an LDAP directory for your users, where the server would see all the users, but each client-machine would see only the users belonging to it (I thing that there is an "host" attributes, so client-1 only sees the users with host=client-1). Good luck, Olivier From chrisa at uvic.ca Thu Oct 1 02:22:21 2009 From: chrisa at uvic.ca (chrisa@uvic.ca) Date: Thu Oct 1 02:22:28 2009 Subject: problems with hal in freebsd 7.2 i386 In-Reply-To: References: <1b3000aab88ea400a8a60a56aea835c5.squirrel@wm3.uvic.ca> <20090930073601.GA824@sandcat> <6900371da03b4f476e7ff154adb9e12a.squirrel@wm3.uvic.ca> <6201873e0909301220u3cfea5a2n59a576ca6d9d1009@mail.gmail.com> <340fe87c23ba55b89024231e59dad7f1.squirrel@wm3.uvic.ca> <302a6d597e448786230d74aa2ccb7502.squirrel@wm3.uvic.ca> Message-ID: <3bf2b136bc8e50cbd7eca54e09db6930.squirrel@wm3.uvic.ca> > On Wed, 30 Sep 2009, chrisa@uvic.ca wrote: > >>> Add the following to your X11 config and see what you come up with. >>> >>> Section "ServerFlags" >>> option "AutoAddDevices" "off" >>> option "AllowEmptyInput" "off" >>> EndSection >>> >>> Best regards >> >> All right, I did that. > > What are you trying to fix with those entries? Nothing. I was just doing it to see what happens. > >> Created a new xorg.conf since it's working with the autoconfig now. > > And what is in it? Only this: Section "ServerFlags" option "AutoAddDevices" "off" option "AllowEmptyInput" "off" EndSection and nothing else. > >> The mouse and keyboard still work, and Xorg.0.log follows. > >> (EE) config/hal: NewInputDeviceRequest failed (8) >> (II) config/hal: Adding input device AT Keyboard >> (EE) config/hal: NewInputDeviceRequest failed (8) > > Well, that's broken. Look, there are basically two ways to configure > keyboard and mouse for xorg. There's the old way, where you have > InputDevice entries for them in xorg.conf. > > Then there's the new way, where you run hal and let it handle the > keyboard and mouse for xorg. No InputDevice sections are needed. For > example, here is my xorg.conf from the Acer Aspire One. Note the lack > of InputDevice sections and those magic ServerFlags options. It does indeed appear broken. The keyboard and mouse still work, though, which doesn't make any sense to me. I don't have any InputDevice sections, as you can see, so if hal isn't configuring the keyboard and mouse, what is? From m.seaman at infracaninophile.co.uk Thu Oct 1 06:03:29 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu Oct 1 06:03:36 2009 Subject: How to restore Base_Bind on amd64 7.2 p3 In-Reply-To: <6D413C54678B485E90645DF432C705E8@sleuth64> References: <4AC1E6EC.3080805@rumonitor.ru><20090929184641.GA17580@haydn.nognu.de> <1B6DC3865C3A46D0A1863A674C6CEAA4@sleuth64> <6D413C54678B485E90645DF432C705E8@sleuth64> Message-ID: <4AC44625.6010909@infracaninophile.co.uk> David Southwell wrote: >>> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Frank >>> Steinborn >>> You should be able to restore the bind from base by using the >>> install.sh script in /usr/src/contrib/bind9. Deinstall the >> port first, >>> though. >>> >> ThanksI deinstalled the port and tried to run install-sh >> >> # sh install-sh >> and got the response: >>> install: no input file specified >> Any chance you might make me a little wiser on how to use install-sh?\ This advice -- to run install-sh -- is incorrect. install-sh there is straight from the bind distribution and assumes you're building it as a separate piece of software, rather than integrated with the rest of the system sources. To reinstall bind from the FreeBSD source tree: * Check /etc/src.conf, /etc/make.conf and ensure that there are no WITHOUT_BIND or WITHOUT_BIND_NAMED or other relevant flags set * Simplest thing to do is then run through a buildworld cycle. This takes a while and uses some CPU power but it's largely fire-ans-forget. Instructions are here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html * If you're really in a hurry, then you can rebuild just bind etc. but this is less certain than the above. The following is extracted from http://security.freebsd.org/advisories/FreeBSD-SA-09:12.bind.asc # cd /usr/src/lib/bind # make obj && make depend && make && make install # cd /usr/src/usr.sbin/named # make obj && make depend && make && make install # /etc/rc.d/named restart As the previous correspondent said, deinstall the port before doing this. You should not need to recompile any other software because of this change -- the shlibs generated should be interchangeable -- but you will need to reboot to make sure that all the running processes are using the correct version of the resolver functions rather than a memory mapped copy of the old shlibs even after the actual file was deleted and overwritten. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091001/c2ebc280/signature.pgp From onemda at gmail.com Thu Oct 1 07:35:08 2009 From: onemda at gmail.com (Paul B Mahol) Date: Thu Oct 1 07:35:14 2009 Subject: ndis interface doesn't show up (intel 5300) In-Reply-To: <4AC3D20C.6070803@infosec.pl> References: <4AC3D20C.6070803@infosec.pl> Message-ID: <3a142e750910010035scaf8e73s12ff235dd5245a06@mail.gmail.com> On 9/30/09, Michal wrote: > Hello, > > I'm struggling to get Intel 5300 wireless mini pci-e card working on > FreeBSD 8.0-RC1 (amd64, both GENERIC and my custom kernel). Try i386. amd64 doesnt work for me, panic on kldload. > I get no error messages. Kernel module builds and loads fine but then > ndis interface never shows up. > > Here is exactly what I'm doing: > Drivers for XP64 downloaded from intel website. I've tried latest and > old drivers. Unzipped on FreeBSD. > Then: > ndisgen NETw5x64.inf NETw5x64.sys > This .INF file appears to be ASCII. [return] > This .SYS file appears to be in Windows(r) PE format. [return] > Driver file conversion - conversion was successful. [enter] > Firmware file conversion [enter] > Kernel module generation > Generating Makefile... done. > Building kernel module... done. > Cleaning up... done. > > So NETw5x64_sys.ko has been successfully generated. Note that when it > asks me for additional firmware files I don't give it any - is that ok? Depends. Look what are other files. > Then I'm moving this module to /boot/modules and I'm loading it: > kldload -v NETw5x64_sys.ko > Loaded NETw5x64_sys.ko, id=8 > > And that's pretty much it, module get loaded together with nids.ko and > if_nids.ko but nothing really happens. No additional network interfaces, > nothing in dmesg output. Tried with debug.ndis=1 and get no additional > informations. > > Any ideas, please? Anybody got this card to work on FreeBSD? > > Michal > -- > "The future is here. It's just not widely distributed yet." -William Gibson > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From bsd at todoo.biz Thu Oct 1 07:58:39 2009 From: bsd at todoo.biz (bsd) Date: Thu Oct 1 07:58:45 2009 Subject: Swap and memory optimization Message-ID: <176FD00A-5791-4D3E-B7F3-D5F0A0AE2037@todoo.biz> Hello, I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1 Works quite well. As I plan to put 100 more mail accounts soon on the server I was wondering if the memory & swap was ok on the server considering these figures: last pid: 18956; load averages: 0.04, 0.11, 0.05 up 19+08:36:23 09:53:38 125 processes: 1 running, 124 sleeping CPU: 0.0% user, 0.0% nice, 1.5% system, 0.4% interrupt, 98.1% idle Mem: 499M Active, 70M Inact, 362M Wired, 41M Cache, 111M Buf, 20M Free Swap: 2000M Total, 160M Used, 1840M Free, 8% Inuse Though It looks good to me - the server swaps a bit (between 8 to 14%) and there is not much memory left. Let me know what you think about these figures. Thanks. ???????????????????????????????????????????????? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ???????????????????????????????????????????????? P "Please consider your environmental responsibility before printing this e-mail" From mexas at bristol.ac.uk Thu Oct 1 08:38:51 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Oct 1 08:38:58 2009 Subject: mplayer: X11 error: BadAlloc (insufficient resources for operation) In-Reply-To: <20090930204503.GA3865@phenom.cordula.ws> References: <20090930163640.GA45422@mech-cluster241.men.bris.ac.uk> <20090930204503.GA3865@phenom.cordula.ws> Message-ID: <20091001083843.GC51344@mech-cluster241.men.bris.ac.uk> On Wed, Sep 30, 2009 at 10:45:03PM +0200, cpghost wrote: > On Wed, Sep 30, 2009 at 05:36:40PM +0100, Anton Shterenlikht wrote: > > I've installed port multimedia/mplayer (mplayer-0.99.11_14) > > on 9.0-current ia64. > > > > Trying to play an mpeg video I get endless stream of > > > > X11 error: BadAlloc (insufficient resources for operation) > > X11 error: BadAlloc (insufficient resources for operation) > > V: 7.6 190/190 17% 82% 0.0% 0 0 > > X11 error: BadAlloc (insufficient resources for operation) > > X11 error: BadAlloc (insufficient resources for operation) > > X11 error: BadAlloc (insufficient resources for operation) > > X11 error: BadAlloc (insufficient resources for operation) > > X11 error: BadAlloc (insufficient resources for operation) > > X11 error: BadAlloc (insufficient resources for operation) > > This usually happens when X doesn't have enough resources to > allocate to direct viewing with the xv (XView) driver. This > is very often related to DRM/DRI or memory problems. > > As a work around, try playing the video with the x11 driver > instead: > > $ mplayer -vo x11 somefile.avi yes, this works ok, many thanks I can even view an animation from a remote machine, via ssh -X, but shower, of course. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From ml at infosec.pl Thu Oct 1 08:45:49 2009 From: ml at infosec.pl (Michal) Date: Thu Oct 1 08:45:56 2009 Subject: ndis interface doesn't show up (intel 5300) In-Reply-To: <3a142e750910010035scaf8e73s12ff235dd5245a06@mail.gmail.com> References: <4AC3D20C.6070803@infosec.pl> <3a142e750910010035scaf8e73s12ff235dd5245a06@mail.gmail.com> Message-ID: <4AC47A13.5010504@infosec.pl> Paul B Mahol wrote: >> I'm struggling to get Intel 5300 wireless mini pci-e card working on >> FreeBSD 8.0-RC1 (amd64, both GENERIC and my custom kernel). > > Try i386. amd64 doesnt work for me, panic on kldload. > Ok I'll try it tonight. Is your card working fine on i386? And is it Intel WiFi Link 5300 or some other card? >> So NETw5x64_sys.ko has been successfully generated. Note that when it >> asks me for additional firmware files I don't give it any - is that ok? > > Depends. Look what are other files. > That's the problem, I'm looking at them but I can't really tell the difference. List of files: NETw2c32.dll NETw2r32.dll NETw5c32.dll NETw5r32.dll NETw5x32.cat NETw5x32.inf NETw5x32.sys dpinst32.exe iProDifX.dll iProDifX.exe w29n50.sys w29n51.INF w29n51.cat w29n51.sys Cheers. Michal -- "By failing to prepare, you are preparing to fail." -Benjamin Franklin From amdmi3 at amdmi3.ru Thu Oct 1 10:58:27 2009 From: amdmi3 at amdmi3.ru (Dmitry Marakasov) Date: Thu Oct 1 10:58:35 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <20090930165843.GD503@obspm.fr> References: <20090930100658.GA99090@obspm.fr> <20090930144535.GD50565@hades.panopticon> <20090930145925.GB503@obspm.fr> <20090930172746.4d7d5fee@ernst.jennejohn.org> <20090930165843.GD503@obspm.fr> Message-ID: <20091001105823.GE50565@hades.panopticon> * Albert Shih (Albert.Shih@obspm.fr) wrote: > Thanks for Dmitry for this ports. I'm going to keep this thing somewhere No need to, if it works fine and there are no objections for it, I'll commit it to the tree. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From amdmi3 at amdmi3.ru Thu Oct 1 11:14:20 2009 From: amdmi3 at amdmi3.ru (Dmitry Marakasov) Date: Thu Oct 1 11:14:26 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <20090930161915.GA18014@lonesome.com> References: <20090930100658.GA99090@obspm.fr> <20090930110508.GA50565@hades.panopticon> <20090930161915.GA18014@lonesome.com> Message-ID: <20091001111417.GF50565@hades.panopticon> * Mark Linimon (linimon@lonesome.com) wrote: > As a reminder, the last time this software was in the ports tree, the > developer threatened us with a lawsuit. This repeats what he has > previously done to several other BSDs and several Linux distributions. > This is why ports for his software are no longer available for these > platforms. > > Whether the license has changed or not, the fact that the author feels > the desire to use lawsuits to achieve his goals makes his software too > much of a liability for FreeBSD to redistribute. Well we can set RESTRICTED if that's a problem, then we will not be distributing anything. I can mirror a distfile under my personal responsibility. Actually I think that the weirdnesses of an author should not be a reason against using useful software or making it available for use by other people, if there's no real legal threat. They may be a cause for stagnation/death of a project, but that's another story. As another argument, Debian and Ubuntu haven't ever removed packages for ion3, just making a user agree with that the software may be obsolete and unsupported. I believe they know what they're doing. But I'll still mail ahze (who removed the port) and adamw (who maintained it last). -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From wmoran at potentialtech.com Thu Oct 1 11:39:48 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Thu Oct 1 11:39:55 2009 Subject: Swap and memory optimization In-Reply-To: <176FD00A-5791-4D3E-B7F3-D5F0A0AE2037@todoo.biz> References: <176FD00A-5791-4D3E-B7F3-D5F0A0AE2037@todoo.biz> Message-ID: <20091001073919.9e05d056.wmoran@potentialtech.com> bsd wrote: > > Hello, > > I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1 > Works quite well. > > As I plan to put 100 more mail accounts soon on the server I was > wondering if the memory & swap was ok on the server considering these > figures: > > > last pid: 18956; load averages: 0.04, 0.11, > 0.05 > up > 19+08:36:23 09:53:38 > 125 processes: 1 running, 124 sleeping > CPU: 0.0% user, 0.0% nice, 1.5% system, 0.4% interrupt, 98.1% idle > Mem: 499M Active, 70M Inact, 362M Wired, 41M Cache, 111M Buf, 20M Free > Swap: 2000M Total, 160M Used, 1840M Free, 8% Inuse > > > Though It looks good to me - the server swaps a bit (between 8 to 14%) > and there is not much memory left. Looks like the server would run more smoothly with a bit more RAM. At least an additional 256M, I would think, but considering the price of RAM, you might as well just up it to 2G. -- Bill Moran http://www.potentialtech.com From erwin at FreeBSD.org Thu Oct 1 11:23:26 2009 From: erwin at FreeBSD.org (Erwin Lansing) Date: Thu Oct 1 11:47:20 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <20091001111417.GF50565@hades.panopticon> References: <20090930100658.GA99090@obspm.fr> <20090930110508.GA50565@hades.panopticon> <20090930161915.GA18014@lonesome.com> <20091001111417.GF50565@hades.panopticon> Message-ID: <20091001112323.GA26407@droso.net> On Thu, Oct 01, 2009 at 03:14:17PM +0400, Dmitry Marakasov wrote: > * Mark Linimon (linimon@lonesome.com) wrote: > > > As a reminder, the last time this software was in the ports tree, the > > developer threatened us with a lawsuit. This repeats what he has > > previously done to several other BSDs and several Linux distributions. > > This is why ports for his software are no longer available for these > > platforms. > > > > Whether the license has changed or not, the fact that the author feels > > the desire to use lawsuits to achieve his goals makes his software too > > much of a liability for FreeBSD to redistribute. > > Well we can set RESTRICTED if that's a problem, then we will not be > distributing anything. I can mirror a distfile under my personal > responsibility. The license forbids this software to be in the tree, so with my portmgr hat on I ask you not to add this to the tree again. > > Actually I think that the weirdnesses of an author should not be a > reason against using useful software or making it available for use Such is the legal system, and we are at the authors whim. -erwin > by other people, if there's no real legal threat. They may be a cause > for stagnation/death of a project, but that's another story. > As another argument, Debian and Ubuntu haven't ever removed packages > for ion3, just making a user agree with that the software may be > obsolete and unsupported. I believe they know what they're doing. > > But I'll still mail ahze (who removed the port) and adamw (who > maintained it last). > > -- > Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D > amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- Erwin Lansing http://droso.org Prediction is very difficult especially about the future erwin@FreeBSD.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091001/1d26ea0f/attachment.pgp From amdmi3 at amdmi3.ru Thu Oct 1 11:45:47 2009 From: amdmi3 at amdmi3.ru (Dmitry Marakasov) Date: Thu Oct 1 11:56:30 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <20091001112323.GA26407@droso.net> References: <20090930100658.GA99090@obspm.fr> <20090930110508.GA50565@hades.panopticon> <20090930161915.GA18014@lonesome.com> <20091001111417.GF50565@hades.panopticon> <20091001112323.GA26407@droso.net> Message-ID: <20091001114546.GH50565@hades.panopticon> * Erwin Lansing (erwin@FreeBSD.org) wrote: > The license forbids this software to be in the tree, so with my portmgr > hat on I ask you not to add this to the tree again. It no longer does: http://lists.berlios.de/pipermail/ion-general/2009-September/002520.html Now it's LGPLv2.1 with the only restriction that this software may not be significantly changed while being distributed as ion3. We do not significantly change it, only paches affect the build system, they are required to build (and are expected by the author judging by comments in system.mk), and are not visible for a user. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From jerrymc at msu.edu Thu Oct 1 13:41:41 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Oct 1 13:42:06 2009 Subject: Swap and memory optimization In-Reply-To: <176FD00A-5791-4D3E-B7F3-D5F0A0AE2037@todoo.biz> References: <176FD00A-5791-4D3E-B7F3-D5F0A0AE2037@todoo.biz> Message-ID: <20091001134136.GC37268@gizmo.acns.msu.edu> On Thu, Oct 01, 2009 at 09:58:36AM +0200, bsd wrote: > Hello, > > I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1 > Works quite well. > > As I plan to put 100 more mail accounts soon on the server I was > wondering if the memory & swap was ok on the server considering these > figures: > > > last pid: 18956; load averages: 0.04, 0.11, > 0.05 > up 19+08:36:23 09:53:38 > 125 processes: 1 running, 124 sleeping > CPU: 0.0% user, 0.0% nice, 1.5% system, 0.4% interrupt, 98.1% idle > Mem: 499M Active, 70M Inact, 362M Wired, 41M Cache, 111M Buf, 20M Free > Swap: 2000M Total, 160M Used, 1840M Free, 8% Inuse > > > Though It looks good to me - the server swaps a bit (between 8 to 14%) > and there is not much memory left. > > Let me know what you think about these figures. > Unless something else is going on or you are running some commercial server that gets huge amounts of traffic, you should have no capacity problem with this setup. You might want to upgrade to a more recent FreeBSD. ////jerry > > Thanks. > > ???????????????????????????????????????????????? > Gregober ---> PGP ID --> 0x1BA3C2FD > bsd @at@ todoo.biz > ???????????????????????????????????????????????? > P "Please consider your environmental responsibility before printing > this e-mail" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From david at vizion2000.net Thu Oct 1 13:59:42 2009 From: david at vizion2000.net (david@vizion2000.net) Date: Thu Oct 1 13:59:49 2009 Subject: Looking up libraries and header files Message-ID: Hi What is the simplest way to found out which port installs specific harder or library files? ATM I do it through a google search on the file name and usually find a clue.. but I suspect there ia better mousetrap!! Thanks in advance David From aaflatooni at yahoo.com Thu Oct 1 13:21:59 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Thu Oct 1 14:00:51 2009 Subject: usenet configuration Message-ID: <832963.74091.qm@web56208.mail.re3.yahoo.com> Can someone point me to what software I need to install in order to provide a usenet service for internal users? Thanks From amvandemore at gmail.com Thu Oct 1 14:04:29 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Thu Oct 1 14:04:37 2009 Subject: usenet configuration In-Reply-To: <832963.74091.qm@web56208.mail.re3.yahoo.com> References: <832963.74091.qm@web56208.mail.re3.yahoo.com> Message-ID: <6201873e0910010704v9f1fae0oee30acda5b19f0d8@mail.gmail.com> On Thu, Oct 1, 2009 at 8:21 AM, Aflatoon Aflatooni wrote: > Can someone point me to what software I need to install in order to provide > a usenet service for internal users? > > Thanks > > You mean like this? > cat /usr/ports/mail/mailman/pkg-descr Paraphrasing the website: Mailman is a mailing list manager (MLM); that is, software to help manage email discussion lists, much like Majordomo, LISTSERV, and the like. Unlike most similar products, Mailman gives each mailing list a web page and allows users to subscribe, unsubscribe, and change their preferences via the web. Even a list manager can administer his or her list(s) entirely via the web. Mailman integrates many common MLM features, including web-based archiving (though it also has hooks for external archivers), mail-to-news gateways, bounce handling, spam prevention, Majordomo-style email-based list administration, direct SMTP delivery (with fast bulk mailing), digest delivery, virtual domain support, and more. Mailman is written mostly in Python (with a smattering of C where necessary for security purposes), and includes hooks to make it easily scriptable and extensible. It is compatible with most web servers and browsers, and most mail transfer agents (mail servers). Mailman's documentation may be found on its website. Author: Barry Warsaw and the Mailman Cabal WWW: http://www.list.org/ -- Adam Vande More From odhiambo at gmail.com Thu Oct 1 14:04:45 2009 From: odhiambo at gmail.com (Odhiambo Washington) Date: Thu Oct 1 14:04:52 2009 Subject: usenet configuration In-Reply-To: <832963.74091.qm@web56208.mail.re3.yahoo.com> References: <832963.74091.qm@web56208.mail.re3.yahoo.com> Message-ID: <991123400910010704x7952ae73h13e1ce68d07a2773@mail.gmail.com> On Thu, Oct 1, 2009 at 4:21 PM, Aflatoon Aflatooni wrote: > Can someone point me to what software I need to install in order to provide > a usenet service for internal users? cd /usr/ports make search key=usenet -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From mak at kolybabi.com Thu Oct 1 14:06:58 2009 From: mak at kolybabi.com (Mak Kolybabi) Date: Thu Oct 1 14:07:06 2009 Subject: Looking up libraries and header files In-Reply-To: References: Message-ID: <20091001140724.GA27416@brisbane.nepharia.org> On 2009-10-01 06:59, david@vizion2000.net wrote: > What is the simplest way to found out which port installs specific harder or > library files? pkg_info has a --which flag that tells you what package a file came from: % pkg_info --which /usr/local/include/pcre.h /usr/local/include/pcre.h was installed by package pcre-7.9 -- Matthew Anthony Kolybabi (Mak) () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From glarkin at FreeBSD.org Thu Oct 1 14:08:15 2009 From: glarkin at FreeBSD.org (Greg Larkin) Date: Thu Oct 1 14:08:22 2009 Subject: Looking up libraries and header files In-Reply-To: References: Message-ID: <4AC4B7C9.7040104@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 david@vizion2000.net wrote: > Hi > > What is the simplest way to found out which port installs specific harder or > library files? > > ATM I do it through a google search on the file name and usually find a > clue.. but I suspect there ia better mousetrap!! > > Thanks in advance > David > Hi David, pkg_which will do what you want: # pkg_which /usr/local/include/librsync.h [Updating the pkgdb in /var/db/pkg ... - 289 packages found (-1 +1) (...). done] librsync-0.9.7_1 # Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKxLfI0sRouByUApARAoBAAJ4k8Ypua7VjFNPk19CnGr1EKrpz8ACglQQm UVP8gTXBr15nr6DPt95pT+c= =+ij6 -----END PGP SIGNATURE----- From freebsd-questions-local at be-well.ilk.org Thu Oct 1 14:12:59 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Oct 1 14:13:07 2009 Subject: usenet configuration In-Reply-To: <991123400910010704x7952ae73h13e1ce68d07a2773@mail.gmail.com> (Odhiambo Washington's message of "Thu, 1 Oct 2009 17:04:19 +0300") References: <832963.74091.qm@web56208.mail.re3.yahoo.com> <991123400910010704x7952ae73h13e1ce68d07a2773@mail.gmail.com> Message-ID: <44eipnurrr.fsf@be-well.ilk.org> Odhiambo Washington writes: > On Thu, Oct 1, 2009 at 4:21 PM, Aflatoon Aflatooni wrote: > >> Can someone point me to what software I need to install in order to provide >> a usenet service for internal users? > > > > cd /usr/ports > make search key=usenet Or better yet, "nntp". I think cnews is still the standard server software, but there are a bunch of alternatives that might be easier for a small installation. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From wblock at wonkity.com Thu Oct 1 14:41:37 2009 From: wblock at wonkity.com (Warren Block) Date: Thu Oct 1 14:41:44 2009 Subject: problems with hal in freebsd 7.2 i386 In-Reply-To: <3bf2b136bc8e50cbd7eca54e09db6930.squirrel@wm3.uvic.ca> References: <1b3000aab88ea400a8a60a56aea835c5.squirrel@wm3.uvic.ca> <20090930073601.GA824@sandcat> <6900371da03b4f476e7ff154adb9e12a.squirrel@wm3.uvic.ca> <6201873e0909301220u3cfea5a2n59a576ca6d9d1009@mail.gmail.com> <340fe87c23ba55b89024231e59dad7f1.squirrel@wm3.uvic.ca> <302a6d597e448786230d74aa2ccb7502.squirrel@wm3.uvic.ca> <3bf2b136bc8e50cbd7eca54e09db6930.squirrel@wm3.uvic.ca> Message-ID: On Wed, 30 Sep 2009, chrisa@uvic.ca wrote: >>> Created a new xorg.conf since it's working with the autoconfig now. >> >> And what is in it? > > Only this: > > Section "ServerFlags" > option "AutoAddDevices" "off" > option "AllowEmptyInput" "off" > EndSection > > and nothing else. > It does indeed appear broken. The keyboard and mouse still work, though, > which doesn't make any sense to me. I don't have any InputDevice sections, > as you can see, so if hal isn't configuring the keyboard and mouse, what > is? X, just like it's doing for the monitor and video card. Those two lines pretty much say "ignore hal and use the standard keyboard and mouse drivers". -Warren Block * Rapid City, South Dakota USA From david at vizion2000.net Thu Oct 1 14:49:58 2009 From: david at vizion2000.net (David Southwell) Date: Thu Oct 1 14:50:04 2009 Subject: Looking up libraries and header files In-Reply-To: <4AC4B7C9.7040104@FreeBSD.org> References: <4AC4B7C9.7040104@FreeBSD.org> Message-ID: <1534FEAD709A421F9478376D43DFA189@sleuth64> > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Greg Larkin > Sent: 01 October 2009 07:08 > To: david@vizion2000.net > Cc: freebsd-questions@freebsd.org > Subject: Re: Looking up libraries and header files > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > david@vizion2000.net wrote: > > Hi > > > > What is the simplest way to found out which port installs specific > > harder or library files? > > > > ATM I do it through a google search on the file name and > usually find > > a clue.. but I suspect there ia better mousetrap!! > > > > Thanks in advance > > David > > > > Hi David, > > pkg_which will do what you want: > > # pkg_which /usr/local/include/librsync.h [Updating the pkgdb > in /var/db/pkg ... - 289 packages found > (-1 +1) (...). done] > librsync-0.9.7_1 > # > > Cheers, > Greg > - -- > Greg Larkin Thanks Greg U R on the ball as usual! > From david at vizion2000.net Thu Oct 1 14:50:54 2009 From: david at vizion2000.net (David Southwell) Date: Thu Oct 1 14:51:01 2009 Subject: Looking up libraries and header files In-Reply-To: <20091001140724.GA27416@brisbane.nepharia.org> References: <20091001140724.GA27416@brisbane.nepharia.org> Message-ID: <4EDA11A6F5CE4422A7BE01EE571C58DA@sleuth64> > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Mak Kolybabi > Sent: 01 October 2009 07:07 > To: david@vizion2000.net > Cc: freebsd-questions@freebsd.org > Subject: Re: Looking up libraries and header files > > On 2009-10-01 06:59, david@vizion2000.net wrote: > > What is the simplest way to found out which port installs specific > > harder or library files? > > pkg_info has a --which flag that tells you what package a > file came from: > % pkg_info --which /usr/local/include/pcre.h > /usr/local/include/pcre.h was installed by package pcre-7.9 > > -- > Matthew Anthony Kolybabi (Mak) > Thanks Mat Now I have two solutions for the price of one question Brill!! > From david at vizion2000.net Thu Oct 1 14:53:43 2009 From: david at vizion2000.net (David Southwell) Date: Thu Oct 1 14:53:49 2009 Subject: Looking up libraries and header files In-Reply-To: <4EDA11A6F5CE4422A7BE01EE571C58DA@sleuth64> References: <20091001140724.GA27416@brisbane.nepharia.org> <4EDA11A6F5CE4422A7BE01EE571C58DA@sleuth64> Message-ID: <529486569750436B97C259AC2D363D7F@sleuth64> > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > David Southwell > Sent: 01 October 2009 07:50 > To: 'Mak Kolybabi' > Cc: freebsd-questions@freebsd.org > Subject: RE: Looking up libraries and header files > > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > Mak Kolybabi > > Sent: 01 October 2009 07:07 > > To: david@vizion2000.net > > Cc: freebsd-questions@freebsd.org > > Subject: Re: Looking up libraries and header files > > > > On 2009-10-01 06:59, david@vizion2000.net wrote: > > > What is the simplest way to found out which port installs > specific > > > harder or library files? > > > > pkg_info has a --which flag that tells you what package a file came > > from: > > % pkg_info --which /usr/local/include/pcre.h > /usr/local/include/pcre.h > > was installed by package pcre-7.9 > > > > -- > > Matthew Anthony Kolybabi (Mak) > > > Thanks Mat > > Now I have two solutions for the price of one question > > Brill!! OK One problem How about ports that are not installed? Is there another route that will deal with stuff not on the system? David > From roberthuff at rcn.com Thu Oct 1 15:00:25 2009 From: roberthuff at rcn.com (Robert Huff) Date: Thu Oct 1 15:00:44 2009 Subject: Looking up libraries and header files In-Reply-To: <529486569750436B97C259AC2D363D7F@sleuth64> References: <20091001140724.GA27416@brisbane.nepharia.org> <4EDA11A6F5CE4422A7BE01EE571C58DA@sleuth64> <529486569750436B97C259AC2D363D7F@sleuth64> Message-ID: <19140.50178.53068.254287@jerusalem.litteratus.org> David Southwell writes: > One problem > > How about ports that are not installed? > > Is there another route that will deal with stuff not on the system? I'm not quite sure what you're asking here; perhaps you could give a scenario? The above methods only work for things that are properly installed/registered with the ports(/packages) system. If you've installed something not from a port ... you're on your own. Robert Huff From dnelson at allantgroup.com Thu Oct 1 15:43:51 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Thu Oct 1 15:43:58 2009 Subject: Swap and memory optimization In-Reply-To: <20091001073919.9e05d056.wmoran@potentialtech.com> References: <176FD00A-5791-4D3E-B7F3-D5F0A0AE2037@todoo.biz> <20091001073919.9e05d056.wmoran@potentialtech.com> Message-ID: <20091001154345.GN29215@dan.emsphone.com> In the last episode (Oct 01), Bill Moran said: > bsd wrote: > > I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1 > > Works quite well. > > > > As I plan to put 100 more mail accounts soon on the server I was > > wondering if the memory & swap was ok on the server considering these > > figures: > > > > last pid: 18956; load averages: 0.04, 0.11, 0.05 up 19+08:36:23 09:53:38 > > 125 processes: 1 running, 124 sleeping > > CPU: 0.0% user, 0.0% nice, 1.5% system, 0.4% interrupt, 98.1% idle > > Mem: 499M Active, 70M Inact, 362M Wired, 41M Cache, 111M Buf, 20M Free > > Swap: 2000M Total, 160M Used, 1840M Free, 8% Inuse > > > > Though It looks good to me - the server swaps a bit (between 8 to 14%) > > and there is not much memory left. > > Looks like the server would run more smoothly with a bit more RAM. At > least an additional 256M, I would think, but considering the price of RAM, > you might as well just up it to 2G. The amount of used swap is much less important than whether you are actively swapping (if there are In/Out values on the Swap line in top, or if "vmstat 1" shows nonzero values in the pi/po columns). 160MB of used swap is fine if it's just unused daemons (getty, idle webserver, etc). More memory can never hurt, but it doesn't seem like it's urgently needed here. -- Dan Nelson dnelson@allantgroup.com From wmoran at potentialtech.com Thu Oct 1 15:58:24 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Thu Oct 1 15:58:32 2009 Subject: Swap and memory optimization In-Reply-To: <20091001154345.GN29215@dan.emsphone.com> References: <176FD00A-5791-4D3E-B7F3-D5F0A0AE2037@todoo.biz> <20091001073919.9e05d056.wmoran@potentialtech.com> <20091001154345.GN29215@dan.emsphone.com> Message-ID: <20091001115823.0891f9e2.wmoran@potentialtech.com> In response to Dan Nelson : > In the last episode (Oct 01), Bill Moran said: > > bsd wrote: > > > I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1 > > > Works quite well. > > > > > > As I plan to put 100 more mail accounts soon on the server I was > > > wondering if the memory & swap was ok on the server considering these > > > figures: > > > > > > last pid: 18956; load averages: 0.04, 0.11, 0.05 up 19+08:36:23 09:53:38 > > > 125 processes: 1 running, 124 sleeping > > > CPU: 0.0% user, 0.0% nice, 1.5% system, 0.4% interrupt, 98.1% idle > > > Mem: 499M Active, 70M Inact, 362M Wired, 41M Cache, 111M Buf, 20M Free > > > Swap: 2000M Total, 160M Used, 1840M Free, 8% Inuse > > > > > > Though It looks good to me - the server swaps a bit (between 8 to 14%) > > > and there is not much memory left. > > > > Looks like the server would run more smoothly with a bit more RAM. At > > least an additional 256M, I would think, but considering the price of RAM, > > you might as well just up it to 2G. > > The amount of used swap is much less important than whether you are actively > swapping (if there are In/Out values on the Swap line in top, or if "vmstat > 1" shows nonzero values in the pi/po columns). 160MB of used swap is fine > if it's just unused daemons (getty, idle webserver, etc). More memory can > never hurt, but it doesn't seem like it's urgently needed here. I don't know about that, Dan. Especially considering it's a mail server he's talking about, there's no RAM left for disk cache on that machine. We've seen performance gains on our mail server by putting obscene amounts of RAM into it. After a bit of use, FreeBSD ends up having 6.5G of inactive RAM, which I assume is cache of mailboxes. The result is that while watching gstat, the amount of disk reads is very low (since a lot of data is already in RAM) and the IO is available to do fast writes when new mail comes in. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From david at vizion2000.net Thu Oct 1 16:01:17 2009 From: david at vizion2000.net (David Southwell) Date: Thu Oct 1 16:01:26 2009 Subject: Looking up libraries and header files In-Reply-To: <19140.50178.53068.254287@jerusalem.litteratus.org> References: <20091001140724.GA27416@brisbane.nepharia.org><4EDA11A6F5CE4422A7BE01EE571C58DA@sleuth64><529486569750436B97C259AC2D363D7F@sleuth64> <19140.50178.53068.254287@jerusalem.litteratus.org> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Robert Huff > Sent: 01 October 2009 08:00 > To: David Southwell > Cc: 'Mak Kolybabi'; freebsd-questions@freebsd.org > Subject: RE: Looking up libraries and header files > > > David Southwell writes: > > > One problem > > > > How about ports that are not installed? > > > > Is there another route that will deal with stuff not on the system? > > I'm not quite sure what you're asking here; perhaps you > could give a scenario? > The above methods only work for things that are > properly installed/registered with the ports(/packages) > system. If you've installed something not from a port ... > you're on your own. > > My scenario is a port is compiling but complains about the absense of a header or a file from a port that has NOT been installed on the system. I have had this a few times when essential source was in a port not listed as a dependency. What I am thinking of is a centrally maintained database of all header and library files available to the port system. David > From freebsd-questions-local at be-well.ilk.org Thu Oct 1 16:48:09 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Oct 1 16:48:16 2009 Subject: Looking up libraries and header files In-Reply-To: <529486569750436B97C259AC2D363D7F@sleuth64> (David Southwell's message of "Thu, 1 Oct 2009 07:53:14 -0700") References: <20091001140724.GA27416@brisbane.nepharia.org> <4EDA11A6F5CE4422A7BE01EE571C58DA@sleuth64> <529486569750436B97C259AC2D363D7F@sleuth64> Message-ID: <44bpkrysag.fsf@be-well.ilk.org> "David Southwell" writes: > > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of >> David Southwell >> Sent: 01 October 2009 07:50 >> To: 'Mak Kolybabi' >> Cc: freebsd-questions@freebsd.org >> Subject: RE: Looking up libraries and header files >> >> >> >> > -----Original Message----- >> > From: owner-freebsd-questions@freebsd.org >> > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of >> Mak Kolybabi >> > Sent: 01 October 2009 07:07 >> > To: david@vizion2000.net >> > Cc: freebsd-questions@freebsd.org >> > Subject: Re: Looking up libraries and header files >> > >> > On 2009-10-01 06:59, david@vizion2000.net wrote: >> > > What is the simplest way to found out which port installs >> specific >> > > harder or library files? >> > >> > pkg_info has a --which flag that tells you what package a file came >> > from: >> > % pkg_info --which /usr/local/include/pcre.h >> /usr/local/include/pcre.h >> > was installed by package pcre-7.9 >> > >> > -- >> > Matthew Anthony Kolybabi (Mak) >> > >> Thanks Mat >> >> Now I have two solutions for the price of one question >> >> Brill!! > OK > > One problem > > How about ports that are not installed? > > Is there another route that will deal with stuff not on the system? > > David You can search the pkg-plist files in the ports tree. This won't work for ports that build a dynamic plist, but those are fairly unusual among library ports. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From glarkin at FreeBSD.org Thu Oct 1 17:05:45 2009 From: glarkin at FreeBSD.org (Greg Larkin) Date: Thu Oct 1 17:05:51 2009 Subject: Looking up libraries and header files In-Reply-To: References: <20091001140724.GA27416@brisbane.nepharia.org><4EDA11A6F5CE4422A7BE01EE571C58DA@sleuth64><529486569750436B97C259AC2D363D7F@sleuth64> <19140.50178.53068.254287@jerusalem.litteratus.org> Message-ID: <4AC4E157.3030201@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Southwell wrote: > > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Robert Huff >> Sent: 01 October 2009 08:00 >> To: David Southwell >> Cc: 'Mak Kolybabi'; freebsd-questions@freebsd.org >> Subject: RE: Looking up libraries and header files >> >> >> David Southwell writes: >> >>> One problem >>> >>> How about ports that are not installed? >>> >>> Is there another route that will deal with stuff not on the system? >> I'm not quite sure what you're asking here; perhaps you >> could give a scenario? >> The above methods only work for things that are >> properly installed/registered with the ports(/packages) >> system. If you've installed something not from a port ... >> you're on your own. >> >> > My scenario is a port is compiling but complains about the absense of a > header or a file from a port that has NOT been installed on the system. I > have had this a few times when essential source was in a port not listed as > a dependency. > > What I am thinking of is a centrally maintained database of all header and > library files available to the port system. > > David > Hi David, If a port requires a certain file to build or run, and it's included in another port that isn't listed as a dependency, please file a PR (http://www.freebsd.org/send-pr.html) so the port can be fixed. In the mean time, you can find port files by grepping /usr/ports like so: find /usr/ports -name pkg-plist -exec grep -l {} \; or grep -rl /usr/ports Keep in mind that not all ports have a pkg-plist file, so this will not work in some cases. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKxOFX0sRouByUApARAklaAKDI9nslpnrbnCUbewj4ux1JmNRvvACfcfd0 YReyg0Sl/pLUVceb+jlaMYM= =Or79 -----END PGP SIGNATURE----- From aaflatooni at yahoo.com Thu Oct 1 17:17:26 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Thu Oct 1 17:17:34 2009 Subject: usenet configuration In-Reply-To: <44eipnurrr.fsf@be-well.ilk.org> References: <832963.74091.qm@web56208.mail.re3.yahoo.com> <991123400910010704x7952ae73h13e1ce68d07a2773@mail.gmail.com> <44eipnurrr.fsf@be-well.ilk.org> Message-ID: <570307.51852.qm@web56204.mail.re3.yahoo.com> What is needed in order to run nntp? How does nntp connect to other news servers? Where do you define the news groups that the server would subscribe to? Any pointers or suggested configuration? Thanks ----- Original Message ---- From: Lowell Gilbert To: Aflatoon Aflatooni ; freebsd-questions@freebsd.org Sent: Thursday, October 1, 2009 10:12:56 AM Subject: Re: usenet configuration Odhiambo Washington writes: > On Thu, Oct 1, 2009 at 4:21 PM, Aflatoon Aflatooni wrote: > >> Can someone point me to what software I need to install in order to provide >> a usenet service for internal users? > > > > cd /usr/ports > make search key=usenet Or better yet, "nntp". I think cnews is still the standard server software, but there are a bunch of alternatives that might be easier for a small installation. -- Lowell Gilbert, embedded/networking software engineer, Boston area ??? ??? http://be-well.ilk.org/~lowell/ From odhiambo at gmail.com Thu Oct 1 18:10:40 2009 From: odhiambo at gmail.com (Odhiambo Washington) Date: Thu Oct 1 18:11:42 2009 Subject: usenet configuration In-Reply-To: <570307.51852.qm@web56204.mail.re3.yahoo.com> References: <832963.74091.qm@web56208.mail.re3.yahoo.com> <991123400910010704x7952ae73h13e1ce68d07a2773@mail.gmail.com> <44eipnurrr.fsf@be-well.ilk.org> <570307.51852.qm@web56204.mail.re3.yahoo.com> Message-ID: <991123400910011110h5cfffa17q4584259a3fe4289a@mail.gmail.com> On Thu, Oct 1, 2009 at 8:17 PM, Aflatoon Aflatooni wrote: > What is needed in order to run nntp? How does nntp connect to other news > servers? Where do you define the news groups that the server would subscribe > to? > Any pointers or suggested configuration? > Thanks You want pple to chew for you then you swallow?:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From yuri at rawbw.com Thu Oct 1 18:19:22 2009 From: yuri at rawbw.com (Yuri) Date: Thu Oct 1 18:19:33 2009 Subject: Why my Firefox doesn't display Cyrillic fonts well? Message-ID: <4AC4F2A8.7040201@rawbw.com> I have this problem for a long time. Firefox shows all Cyrillic fonts with very large spaces between letters, almost the same as the real space character. So it's very difficult to read. Interestingly, Opera shows the same pages very neatly in different font looking very well. I attach here fonts section from my xorg.conf. What's wrong in my configuration? Yuri --- fonts section from xorg.conf --- Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/TrueType/" FontPath "/usr/local/lib/X11/fonts/tmu/" FontPath "/usr/local/lib/X11/fonts/cyrillic/" FontPath "/usr/local/lib/X11/fonts/dejavu" EndSection --- cyrillic fonts installed --- font-cronyx-cyrillic-1.0.0 X.Org Cronyx Cyrillic font font-misc-cyrillic-1.0.0 X.Org miscellaneous Cyrillic font font-screen-cyrillic-1.0.1 X.Org Screen Cyrillic font font-winitzki-cyrillic-1.0.0 X.Org Winitzki Cyrillic font xorg-fonts-cyrillic-7.4 X.Org Cyrillic bitmap fonts From freebsd-questions-local at be-well.ilk.org Thu Oct 1 18:42:21 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Oct 1 18:42:37 2009 Subject: usenet configuration In-Reply-To: <570307.51852.qm@web56204.mail.re3.yahoo.com> (Aflatoon Aflatooni's message of "Thu, 1 Oct 2009 10:17:25 -0700 (PDT)") References: <832963.74091.qm@web56208.mail.re3.yahoo.com> <991123400910010704x7952ae73h13e1ce68d07a2773@mail.gmail.com> <44eipnurrr.fsf@be-well.ilk.org> <570307.51852.qm@web56204.mail.re3.yahoo.com> Message-ID: <44ab0bez1x.fsf@be-well.ilk.org> Don't top-post, please. Aflatoon Aflatooni writes: > What is needed in order to run nntp? How does nntp connect to other news servers? Where do you define the news groups that the server would subscribe to? > Any pointers or suggested configuration? NNTP is the protocol, not the software. Aflatoon Aflatooni writes: > From: Lowell Gilbert > To: Aflatoon Aflatooni ; freebsd-questions@freebsd.org > Sent: Thursday, October 1, 2009 10:12:56 AM > Subject: Re: usenet configuration > > Odhiambo Washington writes: > >> On Thu, Oct 1, 2009 at 4:21 PM, Aflatoon Aflatooni wrote: >> >>> Can someone point me to what software I need to install in order to provide >>> a usenet service for internal users? >> >> >> >> cd /usr/ports >> make search key=usenet > > Or better yet, "nntp". By which I meant "make search key=nntp" > I think cnews is still the standard server software, but there are a > bunch of alternatives that might be easier for a small installation. So install one and look at its documentation. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From cmdlnkid at gmail.com Thu Oct 1 19:04:21 2009 From: cmdlnkid at gmail.com (CmdLnKid) Date: Thu Oct 1 19:04:29 2009 Subject: usenet configuration In-Reply-To: <991123400910011110h5cfffa17q4584259a3fe4289a@mail.gmail.com> References: <832963.74091.qm@web56208.mail.re3.yahoo.com> <991123400910010704x7952ae73h13e1ce68d07a2773@mail.gmail.com> <44eipnurrr.fsf@be-well.ilk.org> <570307.51852.qm@web56204.mail.re3.yahoo.com> <991123400910011110h5cfffa17q4584259a3fe4289a@mail.gmail.com> Message-ID: On Thu, 1 Oct 2009 14:10 -0000, odhiambo wrote: > On Thu, Oct 1, 2009 at 8:17 PM, Aflatoon Aflatooni wrote: > >> What is needed in order to run nntp? How does nntp connect to other news >> servers? Where do you define the news groups that the server would subscribe >> to? >> Any pointers or suggested configuration? >> Thanks > > > You want pple to chew for you then you swallow?:-) > Really that was so insightful it inspired me to respond. I use news/inn for a local WiFi news server for the community around me to connect to that pulls threads from the net and post on local spots for for replies by the community. I can not recommend cnews as for I have no experience with it. INN on the other hand is a pretty big configuration and has a lot of options and knobs to tune so I really would not recommend that if your not up for reading thoroughly through the docs to achieve the proper layout of your news server. When you do understand INN if you decide to use it give me a holler I would be interested to know what your final outcome is. Best regards and good luck. PS: I spent around 2 months on a offline INN server just to understand some of the inn's and outs along with post signing etc. It took about that long before I finally became comfortable with putting it up for public use. -- - (2^(N-1)) From computing.account at googlemail.com Thu Oct 1 19:06:43 2009 From: computing.account at googlemail.com (AG) Date: Thu Oct 1 19:06:49 2009 Subject: Query about pf.conf Message-ID: <4AC4FDF1.4060106@gmail.com> Hello I want to see why I am unable to download via ftp. I believe that it would have something to do with my pf.conf file in my firewall, so have listed that below. ########### simple pf.conf ################## # allow all outgoing TCP, UDP # allow outgoing ICMP ping # specifically block 11 common inet services # Modified for nntp and bittorrent ############################################# # MACRO ext_if = "rl0" int_if = "vr0" PING = "echoreq" allow_tcp = "{ 119 }" #Port needed for nntp server #IntNet = "192.168.1.0/24" #Sub-net range #InBitTCP = "{ 6969, 6881:6889 }" #Ports needed for BitTorrent #BitIP = "192.168.1.40" #BitTorrent client tcp_services = "{ smtp, pop3, pop3s, www, msa, https, ftp, whois, ssh, telnet, rsync }" udp_services = "{ domain }" # OPTIONS: set block-policy drop set optimization normal set loginterface $ext_if # SCRUB: scrub in on $ext_if all # NAT/RDR nat on $ext_if from $int_if:network to any -> $ext_if #nat on $ext_if proto tcp from $IntNet port $InBitTCP to any -> $ext_if \ static-port #nat on $ext_if proto udp from $IntNet port $InBitTCP to any -> $ext_if \ static-port #rdr on $ext_if proto tcp from !$IntNet to any port 6969 -> $BitIP port 6969 #rdr on $ext_if proto udp from !$IntNet to any port 6881:6889 -> $BitIP \ port 6881:6889 # filter: block log on $ext_if all #pass in quick on $ext_if inet proto tcp from any to any port $InBitTCP \ flags S/SA synproxy state #pass in quick on $ext_if inet proto udp from any to any port $InBitTCP #pass out on $int_if inet proto tcp from any to $IntNet port $port_bittorrent \ flags S/SA synproxy state #pass out on $int_if inet proto udp from any to $IntNet port $port_bittorrent pass quick on lo0 all pass out on $ext_if proto tcp from any to any port $allow_tcp keep state pass out quick on $ext_if inet proto tcp from \ { $ext_if:network, $int_if:network } to any port $tcp_services keep state pass out quick on $ext_if inet proto udp from \ { $ext_if:network, $int_if:network } to any port $udp_services keep state pass out quick on $ext_if inet proto icmp from \ { $ext_if:network, $int_if:network } to any icmp-type $PING keep state antispoof for $ext_if antispoof for $int_if #### /etc/pf.conf ends ###################### Can anyone shine a light on this to help me out please? Many TIA. AG From masoom.shaikh at gmail.com Thu Oct 1 19:12:06 2009 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Thu Oct 1 19:12:13 2009 Subject: bluetooth.h, c++ include error Message-ID: Hello, while going through bluetooth.h, I observed int bt_devfilter(int s, struct bt_devfilter const *new, struct bt_devfilter *old); this line appears in bluetooth.h @ line # 166, rv197571 see ? the variable named 'new' will cause trouble to c++ source files i honestly believe this is not intentional, c++ programmers will have to perform some acrobats to get past this thanks, Masoom Shaikh From tajudd at gmail.com Thu Oct 1 19:14:54 2009 From: tajudd at gmail.com (Tim Judd) Date: Thu Oct 1 19:15:05 2009 Subject: Query about pf.conf In-Reply-To: <4AC4FDF1.4060106@gmail.com> References: <4AC4FDF1.4060106@gmail.com> Message-ID: ftp-proxy(8) please read. Especially the configuration section. From aaflatooni at yahoo.com Thu Oct 1 19:20:11 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Thu Oct 1 19:20:17 2009 Subject: migrating users from one machine to another machine Message-ID: <80173.56174.qm@web56206.mail.re3.yahoo.com> What is the best way of migrating users from one machine (FreeBSD 6.3) to a new machine (FreeBSD 7.2)? I need to migrate their user account settings (shell, password, expiry etc) and also their data that they have in their directories. Many thanks From kline at thought.org Thu Oct 1 19:22:50 2009 From: kline at thought.org (Gary Kline) Date: Thu Oct 1 19:22:56 2009 Subject: NO ONE knows?? Message-ID: <20091001192241.GA5597@thought.org> so ==nobody== know how to get espeak working with the high-quality voices? hard to believe on this list... gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From Ajeeta at internetroulette.in Thu Oct 1 20:00:15 2009 From: Ajeeta at internetroulette.in (Head-International Business) Date: Thu Oct 1 20:00:22 2009 Subject: Forward my email to concerned person Message-ID: <20091001193556968.Nv6OqYPKjy2r2WG60mAR@mail.njtech.com> Hello, I am Ms Geeta Rawat, Assistant Manager - Corp Sales, InfodriveIndia Pvt Ltd. I want to contact person in charge of International Business or Market Research in your company. Can you please forward my email to concerned person or advise me his email and contact phone ? Allow me to briefly explain to you what we do. InfodriveIndia helps clients to find active buyers, suppliers, prices from actual shipment data from customs. We are the largest Export Import trade Intelligence provider in India with a network of partners in 20 countries like US, UK , China , India , Russia , Sri Lanka , Brazil , Argentina , Peru etc. We have offices in New Delhi and Calcutta and have served more then 10,000 clients in last 12 years. Our clients list includes blue chips like Reliance, Birla group, Tata, Samsung, Wipro, LG, Sony to small startups. I was thinking that you may like to have some understanding of our work and how your organization can benefit from it. And if I am not suggesting that you should consider working with us, I thought it may be interesting to make myself and our work known to you. Please do give my email a thought and do get back to me with your comments. You may visit our website for more information. Many thanks in advance for your attention and look forward to hearing from you soon. Kind regards. Ms Geeta Rawat Asst. Sales Manager - National InfodriveIndia Pvt Ltd. Board : 91-11-40703000 Direct : 91-11-40703040 Fax : 91-11-41605676 E-153, 1st Floor, Kalkaji Main Road Kalkaji New Delhi -110019 India email : [1]infodriveindia@gmail.com This email is from InfodriveIndia Pvt Limited, a company registered in India , whose registered office is at 28/6, 3rd floor, 8, Ho-chi-minh sarani, Calcuta -700071,India.This message is private and confidential. If you have received this message in error, please return it to the sender or call our boardlines on 91-11-40703000and remove it from your system. The opinions expressed within this communication are not necessarily those expressed by InfodriveIndia Pvt Limited. For more information visit our website. [2] To unsubscribe please click here. References 1. mailto:infodriveindia@gmail.com 2. mailto:delhisales@gmail.com?subject=remove From kraduk at googlemail.com Thu Oct 1 20:45:52 2009 From: kraduk at googlemail.com (krad) Date: Thu Oct 1 20:45:59 2009 Subject: Query about pf.conf In-Reply-To: References: <4AC4FDF1.4060106@gmail.com> Message-ID: 2009/10/1 Tim Judd > ftp-proxy(8) > > please read. Especially the configuration section. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > does passive ftp work? If so then yes read ftp-proxy. Basically normal or active ftp requires the ftp server to connect back to the client. Therefore the firewall needs to know to forward this connection on. ftp-proxy does this for you From raymond.gibson at verizon.net Thu Oct 1 21:33:48 2009 From: raymond.gibson at verizon.net (Raymond Gibson) Date: Thu Oct 1 21:33:55 2009 Subject: jail - unable to print from inside jail Message-ID: <200910011533.01028.raymond.gibson@verizon.net> I'm trying to setup CUPS (in a jail) using a USB printer on my host machine. My host was built with as a minimal FreeBSD 7.2-Release install. I added ezjail and created two jails. Both jails are working and I can login to both using ssh. I'm trying to build one of the jails as a print server. I added the following to it: cups-1.3.10_1 hpijs-2.1.4_3 libijs-0.35_1 foomatic-db-20090530 foomatic-filters-4.0.1_2 On the host i did the following: I added this to /etc/devfs.conf own ultp0 root:cups perm ultp0 0660 I added this to /etc/devfs.rules # Printers add path ltp[0-9]* mode 0660 group cups add path ultp[0-9]* mode 0660 group cups add path unltp[0-9]* mode 0660 group cups [devfsrules_jail_PrintServer=10] add path ltp[0-9]* mode 0660 group cups add path ultp[0-9]* mode 0660 group cups add path unltp[0-9]* mode 0660 group cups I added cups:*:193:root, to /etc/group After a reboot, I can access the administration website. I added a printer and allowed remote access. From administration page - printer status: Description: HP Photosmart 7350 Location: Home Printer Driver: HP PhotoSmart 7350 Foomatic/hpijs (recommended) Printer State: idle, accepting jobs, published. Device URI: usb:/dev/ulpt0 Wen printing a test page from administration page i get permission denied. HPPhotosmart7350 (Default Printer) "Unable to open device file "/dev/ulpt0": Permission denied" How do i solve this? Please let me know if more information is needed. I thank you for your time and help in advance. From linimon at lonesome.com Thu Oct 1 21:36:57 2009 From: linimon at lonesome.com (Mark Linimon) Date: Thu Oct 1 22:04:10 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <20091001114546.GH50565@hades.panopticon> References: <20090930100658.GA99090@obspm.fr> <20090930110508.GA50565@hades.panopticon> <20090930161915.GA18014@lonesome.com> <20091001111417.GF50565@hades.panopticon> <20091001112323.GA26407@droso.net> <20091001114546.GH50565@hades.panopticon> Message-ID: <20091001213656.GA14925@lonesome.com> On Thu, Oct 01, 2009 at 03:45:46PM +0400, Dmitry Marakasov wrote: > Now it's LGPLv2.1 with the only restriction that this software may not > be significantly changed while being distributed as ion3. I hate to replay this whole issue from the beginning, but apparently there is no other way. The author orginally contacted us with a legal threat because we were not in compliance with the 28-day clause. A long, acrimonious disucssion ensued. In that discussion, the author was asked "if we agree to meet that condition going forward, would you guarantee that this would remove any further legal threat?" and he said yes ... for now. But that he reserved the right to change his mind later. *depending* on what we did or did not do in the future -- not just in adhering to the *existing clauses* like the "significant" clause or "renamed" clause -- both of which he mentioned would be part of any lawsuit. Legally indefensible? Of course. Would that prevent a lawsuit being filed? No. Anyone can sue anyone for anything. Summary: What you see as "keeping a useful piece of software out of the port collection", I see as "protect the interests of a project that I have put a great deal of interest in time to." Again, I *emphasize* that this author has changed his mind in the past, mid-debate, on the interpretation of his ... unusual ... license. I also believe that it's quite likely going forward. mcl From linimon at lonesome.com Thu Oct 1 21:37:41 2009 From: linimon at lonesome.com (Mark Linimon) Date: Thu Oct 1 22:04:16 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <20091001105823.GE50565@hades.panopticon> References: <20090930100658.GA99090@obspm.fr> <20090930144535.GD50565@hades.panopticon> <20090930145925.GB503@obspm.fr> <20090930172746.4d7d5fee@ernst.jennejohn.org> <20090930165843.GD503@obspm.fr> <20091001105823.GE50565@hades.panopticon> Message-ID: <20091001213740.GB14925@lonesome.com> On Thu, Oct 01, 2009 at 02:58:23PM +0400, Dmitry Marakasov wrote: > No need to, if it works fine and there are no objections for it, > I'll commit it to the tree. I insist that you not to commit it to the tree. See my other post. mcl From Olivier.Nicole at cs.ait.ac.th Thu Oct 1 23:45:17 2009 From: Olivier.Nicole at cs.ait.ac.th (Olivier Nicole) Date: Thu Oct 1 23:45:24 2009 Subject: migrating users from one machine to another machine In-Reply-To: <80173.56174.qm@web56206.mail.re3.yahoo.com> (message from Aflatoon Aflatooni on Thu, 1 Oct 2009 12:20:06 -0700 (PDT)) References: <80173.56174.qm@web56206.mail.re3.yahoo.com> Message-ID: <200910012345.n91NjCcK048650@banyan.cs.ait.ac.th> Hi, > What is the best way of migrating users from one machine (FreeBSD > 6.3) to a new machine (FreeBSD 7.2)? > I need to migrate their user account settings (shell, password, > expiry etc) and also their data that they have in their directories. Basically: - you need to vipw on both machine and copy the user accounts from the old machine to the new machine, that is fast; - you need to copy the home directories of your users from one machine to the other, that can take long time if you have a lot of users with a lot of data. To be sure that there is no change being made by the users while you are copying the data/accounts, you must disable any login during the copy process. You can practice copying the accounts while the machines are online (login enabled); but be certain to do a final copy with the machine offline (login disabled). If copying data would take too long time and you cannot afford to put the system offline for such a long period, you could install rsync on both machines. - keep machines online and rsync the users data from the old machine to the new one. - repeat rsyncing indefinitely, this will continue copying file that has changed. - put the machine offline and do a last rsync: that one should not take too long as it will only copy what has changed since the very last run of rsync. Another way regarding the users' data, if they reside on a separate hard disk, you can simply physically mount that hard disk in the new machine. Best regards, Olivier From bsam at ipt.ru Fri Oct 2 07:15:16 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Fri Oct 2 07:15:23 2009 Subject: Why my Firefox doesn't display Cyrillic fonts well? In-Reply-To: <4AC4F2A8.7040201@rawbw.com> (yuri@rawbw.com's message of "Thu, 01 Oct 2009 11:19:20 -0700") References: <4AC4F2A8.7040201@rawbw.com> Message-ID: <10349524@bb.ipt.ru> On Thu, 01 Oct 2009 11:19:20 -0700 Yuri wrote: > I have this problem for a long time. Firefox shows all Cyrillic fonts > with very large spaces between letters, almost the same as the real > space character. So it's very difficult to read. Interestingly, Opera > shows the same pages very neatly in different font looking very > well. I attach here fonts section from my xorg.conf. > What's wrong in my configuration? > Yuri > --- fonts section from xorg.conf --- > Section "Files" > ModulePath "/usr/local/lib/xorg/modules" > FontPath "/usr/local/lib/X11/fonts/misc/" > FontPath "/usr/local/lib/X11/fonts/TTF/" > FontPath "/usr/local/lib/X11/fonts/OTF" > FontPath "/usr/local/lib/X11/fonts/Type1/" > FontPath "/usr/local/lib/X11/fonts/100dpi/" > FontPath "/usr/local/lib/X11/fonts/75dpi/" > FontPath "/usr/local/lib/X11/fonts/TrueType/" > FontPath "/usr/local/lib/X11/fonts/tmu/" > FontPath "/usr/local/lib/X11/fonts/cyrillic/" > FontPath "/usr/local/lib/X11/fonts/dejavu" > EndSection > --- cyrillic fonts installed --- > font-cronyx-cyrillic-1.0.0 X.Org Cronyx Cyrillic font > font-misc-cyrillic-1.0.0 X.Org miscellaneous Cyrillic font > font-screen-cyrillic-1.0.1 X.Org Screen Cyrillic font > font-winitzki-cyrillic-1.0.0 X.Org Winitzki Cyrillic font > xorg-fonts-cyrillic-7.4 X.Org Cyrillic bitmap fonts Install x11-fonts/webfonts and do apropriate changes to xorg.conf. I have webfonts right after misc fonts at xorg.conf. That always gave me good results. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From bernt at bah.homeip.net Fri Oct 2 07:22:09 2009 From: bernt at bah.homeip.net (Bernt Hansson) Date: Fri Oct 2 07:22:17 2009 Subject: usenet configuration In-Reply-To: <570307.51852.qm@web56204.mail.re3.yahoo.com> References: <832963.74091.qm@web56208.mail.re3.yahoo.com> <991123400910010704x7952ae73h13e1ce68d07a2773@mail.gmail.com> <44eipnurrr.fsf@be-well.ilk.org> <570307.51852.qm@web56204.mail.re3.yahoo.com> Message-ID: <4AC5AA13.7000406@bah.homeip.net> Aflatoon Aflatooni said the following on 2009-10-01 19:17: > What is needed in order to run nntp? INN https://www.isc.org/software/inn A faq for INN is at http://www.eyrie.org/~eagle/faqs/inn.html Diablo gttp://www.openusenet.org/diablo A faq for diablo is at the above address. DNews http://www.netwinsite.com/dnews.htm Typhoon (not free/open) http://www.highwinds-software.com/ > How does nntp connect to other news servers? Via TCP/IP. > Where do you define the news groups that the server would subscribe to? You mean what groups would be carried? The active file takes care of that. > Any pointers or suggested configuration? A bit difficult since I do not know what software you choose. From bernt at bah.homeip.net Fri Oct 2 07:31:16 2009 From: bernt at bah.homeip.net (Bernt Hansson) Date: Fri Oct 2 07:31:22 2009 Subject: jail - unable to print from inside jail In-Reply-To: <200910011533.01028.raymond.gibson@verizon.net> References: <200910011533.01028.raymond.gibson@verizon.net> Message-ID: <4AC5AC3A.7050009@bah.homeip.net> Raymond Gibson said the following on 2009-10-01 22:33: > I'm trying to setup CUPS (in a jail) using a USB printer on > my host machine. My host was built with as a minimal FreeBSD 7.2-Release > install. I added ezjail and created two jails. Both jails are working and I > can login to both using ssh. > On the host i did the following: > > I added this to /etc/devfs.conf > own ultp0 root:cups > perm ultp0 0660 > > > I added this to /etc/devfs.rules > > # Printers > add path ltp[0-9]* mode 0660 group cups > add path ultp[0-9]* mode 0660 group cups > add path unltp[0-9]* mode 0660 group cups > > [devfsrules_jail_PrintServer=10] > add path ltp[0-9]* mode 0660 group cups > add path ultp[0-9]* mode 0660 group cups > add path unltp[0-9]* mode 0660 group cups Something doesn't seem right with you devfs.rules file. Mine looks like this: [system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups > After a reboot, I can access the administration website. > I added a printer and allowed remote access. > >>From administration page - printer status: > Description: HP Photosmart 7350 > Location: Home > Printer Driver: HP PhotoSmart 7350 Foomatic/hpijs (recommended) > Printer State: idle, accepting jobs, published. > Device URI: usb:/dev/ulpt0 > > > Wen printing a test page from administration page i get permission denied. > HPPhotosmart7350 (Default Printer) "Unable to open device file "/dev/ulpt0": > Permission denied" > > How do i solve this? > > Please let me know if more information is needed. > > I thank you for your time and help in advance. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > From bernt at bah.homeip.net Fri Oct 2 07:59:04 2009 From: bernt at bah.homeip.net (Bernt Hansson) Date: Fri Oct 2 07:59:12 2009 Subject: NO ONE knows?? In-Reply-To: <20091001192241.GA5597@thought.org> References: <20091001192241.GA5597@thought.org> Message-ID: <4AC5B2B3.3030503@bah.homeip.net> Gary Kline said the following on 2009-10-01 21:22: > so ==nobody== know how to get espeak working with the high-quality > voices? hard to believe on this list... Have you checked the documentaion, and hoe do you want to use it with OO? From danielby at slightlystrange.org Fri Oct 2 09:15:25 2009 From: danielby at slightlystrange.org (Daniel Bye) Date: Fri Oct 2 09:15:31 2009 Subject: migrating users from one machine to another machine In-Reply-To: <200910012345.n91NjCcK048650@banyan.cs.ait.ac.th> References: <80173.56174.qm@web56206.mail.re3.yahoo.com> <200910012345.n91NjCcK048650@banyan.cs.ait.ac.th> Message-ID: <20091002091507.GA19609@torus.slightlystrange.org> On Fri, Oct 02, 2009 at 06:45:12AM +0700, Olivier Nicole wrote: > Hi, > > > What is the best way of migrating users from one machine (FreeBSD > > 6.3) to a new machine (FreeBSD 7.2)? > > > I need to migrate their user account settings (shell, password, > > expiry etc) and also their data that they have in their directories. > > Basically: > > - you need to vipw on both machine and copy the user accounts from the > old machine to the new machine, that is fast; Or copy /etc/passwd from the old machine to the new one, and run pwd_mkdb, which is essentially what vipw does anyway. And don't forget to sync your groups file as well! Dan > > - you need to copy the home directories of your users from one machine > to the other, that can take long time if you have a lot of users > with a lot of data. > > To be sure that there is no change being made by the users while you > are copying the data/accounts, you must disable any login during the > copy process. > > You can practice copying the accounts while the machines are online > (login enabled); but be certain to do a final copy with the machine > offline (login disabled). > > If copying data would take too long time and you cannot afford to put > the system offline for such a long period, you could install rsync on > both machines. > > - keep machines online and rsync the users data from the old machine > to the new one. > > - repeat rsyncing indefinitely, this will continue copying file that > has changed. > > - put the machine offline and do a last rsync: that one should not > take too long as it will only copy what has changed since the very > last run of rsync. > > > Another way regarding the users' data, if they reside on a separate > hard disk, you can simply physically mount that hard disk in the new > machine. > > Best regards, > > Olivier > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091002/a4b68718/attachment.pgp From d.forsyth at ru.ac.za Fri Oct 2 10:08:02 2009 From: d.forsyth at ru.ac.za (DA Forsyth) Date: Fri Oct 2 10:08:09 2009 Subject: NO ONE knows?? In-Reply-To: <20091002071528.0B3B710656F0@hub.freebsd.org> References: <20091002071528.0B3B710656F0@hub.freebsd.org> Message-ID: <4AC5ED1E.3820.4B0A319@d.forsyth.ru.ac.za> On 2 Oct 2009 , freebsd-questions-request@freebsd.org entreated about "freebsd-questions Digest, Vol 278, Issue 10": > Message: 28 > Date: Thu, 1 Oct 2009 12:22:45 -0700 > From: Gary Kline > Subject: NO ONE knows?? > To: FreeBSD Mailing List > Message-ID: <20091001192241.GA5597@thought.org> > Content-Type: text/plain; charset=us-ascii > > > so ==nobody== know how to get espeak working with the high-quality > voices? hard to believe on this list... I use espeak, but have never tried to use any other than the stock voice, it works just fine. I suspect most other folks have the same experience. I use espeak to verbalize warnings and errors from XYMON on the main server which sits next to me, since I'm not always looking at email. > gary -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From gesbbb at yahoo.com Fri Oct 2 12:51:17 2009 From: gesbbb at yahoo.com (Jerry) Date: Fri Oct 2 12:51:23 2009 Subject: Getting lphoto to run Message-ID: <20091002085115.15a6985b@scorpio.seibercom.net> FreeBSD-7.2 running Xfce 4 Desktop Environment version 4.6.1 (Xfce 4.6) I am unable to get 'lphoto' to run. This is the output when it initially is started: QSettings::sync: filename is null/empty kbuildsycoca running... QSettings::sync: filename is null/empty Reading Library failed open Creating Default Empty Library QObject::connect: No such signal QDateTimeEdit::lostFocus() QObject::connect: (sender name: 'unnamed') QObject::connect: (receiver name: 'unnamed') Traceback (most recent call last): File "/usr/local//lib/python2.6/site-packages/Lphoto/lphoto.py", line 720, in mw = LMainPhoto(app) File "/usr/local//lib/python2.6/site-packages/Lphoto/lphoto.py", line 49, in __init__ self.initModePanel(self.mainView) File "/usr/local//lib/python2.6/site-packages/Lphoto/lphoto.py", line 344, in initModePanel self.newAlbumButton = self.createToolBarButton(None, "buttonadd.png", hb, "add a new album") File "/usr/local//lib/python2.6/site-packages/Lphoto/lphoto.py", line 303, in createToolBarButton b = QPushButton(label, vb) TypeError: argument 2 of qt.QPushButton() has an invalid type DCOP aborting call from 'anonymous-56132' to 'lphoto' lphoto: ERROR: Communication problem with lphoto, it probably crashed. -- Jerry gesbbb@yahoo.com In the beginning was the word. But by the time the second word was added to it, There was trouble. For with it came syntax ... John Simon From gpeel at thenetnow.com Fri Oct 2 13:58:23 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Fri Oct 2 13:58:30 2009 Subject: Netwroked Storage References: <6201873e0909300607u7bdbe45aw91972f253299e853@mail.gmail.com> <200910010116.n911Gmk2024725@banyan.cs.ait.ac.th> Message-ID: Hi all, I now have a quote from Dell, for a 4 TB, RAID5 NX3000 NAS. It comes pre configured with Windows Storage Server 2008 Standard Edition. Dell support assures me it will be compatable with NFS on FreeBSD, but if we are not happy with it we can wipe it and install whatever software we want ... FreeNAS for example. Questions: Has anyone used/using Windows Storage Server 2008 with FreeBSD clients? Is there any compatability loss? (NSF). Is anyone using this specific hardware? If so, comments please! -Grant Has anyone used ----- Original Message ----- From: "Olivier Nicole" To: Cc: ; Sent: Wednesday, September 30, 2009 9:16 PM Subject: Re: Netwroked Storage > Hi, > >> All of the 200 domains on each server have thier own Real Unix user >> (obviously). Once the NAS is setup, (using NFS), how do the permissions >> on >> the NAS machine play out? i.e. when user 'hisname' logs into a server via >> ftp, and uploads a file to his home directory (which is on the NAS), will >> the file permissions be the same, and will 'hisname' own the file exactly >> the same as if he were writing to the local (server) disk? > > That is expected, else something bad would exists in the configuration > of the NAS. > >> In the NAS >> exports do I have to map every user to the NFS or can I just maproot? > > Maproot is the easiest as it gives complete access to the NFS exported > directory. > > Now you may consider that for security reason, users of client-machine > 1 should only be allowed to NFS mount their own home directory. > > In that case, you may need the users of client-machine 1 to exist on > client-machine 1 and on the server, etc for machine 2... Actually I > never had this case when a user account only exists on an NFS client > but not on the NFS server, so I am not too sure. I guess that user ID > of the users should be different on every client system. > > You may consider an LDAP directory for your users, where the server > would see all the users, but each client-machine would see only the > users belonging to it (I thing that there is an "host" attributes, so > client-1 only sees the users with host=client-1). > > Good luck, > > Olivier > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > From troy at kocherfamily.org Fri Oct 2 14:00:09 2009 From: troy at kocherfamily.org (Troy Kocher) Date: Fri Oct 2 14:00:15 2009 Subject: Ezjail, Perl, upgrading & best practices advise please Message-ID: <1e3f5d680910020629x52510b74o5763c6c25eea8787@mail.gmail.com> All, Couple issues: 1) I need some understanding on how to deploy and upgrade perl properly in this jailed environment. 2) I need some help on my current tangle of Perl library complaints Issue #1: In a jailed environment how many installations of perl are recommended (ie 1 host system 2 basejail 3 each jail) ? ?My sense would be that one on the host and one in the basejail, would be the most efficient. ?If that is the case how do I upgrade the perl in the basejail? ?How do I handle different versions of perl installed in each of the jails? Issue #2: ?My lack of understanding has me in a mess currently. ?My host environment is using (perl-threaded-5.8.9_3), in jail #1 I have (perl-5.8.9_3) when I try to use cpan here is what happens: jail1#perl -MCPAN -e 'shell' Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.9301) ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?) print() on closed filehandle FOUT at /usr/local/lib/perl5/5.8.9/Term/ReadLine.pm line 193. readline() on closed filehandle FIN at /usr/local/lib/perl5/5.8.9/Term/ReadLine.pm line 301. print() on closed filehandle FOUT at /usr/local/lib/perl5/5.8.9/Term/ReadLine.pm line 203. Terminal does not support GetHistory. Lockfile removed. In Jail #2 another issue. . : jail2#pkg_info |grep perl mod_perl2-2.0.3_3,3 Embeds a Perl interpreter in the Apache2 server p5-DBI-1.60.1 The perl5 Database Interface. Required for DBD::* modules p5-Devel-Symdump-2.0800 A perl5 module that dumps symbol names or the symbol table p5-Error-0.17012 Perl module to provide Error/exception support for perl: Er p5-GD-2.35_1 A perl5 interface to Gd Graphics Library version2 p5-GD-Graph-1.44.01_1 Graph plotting module for perl5 p5-MIME-Tools-5.426,2 A set of perl5 modules for MIME p5-Scalar-List-Utils-1.19,1 Perl subroutines that would be nice to have in the perl cor p5-Storable-2.18 Persistency for perl data structures p5-Term-ReadKey-2.30 A perl5 module for simple terminal control p5-Test-Harness-3.10 Run perl standard test scripts with statistics p5-Test-Simple-0.80 Basic utilities for writing tests in perl p5-Time-HiRes-1.9712,1 A perl5 module implementing High resolution time, sleep, an perl-5.8.8_1 then I try cpan jail2# perl -MCPAN -e 'shell' /libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by "perl" Troubleshooting this complaint on jail2 I discovered the time stamp on the host was different than the time stamp on the basejail. Anyway I'm puzzled, and I'm not really sure where to go from here. . I'd appreciate any help.. Thanks Troy From gpeel at thenetnow.com Fri Oct 2 14:23:46 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Fri Oct 2 14:23:55 2009 Subject: "Out of mbuf address space!" Message-ID: <88CD8D18ADF4405DAA81B43F941698A5@GRANT> Hi all, I have an older RAID 5 machine running FreeBSD 5.2.1 and am using it as a backup storage unit. Yesterday morning, we noticed the the NFS mounts on the clients to this machine we not available, which sent a bunch of cronjobs spinning out of control etc. We also became unable to connect via ssh. Once at the console we noted sevral dozen entries in the messages.log: Oct 1 08:32:13 enterprise kernel: Out of mbuf address space! Oct 1 08:32:13 enterprise kernel: Consider increasing NMBCLUSTERS Oct 1 08:32:13 enterprise kernel: All mbufs or mbuf clusters exhausted, please see tuning(7). After rebooting the machine, and getting the clients under control I started investigating tunning(7) in the man pages. I am confused however. I have increased the kern.ipc.nmbclusters to 2048 in the /boot/loader.conf, but when I checked netstat -m, it appears that there are less buffers available then there were when the problem happened. netstat -m enterprise# netstat -m mbuf usage: GEN cache: 0/64 (in use/in pool) CPU #0 cache: 145/640 (in use/in pool) Total: 145/704 (in use/in pool) Mbuf cache high watermark: 512 Maximum possible: 4096 Allocated mbuf types: 144 mbufs allocated to data 1 mbufs allocated to packet headers 17% of mbuf map consumed mbuf cluster usage: GEN cache: 0/232 (in use/in pool) CPU #0 cache: 135/232 (in use/in pool) Total: 135/464 (in use/in pool) Cluster cache high watermark: 128 Maximum possible: 2048 <-- this number was much higher 22% of cluster map consumed <- this number was much lower. 1104 KBytes of wired memory reserved (27% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines This particular machine has 512 MB of ram. Any suggestions what an NFS intensive machine with 512 meg ram should have kern.ipc.nmbclusters set to? Are there any otyher tunables I should be looking at. -Grant From amdmi3 at amdmi3.ru Fri Oct 2 13:32:35 2009 From: amdmi3 at amdmi3.ru (Dmitry Marakasov) Date: Fri Oct 2 15:37:33 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <20091001213656.GA14925@lonesome.com> References: <20090930100658.GA99090@obspm.fr> <20090930110508.GA50565@hades.panopticon> <20090930161915.GA18014@lonesome.com> <20091001111417.GF50565@hades.panopticon> <20091001112323.GA26407@droso.net> <20091001114546.GH50565@hades.panopticon> <20091001213656.GA14925@lonesome.com> Message-ID: <20091002133231.GA17567@hades.panopticon> * Mark Linimon (linimon@lonesome.com) wrote: > The author orginally contacted us with a legal threat because we were > not in compliance with the 28-day clause. A long, acrimonious disucssion > ensued. In that discussion, the author was asked "if we agree to meet > that condition going forward, would you guarantee that this would remove > any further legal threat?" and he said yes ... > > for now. > > But that he reserved the right to change his mind later. > > *depending* on what we did or did not do in the future -- not just in > adhering to the *existing clauses* like the "significant" clause or > "renamed" clause -- both of which he mentioned would be part of any > lawsuit. > > Legally indefensible? Of course. Would that prevent a lawsuit being > filed? No. Anyone can sue anyone for anything. Well, if you insist I of course won't commit it. But the whole thing disappoints me greately, cause I was pretty sure at least FreeBSD developers won't be affected by a mere FUD. Do you honestly think the probability of Tuomo suing us is higher of, say, me suing, well, us? And that anything will change by us not providing a port we have absolutely totally utterly 100% right to provide? That is just silly. The port from now on is available here (removed from people.freebsd.org): http://mirror.amdmi3.ru/ports/ion3-20090110.port.tar -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From xn.bravo at alice.it Fri Oct 2 13:38:26 2009 From: xn.bravo at alice.it (xn.bravo@alice.it) Date: Fri Oct 2 15:37:49 2009 Subject: Some Questions About Freebsd Please Help Me !! Message-ID: Hi , i want to ask some questions about freebsd , one of my friend have freebsd in his server , he is using it , he have ips issu on his server and he is converting ips in proxies ( Socks 4/5 ) , i want to know how i can do that , how i can set firewall that or what i need to do? , like let me show you what he have did , he have give me SSH access , in that when i go i need to put commands , i will give you some commands , to make ip as proxy i need to give this command in ( Putty ) socks -d -p14344 -i204.18.245.9 -e204.18.245.9 , it will convert ip in proxy , but i dun know how to do that in freebsd , i will show you 1 screenshot as well , here is screenshot ( http://i36.tinypic.com/wuoro6.png ) , you can have a look on that as well , please help me if you can , like this i am going to buy may be 20 freebsd for that , i want to know how can i set all this in that , if you can help me in that , please send me steps how i can make ip in proxy with the help of freebsd. Here is Some More Commands. To Stop Socks Here is Command : killall -9 socks To Start Socks Here is Command : socks -d -p14344 -i204.18.245.9 -e204.18.245.9 Regrads Bravo italy 00393888992300 Alice Messenger ;-) chatti anche con gli amici di Windows Live Messenger e tutti i telefonini TIM! Vai su http://maileservizi.alice.it/alice_messenger/index.html?pmk=footer From aaflatooni at yahoo.com Fri Oct 2 15:45:12 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Fri Oct 2 15:48:32 2009 Subject: php5 error in FreeBSD 7.2 Message-ID: <71655.65913.qm@web56205.mail.re3.yahoo.com> Hi, I am getting the following error in php5: Internal pcre_fullinfo() error I have tried rebuilding, but it doesn't seem to help. Thanks From kline at thought.org Fri Oct 2 15:48:46 2009 From: kline at thought.org (Gary Kline) Date: Fri Oct 2 15:48:55 2009 Subject: NO ONE knows?? In-Reply-To: <4AC5ED1E.3820.4B0A319@d.forsyth.ru.ac.za> References: <20091002071528.0B3B710656F0@hub.freebsd.org> <4AC5ED1E.3820.4B0A319@d.forsyth.ru.ac.za> Message-ID: <20091002154838.GA9446@thought.org> On Fri, Oct 02, 2009 at 12:07:58PM +0200, DA Forsyth wrote: > On 2 Oct 2009 , freebsd-questions-request@freebsd.org entreated about > "freebsd-questions Digest, Vol 278, Issue 10": > > > Message: 28 > > Date: Thu, 1 Oct 2009 12:22:45 -0700 > > From: Gary Kline > > Subject: NO ONE knows?? > > To: FreeBSD Mailing List > > Message-ID: <20091001192241.GA5597@thought.org> > > Content-Type: text/plain; charset=us-ascii > > > > > > so ==nobody== know how to get espeak working with the high-quality > > voices? hard to believe on this list... > > I use espeak, but have never tried to use any other than the stock > voice, it works just fine. I suspect most other folks have the same > experience. > > I use espeak to verbalize warnings and errors from XYMON on the main > server which sits next to me, since I'm not always looking at email. > What I'm looking for is how to use the ``better than the default voices''; there are several english languages that are fairly natural sounding. Nothing I've googled explain using the quality voices for FreeBSD. gary > > gary > > > -- > DA Fo rsyth Network Supervisor > Principal Technical Officer -- Institute for Water Research > http://www.ru.ac.za/institutes/iwr/ > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From yuri at rawbw.com Fri Oct 2 16:38:09 2009 From: yuri at rawbw.com (Yuri) Date: Fri Oct 2 16:38:15 2009 Subject: Why my Firefox doesn't display Cyrillic fonts well? In-Reply-To: <10349524@bb.ipt.ru> References: <4AC4F2A8.7040201@rawbw.com> <10349524@bb.ipt.ru> Message-ID: <4AC62C6E.9050205@rawbw.com> Boris Samorodov wrote: > Install x11-fonts/webfonts and do apropriate changes to xorg.conf. > I have webfonts right after misc fonts at xorg.conf. That always > gave me good results. > Boris, Thanks for the advice. I did what you suggested but there is no visible change. Yuri From root1101 at gmail.com Fri Oct 2 17:23:40 2009 From: root1101 at gmail.com (Eugene L.) Date: Fri Oct 2 17:23:50 2009 Subject: Why my Firefox doesn't display Cyrillic fonts well? In-Reply-To: <4AC62C6E.9050205@rawbw.com> References: <4AC4F2A8.7040201@rawbw.com> <10349524@bb.ipt.ru> <4AC62C6E.9050205@rawbw.com> Message-ID: <4AC6317E.9070109@gmail.com> Yuri ?????: > Boris Samorodov wrote: >> Install x11-fonts/webfonts and do apropriate changes to xorg.conf. >> I have webfonts right after misc fonts at xorg.conf. That always >> gave me good results. > > > Boris, Thanks for the advice. > I did what you suggested but there is no visible change. > > Yuri > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Well, personally I used the apparently old, as I was informed, method, described in the handbook, e.g. I borrowed the fonts from the Windows system, mapped them with the appropriate tool (read the handbook) and edited xorg.conf . Worked nicely, the default font was revolting ^_^ From illoai at gmail.com Fri Oct 2 18:10:16 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Fri Oct 2 18:11:06 2009 Subject: freebsd-chat Digest, Vol 321, Issue 1 In-Reply-To: <1349874867@web.de> References: <1349874867@web.de> Message-ID: 2009/10/1 Sisantha Godawela-Ohle : > Hello everybody, > > would like to know as why is in FreeBSD v 8.0 RC1 successfull installation on hp Proliant DL 320 with gnome > the gTerminal in System not available, although it is also installed? > any clue would be appriciated. > which gnome-terminal perhaps? > sincerely, > > sisantha > > PS. if this is not the right place to place the question, pl. kindly diket to (send me) the appropriste link, thanks. > > freebsd-questions@freebsd.org is probably the correct list, also, you will get better results if you compose a new mail to ask your questions. -- -- From arab at tangerine-army.co.uk Fri Oct 2 18:10:25 2009 From: arab at tangerine-army.co.uk (Graeme Dargie) Date: Fri Oct 2 18:11:06 2009 Subject: ZFS on FreeBSD 7.2 Message-ID: <01FB8F39BAD0BD49A6D0DA8F789739295752@Mercury.galaxy.lan.lcl> Hello all I currently have machine with 6x500gb hdd`s running under ZFS RaidZ everything is working just fine, I have bought 2x3bay ICY Dock bays for this machine, my questions is do I have to make sure the drives go back on to the same sata ports as they are currently on or will ZFS sort it self out? Regards Graeme From dougb at FreeBSD.org Fri Oct 2 19:27:52 2009 From: dougb at FreeBSD.org (Doug Barton) Date: Fri Oct 2 19:27:59 2009 Subject: Questions regarding portmaster's man page In-Reply-To: References: Message-ID: <4AC65427.6020107@FreeBSD.org> Christer Solskogen wrote: > Hi! > > The man page for portmaster say this: > Alternatively you could use portmaster -a -f -D to do an ``in place'' > update of your ports. If that process is interrupted for any reason you > can use portmaster -a -f -D -R to avoid rebuilding ports already rebuilt > on previous runs. However the first method (delete everything and rein- > stall) is preferred. > > I'm wondering why the first method is preferred. First before I forget, in general it's always a good idea to send a message to freebsd-questions@freebsd.org first if you're not sure what list to send it to, so you didn't do anything wrong here. On the other hand, if you have a question about a ports-related issue you should probably send it to freebsd-ports@freebsd.org where you are more likely to get a focused response. That said, there are a couple of answers to your question. Even though we try to be thorough with the ports system removing files after a port is deinstalled there are occasionally problems so if you've had a /usr/local populated with ports for a few years there is probably old cruft in there that it would be good to remove. The other answer is that doing an "in place" upgrade will inevitably end up with some ports compiled against old libs, which is not a good thing. Not to mention that there will likely be some dependencies left over on your system that you don't need. The method described in portmaster's man page encourages you to save a list of the "root" and "leaf" ports you're using. These are the ports that are not depended on by other ports, which generally means that they are the actual applications you're using (like firefox, etc.). By telling portmaster to install only these ports and letting the ports system handle the dependencies for the new conditions you're likely to get a cleaner upgrade. Those are the two main reasons. There are occasionally other reasons, such as the libusb problems with hal that people are experiencing after upgrades to 8.0 that just make "delete and reinstall" the cleaner option and the one that should be recommended most highly. hope this helps, Doug -- This .signature sanitized for your protection From raymond.gibson at verizon.net Fri Oct 2 20:32:24 2009 From: raymond.gibson at verizon.net (Raymond Gibson) Date: Fri Oct 2 20:32:33 2009 Subject: jail - unable to print from inside jail In-Reply-To: <4AC5AC3A.7050009@bah.homeip.net> References: <200910011533.01028.raymond.gibson@verizon.net> <4AC5AC3A.7050009@bah.homeip.net> Message-ID: <200910021531.55452.raymond.gibson@verizon.net> On Friday 02 October 2009 02:31:06 am Bernt Hansson wrote: > Raymond Gibson said the following on 2009-10-01 22:33: > > I'm trying to setup CUPS (in a jail) using a USB printer on > > my host machine. My host was built with as a minimal FreeBSD 7.2-Release > > install. I added ezjail and created two jails. Both jails are working and > > I can login to both using ssh. > > > > On the host i did the following: > > > > I added this to /etc/devfs.conf > > own ultp0 root:cups > > perm ultp0 0660 > > > > > > I added this to /etc/devfs.rules > > > > # Printers > > add path ltp[0-9]* mode 0660 group cups > > add path ultp[0-9]* mode 0660 group cups > > add path unltp[0-9]* mode 0660 group cups > > > > [devfsrules_jail_PrintServer=10] > > add path ltp[0-9]* mode 0660 group cups > > add path ultp[0-9]* mode 0660 group cups > > add path unltp[0-9]* mode 0660 group cups > > Something doesn't seem right with you devfs.rules file. > Mine looks like this: > > [system=10] > add path 'unlpt*' mode 0660 group cups > add path 'ulpt*' mode 0660 group cups > add path 'lpt*' mode 0660 group cups > > > After a reboot, I can access the administration website. > > I added a printer and allowed remote access. > > > >>From administration page - printer status: > > > > Description: HP Photosmart 7350 > > Location: Home > > Printer Driver: HP PhotoSmart 7350 Foomatic/hpijs (recommended) > > Printer State: idle, accepting jobs, published. > > Device URI: usb:/dev/ulpt0 > > > > > > Wen printing a test page from administration page i get permission > > denied. HPPhotosmart7350 (Default Printer) "Unable to open device file > > "/dev/ulpt0": Permission denied" > > > > How do i solve this? > > > > Please let me know if more information is needed. > > > > I thank you for your time and help in advance. > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" I changed /etc/devfs.rules, but no luck. i change permissions on /dev/ulpt0 (in the jail) and now i can print a test page from Cups administration page. PrintServer# ls -l /dev | grep ulpt0 crw-r--r-- 1 root operator 0, 79 Oct 2 10:51 ulpt0 PrintServer# chmod 666 /dev/ulpt0 PrintServer# ls -l /dev | grep ulpt0 crw-rw-rw- 1 root operator 0, 79 Oct 2 10:51 ulpt0 i tried to set 666 for devfs.rules & devfs.conf in both host and jail, but that didn't work. any more ideas? From tajudd at gmail.com Fri Oct 2 20:34:56 2009 From: tajudd at gmail.com (Tim Judd) Date: Fri Oct 2 20:35:04 2009 Subject: Ezjail, Perl, upgrading & best practices advise please In-Reply-To: <1e3f5d680910020629x52510b74o5763c6c25eea8787@mail.gmail.com> References: <1e3f5d680910020629x52510b74o5763c6c25eea8787@mail.gmail.com> Message-ID: On 10/2/09, Troy Kocher wrote: > All, > Couple issues: > 1) I need some understanding on how to deploy and upgrade perl > properly in this jailed environment. > 2) I need some help on my current tangle of Perl library complaints > > Issue #1: In a jailed environment how many installations of perl are > recommended (ie 1 host system 2 basejail 3 each jail) ? My sense > would be that one on the host and one in the basejail, would be the > most efficient. If that is the case how do I upgrade the perl in the > basejail? How do I handle different versions of perl installed in > each of the jails? Your questions indicate you setup a base jail and nullfs mount the points to the other jails. Although it is written it can be done, I have to ask why you decided to do it this way? base distribution only takes about 128MB of disk space, and nearly nothing for RAM (by today's disk and RAM sizes). I recommend each jail have their own world installed, preferrably the same world because since the jails share the world with the hosts' kernel, and world+kernel must be kept in sync, setup a host on release, and all jails on a release too. I'm currently experimenting (for fun) a -stable host, and -release jails, which is unsupported. It gets a tad annoying when you manage multiple jails that it has no concept of already built ports and to use them, so I find myself cancelling out of a lot of builds to install the package created from another jail. > Issue #2: My lack of understanding has me in a mess currently. My > host environment is using (perl-threaded-5.8.9_3), in jail #1 I have > (perl-5.8.9_3) when I try to use cpan here is what happens: > > jail1#perl -MCPAN -e 'shell' > Terminal does not support AddHistory. > cpan shell -- CPAN exploration and modules installation (v1.9301) > ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?) > print() on closed filehandle FOUT at > /usr/local/lib/perl5/5.8.9/Term/ReadLine.pm line 193. > readline() on closed filehandle FIN at > /usr/local/lib/perl5/5.8.9/Term/ReadLine.pm line 301. > print() on closed filehandle FOUT at > /usr/local/lib/perl5/5.8.9/Term/ReadLine.pm line 203. > Terminal does not support GetHistory. > Lockfile removed. Can't comment on this, seems a missing dependency and other problems. > In Jail #2 another issue. . : > > jail2#pkg_info |grep perl > mod_perl2-2.0.3_3,3 Embeds a Perl interpreter in the Apache2 server > p5-DBI-1.60.1 The perl5 Database Interface. Required for DBD::* > modules > p5-Devel-Symdump-2.0800 A perl5 module that dumps symbol names or the > symbol table > p5-Error-0.17012 Perl module to provide Error/exception support for perl: > Er > p5-GD-2.35_1 A perl5 interface to Gd Graphics Library version2 > p5-GD-Graph-1.44.01_1 Graph plotting module for perl5 > p5-MIME-Tools-5.426,2 A set of perl5 modules for MIME > p5-Scalar-List-Utils-1.19,1 Perl subroutines that would be nice to > have in the perl cor > p5-Storable-2.18 Persistency for perl data structures > p5-Term-ReadKey-2.30 A perl5 module for simple terminal control > p5-Test-Harness-3.10 Run perl standard test scripts with statistics > p5-Test-Simple-0.80 Basic utilities for writing tests in perl > p5-Time-HiRes-1.9712,1 A perl5 module implementing High resolution > time, sleep, an > perl-5.8.8_1 > > then I try cpan > jail2# perl -MCPAN -e 'shell' > /libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by > "perl" A jail that has been updated from (for example) a 6.x release to a 7.x release with ports from 6.x will look for the shared libraries from 6.x, when 7.x has them updated and possibly renamed. Has jail2 been updated? > Troubleshooting this complaint on jail2 I discovered the time stamp on > the host was different than the time stamp on the basejail. > what time stamp? of what? where? > > Anyway I'm puzzled, and I'm not really sure where to go from here. . > I'd appreciate any help.. > > Thanks > Troy It won't be a "do these and you'll be fixed" - given the initial post. I'm trying to gain more information before I can help. From aaflatooni at yahoo.com Fri Oct 2 20:50:46 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Fri Oct 2 20:50:53 2009 Subject: php5 error in FreeBSD 7.2 In-Reply-To: <71655.65913.qm@web56205.mail.re3.yahoo.com> References: <71655.65913.qm@web56205.mail.re3.yahoo.com> Message-ID: <400246.26602.qm@web56204.mail.re3.yahoo.com> So I did find a thread about this and the used the following solution to fix the problem: - Edit /usr/ports/lang/php5/Makefile and add the following line to the configuration arguments: --with-pcre-regex So your Makefile should have: CONFIGURE_ARGS= \ ??????????????? --with-layout=GNU \ ??????????????? --with-config-file-scan-dir=${PREFIX}/etc/php \ ??????????????? --disable-all \ ??????????????? --enable-libxml \ ??????????????? --with-libxml-dir=${LOCALBASE} \ ??????????????? --with-pcre-regex \ ??????????????? --enable-reflection \ ??????????????? --program-prefix="" Aflatoon ? ----- Original Message ---- From: Aflatoon Aflatooni To: freebsd-questions@freebsd.org Sent: Friday, October 2, 2009 11:45:08 AM Subject: php5 error in FreeBSD 7.2 Hi, I am getting the following error in php5: Internal pcre_fullinfo() error I have tried rebuilding, but it doesn't seem to help. Thanks ? ? ? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From tajudd at gmail.com Fri Oct 2 21:09:47 2009 From: tajudd at gmail.com (Tim Judd) Date: Fri Oct 2 21:09:53 2009 Subject: Netwroked Storage In-Reply-To: References: <6201873e0909300607u7bdbe45aw91972f253299e853@mail.gmail.com> <200910010116.n911Gmk2024725@banyan.cs.ait.ac.th> Message-ID: On 10/2/09, Grant Peel wrote: > Hi all, > > I now have a quote from Dell, for a 4 TB, RAID5 NX3000 NAS. > > It comes pre configured with Windows Storage Server 2008 Standard Edition. > Dell support assures me it will be compatable with NFS on FreeBSD, but if we > are not happy with it we can wipe it and install whatever software we want > ... FreeNAS for example. > > Questions: > > Has anyone used/using Windows Storage Server 2008 with FreeBSD clients? Is > there any compatability loss? (NSF). > > Is anyone using this specific hardware? If so, comments please! > > -Grant I decline Dell if I were to make the choice. They support SOME linux, and Windows on the hardware. Microsoft has made "Services for UNIX" that Dell tends to install on their Windows NAS devices. iXsystems makes servers, storage, and everything else with a native BSD host, at a reasonable cost. They back PC-BSD development so they are familiar with the FreeBSD name. Will the Dell with WS2008 Storage and FreeBSD talk? They should. Are they reliable? That's questionable. I don't expect anyone to share my views, but it was asked for comments. --Tim From glen.j.barber at gmail.com Fri Oct 2 21:22:50 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Fri Oct 2 21:22:57 2009 Subject: php5 error in FreeBSD 7.2 In-Reply-To: <400246.26602.qm@web56204.mail.re3.yahoo.com> References: <71655.65913.qm@web56205.mail.re3.yahoo.com> <400246.26602.qm@web56204.mail.re3.yahoo.com> Message-ID: <4ad871310910021422x793e464s7fed54c4325fc182@mail.gmail.com> Hi, On Fri, Oct 2, 2009 at 8:50 PM, Aflatoon Aflatooni wrote: > So I did find a thread about this and the used the following solution to fix the problem: > > - Edit /usr/ports/lang/php5/Makefile and add the following line to the configuration arguments: > --with-pcre-regex > > So your Makefile should have: > CONFIGURE_ARGS= \ > ??????????????? --with-layout=GNU \ > ??????????????? --with-config-file-scan-dir=${PREFIX}/etc/php \ > ??????????????? --disable-all \ > ??????????????? --enable-libxml \ > ??????????????? --with-libxml-dir=${LOCALBASE} \ > ??????????????? --with-pcre-regex \ > ??????????????? --enable-reflection \ > ??????????????? --program-prefix="" > Alternatively, installing devel/php5-pcre should do the trick. HTH. -- Glen Barber From patfbsd at davenulle.org Fri Oct 2 21:32:28 2009 From: patfbsd at davenulle.org (Patrick Lamaiziere) Date: Fri Oct 2 21:32:35 2009 Subject: jail - unable to print from inside jail In-Reply-To: <200910021531.55452.raymond.gibson@verizon.net> References: <200910011533.01028.raymond.gibson@verizon.net> <4AC5AC3A.7050009@bah.homeip.net> <200910021531.55452.raymond.gibson@verizon.net> Message-ID: <20091002233223.4e957d44@baby-jane.lamaiziere.net> Le Fri, 02 Oct 2009 15:31:55 -0500, Raymond Gibson a ?crit : > On Friday 02 October 2009 02:31:06 am Bernt Hansson wrote: > > Raymond Gibson said the following on 2009-10-01 22:33: > > > I'm trying to setup CUPS (in a jail) using a USB printer on > > > my host machine. My host was built with as a minimal FreeBSD > > > 7.2-Release install. I added ezjail and created two jails. Both > > > jails are working and I can login to both using ssh. > i tried to set 666 for devfs.rules & devfs.conf in both host and > jail, but that didn't work. > > any more ideas? How do you start your jail? For a jail, the devfs rule applied is the one specified for the jail in /etc/rc.conf, something like jail_jailname_devfs_ruleset="devfsrules_jail" # devfs ruleset to apply to jail Regards. From cyberleo at cyberleo.net Fri Oct 2 21:34:02 2009 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Fri Oct 2 21:34:08 2009 Subject: ZFS on FreeBSD 7.2 In-Reply-To: <01FB8F39BAD0BD49A6D0DA8F789739295752@Mercury.galaxy.lan.lcl> References: <01FB8F39BAD0BD49A6D0DA8F789739295752@Mercury.galaxy.lan.lcl> Message-ID: <4AC66DAC.3040206@cyberleo.net> Graeme Dargie wrote: > Hello all > > I currently have machine with 6x500gb hdd`s running under ZFS RaidZ > everything is working just fine, I have bought 2x3bay ICY Dock bays for > this machine, my questions is do I have to make sure the drives go back > on to the same sata ports as they are currently on or will ZFS sort it > self out? Before you remove the drives, export the zpool; after moving them, import the zpool. This will scan all connected devices and put everything where it needs to be. If you forget to export before shuffling the devices and zfs complains, just export and import the pool and it should sort itself out. -------- freenas:~# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT data 931G 630G 301G 67% ONLINE - freenas:~# zpool export data freenas:~# zpool list no pools available freenas:~# zpool import pool: data id: 12298073319825187638 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: data ONLINE raidz1 ONLINE ad0 ONLINE ad4 ONLINE ad6 ONLINE ad8 ONLINE ad10 ONLINE freenas:~# zpool import data freenas:~# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT data 931G 630G 301G 67% ONLINE - -------- -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From linimon at lonesome.com Fri Oct 2 21:44:01 2009 From: linimon at lonesome.com (Mark Linimon) Date: Fri Oct 2 21:46:20 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <20091002133231.GA17567@hades.panopticon> References: <20090930100658.GA99090@obspm.fr> <20090930110508.GA50565@hades.panopticon> <20090930161915.GA18014@lonesome.com> <20091001111417.GF50565@hades.panopticon> <20091001112323.GA26407@droso.net> <20091001114546.GH50565@hades.panopticon> <20091001213656.GA14925@lonesome.com> <20091002133231.GA17567@hades.panopticon> Message-ID: <20091002214401.GA4339@lonesome.com> On Fri, Oct 02, 2009 at 05:32:31PM +0400, Dmitry Marakasov wrote: > Do you honestly think the probability of Tuomo suing us is higher of, > say, me suing, well, us? Yes. That is exactly what I am saying. And I believe reading the entire thread when this first came up supports my claim. mcl From fbsdlilly at gmail.com Fri Oct 2 21:48:50 2009 From: fbsdlilly at gmail.com (mojo fms) Date: Fri Oct 2 21:48:57 2009 Subject: Swap and memory optimization In-Reply-To: <20091001115823.0891f9e2.wmoran@potentialtech.com> References: <176FD00A-5791-4D3E-B7F3-D5F0A0AE2037@todoo.biz> <20091001073919.9e05d056.wmoran@potentialtech.com> <20091001154345.GN29215@dan.emsphone.com> <20091001115823.0891f9e2.wmoran@potentialtech.com> Message-ID: I would just bump the ram to 2gigs or 4 if it supports it and call it good. You should be fine. On Thu, Oct 1, 2009 at 8:58 AM, Bill Moran wrote: > In response to Dan Nelson : > > > In the last episode (Oct 01), Bill Moran said: > > > bsd wrote: > > > > I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1 > > > > Works quite well. > > > > > > > > As I plan to put 100 more mail accounts soon on the server I was > > > > wondering if the memory & swap was ok on the server considering these > > > > figures: > > > > > > > > last pid: 18956; load averages: 0.04, 0.11, 0.05 up 19+08:36:23 > 09:53:38 > > > > 125 processes: 1 running, 124 sleeping > > > > CPU: 0.0% user, 0.0% nice, 1.5% system, 0.4% interrupt, 98.1% > idle > > > > Mem: 499M Active, 70M Inact, 362M Wired, 41M Cache, 111M Buf, 20M > Free > > > > Swap: 2000M Total, 160M Used, 1840M Free, 8% Inuse > > > > > > > > Though It looks good to me - the server swaps a bit (between 8 to > 14%) > > > > and there is not much memory left. > > > > > > Looks like the server would run more smoothly with a bit more RAM. At > > > least an additional 256M, I would think, but considering the price of > RAM, > > > you might as well just up it to 2G. > > > > The amount of used swap is much less important than whether you are > actively > > swapping (if there are In/Out values on the Swap line in top, or if > "vmstat > > 1" shows nonzero values in the pi/po columns). 160MB of used swap is > fine > > if it's just unused daemons (getty, idle webserver, etc). More memory > can > > never hurt, but it doesn't seem like it's urgently needed here. > > I don't know about that, Dan. Especially considering it's a mail server > he's talking about, there's no RAM left for disk cache on that machine. > > We've seen performance gains on our mail server by putting obscene > amounts of RAM into it. After a bit of use, FreeBSD ends up having 6.5G > of inactive RAM, which I assume is cache of mailboxes. The result is that > while watching gstat, the amount of disk reads is very low (since a lot > of data is already in RAM) and the IO is available to do fast writes when > new mail comes in. > > -- > Bill Moran > http://www.potentialtech.com > http://people.collaborativefusion.com/~wmoran/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Who knew From kraduk at googlemail.com Fri Oct 2 21:49:00 2009 From: kraduk at googlemail.com (krad) Date: Fri Oct 2 21:49:08 2009 Subject: ZFS on FreeBSD 7.2 In-Reply-To: <01FB8F39BAD0BD49A6D0DA8F789739295752@Mercury.galaxy.lan.lcl> References: <01FB8F39BAD0BD49A6D0DA8F789739295752@Mercury.galaxy.lan.lcl> Message-ID: 2009/10/2 Graeme Dargie > Hello all > > > > I currently have machine with 6x500gb hdd`s running under ZFS RaidZ > everything is working just fine, I have bought 2x3bay ICY Dock bays for > this machine, my questions is do I have to make sure the drives go back > on to the same sata ports as they are currently on or will ZFS sort it > self out? > > > > Regards > > > > Graeme > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > it should sort itself out as the drives get labelled similar to geom From aaflatooni at yahoo.com Fri Oct 2 21:51:16 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Fri Oct 2 21:51:32 2009 Subject: php5 error in FreeBSD 7.2 In-Reply-To: <4ad871310910021422x793e464s7fed54c4325fc182@mail.gmail.com> References: <71655.65913.qm@web56205.mail.re3.yahoo.com> <400246.26602.qm@web56204.mail.re3.yahoo.com> <4ad871310910021422x793e464s7fed54c4325fc182@mail.gmail.com> Message-ID: <580966.22805.qm@web56203.mail.re3.yahoo.com> ----- Original Message ---- > From: Glen Barber > To: Aflatoon Aflatooni > Cc: freebsd-questions@freebsd.org > Sent: Friday, October 2, 2009 5:22:48 PM > Subject: Re: php5 error in FreeBSD 7.2 > > Hi, > > On Fri, Oct 2, 2009 at 8:50 PM, Aflatoon Aflatooni wrote: > > So I did find a thread about this and the used the following solution to fix > the problem: > > > > - Edit /usr/ports/lang/php5/Makefile and add the following line to the > configuration arguments: > > --with-pcre-regex > > > > So your Makefile should have: > > CONFIGURE_ARGS= \ > > ??????????????? --with-layout=GNU \ > > ??????????????? --with-config-file-scan-dir=${PREFIX}/etc/php \ > > ??????????????? --disable-all \ > > ??????????????? --enable-libxml \ > > ??????????????? --with-libxml-dir=${LOCALBASE} \ > > ??????????????? --with-pcre-regex \ > > ??????????????? --enable-reflection \ > > ??????????????? --program-prefix="" > > > > Alternatively, installing devel/php5-pcre should do the trick. > > HTH. > > -- > Glen Barber That is the first thing that I tried but it wouldn't work and therefore my original question. From raymond.gibson at verizon.net Fri Oct 2 22:05:20 2009 From: raymond.gibson at verizon.net (Raymond Gibson) Date: Fri Oct 2 22:05:27 2009 Subject: jail - unable to print from inside jail In-Reply-To: <20091002233223.4e957d44@baby-jane.lamaiziere.net> References: <200910011533.01028.raymond.gibson@verizon.net> <200910021531.55452.raymond.gibson@verizon.net> <20091002233223.4e957d44@baby-jane.lamaiziere.net> Message-ID: <200910021705.08996.raymond.gibson@verizon.net> On Friday 02 October 2009 04:32:23 pm Patrick Lamaiziere wrote: > Le Fri, 02 Oct 2009 15:31:55 -0500, > > Raymond Gibson a ?crit : > > On Friday 02 October 2009 02:31:06 am Bernt Hansson wrote: > > > Raymond Gibson said the following on 2009-10-01 22:33: > > > > I'm trying to setup CUPS (in a jail) using a USB printer on > > > > my host machine. My host was built with as a minimal FreeBSD > > > > 7.2-Release install. I added ezjail and created two jails. Both > > > > jails are working and I can login to both using ssh. > > > > i tried to set 666 for devfs.rules & devfs.conf in both host and > > jail, but that didn't work. > > > > any more ideas? > > How do you start your jail? For a jail, the devfs rule applied is the > one specified for the jail in /etc/rc.conf, something like > > jail_jailname_devfs_ruleset="devfsrules_jail" # devfs ruleset to > apply to jail > > Regards. i'm using ezjail. ezjail is started from /etc/rc.conf with ezjail_enable="YES". i thought the following would be read into the jail's configuration. /usr/local/etc/ezjail/PrintServer export jail_PrintServer_hostname="PrintServer" export jail_PrintServer_ip="192.168.1.52" export jail_PrintServer_rootdir="/usr/jails/PrintServer" export jail_PrintServer_exec="/bin/sh /etc/rc" export jail_PrintServer_mount_enable="YES" export jail_PrintServer_devfs_enable="YES" export jail_PrintServer_devfs_ruleset="devfsrules_jail_PrintServer" export jail_PrintServer_procfs_enable="YES" export jail_PrintServer_fdescfs_enable="YES" export jail_PrintServer_image="" export jail_PrintServer_imagetype="" export jail_PrintServer_attachparams="" export jail_PrintServer_attachblocking="" export jail_PrintServer_forceblocking="" i put PrintServer_devfs_ruleset="devfsrules_jail_PrintServer" into my rc.conf and rebooted. no luck, i still get permission denied. From bonomi at mail.r-bonomi.com Fri Oct 2 22:27:54 2009 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Oct 2 22:28:01 2009 Subject: sysinstal and setting up the BSD partitions inside an FDISK 'slice'. Message-ID: <200910022217.n92MHcgm018910@mail.r-bonomi.com> The 'sysinstall' BSD partition-table and mount point editor appears to be lacking in some features that are highly desirable to people building complex configurations with the O/S spread across multiple drives. For the 'usual' scenarios -- especially with modern high-capacity drives -- the case can be made, fairly convincingly, for using only a small number of filesystems (i.e., possibly as few as 2) on a large drive. There are, however, specialized (i.e., at least 'somewhat' esoteric :) situations where it _is_ desirable to use a much larger number of filesystems. Situations were you need to control the allocation of partition letters, _and_ 'where' on the slice that partiton 'lives'. Just like being able to edit the 'mount point', without deleting/re-creating the partition, it would be _very_ helpful to have a function that allowed one to change _which_ partition a given chunk of disk was named. That is, cursor to '{controller}d1s2g', say, and be able to 'change' the final character to any of the partitions (abdefh) that are not currently allocated any space. From bonomi at mail.r-bonomi.com Fri Oct 2 22:30:31 2009 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Oct 2 22:30:41 2009 Subject: Kernel symbol table usage ? Message-ID: <200910022230.n92MUU06019028@mail.r-bonomi.com> Building an old-style monolithic kernel, for a minimalist installation, the symbol table file ends up being many times larger than the kernel itself. I'd like to move it off to secondary storage, _if_ that won't break anyting. Obviously, for crash dump analysis, one needs to have it available, but I'd be doing that on a different machine, with much larger storage available. Thus the question -- does anything in a system that _doesn't_ do *any* module loading (loadable module support is _not_ in the kernel) need the symbol table? From erwin at FreeBSD.org Fri Oct 2 22:12:40 2009 From: erwin at FreeBSD.org (Erwin Lansing) Date: Fri Oct 2 22:35:46 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <20091002214401.GA4339@lonesome.com> References: <20090930100658.GA99090@obspm.fr> <20090930110508.GA50565@hades.panopticon> <20090930161915.GA18014@lonesome.com> <20091001111417.GF50565@hades.panopticon> <20091001112323.GA26407@droso.net> <20091001114546.GH50565@hades.panopticon> <20091001213656.GA14925@lonesome.com> <20091002133231.GA17567@hades.panopticon> <20091002214401.GA4339@lonesome.com> Message-ID: <20091002221238.GN26407@droso.net> On Fri, Oct 02, 2009 at 04:44:01PM -0500, Mark Linimon wrote: > On Fri, Oct 02, 2009 at 05:32:31PM +0400, Dmitry Marakasov wrote: > > Do you honestly think the probability of Tuomo suing us is higher of, > > say, me suing, well, us? > > Yes. That is exactly what I am saying. And I believe reading the entire > thread when this first came up supports my claim. > I've expressed my concern and agreement with Mark on this topic earlier, but I'd like to reitterate the problem. From the earlier mails with the author and reading the new license, which is LGPL with, in legal terms, vaguely defined exceptions, we as the FreeBSD project have to err on the safe side and not add this software again unless the author explicitly and publicly retracts his earlier legal threats. This is not a case common sense but of legal terms, and given the fluffy formulation of the license, even in it's new form, it is unacceptable to be included in the ports tree. -erwin -- Erwin Lansing http://droso.org Prediction is very difficult especially about the future erwin@FreeBSD.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091002/b71f4e63/attachment.pgp From raj at csub.edu Fri Oct 2 23:03:54 2009 From: raj at csub.edu (Russell Jackson) Date: Fri Oct 2 23:04:02 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <20090930100658.GA99090@obspm.fr> References: <20090930100658.GA99090@obspm.fr> Message-ID: <4AC68237.8070106@csub.edu> Albert Shih wrote: > Hi all > > I'm trying to compile > > http://modeemi.fi/~tuomov/ion/download.html > > on my FreeBSD 8.0-RC1 and didn't success.... > > I would like to known if anyone can help me make ion work ? Maybe someone > have the patch file for the system.mk ? > > Long time ago ion ports was kick off from the ports system because the will > of the developper (please don't troll). I just saw the license just change > maybe now it's possible to put again ion in the ports system ? > > I would like to help for the ports but as you can see I unable to build for > myself. > I think most of us ion refugees have moved on to xmonad. While it isn't quite the same as ion, the xmonad developers don't have any philosophical issues supporting xft and xinerama. The only gripe I have is the blasted Haskel config file. Arr! -- Russell A. Jackson Network Analyst California State University, Bakersfield -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091002/105fa6c3/signature.pgp From glen.j.barber at gmail.com Fri Oct 2 23:44:41 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Fri Oct 2 23:44:47 2009 Subject: php5 error in FreeBSD 7.2 In-Reply-To: <580966.22805.qm@web56203.mail.re3.yahoo.com> References: <71655.65913.qm@web56205.mail.re3.yahoo.com> <400246.26602.qm@web56204.mail.re3.yahoo.com> <4ad871310910021422x793e464s7fed54c4325fc182@mail.gmail.com> <580966.22805.qm@web56203.mail.re3.yahoo.com> Message-ID: <4ad871310910021644n35cd9602l1798819be5be72de@mail.gmail.com> On Fri, Oct 2, 2009 at 5:51 PM, Aflatoon Aflatooni wrote: > > That is the first thing that I tried but it wouldn't work and therefore my original question. > True, but you didn't say what you tried rebuilding. :-) -- Glen Barber From corky1951 at comcast.net Sat Oct 3 00:20:44 2009 From: corky1951 at comcast.net (Charlie Kester) Date: Sat Oct 3 00:20:50 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <4AC68237.8070106@csub.edu> References: <20090930100658.GA99090@obspm.fr> <4AC68237.8070106@csub.edu> Message-ID: <20091003002040.GC3819@comcast.net> On Fri 02 Oct 2009 at 15:44:07 PDT Russell Jackson wrote: > >I think most of us ion refugees have moved on to xmonad. While it isn't quite the same as >ion, the xmonad developers don't have any philosophical issues >supporting xft and xinerama. The only gripe I have is the blasted >Haskel config file. Arr! FWIW, there are some other tiling window managers in the portstree that are worth considering: dwm awesome wmii musca i3 ratpoison stumpwm And I probably missed a few more. :-) From milo at cyberlifelabs.com Sat Oct 3 00:27:16 2009 From: milo at cyberlifelabs.com (Milo Hyson) Date: Sat Oct 3 00:27:23 2009 Subject: tar acting strange with -T Message-ID: <9BF45D7B-D9ED-4B09-8C6E-0ED849260601@cyberlifelabs.com> tar seems to be misbehaving when used with the -T switch. If I run the following: find somebigdir > /tmp/file-list tar -cjf /tmp/tarball.tar.bz2 -T /tmp/file-list I get no errors. However, when I go to unpack it: tar -xyf /tmp/tarball.tar.bz2 I get several errors about files not found in the archive. It's always the same files. I've checked to ensure there's nothing special about them. If I try to create the same tarball without using a file-list: tar -cjf /tmp/tarball.tar.bz2 somebigdir I get no errors during unpacking. Running find on this unpacked set confirms the file-list matches exactly that which I'm trying to use with the -T switch. Unless I'm overlooking something obvious, I can only conclude that tar's handling of -T is funky. Any suggestions? I'm using a fresh installation of 7.2-RELEASE on amd64 installed from an ISO. -- Milo Hyson Chief Scientist CyberLife Labs, Inc. From qwillpen at hotmail.com Sat Oct 3 00:46:54 2009 From: qwillpen at hotmail.com (Fuzzy Zabriskie) Date: Sat Oct 3 00:47:00 2009 Subject: 7.2 Sysinstall choices -- existing multi-boot (based on Win7 RC's boot mgr) system Message-ID: Currently, I have Win/XP in slice 1, no slice 2, Win 7 RC in slice 3 and Acronis' hidden part in slice 4. I have unallocated space after slice 1 (about 45gb) I wanted to use for FreeBSD. I told sysinstall to create a slice (in the unallocated space), then create FreeBSD partitions in it for /, paging, /usr, /var, /tmp & /home. I'm not sure what I'm supposed to tell it about boot managers though? Right now the MBR points to Acronis' recovery slice, which boots to Win 7's boot manager, it defaults to Win/XP. When I said do nothing sysinstall marked the new slice bootable, and FreeBSD does boot to a text menu with Beastie on it. But, that doesn't give access to the OS's in slice 1 and 3? if I tell it to use the default boot manager, (booteasy?), will it offer at least access to what's currently in the master boot record & slice 2 (FreeBSD)? Or do I need a way to tell Win7's boot manager about FreeBSD in slice 2? Thanks From fsilvaleandro at gmail.com Sat Oct 3 00:52:28 2009 From: fsilvaleandro at gmail.com (Leandro F Silva) Date: Sat Oct 3 00:52:35 2009 Subject: Voting for a native i386/amd64 flash player Message-ID: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> Hey guys, Let's vote to have a native i386 / amd64 flash player \o/ .. We just have to create an account and voting on the link below =D http://bugs.adobe.com/jira/browse/FP-1060 From aryeh.friedman at gmail.com Sat Oct 3 01:01:39 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sat Oct 3 01:01:46 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> Message-ID: <4AC6A26E.9080405@gmail.com> Good luck the community has tried for years to get it and adobe seems to not care Leandro F Silva wrote: > Hey guys, > > Let's vote to have a native i386 / amd64 flash player \o/ .. > > We just have to create an account and voting on the link below =D > > http://bugs.adobe.com/jira/browse/FP-1060 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From kayvey at gmail.com Sat Oct 3 01:11:15 2009 From: kayvey at gmail.com (Kayven Riese) Date: Sat Oct 3 01:11:21 2009 Subject: Invitation to connect on LinkedIn Message-ID: <1637724990.13987.1254530559012.JavaMail.app@ech3-cdn07.prod> LinkedIn ------------ I'd like to add you to my professional network on LinkedIn. - Kayven Accept Kayven Riese's invite: https://www.linkedin.com/e/isd/775818291/54SmrjKS/ ------ (c) 2009, LinkedIn Corporation From sisson.j at gmail.com Sat Oct 3 01:42:45 2009 From: sisson.j at gmail.com (J Sisson) Date: Sat Oct 3 01:42:52 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <4AC6A26E.9080405@gmail.com> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> <4AC6A26E.9080405@gmail.com> Message-ID: <4297a9020910021815p60858505w89abbfa909b99340@mail.gmail.com> On Fri, Oct 2, 2009 at 8:01 PM, Aryeh M. Friedman wrote: > Good luck the community has tried for years to get it and adobe seems to > not care > > > Leandro F Silva wrote: > >> Hey guys, >> >> Let's vote to have a native i386 / amd64 flash player \o/ .. >> >> We just have to create an account and voting on the link below =D >> >> http://bugs.adobe.com/jira/browse/FP-1060 >> > And if enough people petition Microsoft, we can get them to release Windows 7 source under the GPL. Reality called...your request to ignore it was denied. From eagletree at hughes.net Sat Oct 3 03:36:09 2009 From: eagletree at hughes.net (Chris) Date: Sat Oct 3 03:36:18 2009 Subject: NO ONE knows?? In-Reply-To: <20091002154838.GA9446@thought.org> References: <20091002071528.0B3B710656F0@hub.freebsd.org> <4AC5ED1E.3820.4B0A319@d.forsyth.ru.ac.za> <20091002154838.GA9446@thought.org> Message-ID: On Oct 2, 2009, at 8:48 AM, Gary Kline wrote: > On Fri, Oct 02, 2009 at 12:07:58PM +0200, DA Forsyth wrote: >> On 2 Oct 2009 , freebsd-questions-request@freebsd.org entreated about >> "freebsd-questions Digest, Vol 278, Issue 10": >> >>> Message: 28 >>> Date: Thu, 1 Oct 2009 12:22:45 -0700 >>> From: Gary Kline >>> Subject: NO ONE knows?? >>> To: FreeBSD Mailing List >>> Message-ID: <20091001192241.GA5597@thought.org> >>> Content-Type: text/plain; charset=us-ascii >>> >>> >>> so ==nobody== know how to get espeak working with the high-quality >>> voices? hard to believe on this list... >> >> I use espeak, but have never tried to use any other than the stock >> voice, it works just fine. I suspect most other folks have the same >> experience. >> >> I use espeak to verbalize warnings and errors from XYMON on the main >> server which sits next to me, since I'm not always looking at email. >> > > > What I'm looking for is how to use the ``better than the > default voices''; there are several english languages that > are fairly natural sounding. Nothing I've googled explain > using the quality voices for FreeBSD. > > gary Gary, You should post this on the sourceforge forum for eSpeak. I looked and it appears the developer himself responds to questions people have. http://sourceforge.net/projects/espeak/forums Chris > > >>> gary >> >> >> -- >> DA Fo rsyth Network Supervisor >> Principal Technical Officer -- Institute for Water Research >> http://www.ru.ac.za/institutes/iwr/ >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org >> " > > -- > Gary Kline kline@thought.org http://www.thought.org Public > Service Unix > http://jottings.thought.org http://transfinite.thought.org > The 5.67a 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-unsubscribe@freebsd.org > " > From m.odonnell at shaw.ca Sat Oct 3 05:00:00 2009 From: m.odonnell at shaw.ca (Mark O'Donnell) Date: Sat Oct 3 05:00:07 2009 Subject: 7.2 Sysinstall choices -- existing multi-boot (based on Win7 RC's boot mgr) system In-Reply-To: References: Message-ID: <200910022231.28732.m.odonnell@shaw.ca> > Currently, I have Win/XP in slice 1, no slice 2, Win 7 RC in slice 3 and > Acronis' hidden part in slice 4. I have unallocated space after slice 1 > (about 45gb) I wanted to use for FreeBSD. > > I told sysinstall to create a slice (in the unallocated space), then create > FreeBSD partitions in it for /, paging, /usr, /var, /tmp & /home. I'm not > sure what I'm supposed to tell it about boot managers though? Right now > the MBR points to Acronis' recovery slice, which boots to Win 7's boot > manager, it defaults to Win/XP. When I said do nothing sysinstall marked > the new slice bootable, and FreeBSD does boot to a text menu with Beastie > on it. But, that doesn't give access to the OS's in slice 1 and 3? The default Windows MBR will simply just boot the active slice. When you created your FreeBSD slice it was automatically marked active. > if I tell it to use the default boot manager, (booteasy?), will it offer at > least access to what's currently in the master boot record & slice 2 > (FreeBSD)? Or do I need a way to tell Win7's boot manager about FreeBSD in > slice 2? > boot0 (aka BootEasy) will ask you what slice to boot from. If you've already installed FreeBSD you can replace your current MBR with: boot0cfg -B ad0 Just make sure to replace ad0 with your actual hdd device name. > > Thanks > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From perrin at apotheon.com Sat Oct 3 05:03:59 2009 From: perrin at apotheon.com (Chad Perrin) Date: Sat Oct 3 05:04:06 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <4297a9020910021815p60858505w89abbfa909b99340@mail.gmail.com> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> <4AC6A26E.9080405@gmail.com> <4297a9020910021815p60858505w89abbfa909b99340@mail.gmail.com> Message-ID: <20091003045640.GA28502@guilt.hydra> On Fri, Oct 02, 2009 at 08:15:07PM -0500, J Sisson wrote: > > And if enough people petition Microsoft, we can get them to release Windows > 7 source under the GPL. > > Reality called...your request to ignore it was denied. Actually, we *could*. The problem is the definition of "enough". I'm sure that if you got 100% of the Windows users in the world to do so, Microsoft top brass would be hard-pressed to avoid acquiescing. Meanwhile, I'm sure that if you got 1% to do so, it would raise some eyebrows at Microsoft, but utterly fail to get MS executives to put a moment's thought into making that kind of licensing change, except perhaps to laugh at it. The problem is figuring out the exact threshold, somewhere between 1% and 100%. In other words, to quote an old off-color joke: "We've already established you're a prostitute, my dear. Now we're just haggling over the price." -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091003/4bb0e63d/attachment.pgp From lucian at lastdot.org Sat Oct 3 05:28:30 2009 From: lucian at lastdot.org (Lucian @ lastdot.org) Date: Sat Oct 3 05:28:38 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <20091003045640.GA28502@guilt.hydra> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> <4AC6A26E.9080405@gmail.com> <4297a9020910021815p60858505w89abbfa909b99340@mail.gmail.com> <20091003045640.GA28502@guilt.hydra> Message-ID: <5a3c8f450910022228k3c196b6ay1acc3031716d673d@mail.gmail.com> On Sat, Oct 3, 2009 at 5:56 AM, Chad Perrin wrote: > On Fri, Oct 02, 2009 at 08:15:07PM -0500, J Sisson wrote: >> >> And if enough people petition Microsoft, we can get them to release Windows >> 7 source under the GPL. >> >> Reality called...your request to ignore it was denied. > > Actually, we *could*. ?The problem is the definition of "enough". ?I'm > sure that if you got 100% of the Windows users in the world to do so, > Microsoft top brass would be hard-pressed to avoid acquiescing. > Meanwhile, I'm sure that if you got 1% to do so, it would raise some > eyebrows at Microsoft, but utterly fail to get MS executives to put a > moment's thought into making that kind of licensing change, except > perhaps to laugh at it. ?The problem is figuring out the exact threshold, > somewhere between 1% and 100%. > > In other words, to quote an old off-color joke: > > ? ?"We've already established you're a prostitute, my dear. ?Now we're > ? ?just haggling over the price." > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > Better pray for Theora's mass adoption on streaming sites :-) From lists at stringsutils.com Sat Oct 3 05:39:10 2009 From: lists at stringsutils.com (Francisco Reyes) Date: Sat Oct 3 05:39:16 2009 Subject: Torrent for 8.0 RC1? Message-ID: Looking for 8.0 RC1 torrents and so far only found this one http://www.legittorrents.info/index.php?page=torrent-details&id=28d9970704ce aedddec8873d21b34d57cbb0b58d Are RCs not officially distributed through torrents? From listreader at lazlarlyricon.com Sat Oct 3 05:56:57 2009 From: listreader at lazlarlyricon.com (Rolf G Nielsen) Date: Sat Oct 3 05:57:04 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> Message-ID: <4AC6E7A5.6090002@lazlarlyricon.com> Leandro F Silva wrote: > Hey guys, > > Let's vote to have a native i386 / amd64 flash player \o/ .. > > We just have to create an account and voting on the link below =D > > http://bugs.adobe.com/jira/browse/FP-1060 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > Where do I vote to have them continue forever not creating a FreeBSD version of that crap? -- Rolf Nielsen From m.seaman at infracaninophile.co.uk Sat Oct 3 07:50:28 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Oct 3 07:50:34 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <5a3c8f450910022228k3c196b6ay1acc3031716d673d@mail.gmail.com> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> <4AC6A26E.9080405@gmail.com> <4297a9020910021815p60858505w89abbfa909b99340@mail.gmail.com> <20091003045640.GA28502@guilt.hydra> <5a3c8f450910022228k3c196b6ay1acc3031716d673d@mail.gmail.com> Message-ID: <4AC70238.1000209@infracaninophile.co.uk> Lucian @ lastdot.org wrote: > On Sat, Oct 3, 2009 at 5:56 AM, Chad Perrin wrote: >> On Fri, Oct 02, 2009 at 08:15:07PM -0500, J Sisson wrote: >>> And if enough people petition Microsoft, we can get them to release Windows >>> 7 source under the GPL. >>> >>> Reality called...your request to ignore it was denied. >> Actually, we *could*. The problem is the definition of "enough". I'm >> sure that if you got 100% of the Windows users in the world to do so, >> Microsoft top brass would be hard-pressed to avoid acquiescing. >> Meanwhile, I'm sure that if you got 1% to do so, it would raise some >> eyebrows at Microsoft, but utterly fail to get MS executives to put a >> moment's thought into making that kind of licensing change, except >> perhaps to laugh at it. The problem is figuring out the exact threshold, >> somewhere between 1% and 100%. >> >> In other words, to quote an old off-color joke: >> >> "We've already established you're a prostitute, my dear. Now we're >> just haggling over the price." >> >> -- >> Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] >> > > Better pray for Theora's mass adoption on streaming sites :-) Google apparently favours HTML-5 as their future direction, rather than Flash. And where YouTube goes, the rest of the world will surely follow, at least as far as Video streaming is concerned. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091003/b0aaa5d0/signature.pgp From bernt at bah.homeip.net Sat Oct 3 08:10:49 2009 From: bernt at bah.homeip.net (Bernt Hansson) Date: Sat Oct 3 08:10:56 2009 Subject: jail - unable to print from inside jail In-Reply-To: <200910021531.55452.raymond.gibson@verizon.net> References: <200910011533.01028.raymond.gibson@verizon.net> <4AC5AC3A.7050009@bah.homeip.net> <200910021531.55452.raymond.gibson@verizon.net> Message-ID: <4AC706F7.3030106@bah.homeip.net> Raymond Gibson said the following on 2009-10-02 22:31: >> Something doesn't seem right with you devfs.rules file. >> Mine looks like this: >> >> [system=10] >> add path 'unlpt*' mode 0660 group cups >> add path 'ulpt*' mode 0660 group cups >> add path 'lpt*' mode 0660 group cups >> > > i change permissions on /dev/ulpt0 (in the jail) and now i can print a test > page from Cups administration page. > > PrintServer# ls -l /dev | grep ulpt0 > crw-r--r-- 1 root operator 0, 79 Oct 2 10:51 ulpt0 > PrintServer# chmod 666 /dev/ulpt0 > PrintServer# ls -l /dev | grep ulpt0 > crw-rw-rw- 1 root operator 0, 79 Oct 2 10:51 ulpt0 > > i tried to set 666 for devfs.rules & devfs.conf in both host and jail, but > that didn't work. > > any more ideas? I don't have an usb printer attached. ls -l /dev/lp* crw-rw---- 1 root cups 0, 38 Sep 23 18:27 /dev/lpt0 crw-rw---- 1 root cups 0, 39 Sep 19 22:30 /dev/lpt0.ctl That's on the print server, no jail, and I think you do not need to change the devfs.conf file. Mine isn't changed looks like this: # Historically X depended on this, but version 4.3.0 doesn't seem to anymore #link ttyv0 vga # Commonly used by many ports #link acd0 cdrom # Allow a user in the wheel group to query the smb0 device #perm smb0 0660 # Allow members of group operator to cat things to the speaker #own speaker root:operator #perm speaker 0660 From uwe at laverenz.de Sat Oct 3 12:24:50 2009 From: uwe at laverenz.de (Uwe Laverenz) Date: Sat Oct 3 12:24:58 2009 Subject: migrating users from one machine to another machine In-Reply-To: <20091002091507.GA19609@torus.slightlystrange.org> References: <80173.56174.qm@web56206.mail.re3.yahoo.com> <200910012345.n91NjCcK048650@banyan.cs.ait.ac.th> <20091002091507.GA19609@torus.slightlystrange.org> Message-ID: <4AC74287.6010805@laverenz.de> Daniel Bye schrieb: > Or copy /etc/passwd from the old machine to the new one, and run > pwd_mkdb, which is essentially what vipw does anyway. This would not work, the file that contains the passwords and that should be copied is /etc/master.passwd. pwd_mkdb generates the /etc/passwd from this file. /etc/passwd dows not contain the encrypted passwords. Uwe From roberthuff at rcn.com Sat Oct 3 13:04:42 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sat Oct 3 13:04:49 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <4AC6E7A5.6090002@lazlarlyricon.com> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> <4AC6E7A5.6090002@lazlarlyricon.com> Message-ID: <19143.19392.666064.939130@jerusalem.litteratus.org> Rolf G Nielsen writes: > > Let's vote to have a native i386 / amd64 flash player \o/ .. > > Where do I vote to have them continue forever not creating a > FreeBSD version of that crap? Is your objection to Flash in particular, or to any product in that specific niche? Robert Huff From aaflatooni at yahoo.com Sat Oct 3 14:13:35 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Sat Oct 3 14:13:44 2009 Subject: php5 error in FreeBSD 7.2 In-Reply-To: <4ad871310910021644n35cd9602l1798819be5be72de@mail.gmail.com> References: <71655.65913.qm@web56205.mail.re3.yahoo.com> <400246.26602.qm@web56204.mail.re3.yahoo.com> <4ad871310910021422x793e464s7fed54c4325fc182@mail.gmail.com> <580966.22805.qm@web56203.mail.re3.yahoo.com> <4ad871310910021644n35cd9602l1798819be5be72de@mail.gmail.com> Message-ID: <882208.41638.qm@web56202.mail.re3.yahoo.com> ----- Original Message ---- > From: Glen Barber > To: Aflatoon Aflatooni > Cc: freebsd-questions@freebsd.org > Sent: Friday, October 2, 2009 7:44:39 PM > Subject: Re: php5 error in FreeBSD 7.2 > > On Fri, Oct 2, 2009 at 5:51 PM, Aflatoon Aflatooni wrote: > > > > That is the first thing that I tried but it wouldn't work and therefore my > original question. > > > > True, but you didn't say what you tried rebuilding. :-) > > > -- > Glen Barber It is strange but PHP is extra slow. I am not too familiar with PHP, can anyone point me to what I should look at? Thanks From aaflatooni at yahoo.com Sat Oct 3 14:46:13 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Sat Oct 3 14:46:20 2009 Subject: Apache20 port on FreeBSD 7.2 does a core dump Message-ID: <35656.54290.qm@web56206.mail.re3.yahoo.com> Hi, I am getting a lot of core dumps and Apache20 freezing. I have installed the porting using the following make: make WITHOUT_MODULES="ssl status speling imap auth_dbm auth_digest dav dav_fs cern_meta cgi include" install any suggestions as to how I might find out what is causing the problem and the core dumps. Thanks From anti_spam256 at yahoo.ca Sat Oct 3 15:01:08 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Sat Oct 3 15:01:21 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <20091003120028.B0CEA10656A7@hub.freebsd.org> Message-ID: <346226.13848.qm@web65503.mail.ac4.yahoo.com> > ------------------------------ > > Message: 9 > Date: Sat, 3 Oct 2009 06:28:29 +0100 > From: "Lucian @ lastdot.org" > Subject: Re: Voting for a native i386/amd64 flash player > To: freebsd-questions@freebsd.org > Message-ID: > ??? <5a3c8f450910022228k3c196b6ay1acc3031716d673d@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > > Better pray for Theora's mass adoption on streaming sites > :-) > I have this fantasy that if I design and build a better streaming video format, "They" (broadcasters) will use it, if properly marketed. This would be despite the lack of "strong" DRM or license terms (GPL v3 is OK, right?). The idea is I build a "public version", then sell a custom "corporate version" that is buzz-word certified with whatever standards they want (except "strong" DRM; incompatible with the license) for ~$30,000 a seat, or some volume [del]license[del] purchasing agreement. I got the idea when I realized that the current formats used by broadcasters suck. Most are based on MPEG that had some processing constraints no longer present (to the same extent) on modern computers. General idea: 1. Do away with the outdated concept of "live". There is always a delay. Make the delay predictable and visible to the user by sychronizing clocks with NTP. A "live" broadcast would have a calibrated delay ranging from seconds to minutes. "pre-recorded" would be minutes to centuries. 2. Modify Bittorrent protocol for Steaming media. There is already (incompatible) work in this area. 3a. Separate "Lossy Compression" from "Lossless Compression". This will result in a variable bit-rate stream. I came up with a (fast) transform so that the lossless compression stores only the changes between (key) frames. 3b. Optional "Variable frame-rate" stream: new frame only needed after a certain percentage of the scene changes. 4. Publishers are authenticated with a Public-key infrastructure 5. For UDP or Broadcast, a format variant tolerates data loss with graceful degradation. Main stumbling blocks: 1. trying to do too much at once: file format and protocol rolled into one. 2. For interoperability, I need to stabilize key points of the spec before publication. Currently struggling with date stamps (taking into account leap seconds) (mostly resolved), and a transform to allow the publisher to be authenticated even if some data is missing. 3. Because my idea is variable data-rate, I can't predict what "real-world" compression will be. need to do testing. As compression may be affected my MPEG artifacts, need to test with my own "raw" video. (Loss-less conversion from MPEG would be possible.) 4. A dual-license may quickly result in a fork that implements "features" I really don't want to see. (Read: anything deliberately incompatible.) 5. I seem to be pre-occupied with the video compression, ignoring sound. Regards, James Phillips PS: was this too off-topic? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From kickbsd at yandex.ru Sat Oct 3 15:43:29 2009 From: kickbsd at yandex.ru (kickbsd kickbsd) Date: Sat Oct 3 15:43:37 2009 Subject: unateended FreeBSD install + zfs + gpt Message-ID: <88331254583337@webmail89.yandex.ru> Hi! I've modified mfsBSD scripts http://people.freebsd.org/~mm/mfsbsd/ to make unattended installer for FreeBSD 8.0-RC1 on GPT ZFS root. I've successfully installed 3 different servers with that set of scrips. Modified scrips can be downloaded from http://unixdom.com/kickbsd/ Modified files are interfaces and interfaces.conf (that script now tries to auto detect first NIC which plugged) + new zinstall script + zfs aware loader. Let me know if someone already have wrote more serious unattended zfs compatible installer/scripts. From jeffrey at goldmark.org Sat Oct 3 15:58:23 2009 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Sat Oct 3 15:58:31 2009 Subject: usenet configuration In-Reply-To: <4AC5AA13.7000406@bah.homeip.net> References: <832963.74091.qm@web56208.mail.re3.yahoo.com> <991123400910010704x7952ae73h13e1ce68d07a2773@mail.gmail.com> <44eipnurrr.fsf@be-well.ilk.org> <570307.51852.qm@web56204.mail.re3.yahoo.com> <4AC5AA13.7000406@bah.homeip.net> Message-ID: <702B5735-BCA6-4D5F-BA99-BF75C9A49225@goldmark.org> On Oct 2, 2009, at 2:21 AM, Bernt Hansson wrote: > Aflatoon Aflatooni said the following on 2009-10-01 19:17: >> What is needed in order to run nntp? > > INN https://www.isc.org/software/inn > A faq for INN is at http://www.eyrie.org/~eagle/faqs/inn.html > > Diablo gttp://www.openusenet.org/diablo > A faq for diablo is at the above address. > > DNews http://www.netwinsite.com/dnews.htm > > Typhoon (not free/open) http://www.highwinds-software.com/ And if the needs are small, one might be able to get away with just running leafnode. Leafnode is *not* a full NNTP server, but for small networks with limited needs, it might be sufficient. I'm not familiar at all with Typhoon and Diablo. The last time I used DNews (a very very long time ago) it had some really nice design features that made it appropriate for situations between what one would use leafnode and INN, but it was buggy (this was a long time ago, those bugs have probably been fixed). INN, of course, is the sendmail, of Usenet servers. Cheers, -j From freebsd-questions-local at be-well.ilk.org Sat Oct 3 16:33:24 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sat Oct 3 16:33:31 2009 Subject: Apache20 port on FreeBSD 7.2 does a core dump In-Reply-To: <35656.54290.qm@web56206.mail.re3.yahoo.com> (Aflatoon Aflatooni's message of "Sat, 3 Oct 2009 07:46:11 -0700 (PDT)") References: <35656.54290.qm@web56206.mail.re3.yahoo.com> Message-ID: <44ocoo4eus.fsf@lowell-desk.lan> Aflatoon Aflatooni writes: > I am getting a lot of core dumps and Apache20 freezing. > I have installed the porting using the following make: > > make WITHOUT_MODULES="ssl status speling imap auth_dbm auth_digest dav dav_fs cern_meta cgi include" install > > any suggestions as to how I might find out what is causing the problem and the core dumps. The first thing I'd try is re-including the excluded modules. If you no longer get the crashes, you can start narrowing in on which one is involved. If you still get the crashes, you'll have to start looking at the core files. I'm assuming you're not used to using a debugger on a core file, on the theory that you would have done that already if you were comfortable with it. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From vince at vjs.org Sat Oct 3 17:12:50 2009 From: vince at vjs.org (Vince Sabio) Date: Sat Oct 3 17:12:56 2009 Subject: ports have made me lazy Message-ID: I need to install zlib (not zlibc), and AFACT it is not included in ports. When I look at the zlib web site, I see that there are several (not a lot, but several) dependencies for the installation -- and I think, "OH NO, NOT DEPENDENCIES!" Or something like that. I blame it on ports. They have made me lazy. I am a victim. ;-) Anyway, and more to the point, am I missing something? Is zlib really not included in ports? If not, is there an automated/semi-automated means of installing it -- or am I back to the old days of installing dependencies manually? (I have had two servers go toes up in three days, so if I've missed the obvious here, well, it wouldn't surprise me. Just administer clue in the standard manner, and I'll get with the program.) __________________________________________________________________________ Vince Sabio vince@vjs.org From glen.j.barber at gmail.com Sat Oct 3 17:21:40 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Oct 3 17:21:47 2009 Subject: ports have made me lazy In-Reply-To: References: Message-ID: <4ad871310910031021j137e38a0u429b37b882442f7f@mail.gmail.com> Hi, On Sat, Oct 3, 2009 at 10:04 AM, Vince Sabio wrote: > I need to install zlib (not zlibc), and AFACT it is not included in ports. > When I look at the zlib web site, I see that there are several (not a lot, > but several) dependencies for the installation -- and I think, "OH NO, NOT > DEPENDENCIES!" Or something like that. > > I blame it on ports. They have made me lazy. I am a victim. ;-) > They should have meetings once a week or something... :-) > Anyway, and more to the point, am I missing something? Is zlib really not > included in ports? If not, is there an automated/semi-automated means of > installing it -- or am I back to the old days of installing dependencies > manually? > > (I have had two servers go toes up in three days, so if I've missed the > obvious here, well, it wouldn't surprise me. Just administer clue in the > standard manner, and I'll get with the program.) > > I'll assume you mean the zlib compression library. I found a few with: cd /usr/ports; make search key="zlib" HTH. -- Glen Barber From illoai at gmail.com Sat Oct 3 17:30:48 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Sat Oct 3 17:30:55 2009 Subject: ports have made me lazy In-Reply-To: <4ad871310910031021j137e38a0u429b37b882442f7f@mail.gmail.com> References: <4ad871310910031021j137e38a0u429b37b882442f7f@mail.gmail.com> Message-ID: 2009/10/3 Glen Barber : > Hi, > > On Sat, Oct 3, 2009 at 10:04 AM, Vince Sabio wrote: >> I need to install zlib (not zlibc), and AFACT it is not included in ports. >> When I look at the zlib web site, I see that there are several (not a lot, >> but several) dependencies for the installation -- and I think, "OH NO, NOT >> DEPENDENCIES!" Or something like that. >> >> I blame it on ports. They have made me lazy. I am a victim. ;-) >> > > They should have meetings once a week or something... :-) > >> Anyway, and more to the point, am I missing something? Is zlib really not >> included in ports? If not, is there an automated/semi-automated means of >> installing it -- or am I back to the old days of installing dependencies >> manually? >> >> (I have had two servers go toes up in three days, so if I've missed the >> obvious here, well, it wouldn't surprise me. Just administer clue in the >> standard manner, and I'll get with the program.) >> >> > > I'll assume you mean the zlib compression library. ?I found a few with: > > ?cd /usr/ports; make search key="zlib" > > HTH. > Based on what I read at http://www.zlib.net/ The latest version (1.2.3) is in base: http://www.freebsd.org/cgi/man.cgi?query=zlib&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&format=html http://tinyurl.com/yksxt9p -- -- From glen.j.barber at gmail.com Sat Oct 3 17:32:47 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Oct 3 17:32:54 2009 Subject: ports have made me lazy In-Reply-To: References: <4ad871310910031021j137e38a0u429b37b882442f7f@mail.gmail.com> Message-ID: <4ad871310910031032n353b3ea4m10552cf1878e4c8e@mail.gmail.com> On Sat, Oct 3, 2009 at 1:30 PM, illoai@gmail.com wrote: > > Based on what I read at http://www.zlib.net/ > The latest version (1.2.3) is in base: zlib(3) agrees. -- Glen Barber From aaflatooni at yahoo.com Sat Oct 3 17:38:47 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Sat Oct 3 17:38:55 2009 Subject: Apache20 port on FreeBSD 7.2 does a core dump In-Reply-To: <44ocoo4eus.fsf@lowell-desk.lan> References: <35656.54290.qm@web56206.mail.re3.yahoo.com> <44ocoo4eus.fsf@lowell-desk.lan> Message-ID: <11016.32541.qm@web56202.mail.re3.yahoo.com> > Aflatoon Aflatooni writes: > > > I am getting a lot of core dumps and Apache20 freezing. > > I have installed the porting using the following make: > > > > make WITHOUT_MODULES="ssl status speling imap auth_dbm auth_digest dav dav_fs > cern_meta cgi include" install > > > > any suggestions as to how I might find out what is causing the problem and the > core dumps. > > The first thing I'd try is re-including the excluded modules. > If you no longer get the crashes, you can start narrowing in on which > one is involved.? If you still get the crashes, you'll have to start > looking at the core files. > > I'm assuming you're not used to using a debugger on a core file, > on the theory that you would have done that already if you were > comfortable with it. > I originally had them included and I was getting the core dumps, but I removed them because I don't need them and I am still getting the core dumps. This is a production box and it would be hard to have debugger turned on. I don't know if it would be helpful, but PHP is also really slow on this machine. I know that PHP would cause a dump in the php.core file and not apache.core. How do I inspect the core file to find out which module caused it? Thanks From nightrecon at hotmail.com Sat Oct 3 17:53:59 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Sat Oct 3 17:54:06 2009 Subject: ports have made me lazy References: Message-ID: Vince Sabio wrote: > I need to install zlib (not zlibc), and AFACT it is not included in > ports. When I look at the zlib web site, I see that there are several > (not a lot, but several) dependencies for the installation -- and I > think, "OH NO, NOT DEPENDENCIES!" Or something like that. > > I blame it on ports. They have made me lazy. I am a victim. ;-) > > Anyway, and more to the point, am I missing something? Is zlib really > not included in ports? If not, is there an automated/semi-automated > means of installing it -- or am I back to the old days of installing > dependencies manually? Why not use the one that came with the system? /lib/libz.so.4 You won't be happy if you manage to get two of them installed; use the one already present in the system by default. > (I have had two servers go toes up in three days, so if I've missed > the obvious here, well, it wouldn't surprise me. Just administer clue > in the standard manner, and I'll get with the program.) This is different. If by some odd chance you are talking about this in php.ini: zlib.output_handler = /lib/libz.so.4 - I have noticed a problem a time or two in the past with certain PHP apps. I run with mod_deflate also and sometimes PHP apps balk at running with both. The advantage of using libz in php.ini is it compresses the PHP output stream, while mod_deflate is only good for static content. The above is kind of confusing, but wrt PHP there can be a difficulty if the app has written in it's own zlib compression routines internally. You can't do the compression in PHP twice. On apps where I have experienced problems, it was either turn off libz compression in php.ini or disable the .gz compression setting in the app's setup/configuration utility. I always opted for the latter, as this would maintain the ability for other apps in a default fashion. You'll know if this problem is present if when you try and access a PHP page you either get a page full of garbage or the server errors/crashes with a 500 server error. Just to be thorough, there is also a php5-zlib extension, which the construction of some apps may require. -Mike From vince at vjs.org Sat Oct 3 18:49:34 2009 From: vince at vjs.org (Vince Sabio) Date: Sat Oct 3 18:49:41 2009 Subject: ports have made me lazy In-Reply-To: References: <4ad871310910031021j137e38a0u429b37b882442f7f@mail.gmail.com> Message-ID: ** At 13:30 -0400 on 10/03/2009, illoai@gmail.com wrote: >2009/10/3 Glen Barber : > > On Sat, Oct 3, 2009 at 10:04 AM, Vince Sabio wrote: > >> I need to install zlib (not zlibc), and AFACT it is not included in ports. >>> When I look at the zlib web site, I see that there are several (not a lot, >>> but several) dependencies for the installation -- and I think, "OH NO, NOT >>> DEPENDENCIES!" Or something like that. >>> > >> I blame it on ports. They have made me lazy. I am a victim. ;-) > > > > They should have meetings once a week or something... :-) If they had them, I'd be a candidate. > >> Anyway, and more to the point, am I missing something? Is zlib really not >>> included in ports? If not, is there an automated/semi-automated means of >>> installing it -- or am I back to the old days of installing dependencies > >> manually? > > > > I'll assume you mean the zlib compression library. Yes, that's probably what it is. > > I found a few with: > > > > cd /usr/ports; make search key="zlib" Worked for me. Muchas gracias. >Based on what I read at http://www.zlib.net/ >The latest version (1.2.3) is in base: >http://www.freebsd.org/cgi/man.cgi?query=zlib&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&format=html >http://tinyurl.com/yksxt9p I don't know if I had a screwy install (I wouldn't put it past the stoopit sysadmin) (oh wait, that's me) or what -- but while I had the man page for zlib, I apparently it wasn't actually installed. Someone is trying to install some web-site-management kit on the machine, and it complained that zlib wasn't installed. Seems to be installed now; I guess, at some point, I'll find out if the web kit installer is happy now. Many thanks for the assistance on this. __________________________________________________________________________ Vince Sabio vince@vjs.org From qwillpen at hotmail.com Sat Oct 3 19:43:11 2009 From: qwillpen at hotmail.com (Fuzzy Zabriskie) Date: Sat Oct 3 19:43:18 2009 Subject: 7.2 Sysinstall choices -- existing multi-boot (based on Win7 RC's boot mgr) system In-Reply-To: <200910022231.28732.m.odonnell@shaw.ca> References: Message-ID: <200910022231.28732.m.odonnell@shaw.ca> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 >> Currently=2C I have Win/XP in slice 1=2C no slice 2=2C Win 7 RC in slice= 3 and >> Acronis' hidden part in slice 4. I have unallocated space after slice 1 >> (about 45gb) I wanted to use for FreeBSD. >> >> I told sysinstall to create a slice (in the unallocated space)=2C then c= reate >> FreeBSD partitions in it for /=2C paging=2C /usr=2C /var=2C /tmp & /home= . I'm not >> sure what I'm supposed to tell it about boot managers though? Right now >> the MBR points to Acronis' recovery slice=2C which boots to Win 7's boot >> manager=2C it defaults to Win/XP. When I said do nothing sysinstall mark= ed >> the new slice bootable=2C and FreeBSD does boot to a text menu with Beas= tie >> on it. But=2C that doesn't give access to the OS's in slice 1 and 3? > > The default Windows MBR will simply just boot the active slice. When you > created your FreeBSD slice it was automatically marked active. > >> if I tell it to use the default boot manager=2C (booteasy?)=2C will it o= ffer at >> least access to what's currently in the master boot record & slice 2 >> (FreeBSD)? Or do I need a way to tell Win7's boot manager about FreeBSD = in >> slice 2? >> > > boot0 (aka BootEasy) will ask you what slice to boot from. If you've alre= ady > installed FreeBSD you can replace your current MBR with: > > boot0cfg -B ad0 > > Just make sure to replace ad0 with your actual hdd device name. > =20 Does boot0 use / save the existing MBR (there already is code in there to l= ook for an f11 key press then boot to Acronis's standalone restorer (It=20 looks like a tailored Linux :))=2C if not boot to 'active slice')? =20 Does FreeBSD's slice / partition boot block have enough info to boot FreeBS= D =20 if another boot manager selects it? Thinking I could possibly add FreeBSD's slice to Win 7's list of target OS's? =20 =20 =20 slice 1 is Win XP slice 2 is FreeBSD (/=2C page=2C /usr=2C /var=2C /tmp & /home BSD partition= s) slice 3 is Win 7 RC slice 4 is Acronis's hidden recovery setup =20 =20 =20 It appears that the Acronis' MBR looks for an f11 key press=20 (if found boot Acronis=2C if not boot the 'active partition').=20 Active partition was Win 7's boot manager which had Win 7 and=20 Win XP as targets with Win XP as it's default). =20 Acronis's standalone boot menu knows itself and Win 7's boot manager. I'm guessing whatever wrote the MBR saved the old boot code=2C so it could use it as an alternate target=2C (if one hit the the trigger key by mistake). =20 =20 = From rsmith at xs4all.nl Sat Oct 3 19:51:05 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sat Oct 3 19:51:12 2009 Subject: ports have made me lazy In-Reply-To: References: Message-ID: <20091003195058.GA42055@slackbox.xs4all.nl> On Sat, Oct 03, 2009 at 10:04:20AM -0400, Vince Sabio wrote: > I need to install zlib (not zlibc), and AFACT it is not included in > ports. When I look at the zlib web site, I see that there are several > (not a lot, but several) dependencies for the installation -- and I > think, "OH NO, NOT DEPENDENCIES!" Or something like that. The reason it is not in ports is because the current release is in the base system :-) Check out /usr/src/lib/libz/README 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091003/7c360c82/attachment.pgp From jhell at DataIX.net Sat Oct 3 20:36:25 2009 From: jhell at DataIX.net (jhell) Date: Sat Oct 3 20:36:32 2009 Subject: Apache20 port on FreeBSD 7.2 does a core dump In-Reply-To: <11016.32541.qm@web56202.mail.re3.yahoo.com> References: <35656.54290.qm@web56206.mail.re3.yahoo.com> <44ocoo4eus.fsf@lowell-desk.lan> <11016.32541.qm@web56202.mail.re3.yahoo.com> Message-ID: On Sat, 3 Oct 2009 13:38 -0000, aaflatooni wrote: >> Aflatoon Aflatooni writes: >> >>> I am getting a lot of core dumps and Apache20 freezing. >>> I have installed the porting using the following make: >>> >>> make WITHOUT_MODULES="ssl status speling imap auth_dbm auth_digest dav dav_fs >> cern_meta cgi include" install >>> >>> any suggestions as to how I might find out what is causing the problem and the >> core dumps. >> >> The first thing I'd try is re-including the excluded modules. >> If you no longer get the crashes, you can start narrowing in on which >> one is involved.? If you still get the crashes, you'll have to start >> looking at the core files. >> >> I'm assuming you're not used to using a debugger on a core file, >> on the theory that you would have done that already if you were >> comfortable with it. >> > > I originally had them included and I was getting the core dumps, but I removed them because I don't need them and I am still getting the core dumps. > > This is a production box and it would be hard to have debugger turned on. > I don't know if it would be helpful, but PHP is also really slow on this machine. I know that PHP would cause a dump in the php.core file and not apache.core. > > How do I inspect the core file to find out which module caused it? > > Thanks > > Have you any special php5 modules loaded. I had a problem with I want to recall three or more extensions that would cause apache2X to dump core or halt in doing any further actions upon request. If the above is the case you can disable some or all of your php5-extensions in local/etc/php/extensions.ini to test it out. Best of luck. -- %{----------------------------------------------------+ | dataix.net!jhell 2048R/89D8547E 2009-09-30 | | BSD since FreeBSD 4.2 Linux since Slackware 2.1 | | 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E | +----------------------------------------------------%} From aaflatooni at yahoo.com Sat Oct 3 20:49:55 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Sat Oct 3 20:50:02 2009 Subject: Apache20 port on FreeBSD 7.2 does a core dump In-Reply-To: References: <35656.54290.qm@web56206.mail.re3.yahoo.com> <44ocoo4eus.fsf@lowell-desk.lan> <11016.32541.qm@web56202.mail.re3.yahoo.com> Message-ID: <741337.59760.qm@web56205.mail.re3.yahoo.com> > On Sat, 3 Oct 2009 13:38 -0000, aaflatooni wrote: > > >> Aflatoon Aflatooni writes: > >> > >>> I am getting a lot of core dumps and Apache20 freezing. > >>> I have installed the porting using the following make: > >>> > >>> make WITHOUT_MODULES="ssl status speling imap auth_dbm auth_digest dav > dav_fs > >> cern_meta cgi include" install > >>> > >>> any suggestions as to how I might find out what is causing the problem and > the > >> core dumps. > >> > >> The first thing I'd try is re-including the excluded modules. > >> If you no longer get the crashes, you can start narrowing in on which > >> one is involved.? If you still get the crashes, you'll have to start > >> looking at the core files. > >> > >> I'm assuming you're not used to using a debugger on a core file, > >> on the theory that you would have done that already if you were > >> comfortable with it. > >> > > > > I originally had them included and I was getting the core dumps, but I removed > them because I don't need them and I am still getting the core dumps. > > > > This is a production box and it would be hard to have debugger turned on. > > I don't know if it would be helpful, but PHP is also really slow on this > machine. I know that PHP would cause a dump in the php.core file and not > apache.core. > > > > How do I inspect the core file to find out which module caused it? > > > > Thanks > > > > > > Have you any special php5 modules loaded. I had a problem with I want to recall > three or more extensions that would cause apache2X to dump core or halt in doing > > any further actions upon request. > > If the above is the case you can disable some or all of your php5-extensions in > local/etc/php/extensions.ini to test it out. > > Best of luck. Thanks, I followed your suggestion and removed all but the necessary modules from the extensions.ini. I will have to wait and see if it helps the core dumps. So at this time I have the following in the extensions: extension=gd.so extension=mcrypt.so extension=mysql.so extension=simplexml.so extension=spl.so extension=mysqli.so extension=session.so extension=tokenizer.so extension=xml.so PHP is still?slow though! From miklosovic.freebsd at gmail.com Sat Oct 3 21:00:20 2009 From: miklosovic.freebsd at gmail.com (Stefan Miklosovic) Date: Sat Oct 3 21:00:26 2009 Subject: erros with raid5 dell poweredge Message-ID: hi list, today after some work on server, it froze and because I live 50 km far away that server, my buddy has assisted in recovery. After rebooting, he took some photos and wrote me, what he saw / did. Before resetting of server, these messages have been appearing on screen: aac0: COMMAND 0xc77..... (that part changes) TIMEOUT AFTER 2280 SECOND aac0: WARNING! Controller is no longer running! code=0x1000080 there was an unresponsive login dialog, after typing login name, no password prompt has appeard. After reseting server by power button and rebooting, before freebsd boot dialog, this message surprised my buddy: Container#0 - RAID5 203GB Critical 1 Container found Bios installed succesfully After that, server normally booted and is up now. FreeBSD dell.tlis.sk 8.0-RC1 FreeBSD 8.0-RC1 #0: Fri Oct 2 00:59:02 CEST 2009 stewe@194.160.104.34:/usr/obj/usr/src/sys/DELL i386 Filesystem Size Used Avail Capacity Mounted on /dev/aacd0s1a 496M 198M 258M 43% / devfs 1.0K 1.0K 0B 100% /dev /dev/aacd0s1g 167G 286M 154G 0% /data /dev/aacd0s1d 989M 16K 910M 0% /tmp /dev/aacd0s1f 15G 1.5G 12G 11% /usr /dev/aacd0s1e 9.7G 440M 8.5G 5% /var it is dell powededge 6450, 4x Xeon 700Mhz, 4x72GB disk in raid5, 4GB ram thank you From kraduk at googlemail.com Sat Oct 3 22:02:02 2009 From: kraduk at googlemail.com (krad) Date: Sat Oct 3 22:02:09 2009 Subject: zfs root Message-ID: Hi, I have a quick question about freebsd on zfs root. I have built a few test systems all work fine. I have one question though. Does the loader replay any information when it accesses the pool? Basically im interested in how or what is done on reboot after the kernel panic or power loss. Are there any safe gaurds with regard to the zpool integrity? From lists at stringsutils.com Sun Oct 4 01:23:33 2009 From: lists at stringsutils.com (Francisco Reyes) Date: Sun Oct 4 01:23:40 2009 Subject: Disk Cloning References: <20090928011444.29110022@chris.makeworld.com> <20090928213703.ecf59a9d.freebsd@edvax.de> <20090929022231.9a92783f.freebsd@edvax.de> Message-ID: krad writes: > On a side note. Anyone building new systems manually from the shell I would > recommend using GPT labels if you can. Apart from not having the 8 fs limit > (128 iirc) gpart is a dam sight nicer to use than bsdlabel, and scripting it Any links on GPT on 8? Found this tutorial for 7 http://www.daemonforums.org/showthread.php?t=2666 From kline at thought.org Sun Oct 4 01:41:27 2009 From: kline at thought.org (Gary Kline) Date: Sun Oct 4 01:41:33 2009 Subject: NO ONE knows?? In-Reply-To: References: <20091002071528.0B3B710656F0@hub.freebsd.org> <4AC5ED1E.3820.4B0A319@d.forsyth.ru.ac.za> <20091002154838.GA9446@thought.org> Message-ID: <20091004014121.GA15053@thought.org> On Fri, Oct 02, 2009 at 08:35:46PM -0700, Chris wrote: > > On Oct 2, 2009, at 8:48 AM, Gary Kline wrote: > > >On Fri, Oct 02, 2009 at 12:07:58PM +0200, DA Forsyth wrote: > >>On 2 Oct 2009 , freebsd-questions-request@freebsd.org entreated about > >>"freebsd-questions Digest, Vol 278, Issue 10": > >> > >>>Message: 28 > > > > What I'm looking for is how to use the ``better than the > > default voices''; there are several english languages that > > are fairly natural sounding. Nothing I've googled explain > > using the quality voices for FreeBSD. > > > > gary > > Gary, > > You should post this on the sourceforge forum for eSpeak. > I looked and it appears the developer himself responds to > questions people have. > > http://sourceforge.net/projects/espeak/forums > > Chris > i did look this up several hours ago. by the time i set up my account And figured out howto use the forum site i found there were several involving espeak and mbroloa, but none answered the question. they all involved linux--this probably wasn't that important to my question. while i will continue poking around. gary > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From perrin at apotheon.com Sun Oct 4 05:38:45 2009 From: perrin at apotheon.com (Chad Perrin) Date: Sun Oct 4 05:38:52 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <4AC70238.1000209@infracaninophile.co.uk> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> <4AC6A26E.9080405@gmail.com> <4297a9020910021815p60858505w89abbfa909b99340@mail.gmail.com> <20091003045640.GA28502@guilt.hydra> <5a3c8f450910022228k3c196b6ay1acc3031716d673d@mail.gmail.com> <4AC70238.1000209@infracaninophile.co.uk> Message-ID: <20091004053123.GA37100@guilt.hydra> On Sat, Oct 03, 2009 at 08:50:16AM +0100, Matthew Seaman wrote: > > Google apparently favours HTML-5 as their future direction, rather than > Flash. And where YouTube goes, the rest of the world will surely follow, > at least as far as Video streaming is concerned. Oh, thank goodness. Flash video is a blight. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091004/5726dc02/attachment.pgp From perrin at apotheon.com Sun Oct 4 05:39:41 2009 From: perrin at apotheon.com (Chad Perrin) Date: Sun Oct 4 05:39:48 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <4AC6E7A5.6090002@lazlarlyricon.com> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> <4AC6E7A5.6090002@lazlarlyricon.com> Message-ID: <20091004053221.GB37100@guilt.hydra> On Sat, Oct 03, 2009 at 07:56:53AM +0200, Rolf G Nielsen wrote: > > Where do I vote to have them continue forever not creating a FreeBSD > version of that crap? If you s/Free/Open/ I think the question answers itself. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091004/cac01e38/attachment.pgp From perrin at apotheon.com Sun Oct 4 05:41:33 2009 From: perrin at apotheon.com (Chad Perrin) Date: Sun Oct 4 05:41:41 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <19143.19392.666064.939130@jerusalem.litteratus.org> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> <4AC6E7A5.6090002@lazlarlyricon.com> <19143.19392.666064.939130@jerusalem.litteratus.org> Message-ID: <20091004053412.GC37100@guilt.hydra> On Sat, Oct 03, 2009 at 09:04:00AM -0400, Robert Huff wrote: > Rolf G Nielsen writes: > > > > Let's vote to have a native i386 / amd64 flash player \o/ .. > > > > Where do I vote to have them continue forever not creating a > > FreeBSD version of that crap? > > Is your objection to Flash in particular, or to any product in > that specific niche? I don't know about the other guy, but I find the Adobe Flash Player plugin pretty odious. Unfortunately, I also find Swfdec and Gnash pretty substandard as well. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091004/a469312f/attachment.pgp From perrin at apotheon.com Sun Oct 4 05:52:39 2009 From: perrin at apotheon.com (Chad Perrin) Date: Sun Oct 4 05:52:47 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <346226.13848.qm@web65503.mail.ac4.yahoo.com> References: <20091003120028.B0CEA10656A7@hub.freebsd.org> <346226.13848.qm@web65503.mail.ac4.yahoo.com> Message-ID: <20091004054518.GD37100@guilt.hydra> On Sat, Oct 03, 2009 at 08:01:07AM -0700, James Phillips wrote: > > I have this fantasy that if I design and build a better streaming video > format, "They" (broadcasters) will use it, if properly marketed. It may be a fantasy, but as fantasies go, it's not a bad one. > > This would be despite the lack of "strong" DRM or license terms (GPL v3 > is OK, right?). No, it isn't okay, really. > 4. Publishers are authenticated with a Public-key infrastructure That caught my attention. I don't think we necessarily need a mainstream style implementation of PKI, though. I'd say either go with simple public key digital signatures in the style of OpenPGP or take cues from the Perspectives plugin for Firefox and do distributed "web of trust" style verification. Certifying Authorities are basically just a social engineering trick; now, instead of trusting one party, you have to trust two. > > 2. For interoperability, I need to stabilize key points of the spec > before publication. Currently struggling with date stamps (taking into > account leap seconds) (mostly resolved), and a transform to allow the > publisher to be authenticated even if some data is missing. There are copyfree licensed implementations of date management that take leap seconds into account out there already. Is there some reason you can't borrow liberally from them? > 4. A dual-license may quickly result in a fork that implements > "features" I really don't want to see. (Read: anything deliberately > incompatible.) That's just another reason to go with a copyfree license instead of the GPL. > > 5. I seem to be pre-occupied with the video compression, ignoring > sound. > > PS: was this too off-topic? Maybe? I don't know. It's an interesting topic. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091004/bf815026/attachment.pgp From olli at lurza.secnetix.de Sun Oct 4 10:24:17 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Sun Oct 4 10:24:24 2009 Subject: Every 12-hrs -- "ad0: TIMEOUT - WRITE DMA" In-Reply-To: Message-ID: <200910041023.n94ANw9i008836@lurza.secnetix.de> This is a reply to a very old thread. I decided to reply because 1. nobody has mentioned the real cause of the problem yet (some answers were misleading or even outright wrong), 2. I've experienced the same problem in the past few weeks, 3. my findings might be useful for other people who are googling for the symptoms (like me) and stumble across this thread. The drive in question seems to be very popular, especially in low-end private servers and home machines. It is very reliable; I still have these and similar ones in production. The drive of mine that exhibited the problem recently is this: ad0: 24405MB at ata0-master UDMA66 It is powering a small server running DNS, SMTP, WWW and other things for several private domains. The load is very low, most of the time. Now for the actual problem: V.I.Victor wrote: > For the last 4-days, our (otherwise OK) 5.4-RELEASE machine has been > reporting: > > Feb 12 12:08:05 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2701279 > Feb 13 00:08:51 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2701279 > Feb 13 12:09:38 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2963331 > Feb 14 00:10:24 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2705947 > Feb 14 12:11:09 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2706335 > Feb 15 00:12:02 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2832383 > Feb 15 12:12:57 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=139839 > Feb 16 00:13:50 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=131391 > Feb 16 12:14:36 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=131391 > > The system was created Jan 08 and, prior to the above, the ad0: timeout had > only been reported twice: > > Jan 25 11:43:34 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=17920255 > Feb 6 11:59:42 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2832383 > [...] > ad0: 14664MB [29795/16/63] at ata0-master UDMA66 First of all: The disk is *not* dying. "SMART" won't reveal anything. The behaviour is perfectly normal for IBM-DJNA-3* type disks. When those disks are used in continuous operation (24/7), they will go into automatic maintenance mode after 6 days. This is kind of a short self-test and recalibration to ensure reliable continous operation. It will be repeated after another 6 days ad infinitum. Note that there are exactly 12 days between your Jan 25 and Feb 6 incidents, and exactly 6 days between Feb 6 and Feb 12 incidents. An automatic maintenance on Jan 31 apparently finished successfully without a timeout message. Normally the drive will wait until it detects an idle period, then perform the maintenance, then continue normal operation. Maintenance mode involves a short spin down / spin up cycle. However, if the drive receives a command during spin down, it will abort maintenance mode, spin up (which takes a few seconds and might cause a "timeout" to the operating system), then perform the command, and RETRY MAINTENACE AFTER 12 HOURS. So that's where your timeout messages every 12 hours come from. This is not in any way harmful. Eventually the maintenance will succeed (i.e. the idle period is long enough to finish), then you won't get timeout messages anymore for at least 6 days. You mentioned that the problem appeared (and disappeared) when you set the machine's clock. This is easy to explain, too. The hard disk has its own clock which is not synchronized with the system clock. It starts counting from zero when the disk is powered up. By changing the system's clock, you shift the offset between it and the drive's clock. That means that periodic activity will happen at different times, relative to the drive's clock. Such periodic activity includes cron jobs and other things. For example, sendmail's queue runner wakes up every 30 minutes by default. Many other daemons also perform periodic activity. All of that can happen to start in the middle of the idle period that the drive chose to use for its maintenance, thus interrupting maintenance, as described above. If the offset between the system's clock and the drive's clock changes, chances are that such periodic activity will happen at different times, from the point of view of the drive, so the likelihood that the drive can complete its maintenance changes (better or worse). Unfortunately there is no way to configure or disable that maintenance mode. The only way to somewhat control it is to periodically enforce a spin-down ("standby" ATA command) when you know that the drive is idle. This usually requires to unmount the filesystems, though, because otherwise you can't guarantee that they will be idle for long enough. You can read IBM's official documentation here: http://www.hitachigst.com/tech/techlib.nsf/techdocs/85256AB8006A31E587256A7900618DED/$file/djna_sp.pdf If that link doesn't work anymore, google for this: "OEM HARD DISK DRIVE SPECIFICATIONS for DJNA-3xxxxx" The maintenance mode is described in chapter 10.12 (page 99). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "I started using PostgreSQL around a month ago, and the feeling is similar to the switch from Linux to FreeBSD in '96 -- 'wow!'." -- Oddbjorn Steffensen From idmc_vivr at intgdev.com Sun Oct 4 11:47:08 2009 From: idmc_vivr at intgdev.com (V.I.Victor) Date: Sun Oct 4 12:02:48 2009 Subject: Every 12-hrs -- "ad0: TIMEOUT - WRITE DMA" Message-ID: [...] >First of all: The disk is *not* dying. "SMART" won't reveal anything. >The behaviour is perfectly normal for IBM-DJNA-3* type disks. > >When those disks are used in continuous operation (24/7), they >will go into automatic maintenance mode after 6 days. This is >kind of a short self-test and recalibration to ensure reliable >continous operation. It will be repeated after another 6 days >ad infinitum. > It's been over 3.5 years since my original post -- imagine my surprise! The drive's still running (24/7) and still reporting the same retries. Because of the pattern of the retries, I never really thought that the drive was bad. But, until now, I never knew why it was happening. Thanks *very* much for the info! From aaflatooni at yahoo.com Sun Oct 4 12:36:14 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Sun Oct 4 12:36:21 2009 Subject: Apache20 port on FreeBSD 7.2 does a core dump In-Reply-To: <741337.59760.qm@web56205.mail.re3.yahoo.com> References: <35656.54290.qm@web56206.mail.re3.yahoo.com> <44ocoo4eus.fsf@lowell-desk.lan> <11016.32541.qm@web56202.mail.re3.yahoo.com> <741337.59760.qm@web56205.mail.re3.yahoo.com> Message-ID: <53013.99292.qm@web56202.mail.re3.yahoo.com> > > On Sat, 3 Oct 2009 13:38 -0000, aaflatooni wrote: > > > > >> Aflatoon Aflatooni writes: > > >> > > >>> I am getting a lot of core dumps and Apache20 freezing. > > >>> I have installed the porting using the following make: > > >>> > > >>> make WITHOUT_MODULES="ssl status speling imap auth_dbm auth_digest dav > > dav_fs > > >> cern_meta cgi include" install > > >>> > > >>> any suggestions as to how I might find out what is causing the problem and > > > the > > >> core dumps. > > >> > > >> The first thing I'd try is re-including the excluded modules. > > >> If you no longer get the crashes, you can start narrowing in on which > > >> one is involved.? If you still get the crashes, you'll have to start > > >> looking at the core files. > > >> > > >> I'm assuming you're not used to using a debugger on a core file, > > >> on the theory that you would have done that already if you were > > >> comfortable with it. > > >> > > > > > > I originally had them included and I was getting the core dumps, but I > removed > > them because I don't need them and I am still getting the core dumps. > > > > > > This is a production box and it would be hard to have debugger turned on. > > > I don't know if it would be helpful, but PHP is also really slow on this > > machine. I know that PHP would cause a dump in the php.core file and not > > apache.core. > > > > > > How do I inspect the core file to find out which module caused it? > > > > > > Thanks > > > > > > > > > > Have you any special php5 modules loaded. I had a problem with I want to > recall > > three or more extensions that would cause apache2X to dump core or halt in > doing > > > > any further actions upon request. > > > > If the above is the case you can disable some or all of your php5-extensions > in > > local/etc/php/extensions.ini to test it out. > > > > Best of luck. > > > Thanks, > I followed your suggestion and removed all but the necessary modules from the > extensions.ini. I will have to wait and see if it helps the core dumps. > > So at this time I have the following in the extensions: > extension=gd.so > extension=mcrypt.so > extension=mysql.so > extension=simplexml.so > extension=spl.so > extension=mysqli.so > extension=session.so > extension=tokenizer.so > extension=xml.so > > PHP is still?slow though! > ? Just an update: I still get the httpd.core dumps and PHP5 is visibly slower. Nothing has helped the situation. From herbert.raimund at gmx.net Sun Oct 4 13:17:18 2009 From: herbert.raimund at gmx.net (herbert langhans) Date: Sun Oct 4 13:17:26 2009 Subject: Deleting the kernel source - just with #rm? Message-ID: <20091004131504.GB1406@sandcat> Daemons, a little question. I just compiled a nice, slim kernel on my laptop, but I dont want to carry all the kernel sources around there. Is it ok just to #rm the content of the /usr/src directory? And will I get it completely back from sysinstall or the FreeBSD-servers? Or is there a more elegant solution on FreeBSD? Thanks! herb langhans -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 From mail at ozzmosis.com Sun Oct 4 13:37:41 2009 From: mail at ozzmosis.com (andrew clarke) Date: Sun Oct 4 13:37:48 2009 Subject: Deleting the kernel source - just with #rm? In-Reply-To: <20091004131504.GB1406@sandcat> References: <20091004131504.GB1406@sandcat> Message-ID: <20091004133737.GA63827@ozzmosis.com> On Sun 2009-10-04 15:15:05 UTC+0200, herbert langhans (herbert.raimund@gmx.net) wrote: > I just compiled a nice, slim kernel on my laptop, but I dont want to > carry all the kernel sources around there. > > Is it ok just to #rm the content of the /usr/src directory? And will I > get it completely back from sysinstall or the FreeBSD-servers? Or is > there a more elegant solution on FreeBSD? This should be fine. Since you've built a custom kernel you may want to keep a copy of your kernel build config ("LINT") file, eg. /usr/src/sys/i386/conf/HOSTNAME. Note that you can't use freebsd-update to patch a custom (non-GENERIC) kernel. You can restore the kernel source code by extracting the ssys.?? binaries (normally found in the /src/ directory, eg. ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.2-RELEASE/src/ ) using install.sh (found in the same directory). Probably also with sysinstall, but I don't recall the steps to do that. Regards Andrew From rodolfopellegrino at gmail.com Sun Oct 4 13:56:48 2009 From: rodolfopellegrino at gmail.com (Rodolfo Pellegrino) Date: Sun Oct 4 13:56:54 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> Message-ID: <2cad60ad0910040627ha564ba2vaa64043c3a22ddc7@mail.gmail.com> On Fri, Oct 2, 2009 at 9:25 PM, Leandro F Silva wrote: > Hey guys, > > Let's vote to have a native i386 / amd64 flash player \o/ .. > > We just have to create an account and voting on the link below =D > > http://bugs.adobe.com/jira/browse/FP-1060 > > I voted and added a coment: * "Maybe it requires licensing fees, like Java, but most of us use it like a player (Youtube) or games (Kongregate), among other. I don't want to switch to other operating system in order to view the Flash content."* Good luck! (Boa Sorte!) From wbryan01 at mi.rr.com Sun Oct 4 12:16:12 2009 From: wbryan01 at mi.rr.com (wbryan01@mi.rr.com) Date: Sun Oct 4 13:59:14 2009 Subject: complements to the chief Message-ID: <20091004120241.TS9CR.47860.root@hrndva-web09-z01> I am a system 5 and linux person ( sorry ) for a long time (1987) But I chose to look at your site this morning. I am VERY VERY impressed by the fact that you folks have created a comprehensive list of hardware supported in your distribution. Way to GO!!!! I do not believe that I will ever see such a list in the Linux world. Too bad for me. From herbert.raimund at gmx.net Sun Oct 4 14:31:21 2009 From: herbert.raimund at gmx.net (herbert langhans) Date: Sun Oct 4 14:31:28 2009 Subject: Deleting the kernel source - just with #rm? In-Reply-To: <20091004133737.GA63827@ozzmosis.com> References: <20091004131504.GB1406@sandcat> <20091004133737.GA63827@ozzmosis.com> Message-ID: <20091004142908.GA18329@sandcat> Thank you, Andrew, clicketyclick - all source code gone now, and the config file is saved. Can you please tell me about the issue with freebsd-update. Does it mean if I run: #freebsd-update fetch #freebsd-update install - it will overwrite my self compiled kernel? Good to know indeed! Cheers herb langhans On Mon, Oct 05, 2009 at 12:37:37AM +1100, andrew clarke wrote: > On Sun 2009-10-04 15:15:05 UTC+0200, herbert langhans (herbert.raimund@gmx.net) wrote: > > > I just compiled a nice, slim kernel on my laptop, but I dont want to > > carry all the kernel sources around there. > > > > Is it ok just to #rm the content of the /usr/src directory? And will I > > get it completely back from sysinstall or the FreeBSD-servers? Or is > > there a more elegant solution on FreeBSD? > > This should be fine. > > Since you've built a custom kernel you may want to keep a copy of > your kernel build config ("LINT") file, eg. /usr/src/sys/i386/conf/HOSTNAME. > > Note that you can't use freebsd-update to patch a custom (non-GENERIC) > kernel. > > You can restore the kernel source code by extracting the ssys.?? > binaries (normally found in the /src/ directory, eg. > ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.2-RELEASE/src/ ) > using install.sh (found in the same directory). Probably also with > sysinstall, but I don't recall the steps to do that. > > Regards > Andrew > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 From mail at ozzmosis.com Sun Oct 4 14:42:16 2009 From: mail at ozzmosis.com (andrew clarke) Date: Sun Oct 4 14:42:22 2009 Subject: Deleting the kernel source - just with #rm? In-Reply-To: <20091004142908.GA18329@sandcat> References: <20091004131504.GB1406@sandcat> <20091004133737.GA63827@ozzmosis.com> <20091004142908.GA18329@sandcat> Message-ID: <20091004144213.GA64394@ozzmosis.com> On Sun 2009-10-04 16:29:08 UTC+0200, herbert langhans (herbert.raimund@gmx.net) wrote: > Can you please tell me about the issue with freebsd-update. Does it mean if I run: > #freebsd-update fetch > #freebsd-update install > - it will overwrite my self compiled kernel? Good to know indeed! No, I suspect freebsd-update will simply refuse to patch it. From herbert.raimund at gmx.net Sun Oct 4 14:50:44 2009 From: herbert.raimund at gmx.net (herbert langhans) Date: Sun Oct 4 14:50:52 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> Message-ID: <20091004144831.GB18329@sandcat> Yep, I am in. I signed here: http://bugs.adobe.com/jira/browse/FP-1060 and also there: http://www.petitiononline.com/flash4me/petition.html Its the last thing I need to have a full native FreeBSD environment. Maybe you should dig out this thread after some weeks again, Leandro. I guess we can gather some more signatures from recent subscribers. Cheers herb langhans On Fri, Oct 02, 2009 at 09:25:53PM -0300, Leandro F Silva wrote: > Hey guys, > > Let's vote to have a native i386 / amd64 flash player \o/ .. > > We just have to create an account and voting on the link below =D > > http://bugs.adobe.com/jira/browse/FP-1060 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 From rsmith at xs4all.nl Sun Oct 4 15:08:11 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Oct 4 15:08:18 2009 Subject: Deleting the kernel source - just with #rm? In-Reply-To: <20091004131504.GB1406@sandcat> References: <20091004131504.GB1406@sandcat> Message-ID: <20091004150809.GA73704@slackbox.xs4all.nl> On Sun, Oct 04, 2009 at 03:15:05PM +0200, herbert langhans wrote: > I just compiled a nice, slim kernel on my laptop, but I dont want to carry > all the kernel sources around there. Keep in mind that some ports (those that contain kernel modules) require the kernel sources. On my 7.2-RELEASE-p4 machine, /usr/src uses 495 MiB according to du(1). A bzip2 compressed tar archive of /usr/src weighs in at 83 MiB. If you are suffering from space constraints, consider doing a trimmed-down buildworld (on an external disk or on another machine) as well. Using src.conf(5) you can exclude a lot of stuff from the base system if you don't need it. 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091004/a2fc48bc/attachment.pgp From anti_spam256 at yahoo.ca Sun Oct 4 15:33:04 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Sun Oct 4 15:33:10 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <20091004120022.6765210657A0@hub.freebsd.org> Message-ID: <553217.31319.qm@web65506.mail.ac4.yahoo.com> > > Message: 29 > Date: Sat, 3 Oct 2009 23:45:18 -0600 > From: Chad Perrin > Subject: Re: Voting for a native i386/amd64 flash player > To: freebsd-questions@freebsd.org > Message-ID: <20091004054518.GD37100@guilt.hydra> > Content-Type: text/plain; charset="us-ascii" > > On Sat, Oct 03, 2009 at 08:01:07AM -0700, James Phillips > wrote: > > > > I have this fantasy that if I design and build a > better streaming video > > format, "They" (broadcasters) will use it, if properly > marketed. > > It may be a fantasy, but as fantasies go, it's not a bad > one. > > > > > > This would be despite the lack of "strong" DRM or > license terms (GPL v3 > > is OK, right?). > > No, it isn't okay, really. That's ok: I've thought of an "out" for the licensing issue: I can write up an RFC. That way the BSD people can boast about their "reference implementation," while the GNU zealots can be assured that their "pure" implementation won't be leveraged against them. > > >? 4. Publishers are authenticated with a > Public-key infrastructure > > That caught my attention.? I don't think we > necessarily need a mainstream > style implementation of PKI, though.? I'd say either > go with simple > public key digital signatures in the style of OpenPGP or > take cues from > the Perspectives plugin for Firefox and do distributed "web > of trust" > style verification.? Certifying Authorities are > basically just a social > engineering trick; now, instead of trusting one party, you > have to trust > two. I think I fell into the trap of using buzzwords. I *know* Certifying Authorities are an interm scam needed until the general population understands how public keys work. I think PGP style (but binary) signatures on every ~32kB packet solves the problem of authentication in the event of of missing packets. I was envisioning that the CNN's and BBC's of the world would have a series of public keys (one for each bureau), while Joe down the street would have 1 or 2 (one public, one for darknets). > > > > 2. For interoperability, I need to stabilize key > points of the spec > > before publication. Currently struggling with date > stamps (taking into > > account leap seconds) (mostly resolved), and a > transform to allow the > > publisher to be authenticated even if some data is > missing. > > There are copyfree licensed implementations of date > management that take > leap seconds into account out there already.? Is there > some reason you > can't borrow liberally from them? Probably because I don't know about them :) Actually, I was planning to borrow from Unix Time, increasing the resolution, and making the number signed (for old recordings). But, Unix time doesn't do leap seconds, so they have to be added back in. Just recently, (reading cal(1)) I realized another problem: not everyone uses the Gregorian Calendar. Now I have to decide how to take that into account sufficiently. > > 4. A dual-license may quickly result in a fork that > implements > > "features" I really don't want to see. (Read: anything > deliberately > > incompatible.) > > That's just another reason to go with a copyfree license > instead of the > GPL. > A copyfree license wouldn't have a "stick" preventing the implementation of an "effective technological measure" as described in Article 11 the 1996 WIPO treaty (GPL v3 does). If the (hypothetical) RFC explicitly says that copy-protection won't work (in the "security considerations" section), MAYBE a judge will decide any incompatible implementation is also ineffective at "copy protection." Regards, James Phillips __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. From jhell at DataIX.net Sun Oct 4 17:07:11 2009 From: jhell at DataIX.net (jhell) Date: Sun Oct 4 17:07:17 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <553217.31319.qm@web65506.mail.ac4.yahoo.com> References: <553217.31319.qm@web65506.mail.ac4.yahoo.com> Message-ID: On Sun, 4 Oct 2009 08:33 -0700, anti_spam256@ wrote: > > > >> >> Message: 29 >> Date: Sat, 3 Oct 2009 23:45:18 -0600 >> From: Chad Perrin >> Subject: Re: Voting for a native i386/amd64 flash player >> To: freebsd-questions@freebsd.org >> Message-ID: <20091004054518.GD37100@guilt.hydra> >> Content-Type: text/plain; charset="us-ascii" >> >> On Sat, Oct 03, 2009 at 08:01:07AM -0700, James Phillips >> wrote: >>> >>> I have this fantasy that if I design and build a >> better streaming video >>> format, "They" (broadcasters) will use it, if properly >> marketed. >> >> It may be a fantasy, but as fantasies go, it's not a bad >> one. >> >> >>> >>> This would be despite the lack of "strong" DRM or >> license terms (GPL v3 >>> is OK, right?). >> >> No, it isn't okay, really. > > That's ok: I've thought of an "out" for the licensing issue: > I can write up an RFC. That way the BSD people can boast about their "reference implementation," while the GNU zealots can be assured that their "pure" implementation won't be leveraged against them. > >> >>> ? 4. Publishers are authenticated with a >> Public-key infrastructure >> >> That caught my attention.? I don't think we >> necessarily need a mainstream >> style implementation of PKI, though.? I'd say either >> go with simple >> public key digital signatures in the style of OpenPGP or >> take cues from >> the Perspectives plugin for Firefox and do distributed "web >> of trust" >> style verification.? Certifying Authorities are >> basically just a social >> engineering trick; now, instead of trusting one party, you >> have to trust >> two. > > I think I fell into the trap of using buzzwords. I *know* Certifying Authorities are an interm scam needed until the general population understands how public keys work. > > I think PGP style (but binary) signatures on every ~32kB packet solves the problem of authentication in the event of of missing packets. > > I was envisioning that the CNN's and BBC's of the world would have a series of public keys (one for each bureau), while Joe down the street would have 1 or 2 (one public, one for darknets). > > > >>> >>> 2. For interoperability, I need to stabilize key >> points of the spec >>> before publication. Currently struggling with date >> stamps (taking into >>> account leap seconds) (mostly resolved), and a >> transform to allow the >>> publisher to be authenticated even if some data is >> missing. >> >> There are copyfree licensed implementations of date >> management that take >> leap seconds into account out there already.? Is there >> some reason you >> can't borrow liberally from them? > > Probably because I don't know about them :) > > Actually, I was planning to borrow from Unix Time, increasing the resolution, and making the number signed (for old recordings). > > But, Unix time doesn't do leap seconds, so they have to be added back in. > > Just recently, (reading cal(1)) I realized another problem: not everyone uses the Gregorian Calendar. Now I have to decide how to take that into account sufficiently. > >>> 4. A dual-license may quickly result in a fork that >> implements >>> "features" I really don't want to see. (Read: anything >> deliberately >>> incompatible.) >> >> That's just another reason to go with a copyfree license >> instead of the >> GPL. >> > > A copyfree license wouldn't have a "stick" preventing the implementation of an "effective technological measure" as described in Article 11 the 1996 WIPO treaty (GPL v3 does). > > If the (hypothetical) RFC explicitly says that copy-protection won't work (in the "security considerations" section), MAYBE a judge will decide any incompatible implementation is also ineffective at "copy protection." > > > Regards, > > James Phillips > > > > > > __________________________________________________________________ > Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now > http://ca.toolbar.yahoo.com. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > So how many different subjects are in here that don't thread ? With all due respect: wheres Waldo ? -- %{----------------------------------------------------+ | dataix.net!jhell 2048R/89D8547E 2009-09-30 | | BSD since FreeBSD 4.2 Linux since Slackware 2.1 | | 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E | +----------------------------------------------------%} From roberthuff at rcn.com Sun Oct 4 17:26:14 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Oct 4 17:26:21 2009 Subject: Deleting the kernel source - just with #rm? In-Reply-To: <20091004150809.GA73704@slackbox.xs4all.nl> References: <20091004131504.GB1406@sandcat> <20091004150809.GA73704@slackbox.xs4all.nl> Message-ID: <19144.55988.434058.612528@jerusalem.litteratus.org> Roland Smith writes: > > I just compiled a nice, slim kernel on my laptop, but I dont > > want to carry all the kernel sources around there. > > Keep in mind that some ports (those that contain kernel modules) > require the kernel sources. And not just kernel modules. The popular and useful sysutils/lsof not only requires the source tree (or at least some part of it), but requires the source match the running kernel. Robert Huff From vinzstyle at free.fr Sun Oct 4 18:58:31 2009 From: vinzstyle at free.fr (Vinzstyle) Date: Sun Oct 4 18:58:42 2009 Subject: Postfix doesn't start Message-ID: <200910042041.32454.vinzstyle@free.fr> Hi, I installed Postfix with PCRE support from the ports collection, but I get this error when I try to start it : Oct 4 20:22:09 mail postfix/postfix-script[47114]: starting the Postfix mail system Oct 4 20:22:09 mail postfix/master[47115]: fatal: open lock file /var/db/postfix/master.lock: cannot open file: Permission denied [root@mail /]# ls -ld /var/db/postfix/ drwx------ 2 postfix wheel 512 Oct 4 20:16 /var/db/postfix/ The "mail_owner" directive is set to "postfix" in main.cf Is there some things to set up after the "make install" ? Did I miss something ? I'm running FreeBSD-7.2-RELEASE, and Postfix(-2.5.6,1) is started inside a jail. Thanks for your help :) From yblent8 at gmail.com Sun Oct 4 19:09:22 2009 From: yblent8 at gmail.com (yblent8@gmail.com) Date: Sun Oct 4 19:09:29 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> Message-ID: <14187016.21254681755016.JavaMail.root@wombat> -- Leandro F Silva wrote : Hey guys, Let's vote to have a native i386 / amd64 flash player \o/ .. We just have to create an account and voting on the link below =D http://bugs.adobe.com/jira/browse/FP-1060 _______________________________________________ freebsd-questions@free... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@free..." -- This message was sent on behalf of yblent8@gmail.com at openSubscriber.com http://www.opensubscriber.com/message/freebsd-questions@freebsd.org/12886636.html From vinzstyle at free.fr Sun Oct 4 19:33:23 2009 From: vinzstyle at free.fr (Vinzstyle) Date: Sun Oct 4 19:33:32 2009 Subject: Postfix doesn't start In-Reply-To: <2117530918-1254683459-cardhu_decombobulator_blackberry.rim.net-1616429688-@bda081.bisx.prod.on.blackberry> References: <200910042041.32454.vinzstyle@free.fr> <2117530918-1254683459-cardhu_decombobulator_blackberry.rim.net-1616429688-@bda081.bisx.prod.on.blackberry> Message-ID: <200910042133.12933.vinzstyle@free.fr> Le dimanche 4 octobre 2009 21:09:05 jgimer@gmail.com, vous avez ?crit : > What are the actual permissions on the lock file, not just the containing > directory? > > Josh > Sent via BlackBerry from T-Mobile > > -----Original Message----- > From: Vinzstyle > Date: Sun, 4 Oct 2009 20:41:32 > To: > Subject: Postfix doesn't start > > Hi, > > I installed Postfix with PCRE support from the ports collection, but I get > this error when I try to start it : > > Oct 4 20:22:09 mail postfix/postfix-script[47114]: starting the Postfix > mail system > Oct 4 20:22:09 mail postfix/master[47115]: fatal: open lock file > /var/db/postfix/master.lock: cannot open file: Permission denied > > [root@mail /]# ls -ld /var/db/postfix/ > drwx------ 2 postfix wheel 512 Oct 4 20:16 /var/db/postfix/ > > The "mail_owner" directive is set to "postfix" in main.cf > > Is there some things to set up after the "make install" ? Did I miss > something ? > > I'm running FreeBSD-7.2-RELEASE, and Postfix(-2.5.6,1) is started inside a > jail. > > Thanks for your help :) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" The file isn't created by "make install". If I create it with permissions 666 and postfix as owner, I get the same error message... From jgimer at gmail.com Sun Oct 4 19:42:16 2009 From: jgimer at gmail.com (jgimer@gmail.com) Date: Sun Oct 4 19:42:25 2009 Subject: Postfix doesn't start In-Reply-To: <200910042041.32454.vinzstyle@free.fr> References: <200910042041.32454.vinzstyle@free.fr> Message-ID: <2117530918-1254683459-cardhu_decombobulator_blackberry.rim.net-1616429688-@bda081.bisx.prod.on.blackberry> What are the actual permissions on the lock file, not just the containing directory? Josh Sent via BlackBerry from T-Mobile -----Original Message----- From: Vinzstyle Date: Sun, 4 Oct 2009 20:41:32 To: Subject: Postfix doesn't start Hi, I installed Postfix with PCRE support from the ports collection, but I get this error when I try to start it : Oct 4 20:22:09 mail postfix/postfix-script[47114]: starting the Postfix mail system Oct 4 20:22:09 mail postfix/master[47115]: fatal: open lock file /var/db/postfix/master.lock: cannot open file: Permission denied [root@mail /]# ls -ld /var/db/postfix/ drwx------ 2 postfix wheel 512 Oct 4 20:16 /var/db/postfix/ The "mail_owner" directive is set to "postfix" in main.cf Is there some things to set up after the "make install" ? Did I miss something ? I'm running FreeBSD-7.2-RELEASE, and Postfix(-2.5.6,1) is started inside a jail. Thanks for your help :) _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From olli at lurza.secnetix.de Sun Oct 4 20:01:31 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Sun Oct 4 20:01:39 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> Message-ID: <200910042001.n94K1EVZ030540@lurza.secnetix.de> Leandro F Silva wrote: > Hey guys, > > Let's vote to have a native i386 / amd64 flash player \o/ .. The latest Linuxulator works quite well on -current with the Linux flash binary + pluginwrapper port, doesn't it? Works for me, at least. > We just have to create an account and voting on the link below =D > > http://bugs.adobe.com/jira/browse/FP-1060 There's no way I'm going to create an account at Adobe and give them my personal data. No thanks. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "And believe me, as a C++ programmer, I don't hesitate to question the decisions of language designers. After a decent amount of C++ exposure, Python's flaws seem ridiculously small." -- Ville Vainio From nlandys at gmail.com Sun Oct 4 21:06:37 2009 From: nlandys at gmail.com (Nerius Landys) Date: Sun Oct 4 21:06:44 2009 Subject: Xorg mouse not working after upgrade (console mouse works) Message-ID: <560f92640910041406m7755f879k19455f204202d927@mail.gmail.com> I had everything (Xorg + console mouse) working perfectly on my 6.3 system with slightly outdated ports. Now I upgraded to 6.4 and the latest ports. I am getting some strange behavior with respect to the mouse. I did adjust some lines of rc.conf in the process of trying to debug the problem (moused used to be enabled and now it's not). I have a run-of-the-mill USB mouse hooked up. In the console (before I type "startx"), I am able to move the mouse cursor and copy+paste just fine in the console. My rc.conf looks like this (surprisingly, moused is NOT enalbed, and the console mouse DOES WORK FINE): defaultrouter="192.168.0.254" hostname="tweety.i" ifconfig_em0="inet 192.168.0.5 netmask 255.255.255.0" sshd_enable="YES" usbd_enable="YES" # added by xorg-libraries port local_startup="/usr/local/etc/rc.d" hald_enable="YES" dbus_enable="YES" When I "startx", the mouse cursor won't move. I have nothing currently in /etc/X11/xorg.conf (it's missing). I tried "Xorg -configure" and copying the output of that to /etc/X11/xorg.conf, but no change in behavior. I am also trying to add moused_enable="YES" to my rc.conf. Then when I try to start moused, I get the following error: Starting default moused:moused: unable to open /dev/psm0: No such file or directory Had a look in /etc/defaults/rc.conf, but cannot decide on what to change in /etc/rc.conf to make X work. I really see no point in starting moused if the console mouse is already working, however. Is that correct? When I generated the xorg.conf with "Xorg -configure", I did see this section in the xorg.conf: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Any ideas on how to get mouse to work in X? I had a good look at the Handbook but everything I tried there did not fix the problem. From glen.j.barber at gmail.com Sun Oct 4 21:11:18 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Oct 4 21:11:25 2009 Subject: Xorg mouse not working after upgrade (console mouse works) In-Reply-To: <560f92640910041406m7755f879k19455f204202d927@mail.gmail.com> References: <560f92640910041406m7755f879k19455f204202d927@mail.gmail.com> Message-ID: <4ad871310910041411l43981ee3l8ac1b7ee8275f9ab@mail.gmail.com> Hi, On Sun, Oct 4, 2009 at 5:06 PM, Nerius Landys wrote: [snip] > > When I "startx", the mouse cursor won't move. ?I have nothing > currently in /etc/X11/xorg.conf (it's missing). ?I tried "Xorg > -configure" and copying the output of that to /etc/X11/xorg.conf, but > no change in behavior. > [snip] Have a look at ports/UPDATING, 20090124 20090123. I, personally, am not a fan of requiring hald/dbus to enable my mouse. I added the following to my xorg.conf: Section "ServerFlags" option "AutoAddDevices" "off" option "AllowEmptyInput" "off" EndSection HTH -- Glen Barber From anti_spam256 at yahoo.ca Sun Oct 4 21:54:25 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Sun Oct 4 21:54:31 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: Message-ID: <798452.46523.qm@web65507.mail.ac4.yahoo.com> --- On Sun, 10/4/09, jhell wrote: > From: jhell > Subject: Re: Voting for a native i386/amd64 flash player > To: "James Phillips" > Cc: freebsd-questions@freebsd.org > Received: Sunday, October 4, 2009, 1:07 PM > > > > On Sun, 4 Oct 2009 08:33 -0700, anti_spam256@ wrote: > > So how many different subjects are in here that don't > thread ? > > With all due respect: wheres Waldo ? > Most on-topic is probably the licensing issue: I like the GPLv3, but many BSD users don't like it for the same reasons. I don't want to publish comprehensive details about my (video format) idea until I have the format defined in a forward-compatible way. AS I am fantasy land, I think that people will try implementing incompatible versions as soon as it's published. The risk is that may happen anyway if my format is not "good enough." I haven't even done testing to find out how well compression is performed. Second-Worst case (mono white noise), I estimate that loss-less compression will only be able to compress frame changes to ~25% of the original frame size. Lossy compression will be a simple averaging of nearby pixels for (multiples of) ~4:1 compression. Mpeg is supposed to get up to 300:1. TL;DR: If you have to ask what the point is, it is probably off-topic and I can shut-up now. Regards, James Phillips __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From wblock at wonkity.com Sun Oct 4 22:45:16 2009 From: wblock at wonkity.com (Warren Block) Date: Sun Oct 4 22:45:22 2009 Subject: Xorg mouse not working after upgrade (console mouse works) In-Reply-To: <560f92640910041406m7755f879k19455f204202d927@mail.gmail.com> References: <560f92640910041406m7755f879k19455f204202d927@mail.gmail.com> Message-ID: On Sun, 4 Oct 2009, Nerius Landys wrote: > I had everything (Xorg + console mouse) working perfectly on my 6.3 > system with slightly outdated ports. Now I upgraded to 6.4 and the > latest ports. I am getting some strange behavior with respect to the > mouse. I did adjust some lines of rc.conf in the process of trying to > debug the problem (moused used to be enabled and now it's not). > > I have a run-of-the-mill USB mouse hooked up. > > In the console (before I type "startx"), I am able to move the mouse > cursor and copy+paste just fine in the console. My rc.conf looks like > this (surprisingly, moused is NOT enalbed, and the console mouse DOES > WORK FINE): But if you check with ps, you'll find moused is running anyway. It gets started so that hotplugging USB mice works. See moused_nondefault_enable in rc.conf(5). Since you have a USB mouse, you might as well add moused_enable="YES" to rc.conf. > defaultrouter="192.168.0.254" > hostname="tweety.i" > ifconfig_em0="inet 192.168.0.5 netmask 255.255.255.0" > sshd_enable="YES" > usbd_enable="YES" > # added by xorg-libraries port > local_startup="/usr/local/etc/rc.d" > hald_enable="YES" > dbus_enable="YES" > > When I "startx", the mouse cursor won't move. I have nothing > currently in /etc/X11/xorg.conf (it's missing). Make sure that there isn't an xorg.conf somewhere else that's being used. /var/log/Xorg.0.log will show for sure: (==) Using config file: "/usr/local/lib/X11/xorg.conf" > I tried "Xorg -configure" and copying the output of that to > /etc/X11/xorg.conf, but no change in behavior. That produces an increasingly outdated config file. > I am also trying to add > > moused_enable="YES" > > to my rc.conf. Then when I try to start moused, I get the following error: > > Starting default moused:moused: unable to open /dev/psm0: No such > file or directory Remember that moused is already running, and you may have to kill it before trying to re-run it with /etc/rc.d/moused. Running 6.4 might make a difference, too; I don't know. > Had a look in /etc/defaults/rc.conf, but cannot decide on what to > change in /etc/rc.conf to make X work. > > I really see no point in starting moused if the console mouse is > already working, however. Is that correct? > > When I generated the xorg.conf with "Xorg -configure", I did see this > section in the xorg.conf: > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > Option "ZAxisMapping" "4 5 6 7" > EndSection > > Any ideas on how to get mouse to work in X? I had a good look at the > Handbook but everything I tried there did not fix the problem. Enable hal and dbus (and moused) in rc.conf. Make sure all are started and continue running; hal erroring out can be annoying. If you were running without an xorg.conf before, that should be enough. -Warren Block * Rapid City, South Dakota USA From andy at neu.net Sun Oct 4 23:45:37 2009 From: andy at neu.net (AN) Date: Sun Oct 4 23:45:46 2009 Subject: RealPlayer broken Message-ID: On a new install of 8.0RC1, Realplayer fails to start with the following: # realplay Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: cannot open shared object file: No such file or directory Segmentation fault: 11 (core dumped) uname -a FreeBSD core2.fu.bar 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 20:45:19 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 pkg_info: gnome2-2.26.3 pkg_info -xI linux linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux Fedora 10) linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10) linux-f10-curl-7.19.4_4 The command line tool for transferring files with URL synta linux-f10-cyrus-sasl2-2.1.22 RFC 2222 SASL (Simple Authentication and Security Layer) (L linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing library (Linux linux-f10-flashplugin-10.0r32 Adobe Flash Player NPAPI Plugin linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X Windows (Linux Fe linux-f10-gtk2-2.14.7 GTK+ library, version 2.X (Linux Fedora 10) linux-f10-jpeg-6b RPM of the JPEG lib (Linux Fedora 10) linux-f10-libssh2-0.18 The library implementing the SSH2 protocol (Linux Fedora 10 linux-f10-nspr-4.7.4 Netscape Portable Runtime (Linux Fedora 10) linux-f10-nss-3.12.2.0 Network Security Services (Linux Fedora 10) linux-f10-openldap-2.4.12_1 Lightweight Directory Access Protocol libraries (Linux Fedo linux-f10-openssl-0.9.8g The OpenSSL toolkit (Linux Fedora 10) linux-f10-pango-1.22.3 The pango library (Linux Fedora 10) linux-f10-png-1.2.37 RPM of the PNG lib (Linux Fedora 10) linux-f10-sqlite3-3.5.9_1 The library that implements an embeddable SQL database engi linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 10) linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from RealNetworks linux_base-f10-10_2 Base set of packages needed in Linux mode for i386/amd64 (L I have Googled, however there is no mention of a solution. Any help is appreciated. TIA From nlandys at gmail.com Sun Oct 4 23:45:42 2009 From: nlandys at gmail.com (Nerius Landys) Date: Sun Oct 4 23:45:58 2009 Subject: Xorg mouse not working after upgrade (console mouse works) In-Reply-To: References: <560f92640910041406m7755f879k19455f204202d927@mail.gmail.com> Message-ID: <560f92640910041640s3f754ffetf67f94d3c285c600@mail.gmail.com> Thanks for the tips guys. I had a close look at both suggestions. After further experimentation I found that this line in rc.conf: usbd_enable="YES" was causing the mouse pointer not to work in Xorg. Simply removing that line, all works perfectly. So my end-result rc.conf is: defaultrouter="192.168.0.254" hostname="tweety.i" ifconfig_em0="inet 192.168.0.5 netmask 255.255.255.0" sshd_enable="YES" # added by xorg-libraries port local_startup="/usr/local/etc/rc.d" hald_enable="YES" dbus_enable="YES" I found that adding the moused start just adds more confusion, especially because moused is already started automatically because of, I guess, the hald. I just hope I'm not missing out on not having usbd_enable. Kinda confusing stuff, I'm sure it's smoother in 7.x or 8.0. From wblock at wonkity.com Mon Oct 5 00:29:59 2009 From: wblock at wonkity.com (Warren Block) Date: Mon Oct 5 00:30:06 2009 Subject: Xorg mouse not working after upgrade (console mouse works) In-Reply-To: <560f92640910041640s3f754ffetf67f94d3c285c600@mail.gmail.com> References: <560f92640910041406m7755f879k19455f204202d927@mail.gmail.com> <560f92640910041640s3f754ffetf67f94d3c285c600@mail.gmail.com> Message-ID: On Sun, 4 Oct 2009, Nerius Landys wrote: > Thanks for the tips guys. I had a close look at both suggestions. > > After further experimentation I found that this line in rc.conf: > > usbd_enable="YES" > > was causing the mouse pointer not to work in Xorg. Simply removing > that line, all works perfectly. Huh. usbd went away at some point around 6.4, so that line shouldn't do anything. I think. > So my end-result rc.conf is: > > defaultrouter="192.168.0.254" > hostname="tweety.i" > ifconfig_em0="inet 192.168.0.5 netmask 255.255.255.0" > sshd_enable="YES" > # added by xorg-libraries port > local_startup="/usr/local/etc/rc.d" > hald_enable="YES" > dbus_enable="YES" > > I found that adding the moused start just adds more confusion, > especially because moused is already started automatically because of, > I guess, the hald. > > I just hope I'm not missing out on not having usbd_enable. > > Kinda confusing stuff, I'm sure it's smoother in 7.x or 8.0. > -Warren Block * Rapid City, South Dakota USA From kline at thought.org Mon Oct 5 00:54:09 2009 From: kline at thought.org (Gary Kline) Date: Mon Oct 5 00:54:17 2009 Subject: Voting for a native i386/amd64 flash player In-Reply-To: <200910042001.n94K1EVZ030540@lurza.secnetix.de> References: <28f938b10910021725p7e615617xf21639d3fb7fcc9d@mail.gmail.com> <200910042001.n94K1EVZ030540@lurza.secnetix.de> Message-ID: <20091005005402.GA41636@thought.org> On Sun, Oct 04, 2009 at 10:01:14PM +0200, Oliver Fromme wrote: > Leandro F Silva wrote: > > Hey guys, > > > > Let's vote to have a native i386 / amd64 flash player \o/ .. > > The latest Linuxulator works quite well on -current with > the Linux flash binary + pluginwrapper port, doesn't it? > Works for me, at least. > > > We just have to create an account and voting on the link below =D > > > > http://bugs.adobe.com/jira/browse/FP-1060 > > There's no way I'm going to create an account at Adobe > and give them my personal data. No thanks. > > Best regards > Oliver > > sorry if this is just a ``me too'', but i cannot wait for flashit to die [an overdue death] gary ps i'll sign up wherever i can! > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. > Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- > chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart > > FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd > > "And believe me, as a C++ programmer, I don't hesitate to question > the decisions of language designers. After a decent amount of C++ > exposure, Python's flaws seem ridiculously small." -- Ville Vainio > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From apseudoutopia at gmail.com Mon Oct 5 08:08:47 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Mon Oct 5 08:08:54 2009 Subject: Jails: /bin/tcsh: Permission Denied Message-ID: <27ade5280910050108w212a8d85h6071b5211f19425f@mail.gmail.com> Hey list, I'm setting up jails on my system. I started with a httpd jail for nginx and php to run in. I used ezjail to create it. I went through all the steps, and got a jail setup and working. I've logged in and out several times and installed a couple ports within the jail. I then added a non-privileged user by running "adduser" as root. However, that is when the problem came up. For some reason, I cannot switch to the unprivileged user. The shell is giving me a "Permission Denied" error. # su - jailuser su: no directory # su jailuser su: /bin/tcsh: Permission denied The line in /etc/passwd of the jail: jailuser:*:1001:1001:User &:/home/jailuser:/bin/tcsh The host and jail are running 7.2-RELEASE-p4. /bin/tcsh is listed in /etc/shells. I tried running "pwd_mkdb /etc/master.passwd" to no avail. Any ideas on why I am getting a permission denied error? More info, if needed: Mount on the host system: /dev/ad2s1a on / (ufs, local, noatime) devfs on /dev (devfs, local) /dev/ufs/tmp on /tmp (ufs, local, noatime, soft-updates) /dev/ad2s1f on /usr (ufs, local, noatime, soft-updates) /dev/ad2s1e on /var (ufs, local, noatime, soft-updates) /usr/jails/basejail on /usr/jails/httpd/basejail (nullfs, local, read-only) devfs on /usr/jails/httpd/dev (devfs, local) Mount on the jail: /dev/ad2s1f on / (ufs, local, noatime, soft-updates) /etc/fstab.httpd on host: /usr/jails/basejail /usr/jails/httpd/basejail nullfs ro 0 0 # ls -al /usr/jails/ drwx------ 9 root wheel 512 Oct 5 05:34 basejail drwx------ 3 root wheel 512 Oct 5 05:34 flavours drwx------ 12 root wheel 512 Oct 5 07:49 httpd drwxr-xr-x 12 root wheel 512 Oct 5 05:34 newjail Thanks. From robin at reportlab.com Mon Oct 5 08:51:23 2009 From: robin at reportlab.com (Robin Becker) Date: Mon Oct 5 08:51:30 2009 Subject: fix remote degraded gmirror In-Reply-To: References: <4AC07E69.30800@chamonix.reportlab.co.uk> <6201873e0909280710n2a5fc7beo99706e1b87080f73@mail.gmail.com> <4AC0D9CF.6000309@chamonix.reportlab.co.uk> <6201873e0909281056m1660351arc38c5faa975fef02@mail.gmail.com> <4AC326DA.1070005@chamonix.reportlab.co.uk> <6201873e0909300555x3721c3ccq45c604bd28c1f8c@mail.gmail.com> <4AC36604.1050606@chamonix.reportlab.co.uk> Message-ID: <4AC9B387.4040800@chamonix.reportlab.co.uk> mojo fms wrote: ....... > > > What about shrinking the old mirror drive a few megs so its smaller than > the new one? > The original problem has gone away for the moment as my hoter found an AAJS drive with the same number of sectors and the mirror synchronized fine. I looked around for ways to shrink the slice, but didn't discover anything very authoritative or easy. Is there a slice reduction beast? -- Robin Becker From olli at lurza.secnetix.de Mon Oct 5 09:43:13 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Mon Oct 5 09:43:21 2009 Subject: fix remote degraded gmirror In-Reply-To: <4AC9B387.4040800@chamonix.reportlab.co.uk> Message-ID: <200910050942.n959guoP058784@lurza.secnetix.de> Robin Becker wrote: > mojo fms wrote: > ....... > > > > > > What about shrinking the old mirror drive a few megs so its smaller than > > the new one? > > The original problem has gone away for the moment as my hoter found an AAJS > drive with the same number of sectors and the mirror synchronized fine. > > I looked around for ways to shrink the slice, but didn't discover anything very > authoritative or easy. Is there a slice reduction beast? You can shrink slices and partitions, but you cannot shrink file systems. In theory you could write a shrinkfs tool, but it's more complicated than growfs(8) so nobody has bitten the bullet yet, given the fact that disk sizes tend to grow most of the time, but rarely ever shrink. Apart from that, there is no way to shrink a gmirror, as far as I know. The best way to resolve the problem is to create a new mirror on the new (smaller) drive, copy all data over to the new mirror, boot from the new drive, destroy the old mirror and insert the old disk into the new mirror. I've done that procedure several times; it takes some time and involves a short downtime (for reboot), but it works fine. You can do that remotely without single user mode, but it's always better to be prepared to have access to the console. And of course, you should always have good backups. A RAID is never a substitute for a backup. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "I learned Java 3 years before Python. It was my language of choice. It took me two weekends with Python before I was more productive with it than with Java." -- Anthony Roberts From carmel_ny at hotmail.com Mon Oct 5 09:50:11 2009 From: carmel_ny at hotmail.com (carmel_ny) Date: Mon Oct 5 09:50:19 2009 Subject: mounting card reader & hald Message-ID: I want to be able to auto mount a card reader when a card is inserted. I can mount it manually using: "mount_msdosfs /dev/da1s1 /mnt". I thought that 'hald' would handle the auto-mounting of the reader; however, I probably have that misconfigured. This is on a FreeBSD-7.2 system. -- Carmel carmel@hotmail.com May your camel be as swift as the wind. From olli at lurza.secnetix.de Mon Oct 5 09:52:04 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Mon Oct 5 09:52:11 2009 Subject: Jails: /bin/tcsh: Permission Denied In-Reply-To: <27ade5280910050108w212a8d85h6071b5211f19425f@mail.gmail.com> Message-ID: <200910050951.n959pkRA059227@lurza.secnetix.de> APseudoUtopia wrote: > I'm setting up jails on my system. I started with a httpd jail for > nginx and php to run in. I used ezjail to create it. I went through > all the steps, and got a jail setup and working. I've logged in and > out several times and installed a couple ports within the jail. I then > added a non-privileged user by running "adduser" as root. However, > that is when the problem came up. For some reason, I cannot switch to > the unprivileged user. The shell is giving me a "Permission Denied" > error. What are the permissions on /bin/tcsh inside the jail? Is it executable? Are the permissions of all of its libraries correct? ("ldd /bin/tcsh" will list the libs.) Are the permissions on the home directory correct? If everything else fails, trace the shell inside the jail (with strace, truss or ktrace). It will list the exact system call that fails. By the way, I recommend that jails which contain daemons (such as webservers, databases etc.) do not contain login accounts. In fact, I never put /bin/tcsh inside a jail that contains a webserver. Apache certainly doesn't need it. Some ports do need /bin/csh during the build process, but for building ports I recommend to use a separate jail anyway, create packages and pkg_add them in the actual webserver jail. Just my 2 cents. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd $ dd if=/dev/urandom of=test.pl count=1 $ file test.pl test.pl: perl script text executable From bsam at ipt.ru Mon Oct 5 13:05:34 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Mon Oct 5 13:05:48 2009 Subject: RealPlayer broken In-Reply-To: (AN's message of "Sun, 4 Oct 2009 23:45:33 +0000 (GMT)") References: Message-ID: <54942179@bb.ipt.ru> On Sun, 4 Oct 2009 23:45:33 +0000 (GMT) AN wrote: > On a new install of 8.0RC1, Realplayer fails to start with the following: > # realplay > Gtk-Message: Failed to load module "canberra-gtk-module": > libcanberra-gtk-module.so: cannot open shared object file: No such > file or directory > Gtk-Message: Failed to load module "gnomebreakpad": > libgnomebreakpad.so: cannot open shared object file: No such file or > directory Those are only diagnostic messages seen when one runs gnome. > Segmentation fault: 11 (core dumped) While this is very strange error which I couldn't reproduce until tomorrow. It occures when using gnome (gdm) and nvidia graphics card (well, even with vesa video mode). If I use twm RealPlayer is just fine. I've got that hardware for a couples of hours only and can't investigate it further. > uname -a > FreeBSD core2.fu.bar 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 20:45:19 > UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > i386 > pkg_info: > gnome2-2.26.3 > pkg_info -xI linux [linux stuff looks good to me] > I have Googled, however there is no mention of a solution. Any help > is appreciated. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From apseudoutopia at gmail.com Mon Oct 5 13:20:13 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Mon Oct 5 13:20:19 2009 Subject: Jails: /bin/tcsh: Permission Denied In-Reply-To: <200910050951.n959pkRA059227@lurza.secnetix.de> References: <27ade5280910050108w212a8d85h6071b5211f19425f@mail.gmail.com> <200910050951.n959pkRA059227@lurza.secnetix.de> Message-ID: <27ade5280910050619v6bd48173sb5099ba79c5ca1d3@mail.gmail.com> On Mon, Oct 5, 2009 at 5:51 AM, Oliver Fromme wrote: > APseudoUtopia wrote: > ?> I'm setting up jails on my system. I started with a httpd jail for > ?> nginx and php to run in. I used ezjail to create it. I went through > ?> all the steps, and got a jail setup and working. I've logged in and > ?> out several times and installed a couple ports within the jail. I then > ?> added a non-privileged user by running "adduser" as root. However, > ?> that is when the problem came up. For some reason, I cannot switch to > ?> the unprivileged user. The shell is giving me a "Permission Denied" > ?> error. > > What are the permissions on /bin/tcsh inside the jail? > Is it executable? ?Are the permissions of all of its > libraries correct? ?("ldd /bin/tcsh" will list the libs.) > Are the permissions on the home directory correct? > > If everything else fails, trace the shell inside the jail > (with strace, truss or ktrace). ?It will list the exact > system call that fails. > > By the way, I recommend that jails which contain daemons > (such as webservers, databases etc.) do not contain login > accounts. ?In fact, I never put /bin/tcsh inside a jail > that contains a webserver. ?Apache certainly doesn't need > it. ?Some ports do need /bin/csh during the build process, > but for building ports I recommend to use a separate jail > anyway, create packages and pkg_add them in the actual > webserver jail. > > Just my 2 cents. > > Best regards > ? Oliver > > Hi, Thanks for the tips. I'm new to jails, and I didn't think it was possible to build a jail without tcsh. What shell do you use then? Just /bin/sh? /bin/tcsh works for fine for root. I log into the jail by using the "ezjail-admin console" option, which in turn executes /usr/bin/login. It logs in as root with a working tcsh shell. I've even changed the prompt of the shell in /root/.cshrc within the jail. I don't think it's the tcsh binary itself, rather some other permission. However, the information you asked for is below. As a matter-of-fact, I first ran into this problem when my web server (nginx) received a "permission denied" error for every file. While debugging it, I was asked to su to the "www" user. This is when I ran into this problem of getting a permission denied error for tcsh. -r-xr-xr-x 2 root wheel 311400 Oct 5 05:34 /bin/tcsh /bin/tcsh: libncurses.so.7 => /lib/libncurses.so.7 (0x280c5000) libcrypt.so.4 => /lib/libcrypt.so.4 (0x28104000) libc.so.7 => /lib/libc.so.7 (0x2811d000) -r--r--r-- 1 root wheel 258572 Oct 5 05:34 /lib/libncurses.so.7 -r--r--r-- 1 root wheel 32020 Oct 5 05:34 /lib/libcrypt.so.4 -r--r--r-- 1 root wheel 993092 Oct 5 05:34 /lib/libc.so.7 drwxr-xr-x 3 root wheel 512 Oct 5 07:49 home drwxr-xr-x 2 jailuser jailuser 512 Oct 5 07:49 jailuser The truss trace is on a pastebin (the output seemed too long for an email) located at http://pastebin.ca/1594445 From glarkin at FreeBSD.org Mon Oct 5 13:23:39 2009 From: glarkin at FreeBSD.org (Greg Larkin) Date: Mon Oct 5 13:23:50 2009 Subject: Postfix doesn't start In-Reply-To: <200910042041.32454.vinzstyle@free.fr> References: <200910042041.32454.vinzstyle@free.fr> Message-ID: <4AC9F353.3000808@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vinzstyle wrote: > Hi, > > I installed Postfix with PCRE support from the ports collection, but I get this > error when I try to start it : > > Oct 4 20:22:09 mail postfix/postfix-script[47114]: starting the Postfix mail > system > Oct 4 20:22:09 mail postfix/master[47115]: fatal: open lock file > /var/db/postfix/master.lock: cannot open file: Permission denied > > [root@mail /]# ls -ld /var/db/postfix/ > drwx------ 2 postfix wheel 512 Oct 4 20:16 /var/db/postfix/ > > The "mail_owner" directive is set to "postfix" in main.cf > > Is there some things to set up after the "make install" ? Did I miss something > ? > > I'm running FreeBSD-7.2-RELEASE, and Postfix(-2.5.6,1) is started inside a > jail. > > Thanks for your help :) Hi there, Whenever I run into problems like this and I can't easily resolve them, I turn to truss (http://bit.ly/yipvq) or strace (http://bit.ly/1oXQ4v) so I can see exactly what's happening to cause the permission denied message. If you want, post output from those tools back here, and I'm sure someone can help you narrow the problem down. Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKyfNS0sRouByUApARAloSAJ4m2N1prTe0UiabVrlkTytmcd9jqACeO2hm DO3gs2YDX/bWYNhJnsdV+1Y= =QtfE -----END PGP SIGNATURE----- From apseudoutopia at gmail.com Mon Oct 5 13:24:48 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Mon Oct 5 13:24:55 2009 Subject: Jails: /bin/tcsh: Permission Denied In-Reply-To: <27ade5280910050619v6bd48173sb5099ba79c5ca1d3@mail.gmail.com> References: <27ade5280910050108w212a8d85h6071b5211f19425f@mail.gmail.com> <200910050951.n959pkRA059227@lurza.secnetix.de> <27ade5280910050619v6bd48173sb5099ba79c5ca1d3@mail.gmail.com> Message-ID: <27ade5280910050624w366d05f1yf9db6158db626ba3@mail.gmail.com> On Mon, Oct 5, 2009 at 9:19 AM, APseudoUtopia wrote: > On Mon, Oct 5, 2009 at 5:51 AM, Oliver Fromme wrote: >> APseudoUtopia wrote: >> ?> I'm setting up jails on my system. I started with a httpd jail for >> ?> nginx and php to run in. I used ezjail to create it. I went through >> ?> all the steps, and got a jail setup and working. I've logged in and >> ?> out several times and installed a couple ports within the jail. I then >> ?> added a non-privileged user by running "adduser" as root. However, >> ?> that is when the problem came up. For some reason, I cannot switch to >> ?> the unprivileged user. The shell is giving me a "Permission Denied" >> ?> error. >> >> What are the permissions on /bin/tcsh inside the jail? >> Is it executable? ?Are the permissions of all of its >> libraries correct? ?("ldd /bin/tcsh" will list the libs.) >> Are the permissions on the home directory correct? >> >> If everything else fails, trace the shell inside the jail >> (with strace, truss or ktrace). ?It will list the exact >> system call that fails. >> >> By the way, I recommend that jails which contain daemons >> (such as webservers, databases etc.) do not contain login >> accounts. ?In fact, I never put /bin/tcsh inside a jail >> that contains a webserver. ?Apache certainly doesn't need >> it. ?Some ports do need /bin/csh during the build process, >> but for building ports I recommend to use a separate jail >> anyway, create packages and pkg_add them in the actual >> webserver jail. >> >> Just my 2 cents. >> >> Best regards >> ? Oliver >> >> > > Hi, > > Thanks for the tips. I'm new to jails, and I didn't think it was > possible to build a jail without tcsh. What shell do you use then? > Just /bin/sh? > > /bin/tcsh works for fine for root. I log into the jail by using the > "ezjail-admin console" option, which in turn executes /usr/bin/login. > It logs in as root with a working tcsh shell. I've even changed the > prompt of the shell in /root/.cshrc within the jail. I don't think > it's the tcsh binary itself, rather some other permission. However, > the information you asked for is below. > > As a matter-of-fact, I first ran into this problem when my web server > (nginx) received a "permission denied" error for every file. ?While > debugging it, I was asked to su to the "www" user. This is when I ran > into this problem of getting a permission denied error for tcsh. > > -r-xr-xr-x ?2 root ?wheel ?311400 Oct ?5 05:34 /bin/tcsh > > /bin/tcsh: > ? ? ? ?libncurses.so.7 => /lib/libncurses.so.7 (0x280c5000) > ? ? ? ?libcrypt.so.4 => /lib/libcrypt.so.4 (0x28104000) > ? ? ? ?libc.so.7 => /lib/libc.so.7 (0x2811d000) > > -r--r--r-- ?1 root ?wheel ?258572 Oct ?5 05:34 /lib/libncurses.so.7 > -r--r--r-- ?1 root ?wheel ?32020 Oct ?5 05:34 /lib/libcrypt.so.4 > -r--r--r-- ?1 root ?wheel ?993092 Oct ?5 05:34 /lib/libc.so.7 > > drwxr-xr-x ? 3 root ?wheel ?512 Oct ?5 07:49 home > drwxr-xr-x ?2 jailuser ?jailuser ?512 Oct ?5 07:49 jailuser > > The truss trace is on a pastebin (the output seemed too long for an > email) located at http://pastebin.ca/1594445 > Sorry to reply again, but I have some further information. I used chpass to change the shell of the jailuser account. I tried /bin/sh, /bin/csh, /bin/tcsh, and /sbin/nologin. All of those gave the same "Permission denied" error. Even nologin gave "Permission denied" instead of "This account is currently not available." From glen.j.barber at gmail.com Mon Oct 5 13:28:31 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Oct 5 13:28:38 2009 Subject: Jails: /bin/tcsh: Permission Denied In-Reply-To: <27ade5280910050624w366d05f1yf9db6158db626ba3@mail.gmail.com> References: <27ade5280910050108w212a8d85h6071b5211f19425f@mail.gmail.com> <200910050951.n959pkRA059227@lurza.secnetix.de> <27ade5280910050619v6bd48173sb5099ba79c5ca1d3@mail.gmail.com> <27ade5280910050624w366d05f1yf9db6158db626ba3@mail.gmail.com> Message-ID: <4ad871310910050628v642e4fd9wf6f8a983559b67bc@mail.gmail.com> On Mon, Oct 5, 2009 at 1:24 PM, APseudoUtopia wrote: [snip] > > Sorry to reply again, but I have some further information. > > I used chpass to change the shell of the jailuser account. I tried > /bin/sh, /bin/csh, /bin/tcsh, and /sbin/nologin. All of those gave the > same "Permission denied" error. Even nologin gave "Permission denied" > instead of "This account is currently not available." What happens with /bin/false ? -- Glen Barber From apseudoutopia at gmail.com Mon Oct 5 13:30:27 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Mon Oct 5 13:30:34 2009 Subject: Jails: /bin/tcsh: Permission Denied In-Reply-To: <4ad871310910050628v642e4fd9wf6f8a983559b67bc@mail.gmail.com> References: <27ade5280910050108w212a8d85h6071b5211f19425f@mail.gmail.com> <200910050951.n959pkRA059227@lurza.secnetix.de> <27ade5280910050619v6bd48173sb5099ba79c5ca1d3@mail.gmail.com> <27ade5280910050624w366d05f1yf9db6158db626ba3@mail.gmail.com> <4ad871310910050628v642e4fd9wf6f8a983559b67bc@mail.gmail.com> Message-ID: <27ade5280910050630r47a34e5bteea1df81b44e0457@mail.gmail.com> On Mon, Oct 5, 2009 at 9:28 AM, Glen Barber wrote: > On Mon, Oct 5, 2009 at 1:24 PM, APseudoUtopia wrote: > > [snip] > >> >> Sorry to reply again, but I have some further information. >> >> I used chpass to change the shell of the jailuser account. I tried >> /bin/sh, /bin/csh, /bin/tcsh, and /sbin/nologin. All of those gave the >> same "Permission denied" error. Even nologin gave "Permission denied" >> instead of "This account is currently not available." > > What happens with /bin/false ? > > -- > Glen Barber > Same thing: jailuser:*:1001:1001:User &:/home/jailuser:/bin/false # su jailuser su: /bin/false: Permission denied From glen.j.barber at gmail.com Mon Oct 5 13:33:56 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Oct 5 13:34:11 2009 Subject: Jails: /bin/tcsh: Permission Denied In-Reply-To: <27ade5280910050630r47a34e5bteea1df81b44e0457@mail.gmail.com> References: <27ade5280910050108w212a8d85h6071b5211f19425f@mail.gmail.com> <200910050951.n959pkRA059227@lurza.secnetix.de> <27ade5280910050619v6bd48173sb5099ba79c5ca1d3@mail.gmail.com> <27ade5280910050624w366d05f1yf9db6158db626ba3@mail.gmail.com> <4ad871310910050628v642e4fd9wf6f8a983559b67bc@mail.gmail.com> <27ade5280910050630r47a34e5bteea1df81b44e0457@mail.gmail.com> Message-ID: <4ad871310910050633n16bd69c1oa523add59b3468c3@mail.gmail.com> On Mon, Oct 5, 2009 at 1:30 PM, APseudoUtopia wrote: > On Mon, Oct 5, 2009 at 9:28 AM, Glen Barber wrote: >> On Mon, Oct 5, 2009 at 1:24 PM, APseudoUtopia wrote: >> >> [snip] >> >>> >>> Sorry to reply again, but I have some further information. >>> >>> I used chpass to change the shell of the jailuser account. I tried >>> /bin/sh, /bin/csh, /bin/tcsh, and /sbin/nologin. All of those gave the >>> same "Permission denied" error. Even nologin gave "Permission denied" >>> instead of "This account is currently not available." >> >> What happens with /bin/false ? >> >> -- >> Glen Barber >> > > Same thing: > > jailuser:*:1001:1001:User &:/home/jailuser:/bin/false > > # su jailuser > su: /bin/false: Permission denied > Have you created another user to test? FWIW, I was wrong about the location of 'false' - it is /usr/bin/false, not /bin/false - you should have received 'command not found'. -- Glen Barber From glen.j.barber at gmail.com Mon Oct 5 13:35:35 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Oct 5 13:36:01 2009 Subject: Jails: /bin/tcsh: Permission Denied In-Reply-To: <4ad871310910050633n16bd69c1oa523add59b3468c3@mail.gmail.com> References: <27ade5280910050108w212a8d85h6071b5211f19425f@mail.gmail.com> <200910050951.n959pkRA059227@lurza.secnetix.de> <27ade5280910050619v6bd48173sb5099ba79c5ca1d3@mail.gmail.com> <27ade5280910050624w366d05f1yf9db6158db626ba3@mail.gmail.com> <4ad871310910050628v642e4fd9wf6f8a983559b67bc@mail.gmail.com> <27ade5280910050630r47a34e5bteea1df81b44e0457@mail.gmail.com> <4ad871310910050633n16bd69c1oa523add59b3468c3@mail.gmail.com> Message-ID: <4ad871310910050635h7878fd3g5902097b18545aa7@mail.gmail.com> On Mon, Oct 5, 2009 at 1:33 PM, Glen Barber wrote: [snip] >> >> jailuser:*:1001:1001:User &:/home/jailuser:/bin/false >> >> # su jailuser >> su: /bin/false: Permission denied >> Also, check the permissions on /home/jailuser -- Glen Barber From bsam at ipt.ru Mon Oct 5 13:56:22 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Mon Oct 5 13:56:31 2009 Subject: RealPlayer broken In-Reply-To: <54942179@bb.ipt.ru> (Boris Samorodov's message of "Mon, 05 Oct 2009 17:05:32 +0400") References: <54942179@bb.ipt.ru> Message-ID: <44225914@bb.ipt.ru> On Mon, 05 Oct 2009 17:05:32 +0400 Boris Samorodov wrote: > It occures when using gnome (gdm) and nvidia graphics > card (well, even with vesa video mode). Seems that the card is no-op here. It's only gnome which causes RealPlayer to fail. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From apseudoutopia at gmail.com Mon Oct 5 13:57:53 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Mon Oct 5 13:58:01 2009 Subject: Jails: /bin/tcsh: Permission Denied In-Reply-To: <27ade5280910050108w212a8d85h6071b5211f19425f@mail.gmail.com> References: <27ade5280910050108w212a8d85h6071b5211f19425f@mail.gmail.com> Message-ID: <27ade5280910050657g5130bedftf1b6d313cef2827e@mail.gmail.com> On Mon, Oct 5, 2009 at 4:08 AM, APseudoUtopia wrote: > Hey list, > > I'm setting up jails on my system. I started with a httpd jail for > nginx and php to run in. I used ezjail to create it. I went through > all the steps, and got a jail setup and working. I've logged in and > out several times and installed a couple ports within the jail. I then > added a non-privileged user by running "adduser" as root. However, > that is when the problem came up. For some reason, I cannot switch to > the unprivileged user. The shell is giving me a "Permission Denied" > error. > [snip] I have solved the problem with the help of Google and this thread: https://elektropost.org/ezjail/threads.html#00263 The permissions on the HOST for /usr/jails/httpd and /usr/jails/basejail were set incorrectly. When I installed the jail, I used umask 0077. Those jail directories needed to be chmod'ed 755. Everything works successfully now. Thanks very much for the tips, suggestions, and overall help. If I hadn't found that ezjail mailing list thread, I would've been ripping my hair out for days. From olli at lurza.secnetix.de Mon Oct 5 14:06:56 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Mon Oct 5 14:07:04 2009 Subject: Jails: /bin/tcsh: Permission Denied In-Reply-To: <27ade5280910050624w366d05f1yf9db6158db626ba3@mail.gmail.com> Message-ID: <200910051406.n95E6cFD013583@lurza.secnetix.de> APseudoUtopia wrote: > > Thanks for the tips. I'm new to jails, and I didn't think it was > > possible to build a jail without tcsh. What shell do you use then? > > Just /bin/sh? I never log into a jail. There's no reason to do that. However, usually /bin/sh is required to run scripts, cron jobs and other things. Also, some library functions such as system(3) and popen(3) require /bin/sh. Those functions are used by many programs. So, bascially, you will almost always need to have /bin/sh in a jail. But that doesn't mean that you have any login accounts inside the jail. Usually the passwd inside your jail should only contain root and a few pseudo users. The pseudo users (including root) should have no valid password, no valid login shell, and in most cases no valid home directory. There's no reason to make things easier for intruders. Of course, that's only true for jails that contain services (i.e. daemons). If you want to put shell users inside jails, that's a completely different thing. (I'm not using ezjail, FWIW.) > > -r-xr-xr-x ?2 root ?wheel ?311400 Oct ?5 05:34 /bin/tcsh > > > > /bin/tcsh: > > ? ? ? ?libncurses.so.7 => /lib/libncurses.so.7 (0x280c5000) > > ? ? ? ?libcrypt.so.4 => /lib/libcrypt.so.4 (0x28104000) > > ? ? ? ?libc.so.7 => /lib/libc.so.7 (0x2811d000) > > > > -r--r--r-- ?1 root ?wheel ?258572 Oct ?5 05:34 /lib/libncurses.so.7 > > -r--r--r-- ?1 root ?wheel ?32020 Oct ?5 05:34 /lib/libcrypt.so.4 > > -r--r--r-- ?1 root ?wheel ?993092 Oct ?5 05:34 /lib/libc.so.7 > > > > drwxr-xr-x ? 3 root ?wheel ?512 Oct ?5 07:49 home > > drwxr-xr-x ?2 jailuser ?jailuser ?512 Oct ?5 07:49 jailuser Looks good. The only thing I noticed is that your /etc/login.conf.db doesn't seem to be world-readable. It should have permissions 644, but has only 600. However, I'm not sure if this might cause the kind of problem you're seeing. But fixing the permissions is certainly worth a try. > > The truss trace is on a pastebin (the output seemed too long for an > > email) located at http://pastebin.ca/1594445 Other than that, I didn't notice anything unusual in the trace. > Sorry to reply again, but I have some further information. > > I used chpass to change the shell of the jailuser account. I tried > /bin/sh, /bin/csh, /bin/tcsh, and /sbin/nologin. All of those gave the > same "Permission denied" error. Even nologin gave "Permission denied" > instead of "This account is currently not available." Yeah, when the trace aborts, it is still executing the su binary. It doesn't get as far as actually trying to execute the shell. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "We, the unwilling, led by the unknowing, are doing the impossible for the ungrateful. We have done so much, for so long, with so little, we are now qualified to do anything with nothing." ? ? ? ? -- Mother Teresa From olli at lurza.secnetix.de Mon Oct 5 14:34:22 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Mon Oct 5 14:34:39 2009 Subject: Jails: /bin/tcsh: Permission Denied In-Reply-To: <27ade5280910050657g5130bedftf1b6d313cef2827e@mail.gmail.com> Message-ID: <200910051434.n95EY4Kv014662@lurza.secnetix.de> APseudoUtopia wrote: > The permissions on the HOST for /usr/jails/httpd and > /usr/jails/basejail were set incorrectly. When I installed the jail, I > used umask 0077. You should _never_ have umask 077 as root. It will cause all kinds of weird problems. It's best to keep the umask at the default of 022, unless you specifically know that you need a different one for a certain installation. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "We, the unwilling, led by the unknowing, are doing the impossible for the ungrateful. We have done so much, for so long, with so little, we are now qualified to do anything with nothing." ? ? ? ? -- Mother Teresa From kline at thought.org Mon Oct 5 17:37:39 2009 From: kline at thought.org (Gary Kline) Date: Mon Oct 5 17:37:45 2009 Subject: way to check an email without sending it?? Message-ID: <20091005173717.GA44563@thought.org> Hey Guys, Is there a way I can tell that an email address, say joe@foo.com is still valid without joe knowing that I am curious? --And, yes, this isn't a FBSD-specific question... . thanks for any insights, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From jon at radel.com Mon Oct 5 17:49:54 2009 From: jon at radel.com (Jon Radel) Date: Mon Oct 5 17:50:01 2009 Subject: way to check an email without sending it?? In-Reply-To: <20091005173717.GA44563@thought.org> References: <20091005173717.GA44563@thought.org> Message-ID: <4ACA31E6.4050603@radel.com> Gary Kline wrote: > > Hey Guys, ^^^^ Seen as a sexist assumption by some, but some consider gals to be guys. > > Is there a way I can tell that an email address, say > > joe@foo.com > > is still valid without joe knowing that I am curious? --And, > yes, this isn't a FBSD-specific question... . Depends heavily on how foo.com does things. Used to be, and still is some places, easy to tell by doing a raw SMTP connection and seeing what the receiving server did when you provided the destination address. That makes it real easy to harvest addresses by brute force, so these days many servers don't give you a hint unless you actually send some mail. Some don't even give you a hint then, simply black holing the mail if the address is incorrect. -- --Jon Radel jon@radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091005/655c2454/smime.bin From wmoran at potentialtech.com Mon Oct 5 17:59:26 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Mon Oct 5 17:59:34 2009 Subject: way to check an email without sending it?? In-Reply-To: <20091005173717.GA44563@thought.org> References: <20091005173717.GA44563@thought.org> Message-ID: <20091005135924.be749247.wmoran@potentialtech.com> In response to Gary Kline : > > Hey Guys, > > Is there a way I can tell that an email address, say > > joe@foo.com > > is still valid without joe knowing that I am curious? --And, > yes, this isn't a FBSD-specific question... . > > thanks for any insights, Sure. Telnet to the service and start a SMTP transaction, but then abort it: $ telnet mail.potentialtech.com 25 Trying 66.167.251.6... Connected to mail.potentialtech.com. Escape character is '^]'. 220 mail.potentialtech.com ESMTP If you spam me I will bounce you helo mail.potentialtech.com 250 mail.potentialtech.com mail from: 250 2.1.0 Ok rcpt to: 450 5.7.0 : Recipient address rejected: User unknown in local recipient table quit 221 2.0.0 Bye Connection closed by foreign host. If you don't get a rejection after the "rcpt to:" line, then you know the server will accept the mail and you can close the connection without completing the transaction. Note, that this is no guarantee. Some spam catching nonsense may accept the mail right up to end, then throw it away without delivering it. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From lenzi.sergio at gmail.com Mon Oct 5 18:14:19 2009 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Mon Oct 5 18:14:25 2009 Subject: way to check an email without sending it?? In-Reply-To: <4ACA31E6.4050603@radel.com> References: <20091005173717.GA44563@thought.org> <4ACA31E6.4050603@radel.com> Message-ID: <1254766451.9441.1.camel@localhost> I use sendmail, so...... the command: sendmail -bv someone@domain.com tells me where the email should go before sendmail sends the email. From kline at thought.org Mon Oct 5 18:43:49 2009 From: kline at thought.org (Gary Kline) Date: Mon Oct 5 18:43:56 2009 Subject: NO ONE knows?? In-Reply-To: <4AC7D242.9080505@bah.homeip.net> References: <20091002071528.0B3B710656F0@hub.freebsd.org> <4AC5ED1E.3820.4B0A319@d.forsyth.ru.ac.za> <20091002154838.GA9446@thought.org> <4AC7D242.9080505@bah.homeip.net> Message-ID: <20091005184338.GA44739@thought.org> On Sun, Oct 04, 2009 at 12:37:54AM +0200, Bernt Hansson wrote: > Gary Kline skrev: > > > What I'm looking for is how to use the ``better than the > > default voices''; there are several english languages that > > are fairly natural sounding. Nothing I've googled explain > > using the quality voices for FreeBSD. > > > > gary > > http://espeak.sourceforge.net/docindex.html Tried/found this before at least once. The cmdline: % espeak mb-en1 "hello" outputs the string data that "hello" is composed on. Following further with the linux example is difficult because there is no "usr/local/share/espeak/en1" --neither file nor directory. I did locate the 796-byte data file: /usr/local/share/espeak/espeak-data/mbrola_ph/en1_phtrans but don't have a clue. From what I've been able to glean, this mbrola stuff is > ten years old. Whoever was laboring away just dropped it. I've dug into this computer generated speech just a tiny bit. Yes, it is possible to have Very real-sounding voices, nearly human-sounding. But the complexity is extreme. No wonder the high-quality voices cost $thousands. Suggestions? gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From kline at thought.org Mon Oct 5 19:50:42 2009 From: kline at thought.org (Gary Kline) Date: Mon Oct 5 19:50:50 2009 Subject: way to check an email without sending it?? In-Reply-To: <20091005135924.be749247.wmoran@potentialtech.com> References: <20091005173717.GA44563@thought.org> <20091005135924.be749247.wmoran@potentialtech.com> Message-ID: <20091005195036.GC44739@thought.org> On Mon, Oct 05, 2009 at 01:59:24PM -0400, Bill Moran wrote: > In response to Gary Kline : > > > > Hey Guys, > > > > Is there a way I can tell that an email address, say > > > > joe@foo.com > > > > is still valid without joe knowing that I am curious? --And, > > yes, this isn't a FBSD-specific question... . > > > > thanks for any insights, > > Sure. Telnet to the service and start a SMTP transaction, but then abort it: > > $ telnet mail.potentialtech.com 25 > Trying 66.167.251.6... > Connected to mail.potentialtech.com. > Escape character is '^]'. > 220 mail.potentialtech.com ESMTP If you spam me I will bounce you > helo mail.potentialtech.com > 250 mail.potentialtech.com > mail from: > 250 2.1.0 Ok > rcpt to: > 450 5.7.0 : Recipient address rejected: User unknown in local recipient table > quit > 221 2.0.0 Bye > Connection closed by foreign host. > > If you don't get a rejection after the "rcpt to:" line, then you know the > server will accept the mail and you can close the connection without > completing the transaction. > > Note, that this is no guarantee. Some spam catching nonsense may accept > the mail right up to end, then throw it away without delivering it. telnet couldn't connect for unknown reason but thabks for the tip. I usually just write and say HI, Howzit hanging... or whatever. Anyway, the sendmail -bv ploy indicates that this person is still at the address i have. no big deal; i was just wondering. thanks, people, gary > > -- > Bill Moran > http://www.potentialtech.com > http://people.collaborativefusion.com/~wmoran/ -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From olli at lurza.secnetix.de Mon Oct 5 21:35:03 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Mon Oct 5 21:35:10 2009 Subject: way to check an email without sending it?? In-Reply-To: <20091005195036.GC44739@thought.org> Message-ID: <200910052134.n95LYj9N032560@lurza.secnetix.de> Gary Kline wrote: > telnet couldn't connect for unknown reason but thabks for the tip. I usually just The mail server for a domain doesn't have to run on that domain. That's what MX records in DNS are good for. For example, day, the address is cathy@example.org. Then use this command to find the mail servers for that domain: $ host -t mx example.org Every mail server has a priority number. The lowest number indicates the highest priority, i.e. the server that should normally be tried first. You should be able to telnet to that server on the SMTP port. If the MX list is empty, then either there is no mail mail server for this domain at all, or the domain is it's own mail server, i.e. you can telnet directly to example.org on the SMTP port (provided that it has at least an A record with a normal IP address). By the way, in the good old days (i.e. before spam) you could verify mail addresses with the SMTP VRFY command. But unfortunately, the days of spam have changed many things. :-( Most mail servers don't support VRFY anymore in order to protect against the spammers' address harvesters. Whatever you do to verify the address, it will not be completely without a trace. As soon as you connect to the SMTP port, it might cause an entry in that server's logfile, even before entering any SMTP command. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Whatever happened to the days when hacking started at the cerebral cortex, and not at the keyboard?" -- Sid on userfriendly.org by Illiad, 2007-06-20 From vogelke+unix at pobox.com Mon Oct 5 21:45:17 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Mon Oct 5 21:45:24 2009 Subject: way to check an email without sending it?? In-Reply-To: <20091005135924.be749247.wmoran@potentialtech.com> (message from Bill Moran on Mon, 5 Oct 2009 13:59:24 -0400) Message-ID: <20091005213816.6850EBE59@kev.msw.wpafb.af.mil> >> On Mon, 5 Oct 2009 13:59:24 -0400, >> Bill Moran said: B> Telnet to the service and start a SMTP transaction, but then abort it. B> If you don't get a rejection after the "rcpt to:" line, then you know B> the server will accept the mail and you can close the connection without B> completing the transaction. B> Note, that this is no guarantee. Some spam catching nonsense may accept B> the mail right up to end, then throw it away without delivering it. qmail will accept any valid address on the host, because the message might be forwarded or handled by a program. "Rcpt to:" always returns ok unless the address itself is mangled. The VRFY command is always answered like this to keep people from harvesting addresses: vrfy 252 send some mail, i'll try my best -- Karl Vogel I don't speak for the USAF or my company Sam: What's going on, Normie? Norm: My birthday, Sammy. Give me a beer, stick a candle in it, and I'll blow out my liver. --"Cheers" From info at ank.ge Mon Oct 5 22:33:58 2009 From: info at ank.ge (ANK) Date: Mon Oct 5 22:34:05 2009 Subject: promo ALL-in-One Message-ID: <20091005223358.BD99C106566B@hub.freebsd.org> saukeTeso arCevani HP Laserjet ALL-in-One M1005 Laser Printer/copier/sacanner A4, Up to 600 x 600 dpi (1200 dpi effective output), Up to 14 ppm, 25 to 400% zoom, color scanner, Up to 19200 dpi, Up to 8000 pages month, 230 MHz CPU, 32 MB RAM, 12A cartridge , 1 year warranty fasi 380 lari fasSi Sesulia yvela gadasaxadi, adgilze momsaxureba da katrijis erTxel usasyidlod datvirTva S.p.s "ank kompiutersi" kompiuteruli teqnika da aqsesuarebi. sruli informaciul teqnologiuri konsultacia da servisi adgilze momsaxurebiT vaJa fSavelas gamz.#5 tel.: 30-78-79, 42-17-57, 48-49-50 mob.: 8 (93) 53-29-21, FAfaqsi: 37-21-15 e-mail: info@ank.ge web: www.ank.ge Skype: ankcomputers Tu ar gsurT Cveni Setyobinebebis miReba gTxovT gamogvigzavnoT carieli werili misamarTze; unsubscribe@ank.ge From dwilde1 at gmail.com Tue Oct 6 01:18:41 2009 From: dwilde1 at gmail.com (Don Wilde) Date: Tue Oct 6 01:18:49 2009 Subject: sendmail CLIENT_OPTIONS Message-ID: Hello, folks - I am setting up the sendmail on my 7.2-STABLE system, and I cannot get it to listen to my live server address besides the localhost. I've added CLIENT_OPTIONS(`Family=inet, Addr=64.156.192.103, Name=MTA')dnl directly above the DAEMON_OPTIONS lines (after the FEATUREs), recompiled with make -C, and copied the domain-specific cf to sendmail.cf. I've reviewed the old docs on /usr/share/sendmail/cf and the newer ones on /usr/src/contrib/sendmail/cf that were referenced in the manual. Sendmail starts correctly, so the m4 compilation was successful, but it is still only listening on 127.0.0.1:25 according to netstat -atn. This seems to be more of a newbie issue than a STABLE issue, but please correct me if I'm wrong. I just updated to fix the null issue, but I don't see anything in either UPDATING file. If you need more configs, please forgive me for not including them. No other changes have been made to the mc file. Thanks in advance! :D -- -- Don Wilde " Engineering the Future " http://www.EngineeringJobFuture.com From bernt at bah.homeip.net Tue Oct 6 01:28:10 2009 From: bernt at bah.homeip.net (Bernt Hansson) Date: Tue Oct 6 01:28:16 2009 Subject: sendmail CLIENT_OPTIONS In-Reply-To: References: Message-ID: <4ACA9D1E.9050300@bah.homeip.net> Don Wilde said the following on 2009-10-06 02:48: > Hello, folks - > > I am setting up the sendmail on my 7.2-STABLE system, and I cannot get > it to listen to my live server address besides the localhost. > > I've added > CLIENT_OPTIONS(`Family=inet, > Addr=64.156.192.103, Name=MTA')dnl > > directly above the DAEMON_OPTIONS lines (after the FEATUREs), > recompiled with make -C, and copied the domain-specific cf to > sendmail.cf. > > I've reviewed the old docs on /usr/share/sendmail/cf and the newer > ones on /usr/src/contrib/sendmail/cf that were referenced in the > manual. > > Sendmail starts correctly, so the m4 compilation was successful, but > it is still only listening on 127.0.0.1:25 according to netstat -atn. Do you have sendmail_enable="YES" in your /etc/rc.conf file? > This seems to be more of a newbie issue than a STABLE issue, but > please correct me if I'm wrong. I just updated to fix the null issue, > but I don't see anything in either UPDATING file. If you need more > configs, please forgive me for not including them. No other changes > have been made to the mc file. > > Thanks in advance! :D > From dwilde1 at gmail.com Tue Oct 6 01:30:38 2009 From: dwilde1 at gmail.com (Don Wilde) Date: Tue Oct 6 01:30:45 2009 Subject: sendmail CLIENT_OPTIONS In-Reply-To: <4ACA9D1E.9050300@bah.homeip.net> References: <4ACA9D1E.9050300@bah.homeip.net> Message-ID: On Mon, Oct 5, 2009 at 8:27 PM, Bernt Hansson wrote: > Don Wilde said the following on 2009-10-06 02:48: >> >> Hello, folks - >> >> I am setting up the sendmail on my 7.2-STABLE system, and I cannot get >> it to listen to my live server address besides the localhost. >> >> I've added >> ? ? ? ? ? ? ? ? ? ? ? ? ? CLIENT_OPTIONS(`Family=inet, >> Addr=64.156.192.103, Name=MTA')dnl >> >> directly above the DAEMON_OPTIONS lines (after the FEATUREs), >> recompiled with make -C, and copied the domain-specific cf to >> sendmail.cf. >> >> I've reviewed the old docs on /usr/share/sendmail/cf and the newer >> ones on /usr/src/contrib/sendmail/cf that were referenced in the >> manual. >> >> Sendmail starts correctly, so the m4 compilation was successful, but >> it is still only listening on 127.0.0.1:25 according to netstat -atn. > > Do you have sendmail_enable="YES" in your /etc/rc.conf file? >[snip] Yes, Bernt. -- -- Don Wilde " Engineering the Future " http://www.EngineeringJobFuture.com From m.seaman at infracaninophile.co.uk Tue Oct 6 06:13:54 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Oct 6 06:14:01 2009 Subject: way to check an email without sending it?? In-Reply-To: <20091005195036.GC44739@thought.org> References: <20091005173717.GA44563@thought.org> <20091005135924.be749247.wmoran@potentialtech.com> <20091005195036.GC44739@thought.org> Message-ID: <4ACAE00A.9090502@infracaninophile.co.uk> Gary Kline wrote: > write and say HI, Howzit hanging... or whatever. Anyway, the sendmail -bv ploy > indicates that this person is still at the address i have. no big deal; i was just > wondering. Uh -- sendmail -bv doesn't do what you think it does. It only shows you what your local sendmail would do with the message as it tries to deliver it. If it's not for a local user, then all it says is 'send it to the SMTP server responsible' and nothing at all about what the other machine would do with it. The only way to find that out is by connecting to the remote sendmail, either by telnet or by actually sending an e-mail. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091006/ccc5721d/signature.pgp From keramida at ceid.upatras.gr Tue Oct 6 06:57:11 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue Oct 6 06:57:19 2009 Subject: sendmail CLIENT_OPTIONS In-Reply-To: (Don Wilde's message of "Mon, 5 Oct 2009 19:48:09 -0500") References: Message-ID: <87eiphovr2.fsf@kobe.laptop> On Mon, 5 Oct 2009 19:48:09 -0500, Don Wilde wrote: > Hello, folks - > > I am setting up the sendmail on my 7.2-STABLE system, and I cannot get > it to listen to my live server address besides the localhost. > > I've added > CLIENT_OPTIONS(`Family=inet, > Addr=64.156.192.103, Name=MTA')dnl > > directly above the DAEMON_OPTIONS lines (after the FEATUREs), > recompiled with make -C, and copied the domain-specific cf to > sendmail.cf. CLIENT_OPTIONS() does not set options for clients connecting *to* Sendmail, but for Sendmail itself when it acts as a client to an other MTA. > Sendmail starts correctly, so the m4 compilation was successful, but > it is still only listening on 127.0.0.1:25 according to netstat -atn. This is often a configuration error that launches only a local Sendmail listener. Show us your `/etc/rc.conf' settings: # grep -i sendmail /etc/rc.conf From olli at lurza.secnetix.de Tue Oct 6 07:26:55 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Tue Oct 6 07:27:02 2009 Subject: sendmail CLIENT_OPTIONS In-Reply-To: Message-ID: <200910060726.n967QbeR052742@lurza.secnetix.de> Don Wilde wrote: > I am setting up the sendmail on my 7.2-STABLE system, and I cannot get > it to listen to my live server address besides the localhost. > > I've added > CLIENT_OPTIONS(`Family=inet, > Addr=64.156.192.103, Name=MTA')dnl > > directly above the DAEMON_OPTIONS lines (after the FEATUREs), > recompiled with make -C, and copied the domain-specific cf to > sendmail.cf. You do not have to add anything to your .mc/.cf file. Just be sure to have this line in /etc/rc.conf: sendmail_enable="YES" then restart sendmail, and it will listen on all interfaces. > Sendmail starts correctly, so the m4 compilation was successful, but > it is still only listening on 127.0.0.1:25 according to netstat -atn. It's better to use "sockstat -l | grep sendmail". It lists user, command and PID along with the IP address ("*" if all addresses) and port number, so you can easily match it with output from ps or top, using the PID number. If sendmail is listening only on localhost, it usually means that you don't have sendmail_enable="YES" in rc.conf. In that case, the default is to run sendmail only on the localhost interface, so that local mail delivery does work (e.g. output mailed from cron jobs). A common error is to put an entry at the top of rc.conf, not noticing that another entry further down the file overrides it. The last entry takes effect. For example, if you have sendmail_enable="YES" at the top, but there's sendmail_enable="NO" somewhere near the end of the file, then the latter will take effect. "grep sendmail /etc/rc.conf" will tell you the truth. After any changes, don't forget to restart sendmail: "/etc/rc.d/sendmail restart" If you're extra paranoid, first do only "stop" instead of "restart", then verify that no sendmail processes are running, then perform the "start". Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd In my experience the term "transparent proxy" is an oxymoron (like jumbo shrimp). "Transparent" proxies seem to vary from the distortions of a funhouse mirror to barely translucent. I really, really dislike them when trying to figure out the corrective lenses needed with each of them. -- R. Kevin Oberman, Network Engineer From tseveendorj at gmail.com Tue Oct 6 08:59:38 2009 From: tseveendorj at gmail.com (Tseveendorj Ochirlantuu) Date: Tue Oct 6 08:59:44 2009 Subject: BTX Halted Message-ID: <62c908120910060136y130ebdeem96b04931a112ed02@mail.gmail.com> Dear all, I've found something strange I have never seen before. When start booting FreeBSD 7.2 amd64 from ISO image in ESX 4.0 then error occurs. You can see it from snapshot. I have following. Dell R900 with 4 CPU, 64GB RAM ESX 4.0 installed on R900 FreeBSD 7.2 amd64 What is this mean? Best regards, Tseveen. From vilem.kebrt at gmail.com Tue Oct 6 10:23:34 2009 From: vilem.kebrt at gmail.com (Vilem Kebrt) Date: Tue Oct 6 10:23:41 2009 Subject: BTX Halted In-Reply-To: <62c908120910060136y130ebdeem96b04931a112ed02@mail.gmail.com> References: <62c908120910060136y130ebdeem96b04931a112ed02@mail.gmail.com> Message-ID: <4ACB1AA3.6090603@gmail.com> I dont know how anyone else but i don't see snapshot, can u please get it somewhere online and provide link ? With regards William Tseveendorj Ochirlantuu napsal(a): > Dear all, > I've found something strange I have never seen before. When start booting > FreeBSD 7.2 amd64 from ISO image in ESX 4.0 then error occurs. You can see > it from snapshot. > > I have following. > > Dell R900 with 4 CPU, 64GB RAM > ESX 4.0 installed on R900 > FreeBSD 7.2 amd64 > > What is this mean? > > Best regards, > Tseveen. > > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From henry.olyer at gmail.com Tue Oct 6 11:05:25 2009 From: henry.olyer at gmail.com (Henry Olyer) Date: Tue Oct 6 11:05:31 2009 Subject: windoz, how do i install it last Message-ID: <1d7089c40910060405k3ac6f53bx252ade8183f1f431@mail.gmail.com> So I have a FreeBSD system. Is their a way to install windoz? Say, XP-pro? Or whatever... From lists at bertram-scharpf.de Tue Oct 6 11:28:34 2009 From: lists at bertram-scharpf.de (Bertram Scharpf) Date: Tue Oct 6 11:28:42 2009 Subject: windoz, how do i install it last In-Reply-To: <1d7089c40910060405k3ac6f53bx252ade8183f1f431@mail.gmail.com> References: <1d7089c40910060405k3ac6f53bx252ade8183f1f431@mail.gmail.com> Message-ID: <20091006112831.GA10473@marge.bs.l> Hi, Am Dienstag, 06. Okt 2009, 07:05:23 -0400 schrieb Henry Olyer: > So I have a FreeBSD system. > Is their a way to install windoz? Say, XP-pro? Or whatever... Replace or dual boot? The standard FreeBSD boot manager offers a choice which of the slices 1-4 you want to boot from. Just install #*@%& into the first slice and FreeBSD into the second. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From dwilde1 at gmail.com Tue Oct 6 13:59:59 2009 From: dwilde1 at gmail.com (Don Wilde) Date: Tue Oct 6 14:00:06 2009 Subject: sendmail CLIENT_OPTIONS In-Reply-To: <200910060726.n967QbeR052742@lurza.secnetix.de> References: <200910060726.n967QbeR052742@lurza.secnetix.de> Message-ID: On Tue, Oct 6, 2009 at 2:26 AM, Oliver Fromme wrote: > Don Wilde wrote: > ?> I am setting up the sendmail on my 7.2-STABLE system, and I cannot get > ?> it to listen to my live server address besides the localhost. > ?> > ?> I've added > ?> ? ? ? ? ? ? ? ? ? ? ? ? ? ?CLIENT_OPTIONS(`Family=inet, > ?> Addr=64.156.192.103, Name=MTA')dnl > ?> > ?> directly above the DAEMON_OPTIONS lines (after the FEATUREs), > ?> recompiled with make -C, and copied the domain-specific cf to > ?> sendmail.cf. > > You do not have to add anything to your .mc/.cf file. > Just be sure to have this line in /etc/rc.conf: > > sendmail_enable="YES" > > then restart sendmail, and it will listen on all interfaces. > > ?> Sendmail starts correctly, so the m4 compilation was successful, but > ?> it is still only listening on 127.0.0.1:25 according to netstat -atn. > > It's better to use "sockstat -l | grep sendmail". > It lists user, command and PID along with the IP address > ("*" if all addresses) and port number, so you can easily > match it with output from ps or top, using the PID number. > > If sendmail is listening only on localhost, it usually > means that you don't have sendmail_enable="YES" in rc.conf. > In that case, the default is to run sendmail only on the > localhost interface, so that local mail delivery does work > (e.g. output mailed from cron jobs). > > A common error is to put an entry at the top of rc.conf, > not noticing that another entry further down the file > overrides it. ?The last entry takes effect. ?For example, > if you have sendmail_enable="YES" at the top, but there's > sendmail_enable="NO" somewhere near the end of the file, > then the latter will take effect. > > "grep sendmail /etc/rc.conf" will tell you the truth. > > After any changes, don't forget to restart sendmail: > "/etc/rc.d/sendmail restart" > > If you're extra paranoid, first do only "stop" instead of > "restart", then verify that no sendmail processes are > running, then perform the "start". > > Best regards > ? Oliver > Oliver, Gorgios, Bernt - You all hit the nail right on the head. I had added the sendmail_enable line before, but in my pushing and shoving in emacs I seem to have deleted it again. Many thanks to all of you for your patience and support! :D -- -- Don Wilde " Engineering the Future " http://www.EngineeringJobFuture.com From tajudd at gmail.com Tue Oct 6 15:36:15 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue Oct 6 15:36:22 2009 Subject: BTX Halted In-Reply-To: <62c908120910060136y130ebdeem96b04931a112ed02@mail.gmail.com> References: <62c908120910060136y130ebdeem96b04931a112ed02@mail.gmail.com> Message-ID: On 10/6/09, Tseveendorj Ochirlantuu wrote: > Dear all, > I've found something strange I have never seen before. When start booting > FreeBSD 7.2 amd64 from ISO image in ESX 4.0 then error occurs. You can see > it from snapshot. > > I have following. > > Dell R900 with 4 CPU, 64GB RAM > ESX 4.0 installed on R900 > FreeBSD 7.2 amd64 > > What is this mean? > > Best regards, > Tseveen. > BTX - BooT eXtender, the process of moving from 16-bit real mode to 32-bit (or 64-bit?) protected mode. The system was unable to do this conversion. Happens on buggy "chipsets" (in quotes because this is on ESX). Go back to VM properties and double, triple check everything, go into the BIOS and disable any "window-isms" like PnP OS, power management, etc. You might have a corrupt download, check your MD5/SHA1 and redownload if applicable. --TJ From amvandemore at gmail.com Tue Oct 6 16:02:32 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Oct 6 16:02:42 2009 Subject: windoz, how do i install it last In-Reply-To: <1d7089c40910060405k3ac6f53bx252ade8183f1f431@mail.gmail.com> References: <1d7089c40910060405k3ac6f53bx252ade8183f1f431@mail.gmail.com> Message-ID: <6201873e0910060902g1ffee685pe08f59d1dfe1803e@mail.gmail.com> On Tue, Oct 6, 2009 at 6:05 AM, Henry Olyer wrote: > So I have a FreeBSD system. > Is their a way to install windoz? Say, XP-pro? Or whatever... > > Depending on your usage of said OS, virtualbox might be a good alternative. -- Adam Vande More From anti_spam256 at yahoo.ca Tue Oct 6 16:06:47 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Tue Oct 6 16:06:53 2009 Subject: windoz, how do i install it last In-Reply-To: <20091006120022.15147106574D@hub.freebsd.org> Message-ID: <38976.11274.qm@web65504.mail.ac4.yahoo.com> > Message: 30 > Date: Tue, 6 Oct 2009 07:05:23 -0400 > From: Henry Olyer > Subject: windoz, how do i install it last > To: freebsd-questions@freebsd.org > Message-ID: > ??? <1d7089c40910060405k3ac6f53bx252ade8183f1f431@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > So I have a FreeBSD system. > Is their a way to install windoz?? Say, XP-pro?? > Or whatever... > From the subject I gather you want to shrink the BSD slice, or have room, then install Windows. The fact you are asking the question suggests you don't have your work backed up, and won't listen when told to backup your work (takes one to know one). The other possibility is that you want to install BSD now, but Windows later. I any case, you need a way to boot FreeBSD without the bootsector, such as the installation CD. As I am not familiar with the gory details, I will refer you to Chapter 2 of the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html If you can't get the Windows Boot manager to boot FreeBSD, you will want to use the FreeBSD boot manager, mentioned in section: 2.6.3 Install a Boot Manager. Regards, James Phillips __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From ben at b1c1l1.com Tue Oct 6 17:41:22 2009 From: ben at b1c1l1.com (Benjamin Lee) Date: Tue Oct 6 17:41:29 2009 Subject: BTX Halted In-Reply-To: <62c908120910060136y130ebdeem96b04931a112ed02@mail.gmail.com> References: <62c908120910060136y130ebdeem96b04931a112ed02@mail.gmail.com> Message-ID: <4ACB8130.2070208@b1c1l1.com> On 10/06/2009 01:36 AM, Tseveendorj Ochirlantuu wrote: > Dear all, > I've found something strange I have never seen before. When start booting > FreeBSD 7.2 amd64 from ISO image in ESX 4.0 then error occurs. You can see > it from snapshot. > > I have following. > > Dell R900 with 4 CPU, 64GB RAM > ESX 4.0 installed on R900 > FreeBSD 7.2 amd64 > > What is this mean? Did you create the guest with a 64-bit CPU? -- Benjamin Lee http://www.b1c1l1.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 899 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091006/f7b4581a/signature.pgp From fbsd at brightstar.bomgardner.net Tue Oct 6 17:56:19 2009 From: fbsd at brightstar.bomgardner.net (Gene) Date: Tue Oct 6 17:56:26 2009 Subject: FBSD 7.2 - ports blocked but no firewall Message-ID: <20091006174735.M14938@brightstar.bomgardner.net> Hi- I'm running 7.2 GENERIC and installed the unrealirc port. I've started it up and can connect from localhost just fine. But when attempting to connect from the outside world (eg. from another box on the lan) I get connection refused. I've tried both with and without ipfilter running (with appropriate rule). Other ports are reachable including a non-standard port used for ssh. The question: Could there be any reason that port 6667 might be blocked? (Unrealircd questions can be taken up elsewhere). IHN, Gene -- To everything there is a season, And a time to every purpose under heaven. From rbgarga at gmail.com Tue Oct 6 17:57:00 2009 From: rbgarga at gmail.com (Renato Botelho) Date: Tue Oct 6 17:59:51 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <20091002133231.GA17567@hades.panopticon> References: <20090930100658.GA99090@obspm.fr> <20090930110508.GA50565@hades.panopticon> <20090930161915.GA18014@lonesome.com> <20091001111417.GF50565@hades.panopticon> <20091001112323.GA26407@droso.net> <20091001114546.GH50565@hades.panopticon> <20091001213656.GA14925@lonesome.com> <20091002133231.GA17567@hades.panopticon> Message-ID: <747dc8f30910061024h5346b25evd27369955f9d6768@mail.gmail.com> On Fri, Oct 2, 2009 at 10:32 AM, Dmitry Marakasov wrote: > * Mark Linimon (linimon@lonesome.com) wrote: > >> The author orginally contacted us with a legal threat because we were >> not in compliance with the 28-day clause. ?A long, acrimonious disucssion >> ensued. ?In that discussion, the author was asked "if we agree to meet >> that condition going forward, would you guarantee that this would remove >> any further legal threat?" and he said yes ... >> >> for now. >> >> But that he reserved the right to change his mind later. >> >> *depending* on what we did or did not do in the future -- not just in >> adhering to the *existing clauses* like the "significant" clause or >> "renamed" clause -- both of which he mentioned would be part of any >> lawsuit. >> >> Legally indefensible? ?Of course. ?Would that prevent a lawsuit being >> filed? ?No. ?Anyone can sue anyone for anything. > > Well, if you insist I of course won't commit it. But the whole thing > disappoints me greately, cause I was pretty sure at least FreeBSD > developers won't be affected by a mere FUD. Do you honestly think > the probability of Tuomo suing us is higher of, say, me suing, well, > us? ?And that anything will change by us not providing a port we > have absolutely totally utterly 100% right to provide? ?That is > just silly. > > The port from now on is available here (removed from people.freebsd.org): > http://mirror.amdmi3.ru/ports/ion3-20090110.port.tar You can start a fork of it, change its name, its license, and keep it as a separate project... people will use the same software with another name. Everybody will be happy and we won't have a Tuomo's software inside ports collection again. -- Renato Botelho From ccowart at rescomp.berkeley.edu Tue Oct 6 18:05:20 2009 From: ccowart at rescomp.berkeley.edu (Chris Cowart) Date: Tue Oct 6 18:05:27 2009 Subject: FBSD 7.2 - ports blocked but no firewall In-Reply-To: <20091006174735.M14938@brightstar.bomgardner.net> References: <20091006174735.M14938@brightstar.bomgardner.net> Message-ID: <20091006180519.GA63605@hal.rescomp.berkeley.edu> Gene wrote: > I'm running 7.2 GENERIC and installed the unrealirc port. I've started it up > and can connect from localhost just fine. But when attempting to connect from > the outside world (eg. from another box on the lan) I get connection refused. > > I've tried both with and without ipfilter running (with appropriate rule). > Other ports are reachable including a non-standard port used for ssh. > > The question: Could there be any reason that port 6667 might be blocked? > (Unrealircd questions can be taken up elsewhere). It's possible you've configured Unrealircd to only listen on localhost and not on "*". Look for something like: | listen *:6697 | { | ... | }; And make sure it's "*" and not "127.0.0.1". -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 834 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091006/4d70e262/attachment.pgp From cstankevitz at toyon.com Tue Oct 6 19:55:09 2009 From: cstankevitz at toyon.com (Chris Stankevitz) Date: Tue Oct 6 19:55:16 2009 Subject: FreeBSD "Projects" Message-ID: <4ACBA099.3000803@toyon.com> Hello, I recently stumbled across "The FreeBSD GNOME Project" webpage which is filled with detail and great instructions. It is located at http://www.freebsd.org/gnome/index.html Q1: Where can I find the FreeBSD page that links to "The FreeBSD GNOME project" webpage? Q2: Where can I find a list of other such "projects"? Thanks, Chris From nightrecon at hotmail.com Tue Oct 6 20:12:29 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Tue Oct 6 20:12:36 2009 Subject: FreeBSD "Projects" References: <4ACBA099.3000803@toyon.com> Message-ID: Chris Stankevitz wrote: > > Hello, > > I recently stumbled across "The FreeBSD GNOME Project" webpage which is > filled with detail and great instructions. It is located at > http://www.freebsd.org/gnome/index.html > > Q1: Where can I find the FreeBSD page that links to "The FreeBSD GNOME > project" webpage? > > Q2: Where can I find a list of other such "projects"? > http://www.freebsd.org/projects/projects.html Some content may be old, outdated, or stale. -Mike From maksverver at geocities.com Tue Oct 6 20:21:44 2009 From: maksverver at geocities.com (Maks Verver) Date: Tue Oct 6 20:21:51 2009 Subject: FreeBSD "Projects" In-Reply-To: <4ACBA099.3000803@toyon.com> References: <4ACBA099.3000803@toyon.com> Message-ID: <4ACBA6BC.80704@geocities.com> Hi Chris, > I recently stumbled across "The FreeBSD GNOME Project" webpage which is > filled with detail and great instructions. It is located at > http://www.freebsd.org/gnome/index.html > > Q1: Where can I find the FreeBSD page that links to "The FreeBSD GNOME > project" webpage? > > Q2: Where can I find a list of other such "projects"? For both questions, I think this is the page you're looking for: http://www.freebsd.org/projects/ Kind regards, Maks Verver. From kline at thought.org Tue Oct 6 20:24:16 2009 From: kline at thought.org (Gary Kline) Date: Tue Oct 6 20:24:23 2009 Subject: way to check an email without sending it?? In-Reply-To: <4ACAE00A.9090502@infracaninophile.co.uk> References: <20091005173717.GA44563@thought.org> <20091005135924.be749247.wmoran@potentialtech.com> <20091005195036.GC44739@thought.org> <4ACAE00A.9090502@infracaninophile.co.uk> Message-ID: <20091006202409.GA49128@thought.org> On Tue, Oct 06, 2009 at 07:13:30AM +0100, Matthew Seaman wrote: > Gary Kline wrote: > > > > write and say HI, Howzit hanging... or whatever. Anyway, the > > sendmail -bv ploy > > indicates that this person is still at the address i have. no big > > deal; i was just > > wondering. > > Uh -- sendmail -bv doesn't do what you think it does. It only shows you > what your > local sendmail would do with the message as it tries to deliver it. If > it's not > for a local user, then all it says is 'send it to the SMTP server > responsible' > and nothing at all about what the other machine would do with it. > > The only way to find that out is by connecting to the remote sendmail, > either > by telnet or by actually sending an e-mail. > > Cheers, > > Matthew Yes, indeed. The only other thing is to mess with the whitepages, but not now. The future is coming too quickly, and I'm pretty sure that we'll all have some sort of ID tags embedded ... _somewhere_. thanks for the clue, gary > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From ml at infosec.pl Tue Oct 6 21:00:33 2009 From: ml at infosec.pl (Michal) Date: Tue Oct 6 21:00:39 2009 Subject: zfs on root and zpool.cache importance Message-ID: <4ACBBDCD.6030509@infosec.pl> Hello I'm a bit confused about zpool.cache file. I've got a configuration with /boot sitting on a usb drive (UFS) and everything else on internal ZFS hard drive. I'm booting my system off the usb drive so zpool.cache file is there (usb drive). Basic zfs root + ufs boot setup. Everything works like a charm no problems so far and I would like to keep it that way hence my question. I've noticed that zpool.cache on ZFS drive is being updated from time to time and it is different from zpool.cache file on usb drive. Even when I remove zpool.cache file on hard disk then it gets recreated automatically and system still boots and works fine because it starts with zpool.cache on usb drive which is intact. Now how important it is to keep them in sync and what I'm risking by not doing that? Am I stomping on a thin ice? Should I copy zpool.cache from hard drive to usb boot disk every day or should I leave it how it is? I know that zpool.cache is critical to boot and it keeps some informations about pool configuration but don't quite understand implications of having it outside of the pool itself (without zfs even knowing about that). Michal -- "Every man dies, not every man really lives." -William Wallace From roys1012 at gmail.com Tue Oct 6 21:19:15 2009 From: roys1012 at gmail.com (Roy Stuivenberg) Date: Tue Oct 6 21:19:21 2009 Subject: FreeBSD 7.2-stable amd64 / Gnome2 Message-ID: <1254863908.13585.5.camel@rs-unix.roycs.nl> Hello, I have a question about my Gnome2 install. It stopped when it was installing Alacarte. Error was : wrong pygobject version. After that, I restarted, and x11 came up surprisingly. My portstree is up to date, and googl'in I found similar problems. Anyone know if there is a problem with FreeBSD 7.2 (amd64) and gnome2 ? This problem didn't occur with FreeBSD 7.2 i386 iso. Regards, Roy Stuivenberg. From roys1012 at gmail.com Tue Oct 6 21:24:53 2009 From: roys1012 at gmail.com (Roy Stuivenberg) Date: Tue Oct 6 21:25:05 2009 Subject: follow up Message-ID: <1254864252.13585.7.camel@rs-unix.roycs.nl> ps This is the output building gnome2 : gnomelogalyzer said something like no problem found. checking for ALACARTE... yes checking for pygobject 2.15.1 installed for python required_python_abi... not found configure: error: required pygobject version not found ===> Script "configure" failed unexpectedly. Please run the gnomelogalyzer, available from "http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD GNOME team at gnome@FreeBSD.org, and attach (a) "/usr/ports/deskutils/alacarte/work/alacarte-0.12.1/config.log", (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software. *** Error code 1 Stop in /usr/ports/deskutils/alacarte. *** Error code 1 From fbsd at brightstar.bomgardner.net Tue Oct 6 21:42:53 2009 From: fbsd at brightstar.bomgardner.net (Gene) Date: Tue Oct 6 21:42:59 2009 Subject: FBSD 7.2 - ports blocked but no firewall In-Reply-To: <20091006180519.GA63605@hal.rescomp.berkeley.edu> References: <20091006174735.M14938@brightstar.bomgardner.net> <20091006180519.GA63605@hal.rescomp.berkeley.edu> Message-ID: <20091006214115.M53910@brightstar.bomgardner.net> On Tue, 6 Oct 2009 11:05:19 -0700, Chris Cowart wrote > Gene wrote: > > I'm running 7.2 GENERIC and installed the unrealirc port. I've started it up > > and can connect from localhost just fine. But when attempting to connect from > > the outside world (eg. from another box on the lan) I get connection refused. > > > > I've tried both with and without ipfilter running (with appropriate rule). > > Other ports are reachable including a non-standard port used for ssh. > > > > The question: Could there be any reason that port 6667 might be blocked? > > (Unrealircd questions can be taken up elsewhere). > > It's possible you've configured Unrealircd to only listen on > localhost and not on "*". > > Look for something like: > > | listen *:6697 > | { > | ... > | }; > > And make sure it's "*" and not "127.0.0.1". > Checked and it's correct. -- To everything there is a season, And a time to every purpose under heaven. From fbsd at brightstar.bomgardner.net Tue Oct 6 22:27:57 2009 From: fbsd at brightstar.bomgardner.net (Gene) Date: Tue Oct 6 22:28:03 2009 Subject: KDE broke after portupgrade Message-ID: <20091006222401.M59367@brightstar.bomgardner.net> Hi - I upgraded ports and, as usual, kde4 broke. What I'd like to do is simply remove the existing remains of kde and reinstall. BUT since kde4 is just a metaport deinstalling doesn't seem to work. Is there another way to delete and reinstall kde4? Thanks, IHN, Gene -- To everything there is a season, And a time to every purpose under heaven. From cstankevitz at toyon.com Tue Oct 6 22:44:02 2009 From: cstankevitz at toyon.com (Chris Stankevitz) Date: Tue Oct 6 22:44:11 2009 Subject: Updating the ports collection Message-ID: <4ACBC82C.3030502@toyon.com> The FreeBSD handbook section 4.5.1 describes several methods for obtaining the ports collection including CVSup, Portsnap, and sysinstall. Section 4.5.1 also describes how to update the ports collection, but only for the CVSup and Portsnap methods. Q1: How do I update the ports collection after using sysinstall to obtain it? Q2: Is this explained in the handbook? If so, where? Thank you, Chris PS: I uses sysinstall to obtain the ports collection from the CD during OS install From sonicy at otenet.gr Tue Oct 6 22:57:24 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Tue Oct 6 22:57:31 2009 Subject: Updating the ports collection In-Reply-To: <4ACBC82C.3030502@toyon.com> References: <4ACBC82C.3030502@toyon.com> Message-ID: <4ACBCB51.5090901@otenet.gr> Chris Stankevitz wrote: > > The FreeBSD handbook section 4.5.1 describes several methods for > obtaining the ports collection including CVSup, Portsnap, and sysinstall. > > Section 4.5.1 also describes how to update the ports collection, but > only for the CVSup and Portsnap methods. > > Q1: How do I update the ports collection after using sysinstall to > obtain it? You can use csup as explained in section 4.5.1. This will update the Ports Collection you installed from CD/DVD by fetching only the required newer files Or, you can use portsnap too like this: First time: portsnap fetch extract Subsequent times: portsnap fetch update If you are starting with an empty Ports tree (for example you skipped installing it from CD during sysinstall) portsnap will be faster than csup. (Note you can start with an empty tree and csup as well) Anytime you decide to switch from csup to portsnap, always perform an 'extract' > > Q2: Is this explained in the handbook? If so, where? > In section 4.5 as you noticed already. Portsnap is also revisited in chapter 24: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-portsnap.html From jekillen at prodigy.net Tue Oct 6 23:33:06 2009 From: jekillen at prodigy.net (jeffry killen) Date: Tue Oct 6 23:33:13 2009 Subject: Salvage files from harddrive Message-ID: <2cd283d1fad03837950ef165cf75756c@prodigy.net> Hello; I have a hard drive that contains the /var file system in a system that will not boot. In single user mode I can mount /var. I want to take this disk and put it in another FreeBSD system and try to copy the files I need off of it to a safe place. The system I will plug it into will also have a separate disk with /var. Is there going to be a conflict with the labels and how would I best go about this? system is FreeBSD v6.2 Thank you in advance for guidance, suggestions. JK From rwmaillists at googlemail.com Wed Oct 7 00:22:05 2009 From: rwmaillists at googlemail.com (RW) Date: Wed Oct 7 00:22:13 2009 Subject: Updating the ports collection In-Reply-To: <4ACBC82C.3030502@toyon.com> References: <4ACBC82C.3030502@toyon.com> Message-ID: <20091007012200.0c1cf378@gumby.homeunix.com> On Tue, 06 Oct 2009 15:43:56 -0700 Chris Stankevitz wrote: > > The FreeBSD handbook section 4.5.1 describes several methods for > obtaining the ports collection including CVSup, Portsnap, and > sysinstall. > > Section 4.5.1 also describes how to update the ports collection, but > only for the CVSup and Portsnap methods. > > Q1: How do I update the ports collection after using sysinstall to > obtain it? I'd suggest that you don't use the tree from sysinstall, unless your intent is not to update the tree until the next release. If you use portsnap the tree gets overwritten with the "extract", so you might as well not bother with the on-disk version. If you use csup then the steps are 1. Set the tag to match the port snapshot on the disc and run csup 2. Set the tag to "." (the current tree) and run csup again Step 1 does nothing to the tree, but if you skip it you may end with some stale files left in your tree, which could cause serious problems. IMO this is more trouble than it's worth unless you have a dialup connection. From lists at rhavenn.net Wed Oct 7 00:31:37 2009 From: lists at rhavenn.net (Henrik Hudson) Date: Wed Oct 7 00:31:43 2009 Subject: Salvage files from harddrive In-Reply-To: <2cd283d1fad03837950ef165cf75756c@prodigy.net> References: <2cd283d1fad03837950ef165cf75756c@prodigy.net> Message-ID: <20091007001438.GA6885@alucard.int.rhavenn.net> On Fri, 07 Oct 2011, jeffry killen wrote: > Hello; > I have a hard drive that contains the /var file system in a system that > will not boot. > In single user mode I can mount /var. > > I want to take this disk and put it in another FreeBSD system and > try to copy the files I need off of it to a safe place. > > The system I will plug it into will also have a separate disk with > /var. > > Is there going to be a conflict with the labels and how would I > best go about this? > > system is FreeBSD v6.2 > > Thank you in advance for guidance, suggestions. It shouldn't be a problem. If you stick the "broken" drive in a new system it will show up as a new device to the 2nd system. You will then manually mount the 1st system via the device node to wherever you want. It will not auto-mount that to /var . So, for example your 2nd system has /dev/ad4s1 as its main disk. When you plig the 2nd disk (from the old box) it will show up as /dev/ad5s1 or similar. YOu would then just mount the /var/ slice to wherever you want. For example: mount /dev/ad5sa6 /mnt/oldvar or similar. Please note that your device nodes and slice numbers will most likely be different. Henrik -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF From jhell at DataIX.net Wed Oct 7 00:47:13 2009 From: jhell at DataIX.net (jhell) Date: Wed Oct 7 00:47:20 2009 Subject: Salvage files from harddrive In-Reply-To: <20091007001438.GA6885@alucard.int.rhavenn.net> References: <2cd283d1fad03837950ef165cf75756c@prodigy.net> <20091007001438.GA6885@alucard.int.rhavenn.net> Message-ID: On Tue, 6 Oct 2009 16:14 -0800, lists@ wrote: > On Fri, 07 Oct 2011, jeffry killen wrote: > >> Hello; >> I have a hard drive that contains the /var file system in a system that >> will not boot. >> In single user mode I can mount /var. >> >> I want to take this disk and put it in another FreeBSD system and >> try to copy the files I need off of it to a safe place. >> >> The system I will plug it into will also have a separate disk with >> /var. >> >> Is there going to be a conflict with the labels and how would I >> best go about this? >> >> system is FreeBSD v6.2 >> >> Thank you in advance for guidance, suggestions. > > It shouldn't be a problem. If you stick the "broken" drive in a new > system it will show up as a new device to the 2nd system. > > You will then manually mount the 1st system via the device node to > wherever you want. It will not auto-mount that to /var . > > So, for example your 2nd system has /dev/ad4s1 as its main disk. > When you plig the 2nd disk (from the old box) it will show up as > /dev/ad5s1 or similar. YOu would then just mount the /var/ slice to > wherever you want. > > For example: > mount /dev/ad5sa6 /mnt/oldvar > > or similar. Please note that your device nodes and slice numbers > will most likely be different. > > Henrik > I think (correct me if I am wrong) he is trying to describe that glabel is being used on both systems and that he is worried that a label of "var" that would be in /dev/ufs/var on two separate disks would be conflicting and which one would be mounted first as he does not wish for the disk he is trying to save the contents of to be mounted and be used as the var of the system he is placing the said disk he wants to recover. -- %{----------------------------------------------------+ | dataix.net!jhell 2048R/89D8547E 2009-09-30 | | BSD since FreeBSD 4.2 Linux since Slackware 2.1 | | 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E | +----------------------------------------------------%} From jhell at DataIX.net Wed Oct 7 00:50:43 2009 From: jhell at DataIX.net (jhell) Date: Wed Oct 7 00:50:50 2009 Subject: Salvage files from harddrive In-Reply-To: <2cd283d1fad03837950ef165cf75756c@prodigy.net> References: <2cd283d1fad03837950ef165cf75756c@prodigy.net> Message-ID: On Fri, 7 Oct 2011 04:07 -0700, jekillen@ wrote: > Hello; > I have a hard drive that contains the /var file system in a system that > will not boot. > In single user mode I can mount /var. > > I want to take this disk and put it in another FreeBSD system and > try to copy the files I need off of it to a safe place. > > The system I will plug it into will also have a separate disk with > /var. > > Is there going to be a conflict with the labels and how would I > best go about this? > > system is FreeBSD v6.2 > > Thank you in advance for guidance, suggestions. > JK > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > If you can mount this disk in single user mode your best bet to be safe is just glabel it to something else that your second system is not before you take the disk out of the machine. Even though I don't think it should/would be a problem I can not speak of a authoritative nature on this subject because I have not had to test such cases. Best regards. -- %{----------------------------------------------------+ | dataix.net!jhell 2048R/89D8547E 2009-09-30 | | BSD since FreeBSD 4.2 Linux since Slackware 2.1 | | 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E | +----------------------------------------------------%} From Olivier.Nicole at cs.ait.ac.th Wed Oct 7 00:51:40 2009 From: Olivier.Nicole at cs.ait.ac.th (Olivier Nicole) Date: Wed Oct 7 00:51:47 2009 Subject: Updating the ports collection In-Reply-To: <4ACBC82C.3030502@toyon.com> (message from Chris Stankevitz on Tue, 06 Oct 2009 15:43:56 -0700) References: <4ACBC82C.3030502@toyon.com> Message-ID: <200910070051.n970pajx012236@banyan.cs.ait.ac.th> Hi Chris, > The FreeBSD handbook section 4.5.1 describes several methods for > obtaining the ports collection including CVSup, Portsnap, and sysinstall. > > Section 4.5.1 also describes how to update the ports collection, but > only for the CVSup and Portsnap methods. > > Q1: How do I update the ports collection after using sysinstall to > obtain it? I cannot speak for postsnap, but for cvsup: - you re-run sysinstall and install cvsup from the CD (Configure/Packages/Net/CVSup) - or, since you installed the port tree, you go to /usr/ports/net/cvsup-without-gui and you make, make install, make clean > Q2: Is this explained in the handbook? If so, where? Some may correct me, but I use a file that contains: *default tag=. *default host=cvsup2.jp.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs *default delete use-rel-suffix *default compress ports-all You may change the default host accordingly. Then I use the command cvsup Best, Olivier From henry.olyer at gmail.com Wed Oct 7 01:08:29 2009 From: henry.olyer at gmail.com (Henry Olyer) Date: Wed Oct 7 01:08:42 2009 Subject: sound enablement on an HP CQ60-419WM Message-ID: <1d7089c40910061808t6e7aa944iaa07d97f736901d2@mail.gmail.com> So I want to show a movie; How do I make sound work? I'll be using mplayer. --jg From chris at monochrome.org Wed Oct 7 01:08:32 2009 From: chris at monochrome.org (Chris Hill) Date: Wed Oct 7 01:08:43 2009 Subject: Updating the ports collection In-Reply-To: <200910070051.n970pajx012236@banyan.cs.ait.ac.th> References: <4ACBC82C.3030502@toyon.com> <200910070051.n970pajx012236@banyan.cs.ait.ac.th> Message-ID: On Wed, 7 Oct 2009, Olivier Nicole wrote: > Hi Chris, > >> The FreeBSD handbook section 4.5.1 describes several methods for >> obtaining the ports collection including CVSup, Portsnap, and sysinstall. >> >> Section 4.5.1 also describes how to update the ports collection, but >> only for the CVSup and Portsnap methods. >> >> Q1: How do I update the ports collection after using sysinstall to >> obtain it? > > I cannot speak for postsnap, but for cvsup: csup works (almost?) the same as cvsup, and is in the base system nowadays. I used to install cvsup, but now I only install fastest_cvsup; it's just a utility to find the fastest server for you at the moment. > Some may correct me, but I use a file that contains: > > *default tag=. > *default host=cvsup2.jp.FreeBSD.org > *default base=/var/db > *default prefix=/usr > *default release=cvs > *default delete use-rel-suffix > *default compress > ports-all I do the same, and run csup as: csup -g -h `/usr/local/bin/fastest_cvsup -Q -c us` /etc/supfile.ports ...where /etc/supfile.ports is pretty much as above. In that case, it doesn't matter what "default host" is set to, since the -h option to csup overrides the default. The '-c us' part applies to me, but it might not for you; see the man page. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From thomas at sanbe-farma.com Wed Oct 7 03:14:02 2009 From: thomas at sanbe-farma.com (Thomas Wahyudi) Date: Wed Oct 7 03:14:09 2009 Subject: BTX Halted In-Reply-To: References: <62c908120910060136y130ebdeem96b04931a112ed02@mail.gmail.com> Message-ID: <4ACC0770.2050905@sanbe-farma.com> I have the same problem but 32bit version is running normaly From the.real.david.allen at gmail.com Wed Oct 7 06:45:37 2009 From: the.real.david.allen at gmail.com (David Allen) Date: Wed Oct 7 06:45:44 2009 Subject: A general sed question Message-ID: <2daa8b4e0910062345r83fa23aj113b062af114887f@mail.gmail.com> I keep bumping up against this, so I thought I'd throw this question out to those who understand sed better than I do. What I'm trying to do is to clean up the contents of some files (/sys/i386/conf/GENERIC would be a good example) to get more readable diffs. To that end, I'm trying to use sed to - delete commented lines - remove inline comments - remove trailing spaces and/or tabs - delete blank lines, and/or lines containing just spaces and/or tabs - expand tabs Thanks! From bernt at bah.homeip.net Wed Oct 7 06:49:40 2009 From: bernt at bah.homeip.net (Bernt Hansson) Date: Wed Oct 7 06:49:47 2009 Subject: sound enablement on an HP CQ60-419WM In-Reply-To: <1d7089c40910061808t6e7aa944iaa07d97f736901d2@mail.gmail.com> References: <1d7089c40910061808t6e7aa944iaa07d97f736901d2@mail.gmail.com> Message-ID: <4ACC39EF.6010208@bah.homeip.net> Henry Olyer said the following on 2009-10-07 03:08: > So I want to show a movie; > > How do I make sound work? I'll be using mplayer. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html From chrisstankevitz at yahoo.com Wed Oct 7 06:53:51 2009 From: chrisstankevitz at yahoo.com (Chris Stankevitz) Date: Wed Oct 7 06:53:57 2009 Subject: Howto: ethernet card on dell M6300 Message-ID: <106754.29417.qm@web52912.mail.re2.yahoo.com> I was saddened to find that my ethernet card did not work on my FreeBSD 7.2 machine. The bge driver in the kernel did not support the broadcom 5756ME. Here is how I got it to work: 1. Set my machine up to compile the kernel (see section 8.5 of manual) 2. Edit /usr/src/sys/dev/bge/if_bgereg.h. Add a definition for BCOM_DEVICEID_BCM5756ME with the value 0x1674 after BCOM_DEVICEID_BCM5755M: #define BCOM_DEVICEID_BCM5755M 0x1673 #define BCOM_DEVICEID_BCM5756ME 0x1674 #define BCOM_DEVICEID_BCM5780 0x166A 3. Edit /usr/src/sys/dev/bge/if_bge.c. Add a reference to BCOM_DEVICEID_BCM5756ME after BCOM_DEVICEID_BCM5755M: { BCOM_VENDORID, BCOM_DEVICEID_BCM5755M }, { BCOM_VENDORID, BCOM_DEVICEID_BCM5756ME }, { BCOM_VENDORID, BCOM_DEVICEID_BCM5780 }, 4. Compile and install the kernel, and reboot 5. Configure the card using sysinstall Chris From chrisstankevitz at yahoo.com Wed Oct 7 06:54:43 2009 From: chrisstankevitz at yahoo.com (Chris Stankevitz) Date: Wed Oct 7 06:54:49 2009 Subject: / almost out of space just after installation Message-ID: <874310.63278.qm@web52906.mail.re2.yahoo.com> Hello, I just installed FreeBSD. After I installed it, I was surprised to find only 26M of space on /. I used the auto-defaults during the Disklabel portion of the install. [cstankevitz@crs-m6300 ~]$ df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad4s1a 496M 430M 26M 94% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad4s1e 496M 14K 456M 0% /tmp /dev/ad4s1f 113G 1.9G 102G 2% /usr /dev/ad4s1d 2.9G 7.9M 2.6G 0% /var Q1: Is 26M free space on / after installing FreeBSD normal? Q2: Will I be able to install GNOME, Firefox, download 30 MB of files, and place them on my GNOME dekstop? (I believe the desktop is located at /home/cstankevitz/.desktop aka on the root partition where there is only 26M of free space) Q3: Which changes, if any, should I make to my system? Thank you, Chris From Olivier.Nicole at cs.ait.ac.th Wed Oct 7 07:08:02 2009 From: Olivier.Nicole at cs.ait.ac.th (Olivier Nicole) Date: Wed Oct 7 07:08:09 2009 Subject: / almost out of space just after installation In-Reply-To: <874310.63278.qm@web52906.mail.re2.yahoo.com> (message from Chris Stankevitz on Tue, 6 Oct 2009 23:28:00 -0700 (PDT)) References: <874310.63278.qm@web52906.mail.re2.yahoo.com> Message-ID: <200910070707.n9777t7X070411@banyan.cs.ait.ac.th> Hi, > Q1: Is 26M free space on / after installing FreeBSD normal? That is not the right question to ask :) The question would be "is it normal that / is using 430M?". It depemds what you have in / file system. After instal, I have 271M used, but for example, my user home directory is on a separate file system. > Q2: Will I be able to install GNOME, Firefox, Yes, the installed software goes to /usr > download 30 MB of > files, and place them on my GNOME dekstop? (I believe the desktop > is located at /home/cstankevitz/.desktop aka on the root partition > where there is only 26M of free space) No because you have your home directory in the root file system and there is only 36 MB left, so you cannot use 30MB. > Q3: Which changes, if any, should I make to my system? Reinstall with sensible partitioning; for a desktop machine I'd use: / 2GB /usr 20~30GB /var 2GB /tmp 1GB /home the rest On the servers I have, have a maximum of 10GB used on the busiest machine, including a full buildworld/buildkernel. Best regards, Olivier From luvbeastie at larseighner.com Wed Oct 7 08:06:12 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Wed Oct 7 08:06:19 2009 Subject: / almost out of space just after installation In-Reply-To: <874310.63278.qm@web52906.mail.re2.yahoo.com> References: <874310.63278.qm@web52906.mail.re2.yahoo.com> Message-ID: <20091007025720.A81275@qroenaqrq.6qbyyneqvnyhc.pbz> On Tue, 6 Oct 2009, Chris Stankevitz wrote: > Hello, > > I just installed FreeBSD. After I installed it, I was surprised to find > only 26M of space on /. I used the auto-defaults during the Disklabel > portion of the install. > > [cstankevitz@crs-m6300 ~]$ df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad4s1a 496M 430M 26M 94% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad4s1e 496M 14K 456M 0% /tmp > /dev/ad4s1f 113G 1.9G 102G 2% /usr > /dev/ad4s1d 2.9G 7.9M 2.6G 0% /var > > Q1: Is 26M free space on / after installing FreeBSD normal? Goodness! What version did you install? > Q2: Will I be able to install GNOME, Firefox, download 30 MB of files, and > place them on my GNOME dekstop? (I believe the desktop is located at > /home/cstankevitz/.desktop aka on the root partition where there is only > 26M of free space) The default installation used to make /home a symbolic link to /usr/home. > Q3: Which changes, if any, should I make to my system? Move /home to /usr/home and create a symbolic link /home -> /usr/home That should give you some breathing room in / unless you have the bad habit of running as root and crud accumulates in /root or you keep several old kernels. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From unix.hacker at comcast.net Wed Oct 7 08:40:20 2009 From: unix.hacker at comcast.net (unix.hacker) Date: Wed Oct 7 08:40:27 2009 Subject: / almost out of space just after installation In-Reply-To: <20091007025720.A81275@qroenaqrq.6qbyyneqvnyhc.pbz> References: <874310.63278.qm@web52906.mail.re2.yahoo.com> <20091007025720.A81275@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <20091007042242.13e62c42@zauberer.unix.freebsd.org> On Wed, 7 Oct 2009 02:57:27 -0500 (CDT) Lars Eighner wrote: *SNIP* > That should give you some breathing room in / unless you have the bad > habit of running as root and crud accumulates in /root or you keep > several old kernels. / and /root should be cleaned as you said, but I don't ever change the size of the / partitions and I personally think they are perfectly sized. I'm thinking the person who asked came from Linux where it's common, and perfectly fine, I might add, to have just the / and /swap partitions. This is perfectly fine, but FreeBSD does more work for you without you having to set up partitions yourself. It keeps busy file systems from bleeding into the ones where the systems keeps its bins. Anyway, I use both Linux and BSD, and I don't understand quite so well why someone said this person couldn't keep things on their desktop, when that stuff is all on /usr.... You're partitions are fine, and using root for everything and filling up that file system... heh, you could do worse using root that often. Using everything as root is a lot like Heroin; You might like it so much you want to do it all the time because NOTHING is holding you back... But, you might also ruin your life BECAUSE nothing is holding you back. Every time you use it (root, Heroin) you're risking your ass ;) From nlandys at gmail.com Wed Oct 7 08:58:32 2009 From: nlandys at gmail.com (Nerius Landys) Date: Wed Oct 7 08:58:39 2009 Subject: A general sed question In-Reply-To: <2daa8b4e0910062345r83fa23aj113b062af114887f@mail.gmail.com> References: <2daa8b4e0910062345r83fa23aj113b062af114887f@mail.gmail.com> Message-ID: <560f92640910070158j51471e39pe8719ed088eea1ea@mail.gmail.com> Uh, I know I'm stating the obvious, but you might try these 2 techniques to enhance your diff experience: 1. Use "diff -w". 2. Do "cat filename | sort > filename.sorted" for both files you are diffing, and then compare both sorted files. From olli at lurza.secnetix.de Wed Oct 7 09:07:20 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Wed Oct 7 09:07:27 2009 Subject: FBSD 7.2 - ports blocked but no firewall In-Reply-To: <20091006214115.M53910@brightstar.bomgardner.net> Message-ID: <200910070906.n9796vWU007699@lurza.secnetix.de> Gene wrote: > On Tue, 6 Oct 2009 11:05:19 -0700, Chris Cowart wrote > > Gene wrote: > > > I'm running 7.2 GENERIC and installed the unrealirc port. I've started it up > > > and can connect from localhost just fine. But when attempting to connect from > > > the outside world (eg. from another box on the lan) I get connection refused. > > > > > > I've tried both with and without ipfilter running (with appropriate rule). > > > Other ports are reachable including a non-standard port used for ssh. > > > > > > The question: Could there be any reason that port 6667 might be blocked? > > > (Unrealircd questions can be taken up elsewhere). > > > > It's possible you've configured Unrealircd to only listen on > > localhost and not on "*". > > > > Look for something like: > > > > | listen *:6697 > > | { > > | ... > > | }; > > > > And make sure it's "*" and not "127.0.0.1". > > Checked and it's correct. Please check the output from this command: sockstat -l | grep :6667 It will tell you if the daemon is listening on localhost only or on all interfaces. This will narrow done the cause of the problem: If the daemon listens on localhost, then it's a configuration problem with that daemon. If it listens on all interfaces ("*"), then the problem is somewhere else, e.g. a packet filter (on the server or client side, or somewhere between), or maybe a typo when starting the client (wrong port number or address). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "We will perhaps eventually be writing only small modules which are identi- fied by name as they are used to build larger ones, so that devices like indentation, rather than delimiters, might become feasible for expressing local structure in the source language." -- Donald E. Knuth, 1974 From jonc at chen.org.nz Wed Oct 7 09:41:44 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Wed Oct 7 09:41:51 2009 Subject: / almost out of space just after installation In-Reply-To: <874310.63278.qm@web52906.mail.re2.yahoo.com> References: <874310.63278.qm@web52906.mail.re2.yahoo.com> Message-ID: <20091007094142.GA90993@osiris.chen.org.nz> On Tue, Oct 06, 2009 at 11:28:00PM -0700, Chris Stankevitz wrote: > Hello, > > I just installed FreeBSD. After I installed it, I was surprised to find only 26M of space on /. I used the auto-defaults during the Disklabel portion of the install. > > [cstankevitz@crs-m6300 ~]$ df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad4s1a 496M 430M 26M 94% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad4s1e 496M 14K 456M 0% /tmp > /dev/ad4s1f 113G 1.9G 102G 2% /usr > /dev/ad4s1d 2.9G 7.9M 2.6G 0% /var > > Q1: Is 26M free space on / after installing FreeBSD normal? > The amount used (ie: 430M) looks about right. On my FreeBSD-7.2-STABLE/amd64, running a GENERIC kernel with a minimal /etc, my / filesystem is using 443M. However, this has a /boot/kernel and a /boot/kernel.old, both of which chews up 210M each. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- If you're right 90% of the time, why quibble about the remaining 3%? From olli at lurza.secnetix.de Wed Oct 7 10:26:52 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Wed Oct 7 10:26:59 2009 Subject: A general sed question In-Reply-To: <2daa8b4e0910062345r83fa23aj113b062af114887f@mail.gmail.com> Message-ID: <200910071026.n97AQYJw011098@lurza.secnetix.de> David Allen wrote: > I keep bumping up against this, so I thought I'd throw this question out > to those who understand sed better than I do. > > What I'm trying to do is to clean up the contents of some files > (/sys/i386/conf/GENERIC would be a good example) to get more readable > diffs. To that end, I'm trying to use sed to > > - delete commented lines > - remove inline comments > - remove trailing spaces and/or tabs > - delete blank lines, and/or lines containing just spaces and/or tabs > - expand tabs I recommend to use the -Bb options of diff. They cause diff to ignore blank lines and any changes in the amount of white space (including tabs). You can also use -w to ignore *all* white space, but note that "foo bar" and "foobar" are then considered equal, which might not be what you want. So only the removal of comments remains: sed 's/#.*//' That will remove all comments. Afterwards, commented lines are empty, so the -B option of diff will ignore them, so you don't have to remove them explicitly. When using zsh as your shell, you can use a nice feature called "process substitution", so you don't have to create temporary files: diff -Buw <(sed 's/#.*//' GENERIC) <(sed 's/#.*//' MYKERNEL) I think bash has a similar feature, but I don't know the syntax, so please see the manpage if you're a bash user. If you need to do that oftem, it's worth to create an alias or shell function. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "People still program in C. People keep writing shell scripts. *Most* people don't realize the shortcomings of the tools they are using because they a) don't reflect on their workflows and they are b) too lazy to check out alternatives to realize there is help." -- Simon 'corecode' Schubert From olli at lurza.secnetix.de Wed Oct 7 10:59:41 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Wed Oct 7 10:59:49 2009 Subject: Howto: ethernet card on dell M6300 In-Reply-To: <106754.29417.qm@web52912.mail.re2.yahoo.com> Message-ID: <200910071059.n97AxOex012423@lurza.secnetix.de> Chris Stankevitz wrote: > I was saddened to find that my ethernet card did not work on > my FreeBSD 7.2 machine. The bge driver in the kernel did not > support the broadcom 5756ME. Here is how I got it to work: > > 1. Set my machine up to compile the kernel (see section 8.5 > of manual) > > 2. Edit /usr/src/sys/dev/bge/if_bgereg.h. Add a definition > for BCOM_DEVICEID_BCM5756ME with the value 0x1674 after > BCOM_DEVICEID_BCM5755M: > > #define BCOM_DEVICEID_BCM5755M 0x1673 > #define BCOM_DEVICEID_BCM5756ME 0x1674 > #define BCOM_DEVICEID_BCM5780 0x166A > > 3. Edit /usr/src/sys/dev/bge/if_bge.c. Add a reference to > BCOM_DEVICEID_BCM5756ME after BCOM_DEVICEID_BCM5755M: > > { BCOM_VENDORID, BCOM_DEVICEID_BCM5755M }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM5756ME }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM5780 }, > > 4. Compile and install the kernel, and reboot > > 5. Configure the card using sysinstall Would you please send a problem report containing your patches? You can simply use the send-pr(1) tool, or use the online web form. That way your patches won't get lost. I think that the developers of the NIC drivers aren't always reading the questions@ mailing list. Thank you very much! Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Share your knowledge. It is a way to achieve immortality." -- The Dalai Lama From olli at lurza.secnetix.de Wed Oct 7 11:10:40 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Wed Oct 7 11:10:46 2009 Subject: / almost out of space just after installation In-Reply-To: <874310.63278.qm@web52906.mail.re2.yahoo.com> Message-ID: <200910071110.n97BANiE012861@lurza.secnetix.de> Chris Stankevitz wrote: > I just installed FreeBSD. After I installed it, I was surprised to > find only 26M of space on /. I used the auto-defaults during the > Disklabel portion of the install. > > [cstankevitz@crs-m6300 ~]$ df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad4s1a 496M 430M 26M 94% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad4s1e 496M 14K 456M 0% /tmp > /dev/ad4s1f 113G 1.9G 102G 2% /usr > /dev/ad4s1d 2.9G 7.9M 2.6G 0% /var > > Q1: Is 26M free space on / after installing FreeBSD normal? It depends on the FreeBSD version, and whether you installed the kernel with debug symbols. 430 MB space used in the root file system isn't completely uncommon. Nowadays I recomment to spend 1 GB for the root file system, especially if you plan to keep more than one kernel. > Q2: Will I be able to install GNOME, Firefox, download 30 MB of > files, and place them on my GNOME dekstop? (I believe the desktop is > located at /home/cstankevitz/.desktop aka on the root partition where > there is only 26M of free space) All third-party software goes to /usr, so there's no problem. > Q3: Which changes, if any, should I make to my system? Make sure that /home is a symlink to /usr/home. You already have /var and /tmp on separate partitions, which is good. Personally I would grow the root file system to 1 GB. It's not strictly necessary, but it's better to have some more space there, especially during system updates, e.g. when updating the kernel you want to keep a copy of the old kernel. By the way, I often don't create /tmp as a disk partition, but as a memory disk. This is unrelated to the size of the root file system, though. An entry like this in /etc/fstab will do it: md /tmp mfs rw,nosuid,-s500m,async 0 0 Afterwards you can use the disk partition previously used for /tmp for a different purpose (e.g. for swap, or add it do the preceding partition which would be /var in your case, I think.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Blogging: Never before have so many people with so little to say said so much to so few. From pjlists at netzkommune.de Wed Oct 7 11:12:41 2009 From: pjlists at netzkommune.de (Philip Jocks) Date: Wed Oct 7 11:12:48 2009 Subject: dump_snapshot file Message-ID: <9CC197E2-43F9-4583-9DE6-EDC51E1618F0@netzkommune.de> Hi, I had a file /usr/.snap/dump_snapshot being about 15GB in size, which I removed because the partition was filling up. The file's date was always rather current, so I'm wondering, what it was for? I did do a level 0 dump with -0 and -Lau parameters a few weeks ago and always do dumps on other boxes, but never saw a file in the .snap directory growing. For the other partitions, there are no such files, that's why I'm wondering. Maybe someone can shed some light on this for me. Thanks! Philip From roberthuff at rcn.com Wed Oct 7 12:27:00 2009 From: roberthuff at rcn.com (Robert Huff) Date: Wed Oct 7 12:27:07 2009 Subject: / almost out of space just after installation In-Reply-To: <20091007094142.GA90993@osiris.chen.org.nz> References: <874310.63278.qm@web52906.mail.re2.yahoo.com> <20091007094142.GA90993@osiris.chen.org.nz> Message-ID: <19148.33986.629983.591360@jerusalem.litteratus.org> Jonathan Chen writes: > > I just installed FreeBSD. After I installed it, I was surprised > > to find only 26M of space on /. I used the auto-defaults during > > the Disklabel portion of the install. > > > > [cstankevitz@crs-m6300 ~]$ df -h > > Filesystem Size Used Avail Capacity Mounted on > > /dev/ad4s1a 496M 430M 26M 94% / > > devfs 1.0K 1.0K 0B 100% /dev > > /dev/ad4s1e 496M 14K 456M 0% /tmp > > /dev/ad4s1f 113G 1.9G 102G 2% /usr > > /dev/ad4s1d 2.9G 7.9M 2.6G 0% /var > > > > Q1: Is 26M free space on / after installing FreeBSD normal? > > > > The amount used (ie: 430M) looks about right. On my > FreeBSD-7.2-STABLE/amd64, running a GENERIC kernel with a minimal > /etc, my / filesystem is using 443M. However, this has a > /boot/kernel and a /boot/kernel.old, both of which chews up 210M > each. Agreed. Other minor suggestions to the OP: check the contents of /root, and move anything large that can live elsewhere and create a symlink. And somethings can just be deleted: if root uses two or three times a year, then a large cache is probably superfluous. Look for any ".core" files, which can usually be deleted. It is my understanding that - providing /tmp is on a separate partition - / should receive very little traffic, and the size should stabilize quickly. Robert Huff From freebsd-questions at slightlystrange.org Wed Oct 7 12:47:52 2009 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Wed Oct 7 12:48:00 2009 Subject: Updating the ports collection In-Reply-To: References: <4ACBC82C.3030502@toyon.com> <200910070051.n970pajx012236@banyan.cs.ait.ac.th> Message-ID: <20091007123732.GA84700@torus.slightlystrange.org> On Tue, Oct 06, 2009 at 09:07:07PM -0400, Chris Hill wrote: > On Wed, 7 Oct 2009, Olivier Nicole wrote: > > >Hi Chris, > > > >>The FreeBSD handbook section 4.5.1 describes several methods for > >>obtaining the ports collection including CVSup, Portsnap, and sysinstall. > >> > >>Section 4.5.1 also describes how to update the ports collection, but > >>only for the CVSup and Portsnap methods. > >> > >>Q1: How do I update the ports collection after using sysinstall to > >>obtain it? > > > >I cannot speak for postsnap, but for cvsup: > > csup works (almost?) the same as cvsup, and is in the base system > nowadays. I used to install cvsup, but now I only install fastest_cvsup; > it's just a utility to find the fastest server for you at the moment. > > >Some may correct me, but I use a file that contains: > > > >*default tag=. > >*default host=cvsup2.jp.FreeBSD.org > >*default base=/var/db > >*default prefix=/usr > >*default release=cvs > >*default delete use-rel-suffix > >*default compress > >ports-all > > I do the same, and run csup as: > > csup -g -h `/usr/local/bin/fastest_cvsup -Q -c us` /etc/supfile.ports You can set SUPHOST= `/usr/local/bin/fastest_cvsup -Q -c us` SUPFLAGS= -g in /etc/make.conf and save yourself some typing. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091007/ce7a02a7/attachment.pgp From aaflatooni at yahoo.com Wed Oct 7 13:05:21 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Wed Oct 7 13:05:28 2009 Subject: Daily run reports Message-ID: <496325.97096.qm@web56204.mail.re3.yahoo.com> Hi, I am wondering what process generates the following reports: security run output daily run output monthly run output In my FreeBSD 6.3 I had these reports emailed to root, but?I haven't recieved them in my?new installation of FreeBSD 7.2. Can I also get a similar report generated for Tripwire? Thanks From glen.j.barber at gmail.com Wed Oct 7 13:09:53 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Oct 7 13:10:02 2009 Subject: Daily run reports In-Reply-To: <496325.97096.qm@web56204.mail.re3.yahoo.com> References: <496325.97096.qm@web56204.mail.re3.yahoo.com> Message-ID: <4ad871310910070609r126fb880he201b9f2aa2d3f3f@mail.gmail.com> Hi, On Wed, Oct 7, 2009 at 1:05 PM, Aflatoon Aflatooni wrote: > Hi, > I am wondering what process generates the following reports: > security run output > daily run output > monthly run output > You should see these lines in /etc/crontab: # Perform daily/weekly/monthly maintenance. 1 3 * * * root periodic daily 15 4 * * 6 root periodic weekly 30 5 1 * * root periodic monthly You can set the MAILTO environment variable in /etc/crontab to mail to an alternate address if needed. > In my FreeBSD 6.3 I had these reports emailed to root, but?I haven't recieved them in my?new installation of FreeBSD 7.2. You should, unless you have a modified /etc/periodic.conf > Can I also get a similar report generated for Tripwire? > I'm not sure about tripwire, but it should either be handled by rc.conf or periodic.conf. -- Glen Barber From oloringr at gmail.com Wed Oct 7 13:12:21 2009 From: oloringr at gmail.com (Ed Jobs) Date: Wed Oct 7 13:12:28 2009 Subject: Daily run reports In-Reply-To: <496325.97096.qm@web56204.mail.re3.yahoo.com> References: <496325.97096.qm@web56204.mail.re3.yahoo.com> Message-ID: <200910071612.25272.oloringr@gmail.com> On Wednesday 07 October 2009 16:05, Aflatoon Aflatooni wrote: > Hi, > I am wondering what process generates the following reports: > security run output > daily run output > monthly run output > > In my FreeBSD 6.3 I had these reports emailed to root, but I haven't > recieved them in my new installation of FreeBSD 7.2. Can I also get a > similar report generated for Tripwire? > > Thanks > i can't login to my fbsd machine to check it out atm, but you could see the cron file that resides in /etc. /etc/crontab or something that is. i'm pretty sure that those are called from in there -- Real programmers don't document. If it was hard to write, it should be hard to understand. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091007/5fb69601/attachment.pgp From wblock at wonkity.com Wed Oct 7 13:49:05 2009 From: wblock at wonkity.com (Warren Block) Date: Wed Oct 7 13:49:12 2009 Subject: dump_snapshot file In-Reply-To: <9CC197E2-43F9-4583-9DE6-EDC51E1618F0@netzkommune.de> References: <9CC197E2-43F9-4583-9DE6-EDC51E1618F0@netzkommune.de> Message-ID: On Wed, 7 Oct 2009, Philip Jocks wrote: > I had a file /usr/.snap/dump_snapshot being about 15GB in size, which I > removed because the partition was filling up. > The file's date was always rather current, so I'm wondering, what it was for? > I did do a level 0 dump with -0 and -Lau parameters a few weeks ago and > always do dumps on other boxes, but never saw a file in the .snap directory > growing. For the other partitions, there are no such files, that's why I'm > wondering. > Maybe someone can shed some light on this for me. man -P 'less +/-L' dump explains it a bit. The snapshot file is supposed to go away after dump completes, but in your case dump died or was killed before it unlinked the file. On small filesystems, -L is quick enough to not make a noticeable difference. /usr can be huge, and there's a long pause while it makes that snapshot and doesn't seem to be doing anything useful. -Warren Block * Rapid City, South Dakota USA From kraduk at googlemail.com Wed Oct 7 14:35:53 2009 From: kraduk at googlemail.com (krad) Date: Wed Oct 7 14:36:05 2009 Subject: Updating the ports collection In-Reply-To: <20091007123732.GA84700@torus.slightlystrange.org> References: <4ACBC82C.3030502@toyon.com> <200910070051.n970pajx012236@banyan.cs.ait.ac.th> <20091007123732.GA84700@torus.slightlystrange.org> Message-ID: 2009/10/7 Daniel Bye > On Tue, Oct 06, 2009 at 09:07:07PM -0400, Chris Hill wrote: > > On Wed, 7 Oct 2009, Olivier Nicole wrote: > > > > >Hi Chris, > > > > > >>The FreeBSD handbook section 4.5.1 describes several methods for > > >>obtaining the ports collection including CVSup, Portsnap, and > sysinstall. > > >> > > >>Section 4.5.1 also describes how to update the ports collection, but > > >>only for the CVSup and Portsnap methods. > > >> > > >>Q1: How do I update the ports collection after using sysinstall to > > >>obtain it? > > > > > >I cannot speak for postsnap, but for cvsup: > > > > csup works (almost?) the same as cvsup, and is in the base system > > nowadays. I used to install cvsup, but now I only install fastest_cvsup; > > it's just a utility to find the fastest server for you at the moment. > > > > >Some may correct me, but I use a file that contains: > > > > > >*default tag=. > > >*default host=cvsup2.jp.FreeBSD.org > > >*default base=/var/db > > >*default prefix=/usr > > >*default release=cvs > > >*default delete use-rel-suffix > > >*default compress > > >ports-all > > > > I do the same, and run csup as: > > > > csup -g -h `/usr/local/bin/fastest_cvsup -Q -c us` /etc/supfile.ports > > You can set > > SUPHOST= `/usr/local/bin/fastest_cvsup -Q -c us` > SUPFLAGS= -g > > in /etc/make.conf and save yourself some typing. > > Dan > you > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ > the above way is good but this is the simplest as it requires no additional programs or editing csup -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile I use the following as its a bit faster csup -h cvsup.uk.FreeBSD.org /usr/share/examples/cvsup/ports-supfile you can obviously insert your own country code From freebsd at edvax.de Wed Oct 7 14:35:58 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Oct 7 14:36:06 2009 Subject: dump_snapshot file In-Reply-To: <9CC197E2-43F9-4583-9DE6-EDC51E1618F0@netzkommune.de> References: <9CC197E2-43F9-4583-9DE6-EDC51E1618F0@netzkommune.de> Message-ID: <20091007163554.8dbced81.freebsd@edvax.de> On Wed, 7 Oct 2009 09:48:19 +0200, Philip Jocks wrote: > Hi, > > I had a file /usr/.snap/dump_snapshot being about 15GB in size, which > I removed because the partition was filling up. > The file's date was always rather current, so I'm wondering, what it > was for? Maybe this file came from a background fsck? I noticed this on one of my former systems that had background_fsck_enable="YES" and it ran once, but I changed the setting to ="NO". The file in question was present on the file systems checked. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From kraduk at googlemail.com Wed Oct 7 14:39:54 2009 From: kraduk at googlemail.com (krad) Date: Wed Oct 7 14:40:01 2009 Subject: / almost out of space just after installation In-Reply-To: <19148.33986.629983.591360@jerusalem.litteratus.org> References: <874310.63278.qm@web52906.mail.re2.yahoo.com> <20091007094142.GA90993@osiris.chen.org.nz> <19148.33986.629983.591360@jerusalem.litteratus.org> Message-ID: 2009/10/7 Robert Huff > > Jonathan Chen writes: > > > I just installed FreeBSD. After I installed it, I was surprised > > > to find only 26M of space on /. I used the auto-defaults during > > > the Disklabel portion of the install. > > > > > > [cstankevitz@crs-m6300 ~]$ df -h > > > Filesystem Size Used Avail Capacity Mounted on > > > /dev/ad4s1a 496M 430M 26M 94% / > > > devfs 1.0K 1.0K 0B 100% /dev > > > /dev/ad4s1e 496M 14K 456M 0% /tmp > > > /dev/ad4s1f 113G 1.9G 102G 2% /usr > > > /dev/ad4s1d 2.9G 7.9M 2.6G 0% /var > > > > > > Q1: Is 26M free space on / after installing FreeBSD normal? > > > > > > > The amount used (ie: 430M) looks about right. On my > > FreeBSD-7.2-STABLE/amd64, running a GENERIC kernel with a minimal > > /etc, my / filesystem is using 443M. However, this has a > > /boot/kernel and a /boot/kernel.old, both of which chews up 210M > > each. > > Agreed. > Other minor suggestions to the OP: check the contents of /root, > and move anything large that can live elsewhere and create a > symlink. And somethings can just be deleted: if root uses > two or three times a year, then a large > cache is probably superfluous. > Look for any ".core" files, which can usually be deleted. > > It is my understanding that - providing /tmp is on a separate > partition - / should receive very little traffic, and the size > should stabilize quickly. > > > Robert Huff > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > if only we had zfs root as standard and none of this would be an issue. 8) From freebsd at edvax.de Wed Oct 7 14:42:14 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Oct 7 14:42:22 2009 Subject: Daily run reports In-Reply-To: <4ad871310910070609r126fb880he201b9f2aa2d3f3f@mail.gmail.com> References: <496325.97096.qm@web56204.mail.re3.yahoo.com> <4ad871310910070609r126fb880he201b9f2aa2d3f3f@mail.gmail.com> Message-ID: <20091007164212.f7dff406.freebsd@edvax.de> On Wed, 7 Oct 2009 13:09:51 +0000, Glen Barber wrote: > You should see these lines in /etc/crontab: > > # Perform daily/weekly/monthly maintenance. > 1 3 * * * root periodic daily > 15 4 * * 6 root periodic weekly > 30 5 1 * * root periodic monthly > > You can set the MAILTO environment variable in /etc/crontab to mail to > an alternate address if needed. Another way is to edit /etc/mail/aliases and forward mail to root to your preferred account, e. g. root: myuser Note that "recompiling" sendmail's files is neccessary, and sendmail needs to be restarted. It is explained at the top of Makefile in the /etc/mail directory. It's quite easy. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From david at vizion2000.net Wed Oct 7 15:11:52 2009 From: david at vizion2000.net (David Southwell) Date: Wed Oct 7 15:12:00 2009 Subject: Apache server imap.so ssl_once_only_init error Message-ID: <200910071611.35468.david@vizion2000.net> Hi Would anyone be willing to help me out of my misery - I need to solcve this one: Thanks in advance David Apache22 server does not start httpd-error.log reads: [Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" From freebsd at edvax.de Wed Oct 7 15:30:25 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Oct 7 15:30:37 2009 Subject: / almost out of space just after installation In-Reply-To: References: <874310.63278.qm@web52906.mail.re2.yahoo.com> <20091007094142.GA90993@osiris.chen.org.nz> <19148.33986.629983.591360@jerusalem.litteratus.org> Message-ID: <20091007173022.f914bdc0.freebsd@edvax.de> On Wed, 7 Oct 2009 15:39:52 +0100, krad wrote: > if only we had zfs root as standard and none of this would be an issue. 8) You can create one big / partition even on UFS. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From cswiger at mac.com Wed Oct 7 15:30:31 2009 From: cswiger at mac.com (Chuck Swiger) Date: Wed Oct 7 15:30:38 2009 Subject: Apache server imap.so ssl_once_only_init error In-Reply-To: <200910071611.35468.david@vizion2000.net> References: <200910071611.35468.david@vizion2000.net> Message-ID: Hi-- On Oct 7, 2009, at 8:11 AM, David Southwell wrote: > [Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA > certificate > (BasicConstraints: CA == TRUE !?) > [Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA > certificate > (BasicConstraints: CA == TRUE !?) > /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined > symbol > "ssl_onceonlyinit" At a guess, you are trying to use self-signed certificates, and you generated a CA certificate to sign them, but are trying to use that CA cert directly instead of creating a new x.509 keypair, CSR, and signing that with your CA cert or have a Verisign, enTrust, openca.org, etc. Regards, -- -Chuck From david at vizion2000.net Wed Oct 7 15:58:45 2009 From: david at vizion2000.net (David Southwell) Date: Wed Oct 7 15:58:52 2009 Subject: Apache server imap.so ssl_once_only_init error In-Reply-To: <4ACCB534.6070500@lohika.com> References: <200910071611.35468.david@vizion2000.net> <4ACCB534.6070500@lohika.com> Message-ID: <200910071658.28543.david@vizion2000.net> > Chuck Swiger wrote: > > Hi-- > > > > On Oct 7, 2009, at 8:11 AM, David Southwell wrote: > >> [Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA > >> certificate > >> (BasicConstraints: CA == TRUE !?) > >> [Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA > >> certificate > >> (BasicConstraints: CA == TRUE !?) > >> /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined > >> symbol > >> "ssl_onceonlyinit" > > > > At a guess, you are trying to use self-signed certificates, and you > > generated a CA certificate to sign them, but are trying to use that CA > > cert directly instead of creating a new x.509 keypair, CSR, and signing > > that with your CA cert or have a Verisign, enTrust, openca.org, etc. > > > > Regards, > > I would guess that the imap.so symbol issue is what is causing Apache to > die... > > The certificate-related messages are warnings and should not make it fatal. > > Markiyan. > I am pretty sure that is the case. The imap issue was around before I created the certificates. Here is a longer extract from the httpd-error.log /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" [Wed Oct 07 13:58:39 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Wed Oct 07 13:58:40 2009] [warn] module php5_module is already loaded, skipping /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" [Wed Oct 07 14:24:01 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" [Wed Oct 07 14:28:32 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" Checked [Wed Oct 07 14:29:12 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" [Wed Oct 07 15:54:47 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" [Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol "ssl_onceonlyinit" From this you can see the Session Cache not figured problem went away after I created the certs but I am stioll left with the imap.so proble. which seems to be the cause of the fatal failure. Dpoes anyone know how to fix that? David From mkushnir at lohika.com Wed Oct 7 16:06:19 2009 From: mkushnir at lohika.com (Markiyan Kushnir) Date: Wed Oct 7 16:06:25 2009 Subject: Apache server imap.so ssl_once_only_init error In-Reply-To: References: <200910071611.35468.david@vizion2000.net> Message-ID: <4ACCB534.6070500@lohika.com> I would guess that the imap.so symbol issue is what is causing Apache to die... The certificate-related messages are warnings and should not make it fatal. Markiyan. Chuck Swiger wrote: > Hi-- > > On Oct 7, 2009, at 8:11 AM, David Southwell wrote: >> [Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA >> certificate >> (BasicConstraints: CA == TRUE !?) >> [Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA >> certificate >> (BasicConstraints: CA == TRUE !?) >> /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined >> symbol >> "ssl_onceonlyinit" > > At a guess, you are trying to use self-signed certificates, and you > generated a CA certificate to sign them, but are trying to use that CA > cert directly instead of creating a new x.509 keypair, CSR, and signing > that with your CA cert or have a Verisign, enTrust, openca.org, etc. > > Regards, From wblock at wonkity.com Wed Oct 7 16:15:15 2009 From: wblock at wonkity.com (Warren Block) Date: Wed Oct 7 16:15:22 2009 Subject: Daily run reports In-Reply-To: <20091007164212.f7dff406.freebsd@edvax.de> References: <496325.97096.qm@web56204.mail.re3.yahoo.com> <4ad871310910070609r126fb880he201b9f2aa2d3f3f@mail.gmail.com> <20091007164212.f7dff406.freebsd@edvax.de> Message-ID: On Wed, 7 Oct 2009, Polytropon wrote: > On Wed, 7 Oct 2009 13:09:51 +0000, Glen Barber wrote: >> You should see these lines in /etc/crontab: >> >> # Perform daily/weekly/monthly maintenance. >> 1 3 * * * root periodic daily >> 15 4 * * 6 root periodic weekly >> 30 5 1 * * root periodic monthly >> >> You can set the MAILTO environment variable in /etc/crontab to mail to >> an alternate address if needed. > > Another way is to edit /etc/mail/aliases and forward mail > to root to your preferred account, e. g. > > root: myuser > > Note that "recompiling" sendmail's files is neccessary, To be more precise, rebuilding the aliases file. > and sendmail needs to be restarted. It is explained at the top of > Makefile in the /etc/mail directory. It's quite easy. :-) But 'newaliases' is easier yet. Is restarting sendmail after newaliases really necessary? I change aliases so rarely I've never really noticed. -Warren Block * Rapid City, South Dakota USA From roberthuff at rcn.com Wed Oct 7 16:19:41 2009 From: roberthuff at rcn.com (Robert Huff) Date: Wed Oct 7 16:19:49 2009 Subject: Apache server imap.so ssl_once_only_init error In-Reply-To: <200910071658.28543.david@vizion2000.net> References: <200910071611.35468.david@vizion2000.net> <4ACCB534.6070500@lohika.com> <200910071658.28543.david@vizion2000.net> Message-ID: <19148.49033.927239.566075@jerusalem.litteratus.org> David Southwell writes: > /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: > Undefined symbol "ssl_onceonlyinit" I look at this and ask (knowing very little about either) "is this a problem with Apache, or a problem with PHP?". Robert huff From david at vizion2000.net Wed Oct 7 16:36:17 2009 From: david at vizion2000.net (David Southwell) Date: Wed Oct 7 16:36:26 2009 Subject: Apache server imap.so ssl_once_only_init error In-Reply-To: <19148.49033.927239.566075@jerusalem.litteratus.org> References: <200910071611.35468.david@vizion2000.net> <200910071658.28543.david@vizion2000.net> <19148.49033.927239.566075@jerusalem.litteratus.org> Message-ID: <200910071736.01131.david@vizion2000.net> > David Southwell writes: > > /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: > > Undefined symbol "ssl_onceonlyinit" > > I look at this and ask (knowing very little about either) "is > this a problem with Apache, or a problem with PHP?". > > > Robert huff > I wish I darn well knew Right now I am doing a portupgrade -frR mail/php5-imap in the hope that might sort it -- but there is no intelligence behind the initiative David From nightrecon at hotmail.com Wed Oct 7 16:40:33 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Wed Oct 7 16:40:46 2009 Subject: Apache server imap.so ssl_once_only_init error References: <200910071611.35468.david@vizion2000.net> <4ACCB534.6070500@lohika.com> <200910071658.28543.david@vizion2000.net> <19148.49033.927239.566075@jerusalem.litteratus.org> Message-ID: Robert Huff wrote: > > David Southwell writes: > >> /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: >> Undefined symbol "ssl_onceonlyinit" > > I look at this and ask (knowing very little about either) "is > this a problem with Apache, or a problem with PHP?". > > Easy enough to see - comment out the imap.so module in /usr/local/etc/php/extensions.ini and see if Apache will start. If it does the problem is the imap module. A more generic way to drive this wedge is to temporarily comment out the LoadModule php5_module line from httpd.conf. If it starts without this module it isn't Apache. Some PHP modules have dependencies in that they need the other modules loaded before they load. Try moving the imap.so line in extensions.ini to the bottom of the file so all the other crypt modules such as openssl, hash, mcrypt, etc are loaded first. -Mike From glen.j.barber at gmail.com Wed Oct 7 16:42:45 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Oct 7 16:43:03 2009 Subject: Daily run reports In-Reply-To: References: <496325.97096.qm@web56204.mail.re3.yahoo.com> <4ad871310910070609r126fb880he201b9f2aa2d3f3f@mail.gmail.com> <20091007164212.f7dff406.freebsd@edvax.de> Message-ID: <4ad871310910070942u71a613bar99bf460055808561@mail.gmail.com> On Wed, Oct 7, 2009 at 4:15 PM, Warren Block wrote: > On Wed, 7 Oct 2009, Polytropon wrote: > >> On Wed, 7 Oct 2009 13:09:51 +0000, Glen Barber >> wrote: >>> >>> You should see these lines in /etc/crontab: >>> >>> # Perform daily/weekly/monthly maintenance. >>> 1 ? ? ? 3 ? ? ? * ? ? ? * ? ? ? * ? ? ? root ? ?periodic daily >>> 15 ? ? ?4 ? ? ? * ? ? ? * ? ? ? 6 ? ? ? root ? ?periodic weekly >>> 30 ? ? ?5 ? ? ? 1 ? ? ? * ? ? ? * ? ? ? root ? ?periodic monthly >>> >>> You can set the MAILTO environment variable in /etc/crontab to mail to >>> an alternate address if needed. >> >> Another way is to edit /etc/mail/aliases and forward mail >> to root to your preferred account, e. g. >> >> ? ? ? ?root: myuser >> >> Note that "recompiling" sendmail's files is neccessary, > > To be more precise, rebuilding the aliases file. > >> and sendmail needs to be restarted. It is explained at the top of Makefile >> in the /etc/mail directory. It's quite easy. :-) > > But 'newaliases' is easier yet. ?Is restarting sendmail after newaliases > really necessary? ?I change aliases so rarely I've never really noticed. > No, you do not need to restart sendmail with newaliases(1). -- Glen Barber From freebsd at edvax.de Wed Oct 7 17:01:25 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Oct 7 17:01:31 2009 Subject: Daily run reports In-Reply-To: <4ad871310910070942u71a613bar99bf460055808561@mail.gmail.com> References: <496325.97096.qm@web56204.mail.re3.yahoo.com> <4ad871310910070609r126fb880he201b9f2aa2d3f3f@mail.gmail.com> <20091007164212.f7dff406.freebsd@edvax.de> <4ad871310910070942u71a613bar99bf460055808561@mail.gmail.com> Message-ID: <20091007190122.a091804b.freebsd@edvax.de> On Wed, 7 Oct 2009 16:42:41 +0000, Glen Barber wrote: > No, you do not need to restart sendmail with newaliases(1). True. According to "man newaliases", Newaliases is identical to ``sendmail -bi''. and per "man sendmail", -bi Initialize the alias database. which says nothing about sendmail being restarted. Good to know! :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From unixmania at gmail.com Wed Oct 7 16:58:28 2009 From: unixmania at gmail.com (Carlos A. M. dos Santos) Date: Wed Oct 7 17:01:34 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <747dc8f30910061024h5346b25evd27369955f9d6768@mail.gmail.com> References: <20090930100658.GA99090@obspm.fr> <20090930110508.GA50565@hades.panopticon> <20090930161915.GA18014@lonesome.com> <20091001111417.GF50565@hades.panopticon> <20091001112323.GA26407@droso.net> <20091001114546.GH50565@hades.panopticon> <20091001213656.GA14925@lonesome.com> <20091002133231.GA17567@hades.panopticon> <747dc8f30910061024h5346b25evd27369955f9d6768@mail.gmail.com> Message-ID: 2009/10/6 Renato Botelho : > On Fri, Oct 2, 2009 at 10:32 AM, Dmitry Marakasov wrote: >> * Mark Linimon (linimon@lonesome.com) wrote: >> >>> The author orginally contacted us with a legal threat because we were >>> not in compliance with the 28-day clause. ?A long, acrimonious disucssion >>> ensued. ?In that discussion, the author was asked "if we agree to meet >>> that condition going forward, would you guarantee that this would remove >>> any further legal threat?" and he said yes ... >>> >>> for now. >>> >>> But that he reserved the right to change his mind later. >>> >>> *depending* on what we did or did not do in the future -- not just in >>> adhering to the *existing clauses* like the "significant" clause or >>> "renamed" clause -- both of which he mentioned would be part of any >>> lawsuit. >>> >>> Legally indefensible? ?Of course. ?Would that prevent a lawsuit being >>> filed? ?No. ?Anyone can sue anyone for anything. >> >> Well, if you insist I of course won't commit it. But the whole thing >> disappoints me greately, cause I was pretty sure at least FreeBSD >> developers won't be affected by a mere FUD. Do you honestly think >> the probability of Tuomo suing us is higher of, say, me suing, well, >> us? ?And that anything will change by us not providing a port we >> have absolutely totally utterly 100% right to provide? ?That is >> just silly. >> >> The port from now on is available here (removed from people.freebsd.org): >> http://mirror.amdmi3.ru/ports/ion3-20090110.port.tar > > You can start a fork of it, change its name, its license, and keep it as > a separate project... people will use the same software with another > name. You can fork the code, rename it, whathever, but you can NOT change the license without explicit permission from the original copyright owner. That would be legally considered theft! > Everybody will be happy and we won't have a Tuomo's software inside > ports collection again. It would be Tuomo's software anyway, regardless what you renamed it to, and his ownership would still prevail. Feel free to dislike his behavior but keep compliant to his rights unless you are whiling to face a lawsuit. -- My preferred quotation of Robert Louis Stevenson is "You cannot make an omelette without breaking eggs". Not because I like the omelettes, but because I like the sound of eggs being broken. From david at vizion2000.net Wed Oct 7 17:12:01 2009 From: david at vizion2000.net (David Southwell) Date: Wed Oct 7 17:12:09 2009 Subject: Apache server imap.so ssl_once_only_init error In-Reply-To: References: <200910071611.35468.david@vizion2000.net> <19148.49033.927239.566075@jerusalem.litteratus.org> Message-ID: <200910071811.44265.david@vizion2000.net> > Robert Huff wrote: > > David Southwell writes: > >> /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: > >> Undefined symbol "ssl_onceonlyinit" > > > > I look at this and ask (knowing very little about either) "is > > this a problem with Apache, or a problem with PHP?". > > Easy enough to see - comment out the imap.so module in > /usr/local/etc/php/extensions.ini and see if Apache will start. If it does > the problem is the imap module. A more generic way to drive this wedge is > to temporarily comment out the LoadModule php5_module line from > httpd.conf. > > If it starts without this module it isn't Apache. Some PHP modules have > dependencies in that they need the other modules loaded before they load. > Try moving the imap.so line in extensions.ini to the bottom of the file so > all the other crypt modules such as openssl, hash, mcrypt, etc are loaded > first. > > -Mike > > > Mike you are right on the ball. When I comment out the imap.so line in extensions.ini the server starts up normally. So now we have the culprit. That is after doing a portupgrade -frR mail/php5-imap. The question is where do I go from here?? Thank you David From jerrymc at msu.edu Wed Oct 7 17:42:51 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed Oct 7 17:42:58 2009 Subject: windoz, how do i install it last In-Reply-To: <20091006112831.GA10473@marge.bs.l> References: <1d7089c40910060405k3ac6f53bx252ade8183f1f431@mail.gmail.com> <20091006112831.GA10473@marge.bs.l> Message-ID: <20091007174225.GA2297@gizmo.acns.msu.edu> On Tue, Oct 06, 2009 at 01:28:31PM +0200, Bertram Scharpf wrote: > Hi, > > Am Dienstag, 06. Okt 2009, 07:05:23 -0400 schrieb Henry Olyer: > > So I have a FreeBSD system. > > Is their a way to install windoz? Say, XP-pro? Or whatever... > > Replace or dual boot? The standard FreeBSD boot manager offers > a choice which of the slices 1-4 you want to boot from. Just > install #*@%& into the first slice and FreeBSD into the second. You weren't listening. The OP said FreeBSD is already in the first slice and wants to know if MS-Win can be installed in a later slice - most presumably so it will not be necessary to reinstall the FreeBSD. ////jerry > > Bertram > > -- > Bertram Scharpf > Stuttgart, Deutschland/Germany > http://www.bertram-scharpf.de > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From JHALL at SOCKET.NET Wed Oct 7 18:19:36 2009 From: JHALL at SOCKET.NET (Jay Hall) Date: Wed Oct 7 18:19:42 2009 Subject: rsync include and exclude Message-ID: <99D3E0B6-09CA-453C-A964-AA95D4A6B35C@SOCKET.NET> Ladies and Gentlemen, I am using rsync to backup some information and I am having some problem with including and excluding directories. I want to include everything in the user's mail directory and everything in the user's documents directory. Everything else should be excluded. And, it is possible to have multiple users on a single computer. Following is what I am using for my include/exclude patterns. + /Users/*/Library/Mail/ + /Users/*/Documents/ - /Users/*/Documents/* - /Users/*/Library/* This gives me close to the desired result. However, there are some extra files included which I do not need to backup which are stored in /Users/username directory. If I add -/Users/*, no files are backed up. After reading the man pages and several examples, I thought I had a handle on this. Any suggestions would be greatly appreciated. Thanks, Jay From perrin at apotheon.com Wed Oct 7 18:25:09 2009 From: perrin at apotheon.com (Chad Perrin) Date: Wed Oct 7 18:25:16 2009 Subject: / almost out of space just after installation In-Reply-To: <874310.63278.qm@web52906.mail.re2.yahoo.com> References: <874310.63278.qm@web52906.mail.re2.yahoo.com> Message-ID: <20091007181746.GA18540@guilt.hydra> On Tue, Oct 06, 2009 at 11:28:00PM -0700, Chris Stankevitz wrote: > > Q2: Will I be able to install GNOME, Firefox, download 30 MB of files, > and place them on my GNOME dekstop? (I believe the desktop is located > at /home/cstankevitz/.desktop aka on the root partition where there is > only 26M of free space) Are you sure your home directory is at /home? What's the result of `ls -l /home`? If it looks something like this: lrwxr-xr-x 1 root wheel 8 Sep 7 09:55 /home -> usr/home . . . everything should be fine. FreeBSD places the home directory in /usr by default, so instead of /home it's /usr/home, and creates a symlink from /home to /usr/home for the sake of convenience. Are you sure that isn't what happened? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091007/fb119598/attachment.pgp From perrin at apotheon.com Wed Oct 7 18:50:33 2009 From: perrin at apotheon.com (Chad Perrin) Date: Wed Oct 7 18:50:42 2009 Subject: ion windows manager on FreeBSD In-Reply-To: References: <20090930100658.GA99090@obspm.fr> <20090930110508.GA50565@hades.panopticon> <20090930161915.GA18014@lonesome.com> <20091001111417.GF50565@hades.panopticon> <20091001112323.GA26407@droso.net> <20091001114546.GH50565@hades.panopticon> <20091001213656.GA14925@lonesome.com> <20091002133231.GA17567@hades.panopticon> <747dc8f30910061024h5346b25evd27369955f9d6768@mail.gmail.com> Message-ID: <20091007184310.GC19063@guilt.hydra> On Wed, Oct 07, 2009 at 01:25:35PM -0300, Carlos A. M. dos Santos wrote: > > You can fork the code, rename it, whathever, but you can NOT change > the license without explicit permission from the original copyright > owner. That would be legally considered theft! Incorrect. It would be legally considered copyright infringement. Copyright law is not property law, and both different laws *and* different terms apply. "Theft" is not a term legally applied to copyright infringement -- at least, in any jurisdiction of which I'm even vaguely aware of the state of copyright law. "That would be legally considered copyright infringement!" There. I fixed it for you. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091007/944381a6/attachment.pgp From nightrecon at hotmail.com Wed Oct 7 19:03:04 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Wed Oct 7 19:03:11 2009 Subject: Apache server imap.so ssl_once_only_init error References: <200910071611.35468.david@vizion2000.net> <19148.49033.927239.566075@jerusalem.litteratus.org> <200910071811.44265.david@vizion2000.net> Message-ID: David Southwell wrote: >> Robert Huff wrote: >> > David Southwell writes: >> >> /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: >> >> Undefined symbol "ssl_onceonlyinit" >> > >> > I look at this and ask (knowing very little about either) "is >> > this a problem with Apache, or a problem with PHP?". >> >> Easy enough to see - comment out the imap.so module in >> /usr/local/etc/php/extensions.ini and see if Apache will start. If it >> does the problem is the imap module. A more generic way to drive this >> wedge is >> to temporarily comment out the LoadModule php5_module line from >> httpd.conf. >> >> If it starts without this module it isn't Apache. Some PHP modules have >> dependencies in that they need the other modules loaded before they load. >> Try moving the imap.so line in extensions.ini to the bottom of the file >> so all the other crypt modules such as openssl, hash, mcrypt, etc are >> loaded first. >> >> -Mike >> >> >> > Mike you are right on the ball. > > When I comment out the imap.so line in extensions.ini the server starts up > normally. So now we have the culprit. That is after doing a portupgrade > -frR mail/php5-imap. > > The question is where do I go from here?? Hrmmm. Probably need to look into more details. I am running Apache- event-2.2.13 here with PHP5-5.2.11 and extensions-5.2.11, with PHP running as FastCGI via the apache module mod_fcgid instead of mod_php. I presume you are just doing the normal mod_php method. Upon thinking about it a little more, I'm guessing that when you tried relocating the extension=imap.so to the bottom of extensions.ini it had no effect. Sometimes this is an easy and quick answer when the problem is just load order. Another to consider is if you really do not require the imap module just leave it commented out, although this is not elegant as it does not attack the root source of the problem. What I'm thinking (after looking at the actual error message again) is this is a build-time problem and not runtime. I believe that these kinds of symbol errors arise mostly from libraries being mismatched at build time. To elaborate a little, I'm wondering if when you built mod_php at one point in time and then built the php5-extensions at a later time if they were not slightly different versions. Also, IIRC there was once a problem with the imap module in that it could not be used with the recode and yaz modules. I have the recode module present so I doubt it is a problem, but do not use the yaz module. Might look and see about yaz. I suspect the core of the problem is that mod_php and the extensions are slightly out of sync with one another. A very sloppy thing to do would be to just remove all the PHP stuff, including mod_php, update the ports tree fresh and reinstall all of it at one time together. This may not be wise on a production server however, as this will entail downtime. As I said - "sloppy, scattergun approach". I have done this a time or two, but don't really like doing it. YMMV If mod_php and the extensions were built at different times, with maybe a ports tree update in between, they may need to be all recompiled so they all get linked correctly. -Mike P.S. - And the biggest assumption of all I'm making is that Apache was built with SSL support in the first place. A variable which should be eliminated. From nightrecon at hotmail.com Wed Oct 7 19:19:53 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Wed Oct 7 19:19:59 2009 Subject: Apache server imap.so ssl_once_only_init error References: <200910071611.35468.david@vizion2000.net> <19148.49033.927239.566075@jerusalem.litteratus.org> <200910071811.44265.david@vizion2000.net> Message-ID: Michael Powell wrote: > David Southwell wrote: > >>> Robert Huff wrote: >>> > David Southwell writes: >>> >> /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: >>> >> Undefined symbol "ssl_onceonlyinit" Oh - forgot - this is what an ldd of my imap.so looks like on 7.2: testbed# pwd /usr/local/lib/php/20060613 testbed# ldd /usr/local/lib/php/20060613/imap.so /usr/local/lib/php/20060613/imap.so: libssl.so.5 => /usr/lib/libssl.so.5 (0x281a2000) libcrypto.so.5 => /lib/libcrypto.so.5 (0x28300000) libc-client4.so.9 => /usr/local/lib/libc-client4.so.9 (0x28458000) libcrypt.so.4 => /lib/libcrypt.so.4 (0x281e3000) libpam.so.4 => /usr/lib/libpam.so.4 (0x28550000) libc.so.7 => /lib/libc.so.7 (0x28089000) For comparative purposes. -Mike From mkhitrov at gmail.com Wed Oct 7 19:22:54 2009 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Wed Oct 7 19:23:01 2009 Subject: Show bandwidth usage by IP address (through pf) Message-ID: <26ddd1750910071222n3d2b82ebn72ae4c00ddeaa9a4@mail.gmail.com> Hello all, I have pf filtering traffic to our network. Is there any easy way to see the current bandwidth usage sorted by ip? Someone is using up almost 100% of total bandwidth and parsing "pfctl -ss -v" isn't getting me anywhere. - Max From doug at polands.org Wed Oct 7 19:27:18 2009 From: doug at polands.org (Doug Poland) Date: Wed Oct 7 19:27:28 2009 Subject: Show bandwidth usage by IP address (through pf) In-Reply-To: <26ddd1750910071222n3d2b82ebn72ae4c00ddeaa9a4@mail.gmail.com> References: <26ddd1750910071222n3d2b82ebn72ae4c00ddeaa9a4@mail.gmail.com> Message-ID: <20091007192717.GA2150@polands.org> On Wed, Oct 07, 2009 at 03:22:33PM -0400, Maxim Khitrov wrote: > Hello all, > > I have pf filtering traffic to our network. Is there any easy way to > see the current bandwidth usage sorted by ip? Someone is using up > almost 100% of total bandwidth and parsing "pfctl -ss -v" isn't > getting me anywhere. > sysutils/pftop is your friend :) From vinzstyle at free.fr Wed Oct 7 19:42:27 2009 From: vinzstyle at free.fr (Vinzstyle) Date: Wed Oct 7 19:42:36 2009 Subject: Postfix doesn't start In-Reply-To: <200910042133.12933.vinzstyle@free.fr> References: <200910042041.32454.vinzstyle@free.fr> <2117530918-1254683459-cardhu_decombobulator_blackberry.rim.net-1616429688-@bda081.bisx.prod.on.blackberry> <200910042133.12933.vinzstyle@free.fr> Message-ID: <200910072142.15416.vinzstyle@free.fr> Le dimanche 4 octobre 2009 21:33:12 Vinzstyle, vous avez ?crit : > Le dimanche 4 octobre 2009 21:09:05 jgimer@gmail.com, vous avez ?crit : > > What are the actual permissions on the lock file, not just the containing > > directory? > > > > Josh > > Sent via BlackBerry from T-Mobile > > > > -----Original Message----- > > From: Vinzstyle > > Date: Sun, 4 Oct 2009 20:41:32 > > To: > > Subject: Postfix doesn't start > > > > Hi, > > > > I installed Postfix with PCRE support from the ports collection, but I > > get this error when I try to start it : > > > > Oct 4 20:22:09 mail postfix/postfix-script[47114]: starting the Postfix > > mail system > > Oct 4 20:22:09 mail postfix/master[47115]: fatal: open lock file > > /var/db/postfix/master.lock: cannot open file: Permission denied > > > > [root@mail /]# ls -ld /var/db/postfix/ > > drwx------ 2 postfix wheel 512 Oct 4 20:16 /var/db/postfix/ > > > > The "mail_owner" directive is set to "postfix" in main.cf > > > > Is there some things to set up after the "make install" ? Did I miss > > something ? > > > > I'm running FreeBSD-7.2-RELEASE, and Postfix(-2.5.6,1) is started inside > > a jail. > > > > Thanks for your help :) > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > The file isn't created by "make install". If I create it with permissions > 666 and postfix as owner, I get the same error message... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hi, sorry, it was my fault :) Permissions were 750 on a parent directory... Thanks for your help anyway :) From Ggatten at waddell.com Wed Oct 7 19:52:47 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed Oct 7 19:52:55 2009 Subject: Show bandwidth usage by IP address (through pf) In-Reply-To: <26ddd1750910071222n3d2b82ebn72ae4c00ddeaa9a4@mail.gmail.com> References: <26ddd1750910071222n3d2b82ebn72ae4c00ddeaa9a4@mail.gmail.com> Message-ID: <8552_1254945146_4ACCF17A_8552_407_3_70C0964126D66F458E688618E1CD008A08CCED09@WADPEXV0.waddell.com> I use "nTop" for this, but I'm sure there are other ways. I'm not that familiar with pf so can't help much there. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Maxim Khitrov Sent: Wednesday, October 07, 2009 2:23 PM To: Free BSD Questions list Subject: Show bandwidth usage by IP address (through pf) Hello all, I have pf filtering traffic to our network. Is there any easy way to see the current bandwidth usage sorted by ip? Someone is using up almost 100% of total bandwidth and parsing "pfctl -ss -v" isn't getting me anywhere. - Max _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"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."
From kraduk at googlemail.com Wed Oct 7 20:02:13 2009 From: kraduk at googlemail.com (krad) Date: Wed Oct 7 20:02:20 2009 Subject: rsync include and exclude In-Reply-To: <99D3E0B6-09CA-453C-A964-AA95D4A6B35C@SOCKET.NET> References: <99D3E0B6-09CA-453C-A964-AA95D4A6B35C@SOCKET.NET> Message-ID: 2009/10/7 Jay Hall > Ladies and Gentlemen, > > I am using rsync to backup some information and I am having some problem > with including and excluding directories. > > I want to include everything in the user's mail directory and everything in > the user's documents directory. Everything else should be excluded. And, > it is possible to have multiple users on a single computer. > > Following is what I am using for my include/exclude patterns. > > + /Users/*/Library/Mail/ > + /Users/*/Documents/ > - /Users/*/Documents/* > - /Users/*/Library/* > > This gives me close to the desired result. However, there are some extra > files included which I do not need to backup which are stored in > /Users/username directory. > > If I add -/Users/*, no files are backed up. > > After reading the man pages and several examples, I thought I had a handle > on this. Any suggestions would be greatly appreciated. > > Thanks, > > > Jay > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > try adding this line to the top + /Users/* then this to the bottom - /Users/*/* I use lists like this at work a lot and you have to be careful. The ordering of the rules is very important. The common on for people to get wrong is the mysql rules. We generally dont copy the binary db files as they would never be consistent, so we dump the db else where and exclude the files. Except we need to capture the my.cnf file. The following ruleset does it + /var/db/mysql + /var/db/mysql/my.cnf - /var/db/mysql/** If you deviate from this things dont tend to work. From wblock at wonkity.com Wed Oct 7 20:08:31 2009 From: wblock at wonkity.com (Warren Block) Date: Wed Oct 7 20:08:38 2009 Subject: dump_snapshot file In-Reply-To: <28606D03-C96E-47BA-A448-011E1A7F8F75@netzkommune.de> References: <9CC197E2-43F9-4583-9DE6-EDC51E1618F0@netzkommune.de> <28606D03-C96E-47BA-A448-011E1A7F8F75@netzkommune.de> Message-ID: On Wed, 7 Oct 2009, Philip Jocks wrote: > Am 07.10.2009 um 15:49 schrieb Warren Block: > >> On Wed, 7 Oct 2009, Philip Jocks wrote: >> >>> I had a file /usr/.snap/dump_snapshot being about 15GB in size, which I >>> removed because the partition was filling up. >>> The file's date was always rather current, so I'm wondering, what it was >>> for? >>> I did do a level 0 dump with -0 and -Lau parameters a few weeks ago and >>> always do dumps on other boxes, but never saw a file in the .snap >>> directory growing. For the other partitions, there are no such files, >>> that's why I'm wondering. >>> Maybe someone can shed some light on this for me. >> >> man -P 'less +/-L' dump >> >> explains it a bit. The snapshot file is supposed to go away after dump >> completes, but in your case dump died or was killed before it unlinked the >> file. > > Yes, but when there's no currently running dump process, should that file be > growing or updated? Not unless something else is creating a snapshot (mksnap_ffs(8)). snapinfo -v on that filesystem might help. Or lsof. > BTW: is everyone else getting messages from the list twice, once with the > list's signature, once without? Normal procedure on the FreeBSD mailing lists is to respond to the message and CC the list (or vice versa) so replies are visible to everyone. If your mail setup allows it, mail/procmail can weed out duplicates and sort mail into folders. -Warren Block * Rapid City, South Dakota USA From liontaur at gmail.com Wed Oct 7 20:36:21 2009 From: liontaur at gmail.com (Liontaur) Date: Wed Oct 7 20:36:27 2009 Subject: Daily run reports In-Reply-To: <20091007190122.a091804b.freebsd@edvax.de> References: <496325.97096.qm@web56204.mail.re3.yahoo.com> <4ad871310910070609r126fb880he201b9f2aa2d3f3f@mail.gmail.com> <20091007164212.f7dff406.freebsd@edvax.de> <4ad871310910070942u71a613bar99bf460055808561@mail.gmail.com> <20091007190122.a091804b.freebsd@edvax.de> Message-ID: How's about just putting a .forward file in root's home dir? That works well for me and doesn't require rebuilding this or that. Mark On Wed, Oct 7, 2009 at 10:01 AM, Polytropon wrote: > On Wed, 7 Oct 2009 16:42:41 +0000, Glen Barber > wrote: > > No, you do not need to restart sendmail with newaliases(1). > > True. According to "man newaliases", > > Newaliases is identical to ``sendmail -bi''. > > and per "man sendmail", > > -bi Initialize the alias database. > > which says nothing about sendmail being restarted. Good to know! :-) > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From mikel.king at olivent.com Wed Oct 7 20:53:29 2009 From: mikel.king at olivent.com (Mikel King) Date: Wed Oct 7 20:53:35 2009 Subject: BSD Professional Job Task Analysis Survey Message-ID: <1E6C34A3-BB51-471B-A142-EC32CED26CE8@olivent.com> The BSD News Network reports that volunteer as desperately needed to complete the BSDP JTA Survey by the deadline of October 16th. The BSD Certification Group has been diligently working toward this goal for quite some time now. http://bsdnews.net/index.php/2009/10/07/bsdcertdeadline-approaching-fast-for-the-bsdp-jta-survey/ I am curious how many people on this list were aware of the survey? Has anyone else actually completed the survey? Has anyone seen an announcement about this on the FreeBSD lists in the past? Thanks, Mikel From mkhitrov at gmail.com Wed Oct 7 21:01:51 2009 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Wed Oct 7 21:01:58 2009 Subject: Show bandwidth usage by IP address (through pf) In-Reply-To: <20091007192717.GA2150@polands.org> References: <26ddd1750910071222n3d2b82ebn72ae4c00ddeaa9a4@mail.gmail.com> <20091007192717.GA2150@polands.org> Message-ID: <26ddd1750910071340i5ccd48c0qe07e55310c8a4e60@mail.gmail.com> On Wed, Oct 7, 2009 at 3:27 PM, Doug Poland wrote: > On Wed, Oct 07, 2009 at 03:22:33PM -0400, Maxim Khitrov wrote: >> Hello all, >> >> I have pf filtering traffic to our network. Is there any easy way to >> see the current bandwidth usage sorted by ip? Someone is using up >> almost 100% of total bandwidth and parsing "pfctl -ss -v" isn't >> getting me anywhere. >> > sysutils/pftop is your friend :) > Exactly what I needed, thanks! - Max From kevin.wilcox at gmail.com Wed Oct 7 21:31:18 2009 From: kevin.wilcox at gmail.com (Kevin Wilcox) Date: Wed Oct 7 21:31:24 2009 Subject: Show bandwidth usage by IP address (through pf) In-Reply-To: <26ddd1750910071222n3d2b82ebn72ae4c00ddeaa9a4@mail.gmail.com> References: <26ddd1750910071222n3d2b82ebn72ae4c00ddeaa9a4@mail.gmail.com> Message-ID: <5d6848b00910071408t7f923act2957e7bed869ea93@mail.gmail.com> 2009/10/7 Maxim Khitrov : > I have pf filtering traffic to our network. Is there any easy way to > see the current bandwidth usage sorted by ip? Someone is using up > almost 100% of total bandwidth and parsing "pfctl -ss -v" isn't > getting me anywhere. It's overkill and does a ton more than what you're asking for...but have you looked at ipaudit? Or, more specifically, ipaudit-web? I ended up installing apache/gnuplot/etc from ports but installed ipaudit from source as the version in ports is *incredibly* outdated. kmw -- Whenever there is in any country, uncultivated lands and unemployed poor, it is clear that the laws of property have been so far extended as to violate natural right. The earth is given as a common stock for man to labour and live on. -- Thomas Jefferson, 1785 From JHALL at socket.net Wed Oct 7 21:43:20 2009 From: JHALL at socket.net (Jay Hall) Date: Wed Oct 7 21:43:27 2009 Subject: rsync include and exclude In-Reply-To: References: <99D3E0B6-09CA-453C-A964-AA95D4A6B35C@SOCKET.NET> Message-ID: Thanks. That took care of the problem. Jay On Oct 7, 2009, at 3:02 PM, krad wrote: > > > 2009/10/7 Jay Hall > Ladies and Gentlemen, > > I am using rsync to backup some information and I am having some > problem with including and excluding directories. > > I want to include everything in the user's mail directory and > everything in the user's documents directory. Everything else > should be excluded. And, it is possible to have multiple users on a > single computer. > > Following is what I am using for my include/exclude patterns. > > + /Users/*/Library/Mail/ > + /Users/*/Documents/ > - /Users/*/Documents/* > - /Users/*/Library/* > > This gives me close to the desired result. However, there are some > extra files included which I do not need to backup which are stored > in /Users/username directory. > > If I add -/Users/*, no files are backed up. > > After reading the man pages and several examples, I thought I had a > handle on this. Any suggestions would be greatly appreciated. > > Thanks, > > > Jay > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " > > try adding this line to the top > > + /Users/* > > then this to the bottom > > - /Users/*/* > > > I use lists like this at work a lot and you have to be careful. The > ordering of the rules is very important. The common on for people to > get wrong is the mysql rules.. We generally dont copy the binary db > files as they would never be consistent, so we dump the db else > where and exclude the files. Except we need to capture the my.cnf > file. The following ruleset does it > > + /var/db/mysql > + /var/db/mysql/my.cnf > - /var/db/mysql/** > > If you deviate from this things dont tend to work. From cwhiteh at onetel.com Wed Oct 7 22:14:56 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Wed Oct 7 22:15:03 2009 Subject: dump_snapshot file In-Reply-To: References: <9CC197E2-43F9-4583-9DE6-EDC51E1618F0@netzkommune.de> <28606D03-C96E-47BA-A448-011E1A7F8F75@netzkommune.de> Message-ID: <4ACD12DE.6010206@onetel.com> Warren Block wrote: > On Wed, 7 Oct 2009, Philip Jocks wrote: >> BTW: is everyone else getting messages from the list twice, once with >> the list's signature, once without? > > Normal procedure on the FreeBSD mailing lists is to respond to the > message and CC the list (or vice versa) so replies are visible to > everyone. If your mail setup allows it, mail/procmail can weed out > duplicates and sort mail into folders. > > -Warren Block * Rapid City, South Dakota USA There is a setting in your mailing list config eg http://lists.freebsd.org/mailman/options/freebsd-questions/your@email.address which I think sets this. It's called Avoid duplicate copies of messages: When you are listed explicitly in the To: or Cc: headers of a list message, you can opt to not receive another copy from the mailing list. From davidn04 at gmail.com Wed Oct 7 22:34:46 2009 From: davidn04 at gmail.com (David N) Date: Wed Oct 7 22:34:54 2009 Subject: Daily report cannot be emailed to a jailed mail server Message-ID: <4d7dd86f0910071502n4164fd6eu26693ed03cb3cbee@mail.gmail.com> Hi, FreeBSD 7.2-R box with 10 jails. The mail server (actually its a mail filter) is hosted on the same server inside a jail. I can't seem to get the main server reports to be sent to the mail filter inside the jail inside the same box. so.. root@localhost tries to send an email to someone@anotherdomain.com.au The MX entry for anotherdomain.com.au points to the mailfilter on the server (jailed). I've changed my /etc/mail/aliases to have root: someone@anotherdomain.com.au and ran newaliases. When i try to send an email i get in /var/log/messages sm-mta[94682]: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic Oct 8 08:40:40 server sm-mta[94682]: n97LeeOw094682: SYSERR(root): savemail: cannot save rejected email anywhere Oct 8 08:42:30 server sm-mta[94713]: n97LgTYg094713: Losing ./qfn97LgTYg094713: savemail panic Oct 8 08:42:30 server sm-mta[94713]: n97LgTYg094713: SYSERR(root): savemail: cannot save rejected email anywhere Oct 8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX list for anotherdomain.com.au. points back to server.net In /var/log/maillog n97Ll7VV095129: to=someone@anotherdomain.com.au, ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30715, relay=anotherdomain.com.au., dsn=5.3.5, stat=Local configuration error Oct 8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: n97Ll7VV095130: DSN: Local configuration error Anyone have any ideas on how to fix this? Regards David N From steve at ibctech.ca Wed Oct 7 23:39:16 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Wed Oct 7 23:39:23 2009 Subject: Daily report cannot be emailed to a jailed mail server In-Reply-To: <4d7dd86f0910071502n4164fd6eu26693ed03cb3cbee@mail.gmail.com> References: <4d7dd86f0910071502n4164fd6eu26693ed03cb3cbee@mail.gmail.com> Message-ID: <4ACD26A8.30709@ibctech.ca> David N wrote: > Hi, > > FreeBSD 7.2-R box with 10 jails. > > The mail server (actually its a mail filter) is hosted on the same > server inside a jail. > > I can't seem to get the main server reports to be sent to the mail > filter inside the jail inside the same box. > > so.. root@localhost tries to send an email to someone@anotherdomain.com.au > > The MX entry for anotherdomain.com.au points to the mailfilter on the > server (jailed). > > > I've changed my /etc/mail/aliases to have > root: someone@anotherdomain.com.au > and ran newaliases. > > When i try to send an email i get > in /var/log/messages > sm-mta[94682]: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic > Oct 8 08:40:40 server sm-mta[94682]: n97LeeOw094682: SYSERR(root): > savemail: cannot save rejected email anywhere > Oct 8 08:42:30 server sm-mta[94713]: n97LgTYg094713: Losing > ./qfn97LgTYg094713: savemail panic > Oct 8 08:42:30 server sm-mta[94713]: n97LgTYg094713: SYSERR(root): > savemail: cannot save rejected email anywhere > Oct 8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX > list for anotherdomain.com.au. points back to server.net > > In /var/log/maillog > n97Ll7VV095129: to=someone@anotherdomain.com.au, > ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00, > mailer=esmtp, pri=30715, relay=anotherdomain.com.au., dsn=5.3.5, > stat=Local configuration error > Oct 8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: n97Ll7VV095130: > DSN: Local configuration error > > Anyone have any ideas on how to fix this? If you hadn't of sanitized the domain names, it would have been easier to troubleshoot... Nonetheless, you can force Sendmail to push email to a different server directly (overriding the DNS MX entries) with a 'mailertable' file in /etc/mail. Here's one on a secondary MX: %cat /etc/mail/mailertable ibctech.ca smtp:[smtp.ibctech.ca] ipv6canada.com smtp:[smtp.ipv6canada.com] ... After the file is created, a simple 'make' in /etc/mail will build the mailertable.db file for you and take effect immediately (much like 'newaliases'). However, it's hard to tell if this recommendation will solve your problem though. Without knowing the real domain, we can't perform DNS tests against it to get a better understanding of the situation. Cheers, Steve From randy.belk at gmail.com Wed Oct 7 23:48:53 2009 From: randy.belk at gmail.com (Randy Belk) Date: Wed Oct 7 23:49:00 2009 Subject: BSD Professional Job Task Analysis Survey In-Reply-To: <1E6C34A3-BB51-471B-A142-EC32CED26CE8@olivent.com> References: <1E6C34A3-BB51-471B-A142-EC32CED26CE8@olivent.com> Message-ID: <946140ad0910071648u7f6b0ds476150c79b01485e@mail.gmail.com> On Wed, Oct 7, 2009 at 3:52 PM, Mikel King wrote: > The BSD News Network reports that volunteer as desperately needed to > complete the BSDP JTA Survey by the deadline of October 16th. The BSD > Certification Group has been diligently working toward this goal for quite > some time now. > > http://bsdnews.net/index.php/2009/10/07/bsdcertdeadline-approaching-fast-for-the-bsdp-jta-survey/ > > I am curious how many people on this list were aware of the survey? > > Has anyone else actually completed the survey? > > Has anyone seen an announcement about this on the FreeBSD lists in the past? > > Thanks, > Mikel > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I have completed it. -- - Amiga, The Computer for the creative Mind! - UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - People who hate Microsoft Windows use Linux but people who love UNIX use BSD. From freebsd at optimis.net Thu Oct 8 00:56:38 2009 From: freebsd at optimis.net (George Davidovich) Date: Thu Oct 8 00:56:45 2009 Subject: A general sed question In-Reply-To: <2daa8b4e0910062345r83fa23aj113b062af114887f@mail.gmail.com> References: <2daa8b4e0910062345r83fa23aj113b062af114887f@mail.gmail.com> Message-ID: <20091008005636.GA38899@marvin.optimis.net> On Tue, Oct 06, 2009 at 11:45:36PM -0700, David Allen wrote: > I keep bumping up against this, so I thought I'd throw this question out > to those who understand sed better than I do. > > What I'm trying to do is to clean up the contents of some files > (/sys/i386/conf/GENERIC would be a good example) to get more readable > diffs. To that end, I'm trying to use sed to For the following note that what's contained in the square brackets is a space character followed by a literal TAB character (typically created by entering ^V followed by TAB). > - delete commented lines > - remove inline comments s/[ ]*#.*// # takes care of both, but will leave \t\t\t\n > - remove trailing spaces and/or tabs s/[ ]*$// # handy, but not needed if using diff -b > - delete blank lines, and/or lines containing just spaces and/or tabs /^[ ]*$/d > - expand tabs This is overly complex with sed and probably unecessary. Instead I'd suggest using your editor (in vim, it's ':set expandtab | retab'), or for interactive use, relying on expand(1) and using a value for -t that matches the tab spacing you typically use for your pager and/or editor. Alternatively, to get better visual alignment when using diff(1), just use the -t option. Putting the above together, you get sed -e 's/[ ]*#.*//' -e 's/[ ]*$//' -e '/^[ ]*$/d' Hardly ideal but it's readable enough and satisfies the 80/20 rule. If used as a simple alias, shell function or script as Oliver Fromme suggested (yes, this works in bash), my suggestion is diff -ubBt <(cleanup /sys/i386/conf/GENERIC) <(cleanup /path/to/NEWKERNEL) -- George From steve at ibctech.ca Thu Oct 8 01:25:41 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Thu Oct 8 01:25:47 2009 Subject: Common practice for generating SSL CSR Message-ID: <4ACD3F98.8030905@ibctech.ca> Although not FBSD specific... I'm looking to garner production-wise operational feedback on the commands people are using to generate their (Open)SSL cert requests nowadays... All feedback appreciated. I'm just curious to know if things have changed. Steve From Olivier.Nicole at cs.ait.ac.th Thu Oct 8 01:37:08 2009 From: Olivier.Nicole at cs.ait.ac.th (Olivier Nicole) Date: Thu Oct 8 01:37:16 2009 Subject: Common practice for generating SSL CSR In-Reply-To: <4ACD3F98.8030905@ibctech.ca> (message from Steve Bertrand on Wed, 07 Oct 2009 21:25:44 -0400) References: <4ACD3F98.8030905@ibctech.ca> Message-ID: <200910080137.n981b00w017733@banyan.cs.ait.ac.th> > I'm looking to garner production-wise operational feedback on the > commands people are using to generate their (Open)SSL cert requests > nowadays... I usually follow what is very well explained in modssl FAQ. Olivier From steve at ibctech.ca Thu Oct 8 01:44:32 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Thu Oct 8 01:44:39 2009 Subject: Common practice for generating SSL CSR In-Reply-To: <200910080137.n981b00w017733@banyan.cs.ait.ac.th> References: <4ACD3F98.8030905@ibctech.ca> <200910080137.n981b00w017733@banyan.cs.ait.ac.th> Message-ID: <4ACD4403.1010404@ibctech.ca> Olivier Nicole wrote: >> I'm looking to garner production-wise operational feedback on the >> commands people are using to generate their (Open)SSL cert requests >> nowadays... > > I usually follow what is very well explained in modssl FAQ. Thanks Olivier, That's what I thought, but just wanted to be sure. fwiw, TFM: http://www.modssl.org/docs/2.8/ssl_faq.html#ToC28 Thanks, Steve From davidn04 at gmail.com Thu Oct 8 01:49:37 2009 From: davidn04 at gmail.com (David N) Date: Thu Oct 8 01:49:44 2009 Subject: Daily report cannot be emailed to a jailed mail server In-Reply-To: <4ACD26A8.30709@ibctech.ca> References: <4d7dd86f0910071502n4164fd6eu26693ed03cb3cbee@mail.gmail.com> <4ACD26A8.30709@ibctech.ca> Message-ID: <4d7dd86f0910071849h35e70f9wd1dbbcf6b3b2d47a@mail.gmail.com> 2009/10/8 Steve Bertrand : > David N wrote: >> Hi, >> >> FreeBSD 7.2-R box with 10 jails. >> >> The mail server (actually its a mail filter) is hosted on the same >> server inside a jail. >> >> I can't seem to get the main server reports to be sent to the mail >> filter inside the jail inside the same box. >> >> so.. root@localhost tries to send an email to someone@anotherdomain.com.au >> >> The MX entry for anotherdomain.com.au points to the mailfilter on the >> server (jailed). >> >> >> I've changed my /etc/mail/aliases to have >> root: someone@anotherdomain.com.au >> and ran newaliases. >> >> When i try to send an email i get >> in /var/log/messages >> sm-mta[94682]: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic >> Oct ?8 08:40:40 server sm-mta[94682]: n97LeeOw094682: SYSERR(root): >> savemail: cannot save rejected email anywhere >> Oct ?8 08:42:30 server sm-mta[94713]: n97LgTYg094713: Losing >> ./qfn97LgTYg094713: savemail panic >> Oct ?8 08:42:30 server sm-mta[94713]: n97LgTYg094713: SYSERR(root): >> savemail: cannot save rejected email anywhere >> Oct ?8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX >> list for anotherdomain.com.au. points back to server.net >> >> In /var/log/maillog >> n97Ll7VV095129: to=someone@anotherdomain.com.au, >> ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00, >> mailer=esmtp, pri=30715, relay=anotherdomain.com.au., dsn=5.3.5, >> stat=Local configuration error >> Oct ?8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: n97Ll7VV095130: >> DSN: Local configuration error >> >> Anyone have any ideas on how to fix this? > > If you hadn't of sanitized the domain names, it would have been easier > to troubleshoot... > > Nonetheless, you can force Sendmail to push email to a different server > directly (overriding the DNS MX entries) with a 'mailertable' file in > /etc/mail. Here's one on a secondary MX: > > %cat /etc/mail/mailertable > ibctech.ca ? ? ?smtp:[smtp.ibctech.ca] > ipv6canada.com ?smtp:[smtp.ipv6canada.com] > ... > > After the file is created, a simple 'make' in /etc/mail will build the > mailertable.db file for you and take effect immediately (much like > 'newaliases'). > > However, it's hard to tell if this recommendation will solve your > problem though. Without knowing the real domain, we can't perform DNS > tests against it to get a better understanding of the situation. > > Cheers, > > Steve > > Thank you so much, it worked =) My MX records are correct, i could get mail from the outside, but just couldn't get the daily reports to deliver it. From freebsd at optimis.net Thu Oct 8 02:06:20 2009 From: freebsd at optimis.net (George Davidovich) Date: Thu Oct 8 02:06:28 2009 Subject: Daily report cannot be emailed to a jailed mail server In-Reply-To: <4d7dd86f0910071502n4164fd6eu26693ed03cb3cbee@mail.gmail.com> References: <4d7dd86f0910071502n4164fd6eu26693ed03cb3cbee@mail.gmail.com> Message-ID: <20091008020619.GB38899@marvin.optimis.net> On Thu, Oct 08, 2009 at 09:02:50AM +1100, David N wrote: > FreeBSD 7.2-R box with 10 jails. > > The mail server (actually its a mail filter) is hosted on the same > server inside a jail. > > I can't seem to get the main server reports to be sent to the mail > filter inside the jail inside the same box. > > so.. root@localhost tries to send an email to > someone@anotherdomain.com.au > > The MX entry for anotherdomain.com.au points to the mailfilter on the > server (jailed). > > I've changed my /etc/mail/aliases to have > root: someone@anotherdomain.com.au > and ran newaliases. It's been already pointed out that you aren't providing much information to go on, so here's my WAG of what is happening. Changing the root alias root could work, but consider the case of mail from the jailhost being rejected by the jailed mailserver. The bounce message will be addressed to POSTMASTER on the jailhost, which points to root on the jailhost, which points back to the jailed mailserver trying to send the bounce, which points to ... You can examine the scenario for yourself either by listening to a married couple on the verge of divorce argue with one another, or more specifically, by running [root@jailhost] sendmail -bv root [root@jail] sendmail -bv postmaster@jailhost.server.net > When i try to send an email i get > in /var/log/messages > sm-mta[94682]: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic > Oct 8 08:40:40 server sm-mta[94682]: n97LeeOw094682: SYSERR(root): > savemail: cannot save rejected email anywhere > Oct 8 08:42:30 server sm-mta[94713]: n97LgTYg094713: Losing > ./qfn97LgTYg094713: savemail panic > Oct 8 08:42:30 server sm-mta[94713]: n97LgTYg094713: SYSERR(root): > savemail: cannot save rejected email anywhere > Oct 8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX > list for anotherdomain.com.au. points back to server.net The jailed mailserver is rejecting the mail and is then trying to send a bounce and can't because it's caught in a loop that ends when Sendmail says "Look this isn't an argument ... it's just contradiction!" and bails out. Why the jailed mailserver is rejecting the mail is a separate issue. > In /var/log/maillog > n97Ll7VV095129: to=someone@anotherdomain.com.au, > ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00, > mailer=esmtp, pri=30715, relay=anotherdomain.com.au., dsn=5.3.5, > stat=Local configuration error > Oct 8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: n97Ll7VV095130: > DSN: Local configuration error That's from the maillog on the jailhost. More relevant to why the jailed mailserver has rejected the mail would be the jail's maillog entries (or whatever logging was done by the "filter" installed there). Either way, for the interim I'd suggest undoing your changes, rebuilding your aliases and consider implementing an alternate approach. For anyone to figure out conclusively what's happening, you'll have to provide more information. -- George From steve at ibctech.ca Thu Oct 8 02:09:36 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Thu Oct 8 02:09:43 2009 Subject: Daily report cannot be emailed to a jailed mail server In-Reply-To: <4d7dd86f0910071849h35e70f9wd1dbbcf6b3b2d47a@mail.gmail.com> References: <4d7dd86f0910071502n4164fd6eu26693ed03cb3cbee@mail.gmail.com> <4ACD26A8.30709@ibctech.ca> <4d7dd86f0910071849h35e70f9wd1dbbcf6b3b2d47a@mail.gmail.com> Message-ID: <4ACD49E5.2010006@ibctech.ca> David N wrote: > 2009/10/8 Steve Bertrand : >> David N wrote: [ big snips ] >>> When i try to send an email i get >>> Oct 8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX >>> list for anotherdomain.com.au. points back to server.net >> Nonetheless, you can force Sendmail to push email to a different server >> directly (overriding the DNS MX entries) with a 'mailertable' file in >> /etc/mail. Here's one on a secondary MX: >> >> %cat /etc/mail/mailertable >> ibctech.ca smtp:[smtp.ibctech.ca] >> ipv6canada.com smtp:[smtp.ipv6canada.com] >> ... >> >> After the file is created, a simple 'make' in /etc/mail will build the >> mailertable.db file for you and take effect immediately (much like >> 'newaliases'). > Thank you so much, it worked =) > > My MX records are correct, i could get mail from the outside, but just > couldn't get the daily reports to deliver it. I'm glad it worked. Believe me, if that simple change made it work for you, then it was worth my headache to have spent the time to learn it for myself ;) For the last few years, I've only used Sendmail (or sendmail) to act as a backup MX, or to directly deliver mail from the box I am on...hence, it's been a while... There may be other ramifications to using `mailertable' in your particular environment. I don't know how your system will react, given a default setup and a mailertable entry. It's possible (but untested) that if the server that is specified in the mailertable is down, your reports might not make it to you ( whether that's bad or good is up for interpretation... I've always known no news as good news ;) Perhaps Giorgos or someone else may be able to provide a better understanding. Steve From pldrouin at pldrouin.net Thu Oct 8 03:24:25 2009 From: pldrouin at pldrouin.net (Pierre-Luc Drouin) Date: Thu Oct 8 03:24:32 2009 Subject: When is it worth enabling hyperthreading? Message-ID: <4ACD5B80.9030703@pldrouin.net> Hi, Could someone explain me in which cases it is useful to enable hyperthreading on a machine running FreeBSD 8.0 and in which other cases it is not a good idea? Is that possible that hyperthreading is disadvantageous unless the number of active (non-sleeping) threads is really high? For example, if I have an i7 CPU with 4 physical cores and that I run some multi-threaded code that has only 4 threads, it will run almost always (twice) slower with hyperthreading enabled than when I disable it in the BIOS. If I understand correctly, hyperthreading has the advantage of being able to do CPU context switching faster than the OS, but it does this context switching systematically instead of only when requested, so it slows things down unless the number of running (non-sleeping) threads is greater or equal to let say the number of physical threads x 1.5-1.75. Thanks! From Olivier.Nicole at cs.ait.ac.th Thu Oct 8 03:32:34 2009 From: Olivier.Nicole at cs.ait.ac.th (Olivier Nicole) Date: Thu Oct 8 03:32:42 2009 Subject: MySQL + SSL Message-ID: <200910080332.n983WTW3018483@banyan.cs.ait.ac.th> Hi, I have been strugling to find the correct syntax for the mysql(1) command to connect with SSL. My server is accepting SSL connections: db2: mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.4.2-beta FreeBSD port: mysql-server-5.4.2 Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> SHOW VARIABLES LIKE '%ssl%'; +---------------+-------------------------------------------+ | Variable_name | Value | +---------------+-------------------------------------------+ | have_openssl | YES | | have_ssl | YES | | ssl_ca | /usr/local/ssl/ca/ait-itserv.crt | | ssl_capath | | | ssl_cert | /usr/local/ssl/crt/db2.cs.ait.ac.th.crt | | ssl_cipher | DHE-RSA-AES256-SHA:AES128-SHA | | ssl_key | /database/mysql/database.cs.ait.ac.th.key | +---------------+-------------------------------------------+ 7 rows in set (0.00 sec) mysql> quit Bye db2: TIA, Olivier From m.seaman at infracaninophile.co.uk Thu Oct 8 07:45:57 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu Oct 8 07:46:04 2009 Subject: MySQL + SSL In-Reply-To: <200910080332.n983WTW3018483@banyan.cs.ait.ac.th> References: <200910080332.n983WTW3018483@banyan.cs.ait.ac.th> Message-ID: <4ACD9898.7000701@infracaninophile.co.uk> Olivier Nicole wrote: > Hi, > > I have been strugling to find the correct syntax for the mysql(1) > command to connect with SSL. > > My server is accepting SSL connections: > > db2: mysql -u root -p > Enter password: > Welcome to the MySQL monitor. Commands end with ; or \g. > Your MySQL connection id is 1 > Server version: 5.4.2-beta FreeBSD port: mysql-server-5.4.2 > > Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. > > mysql> SHOW VARIABLES LIKE '%ssl%'; > +---------------+-------------------------------------------+ > | Variable_name | Value | > +---------------+-------------------------------------------+ > | have_openssl | YES | > | have_ssl | YES | > | ssl_ca | /usr/local/ssl/ca/ait-itserv.crt | > | ssl_capath | | > | ssl_cert | /usr/local/ssl/crt/db2.cs.ait.ac.th.crt | > | ssl_cipher | DHE-RSA-AES256-SHA:AES128-SHA | > | ssl_key | /database/mysql/database.cs.ait.ac.th.key | > +---------------+-------------------------------------------+ > 7 rows in set (0.00 sec) > > mysql> quit > Bye > db2: This is a question more suited to one of the various MySQL fora really. Anyhow, the standard take on using SSL to encrypt MySQL connections is: don't do it. MySQL is apparently pretty ropey when in comes to doing crypto. Instead, you should use ipsec, ssh, stunnel or the like to provide an encrypted transport layer that you access MySQL through. It's also generally the case that the overhead of doing encryption between the DB and the client application tends to destroy performance. Design your network so that the DB is close to the application servers and has a protected private network between the two, where you can send plaintext traffic without fear of snooping. If you need to work with systems distributed over a number of sites, then replicating the DB so there is an instance at each location is a good design choice, despite the difficulties this introduces with Insert/Update/Delete on replica DBs. Then just encrypt the transport layer the inter-site replication traffic uses. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091008/51811c41/signature.pgp From perryh at pluto.rain.com Thu Oct 8 08:10:58 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Thu Oct 8 08:11:06 2009 Subject: / almost out of space just after installation In-Reply-To: <200910071110.n97BANiE012861@lurza.secnetix.de> References: <200910071110.n97BANiE012861@lurza.secnetix.de> Message-ID: <4acd9c98.Mf06e1KlRm+blPrD%perryh@pluto.rain.com> Oliver Fromme wrote: > Chris Stankevitz wrote: > ... > > Q1: Is 26M free space on / after installing FreeBSD normal? > > It depends on the FreeBSD version, and whether you installed > the kernel with debug symbols. 430 MB space used in the > root file system isn't completely uncommon. > > Nowadays I recomment to spend 1 GB for the root file system ... I have long wondered where sysinstall gets its default FS sizes. At least as far back as SunOs 3.5* the installer was able to auto- size the partitions based on the selected distribution sets. Of course, this means that the installer must know the size of each distribution set -- on each of /, /usr, and /var -- and that the selection of what to install has to happen before the partitioning is actually done. I would think that the sizing of the distribution sets could easily be automated as part of the release process, and that the needed reordering of the installation process would not be all that difficult for someone familiar with sysinstall and accustomed to coding in the language involved. * a commercial incarnation of 4.2BSD, some 20 or 30 years ago; I date myself by having even heard of it :) From olli at lurza.secnetix.de Thu Oct 8 08:24:28 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Thu Oct 8 08:24:37 2009 Subject: Show bandwidth usage by IP address (through pf) In-Reply-To: <26ddd1750910071222n3d2b82ebn72ae4c00ddeaa9a4@mail.gmail.com> Message-ID: <200910080824.n988OB0V059556@lurza.secnetix.de> Maxim Khitrov wrote: > I have pf filtering traffic to our network. Is there any easy way to > see the current bandwidth usage sorted by ip? Someone is using up > almost 100% of total bandwidth and parsing "pfctl -ss -v" isn't > getting me anywhere. The trafshow tool (ports/net/trafshow) does exactly that. The nice thing about it is that it accepts the same filter expressions that tcpdump accepts, so you can easily filter by ports, addresses, interfaces, protocols and so on. It works independent from your packet filter, so it doesn't matter whether you use pf, ipf, ipfw or none at all. If you want to see the amount of accumulated traffic (i.e. since boot) per interface and per IP address, the commands "netstat -i" and "netstat -ib" will tell that (in packets and in bytes, respectively). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. From wmoran at potentialtech.com Thu Oct 8 10:33:40 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Thu Oct 8 10:33:47 2009 Subject: When is it worth enabling hyperthreading? In-Reply-To: <4ACD5B80.9030703@pldrouin.net> References: <4ACD5B80.9030703@pldrouin.net> Message-ID: <20091008063316.6adb9fb1.wmoran@potentialtech.com> Pierre-Luc Drouin wrote: > > Hi, > > Could someone explain me in which cases it is useful to enable > hyperthreading on a machine running FreeBSD 8.0 and in which other cases > it is not a good idea? Is that possible that hyperthreading is > disadvantageous unless the number of active (non-sleeping) threads is > really high? > > For example, if I have an i7 CPU with 4 physical cores and that I run > some multi-threaded code that has only 4 threads, it will run almost > always (twice) slower with hyperthreading enabled than when I disable it > in the BIOS. If I understand correctly, hyperthreading has the advantage > of being able to do CPU context switching faster than the OS, but it > does this context switching systematically instead of only when > requested, so it slows things down unless the number of running > (non-sleeping) threads is greater or equal to let say the number of > physical threads x 1.5-1.75. I can't speak to the technical explanation, but I can give you my real- world experience. We asked this same question where I worked and had the time and ability to test it. What we found: * With hyperthreading on, workstations were more responsive to concurrent tasks. They weren't particularly faster at executing, but there were less incidents of a background task causing the UI to stall or stutter. * pgbench showed anywhere from 0% - 15% increased throughput. Kind of pathetic, but we never saw a workload on PostgreSQL that was hurt by turning hyperthreading on. -- Bill Moran http://www.potentialtech.com From zafiro17 at gmail.com Thu Oct 8 10:40:02 2009 From: zafiro17 at gmail.com (Randall Wood) Date: Thu Oct 8 10:40:10 2009 Subject: Live CD Message-ID: <1254998401.8308.1338908859@webmail.messagingengine.com> Greetings - I've got a new Netbook I'm itching to install FreeBSD on, and would prefer to avoid hassles by testing out the hardware with a LiveCD first. FreeSBIE seemed like an appropriate choice, but the website is out of commission, and what I read on the web seems to indicate the project is no longer maintained. There's the FreeBSD Live CD project, run by a Brazilian users' group, but it looks more complicated than I'd prefer. And I just discovered, through a posting on the Daemon Forums, the RoFreeSBIE project, run by some Romanians. Where to start? I'm aware of the FreeBSD integrated fixit mode, but that's not what I'm looking for. I am looking for the FreeBSD equivalent of Knoppix Linux, which will run a graphical desktop and give me an idea if FreeBSD can work with my Atom dual core processor, Intel onboard NIC and Wireless, the dinky little webcam, and so on, even hardware that I wouldn't be able to identify by name in order to search the web for info. Has anybody had good or bad experiences with any of the above methods? A search of recent posts from this mailing list turned up precious little, and the RoFreeSBIE site looks very interesting. That's probably where I would start, but like I said, I'm curious to see if anyone on this list has had experience and would like to make recommendations. Otherwise, I'll let you know how it goes! From dmontalvo at gmail.com Thu Oct 8 11:19:58 2009 From: dmontalvo at gmail.com (Diego Montalvo) Date: Thu Oct 8 11:20:04 2009 Subject: It Happens With Time Message-ID: May not be the most brilliant FreeBSD user, but knew at one point some of the boys working for X linux would jump ship. Well it is official "Debian pushes development of kFreeBSD port" link here http://urloid.com/bsd1 Not breaking down Debian, I would probably use them if I used Linux on my servers, but it goes to show that Linux is not all that and perhaps FreeBSD is all that! FreeBSD is the shit! Support BSD by purchasing a BSD Magazine! More Info here: http://urloid.com/build2 Lovely Day for a Guinness or FreeBSD! From aaflatooni at yahoo.com Thu Oct 8 12:22:55 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Thu Oct 8 12:23:01 2009 Subject: Multihome on FreeBSD 7.2 Message-ID: <252567.98979.qm@web56202.mail.re3.yahoo.com> Hi, I have a DELL server with dual port nic card on it. The NICs are connected to the same VLAN. I would like to configure the server so that both NIC cards are redundant that if one goes down the second one would pick up and continue. So I would need both ports to be configured with the same IP addresses of the server. Is there something that I need to configure or add to /etc/rc.conf? Thanks From steve at ibctech.ca Thu Oct 8 12:38:40 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Thu Oct 8 12:38:53 2009 Subject: Multihome on FreeBSD 7.2 In-Reply-To: <252567.98979.qm@web56202.mail.re3.yahoo.com> References: <252567.98979.qm@web56202.mail.re3.yahoo.com> Message-ID: <4ACDDD54.5030401@ibctech.ca> Aflatoon Aflatooni wrote: > Hi, > I have a DELL server with dual port nic card on it. The NICs are connected to the same VLAN. > I would like to configure the server so that both NIC cards are redundant that if one goes down the second one would pick up and continue. So I would need both ports to be configured with the same IP addresses of the server. Is there something that I need to configure or add to /etc/rc.conf? You may want to look at lagg(4) in LACP mode: %grep lagg /etc/rc.conf cloned_interfaces="lagg0" ifconfig_lagg0="laggproto lacp laggport re0 laggport age0" ipv4_addrs_lagg0="208.70.104.110/25" Your switch will need to be capable of LACP as well, and be configured in a similar manner. Steve From valentin.bud at gmail.com Thu Oct 8 12:38:55 2009 From: valentin.bud at gmail.com (Valentin Bud) Date: Thu Oct 8 12:39:02 2009 Subject: Multihome on FreeBSD 7.2 In-Reply-To: <252567.98979.qm@web56202.mail.re3.yahoo.com> References: <252567.98979.qm@web56202.mail.re3.yahoo.com> Message-ID: <139b44430910080538r28ad4207q46fa3886241d3f7d@mail.gmail.com> On Thu, Oct 8, 2009 at 3:22 PM, Aflatoon Aflatooni wrote: > Hi, > I have a DELL server with dual port nic card on it. The NICs are connected > to the same VLAN. > I would like to configure the server so that both NIC cards are redundant > that if one goes down the second one would pick up and continue. So I would > need both ports to be configured with the same IP addresses of the server. > Is there something that I need to configure or add to /etc/rc.conf? > > Thanks > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Hello Aflatoon, Take a look at lagg(4). I think that's what you need. a great day, v -- network warrior since 2005 From unixmania at gmail.com Thu Oct 8 14:19:02 2009 From: unixmania at gmail.com (Carlos A. M. dos Santos) Date: Thu Oct 8 14:19:14 2009 Subject: ion windows manager on FreeBSD In-Reply-To: <20091007184310.GC19063@guilt.hydra> References: <20090930100658.GA99090@obspm.fr> <20090930161915.GA18014@lonesome.com> <20091001111417.GF50565@hades.panopticon> <20091001112323.GA26407@droso.net> <20091001114546.GH50565@hades.panopticon> <20091001213656.GA14925@lonesome.com> <20091002133231.GA17567@hades.panopticon> <747dc8f30910061024h5346b25evd27369955f9d6768@mail.gmail.com> <20091007184310.GC19063@guilt.hydra> Message-ID: On Wed, Oct 7, 2009 at 3:43 PM, Chad Perrin wrote: > On Wed, Oct 07, 2009 at 01:25:35PM -0300, Carlos A. M. dos Santos wrote: >> >> You can fork the code, rename it, whatever, but you can NOT change >> the license without explicit permission from the original copyright >> owner. That would be legally considered theft! > > Incorrect. ?It would be legally considered copyright infringement. > Copyright law is not property law, and both different laws *and* > different terms apply. ?"Theft" is not a term legally applied to > copyright infringement -- at least, in any jurisdiction of which I'm even > vaguely aware of the state of copyright law. > > "That would be legally considered copyright infringement!" I was referring to stealing intellectual property, which can be a synonym of copyright violation, depending on the country law. In my country, for instance, computer programs are considered intellectual property but they are also subjected to author rights, just like books and paintings [1,2] . > There. ?I fixed it for you. Thanks for the clarification, anyway. References (in Portuguese) [1] http://www.planalto.gov.br/ccivil_03/Leis/L9609.htm [2] http://www.planalto.gov.br/ccivil_03/Leis/L9610.htm -- My preferred quotation of Robert Louis Stevenson is "You cannot make an omelette without breaking eggs". Not because I like the omelettes, but because I like the sound of eggs being broken. From jekillen at prodigy.net Thu Oct 8 17:15:46 2009 From: jekillen at prodigy.net (jeffry killen) Date: Thu Oct 8 17:15:54 2009 Subject: salvaging hard drive contents Message-ID: > Hello; > I have a hard drive that contains the /var file system in a system that > will not boot. > In single user mode I can mount /var. > > I want to take this disk and put it in another FreeBSD system and > try to copy the files I need off of it to a safe place. > > The system I will plug it into will also have a separate disk with > /var. > > Is there going to be a conflict with the labels and how would I > best go about this? response to above query------------------- There will be no conflict. All the magic as to 'wher to mout what' is in the /etc/fstab file. because it doesn't know about the disk you're adding, ther won'tbe any conflicts. Simply use the long form of mount(1), to wit: "mount devicename mountpoint", and mount it on any convenient location, say '/mnt'. -------------- Now I have the hard disk I want to recover mounted but please for give me for being in the learning phase, but how to I cd on to this drive? I mounted it using the suggested 'mount -r (in this case ad12s1d) /var' now how do I actually read it? I tried cd ad12s1d/var and I got the 'file does not exist' response. If I do cd /; ls -la I do not see an added entry. Thanks for suggestions, info, etc Jeff K From wblock at wonkity.com Thu Oct 8 18:51:12 2009 From: wblock at wonkity.com (Warren Block) Date: Thu Oct 8 18:51:18 2009 Subject: salvaging hard drive contents In-Reply-To: References: Message-ID: On Thu, 8 Oct 2009, jeffry killen wrote: > Now I have the hard disk I want to recover mounted but please for give me > for being in the learning phase, but how to I cd on to this drive? > > I mounted it using the suggested 'mount -r (in this case ad12s1d) /var' > now how do I actually read it? What you've done there is mount your salvage drive over your running system's /var. That's probably going to give you problems, possibly very quickly. Just umounting the incorrect /var is probably not going to be enough. You might have to reboot. Once that's cleared up, use a mountpoint that's not doing anything. /mnt is commonly used for that. mount -r /dev/ad12s1d /mnt Then /mnt contains the salvage drive's var filesystem: cd /mnt ls -Warren Block * Rapid City, South Dakota USA From pldrouin at pldrouin.net Thu Oct 8 19:37:37 2009 From: pldrouin at pldrouin.net (Pierre-Luc Drouin) Date: Thu Oct 8 19:37:43 2009 Subject: STOP state in top + segmentation fault and core dump? In-Reply-To: <4ACE293B.8050201@pldrouin.net> References: <4ACE293B.8050201@pldrouin.net> Message-ID: <4ACE3F95.7030005@pldrouin.net> Hi, When I run many heavily multi-threaded (1000+ threads/process) and memory intensive (1800 MB+/process) processes on FreeBSD 8.0 amd64, some of them get in STOP state in top and then seg fault and core dump. Are stop states in top caused by seg faults or it is the OS that stops the processes because they exceed some limit? I do not see any message about any limit being exceeded. The machine has 12GB of memory so it should be able to sustain 4 processes using 1800MB each of memory I guess (I have 12 GB of swap space anyway but it stays unused). Everything runs fine if I run a single process and I have never encountered such problems when running these on Linux. Anyone has an idea? I am using the default limits right now: >limit cputime unlimited filesize unlimited datasize 33554432 kbytes stacksize 524288 kbytes coredumpsize unlimited memoryuse unlimited vmemoryuse unlimited descriptors 11095 memorylocked unlimited maxproc 5547 sbsize unlimited swapsize unlimited Thank you! From pprocacci at datapipe.com Thu Oct 8 20:22:39 2009 From: pprocacci at datapipe.com (Paul Procacci) Date: Thu Oct 8 20:22:45 2009 Subject: MAC and JAILS Message-ID: <4ACE477E.1080107@datapipe.com> Hey all, I'm trying to implement MAC within jails. however any attempt to do this from directly within the jail results in "Operation not Permitted" messages. With that, I assume root within the jail doesn't have any capabliities of defining his own policies. Can anyone confirm (or deny) this? Thanks, Paul This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/emaildisclaimer.aspx for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you. From dot at kkursor.ru Thu Oct 8 20:49:02 2009 From: dot at kkursor.ru (.kkursor) Date: Thu Oct 8 20:49:09 2009 Subject: FreeBSD 7.1 as a router - poor download speed, but normal upload Message-ID: <1255033407.16179.10.camel@notebook> Hello everybody! Please help me if you can. I have a home server built on Gigabyte MiniITX motherboard with VIA C3 800MHz CPU and 512M RAM aboard. The server acts as a file server, torrent downloader, router and mail and HTTP server. I have a PPTP connection to my ISP through the integrated network card. The network configuration is: [0:04] kkursor@dot.kkursor.ru ~ # ifconfig rl0: flags=8843 metric 0 mtu 1500 options=8 ether 00:19:cb:54:c6:15 inet 192.168.0.26 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet autoselect (100baseTX ) status: active rl1: flags=8843 metric 0 mtu 1500 options=8 ether 00:0f:ea:e2:cd:e0 inet 192.168.158.102 netmask 0xffffff00 broadcast 192.168.158.255 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8051 metric 0 mtu 1500 inet 195.98.183.20 --> 172.30.96.1 netmask 0xffffffff Opened by PID 73795 tun1: flags=8010 metric 0 mtu 1500 rl1 is integrated network card and rl0 is an additional PCI NIC which is inserted into the only PCI slot on the motherboard. Connection to ISP is done over rl1 using port pptp-client. The problem is that there is very low download speed. My ISP provides symmetric 4Mbps line, but download speed is poor - about 1 Mbps. Upload speed is OK. I called ISP, they asked me to connect WinXP computer and measure speed. It was normal, therefore there is an issue in my server. If you could point me in the right direction, it would be wonderful. Thank you very much for your work! With best regards and looking forward for answer, Kirill Sarksyan, Russian Federation From kraduk at googlemail.com Thu Oct 8 21:06:05 2009 From: kraduk at googlemail.com (krad) Date: Thu Oct 8 21:06:12 2009 Subject: FreeBSD 7.1 as a router - poor download speed, but normal upload In-Reply-To: <1255033407.16179.10.camel@notebook> References: <1255033407.16179.10.camel@notebook> Message-ID: 2009/10/8 .kkursor > Hello everybody! Please help me if you can. > I have a home server built on Gigabyte MiniITX motherboard with VIA C3 > 800MHz CPU and 512M RAM aboard. The server acts as a file server, > torrent downloader, router and mail and HTTP server. > I have a PPTP connection to my ISP through the integrated network card. > The network configuration is: > > [0:04] kkursor@dot.kkursor.ru ~ # ifconfig > rl0: flags=8843 metric 0 mtu > 1500 > options=8 > ether 00:19:cb:54:c6:15 > inet 192.168.0.26 netmask 0xffffff00 broadcast 192.168.0.255 > media: Ethernet autoselect (100baseTX ) > status: active > rl1: flags=8843 metric 0 mtu > 1500 > options=8 > ether 00:0f:ea:e2:cd:e0 > inet 192.168.158.102 netmask 0xffffff00 broadcast 192.168.158.255 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > tun0: flags=8051 metric 0 mtu 1500 > inet 195.98.183.20 --> 172.30.96.1 netmask 0xffffffff > Opened by PID 73795 > tun1: flags=8010 metric 0 mtu 1500 > > rl1 is integrated network card and rl0 is an additional PCI NIC which is > inserted into the only PCI slot on the motherboard. Connection to ISP is > done over rl1 using port pptp-client. > The problem is that there is very low download speed. My ISP provides > symmetric 4Mbps line, but download speed is poor - about 1 Mbps. Upload > speed is OK. I called ISP, they asked me to connect WinXP computer and > measure speed. It was normal, therefore there is an issue in my server. > If you could point me in the right direction, it would be wonderful. > Thank you very much for your work! > > With best regards and looking forward for answer, > Kirill Sarksyan, Russian Federation > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > try turning the mtu on the tun0 interface to 1492. If it doent help try a much lower setting eg 1450. From freebsd-questions at pp.dyndns.biz Thu Oct 8 21:20:10 2009 From: freebsd-questions at pp.dyndns.biz (=?ISO-8859-1?Q?Morgan_Wesstr=F6m?=) Date: Thu Oct 8 21:20:18 2009 Subject: FreeBSD 7.1 as a router - poor download speed, but normal upload In-Reply-To: <1255033407.16179.10.camel@notebook> References: <1255033407.16179.10.camel@notebook> Message-ID: <4ACE5781.8040105@pp.dyndns.biz> .kkursor wrote: > Hello everybody! Please help me if you can. > I have a home server built on Gigabyte MiniITX motherboard with VIA C3 > 800MHz CPU and 512M RAM aboard. The server acts as a file server, > torrent downloader, router and mail and HTTP server. > I have a PPTP connection to my ISP through the integrated network card. > The network configuration is: > > [0:04] kkursor@dot.kkursor.ru ~ # ifconfig > rl0: flags=8843 metric 0 mtu > 1500 > options=8 > ether 00:19:cb:54:c6:15 > inet 192.168.0.26 netmask 0xffffff00 broadcast 192.168.0.255 > media: Ethernet autoselect (100baseTX ) > status: active > rl1: flags=8843 metric 0 mtu > 1500 > options=8 > ether 00:0f:ea:e2:cd:e0 > inet 192.168.158.102 netmask 0xffffff00 broadcast 192.168.158.255 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > tun0: flags=8051 metric 0 mtu 1500 > inet 195.98.183.20 --> 172.30.96.1 netmask 0xffffffff > Opened by PID 73795 > tun1: flags=8010 metric 0 mtu 1500 > > rl1 is integrated network card and rl0 is an additional PCI NIC which is > inserted into the only PCI slot on the motherboard. Connection to ISP is > done over rl1 using port pptp-client. > The problem is that there is very low download speed. My ISP provides > symmetric 4Mbps line, but download speed is poor - about 1 Mbps. Upload > speed is OK. I called ISP, they asked me to connect WinXP computer and > measure speed. It was normal, therefore there is an issue in my server. > If you could point me in the right direction, it would be wonderful. > Thank you very much for your work! > > With best regards and looking forward for answer, > Kirill Sarksyan, Russian Federation Did you really saturate your upload while testing your download speed in WinXP? What you're describing is a common problem with how TCP works especially on (but not limited to) assymetric connections. I use the technique described by Daniel Hartmeier to circumvent it and can fully utilize my upload and download simultaneously. http://www.benzedrine.cx/ackpri.html /Morgan From perrin at apotheon.com Thu Oct 8 23:13:00 2009 From: perrin at apotheon.com (Chad Perrin) Date: Thu Oct 8 23:13:36 2009 Subject: ion windows manager on FreeBSD In-Reply-To: References: <20090930161915.GA18014@lonesome.com> <20091001111417.GF50565@hades.panopticon> <20091001112323.GA26407@droso.net> <20091001114546.GH50565@hades.panopticon> <20091001213656.GA14925@lonesome.com> <20091002133231.GA17567@hades.panopticon> <747dc8f30910061024h5346b25evd27369955f9d6768@mail.gmail.com> <20091007184310.GC19063@guilt.hydra> Message-ID: <20091008230533.GA32736@guilt.hydra> On Thu, Oct 08, 2009 at 11:19:00AM -0300, Carlos A. M. dos Santos wrote: > On Wed, Oct 7, 2009 at 3:43 PM, Chad Perrin wrote: > > On Wed, Oct 07, 2009 at 01:25:35PM -0300, Carlos A. M. dos Santos wrote: > >> > >> You can fork the code, rename it, whatever, but you can NOT change > >> the license without explicit permission from the original copyright > >> owner. That would be legally considered theft! > > > > Incorrect. ?It would be legally considered copyright infringement. > > Copyright law is not property law, and both different laws *and* > > different terms apply. ?"Theft" is not a term legally applied to > > copyright infringement -- at least, in any jurisdiction of which I'm even > > vaguely aware of the state of copyright law. > > > > "That would be legally considered copyright infringement!" > > I was referring to stealing intellectual property, which can be a > synonym of copyright violation, depending on the country law. In my > country, for instance, computer programs are considered intellectual > property but they are also subjected to author rights, just like books > and paintings [1,2] . The term "Intellectual Property" is essentially an invention of people who wished copyright, patent, and trademark bodies of law were treated more like actual property law. Saying something is "intellectual property" sure makes it *sound* like violating the relevant law should be called "stealing", but it's still not theft under the law (unless you happen to live in some jurisdiction that treats this stuff in a very nonstandard manner -- I can't speak for all jurisdictions, since I know nothing about copyright law in Eritrea, for instance). Not only is copyright not *legally* considered theft, but it is not *practically* equivalent to theft, either. In theft, a person has a thing in his or her possession, and the thief takes it away. There is no thing in a copyright holder's possession that is taken away when copyright is infringed. The common excuse for calling it theft is reference to the copyright holder's profits being "stolen", but because those profits do not even exist yet at the time of the copyright infringement, they are not literally being "taken away". > > References (in Portuguese) > > [1] http://www.planalto.gov.br/ccivil_03/Leis/L9609.htm > [2] http://www.planalto.gov.br/ccivil_03/Leis/L9610.htm Alas, I do not read Portuguese. Maybe in Portugal the word for "theft" is defined differently than here, so that it applies not to property per se, but to any illegal act of acquisition; that is not a jurisdiction whose copyright laws are familiar to me. I rather doubt it, though, because a legal definition of theft that is applicable to copyright would fail to account for actual theft of actual property of naturally limited abundance. Given an example with which I am more familiar (the United States), though, I cite Dowling v. US: The infringer invades a statutorily defined province guaranteed to the copyright holder alone. But he does not assume physical control over the copyright; nor does he wholly deprive its owner of its use. Dowling v. US specfically set forth for those who wished to define bootleg recordings as "stolen property" the details for why this was not an appropriate definition, and rejected outright and in all its particulars the concept that copyright infringement is theft in any legal sense of the term. The reasoning is summed up in the above two-sentence quote from the Dowling v. US decision. The economic principle that differentiates copyright infringement from property theft is that of rivalry. A rival good is one whose use by one consumer prevents the use by another, whereas a nonrival good is one whose use by one consumer does not interfere with the use by another. Copyright infringement is illegal acquisition, by a consumer, of a nonrival good; property theft is illegal acquisition, by a consumer, of a rival good. Copyright violation does not deprive anyone else of the opportunity to acquire or use the good in question, whereas property theft *does*, accounting for the differences of legal status for acquisition between rival and nonrival goods. Thomas Jefferson, in discussions of the idea of copyright and patent law before such were even included in the US Constitution, made this distinction as well: He who receives an idea from me, receives instruction himself without lessening mine; as he who lights his taper at mine, receives light without darkening me. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091008/5a331980/attachment.pgp From snailboy1 at yahoo.com Thu Oct 8 23:52:08 2009 From: snailboy1 at yahoo.com (David LeCount) Date: Thu Oct 8 23:52:41 2009 Subject: Trouble getting new raid array to boot Message-ID: <314361.54872.qm@web57006.mail.re3.yahoo.com> I just built an aac raid array. I partitioned the disk, set the partition as active, and copied all my files to it with tar. I changed fstab on the new drive to reflect the changes. When I try to boot to the array, it says invalid partition. I've tried typing everything I could as the partition but they all fail. I was going to try making a new install on the new partition and then copy everything but I'm having unrelated problems with my burner. What do I need to do to get this thing to boot up? From shinjii at maydias.com Fri Oct 9 02:38:38 2009 From: shinjii at maydias.com (Warren Liddell) Date: Fri Oct 9 02:38:44 2009 Subject: Error Compiling qt4-dbus Message-ID: <4ACE9CC3.7050806@maydias.com> Running AMD64 7.2-STABLE src & kernel upto date an trying to get ports updated when encountering the below issue which is now affecting a lot of programs.. -------------------------------- cd "/usr/ports/devel/dbus-qt4/work/qt-x11-opensource-src-4.5.2/./tools/qdbus/qdbus" make first c++ -c -O2 -fno-strict-aliasing -pipe -O2 -Wall -W -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../../include/QtCore -I../../../include/QtXml -I../../../include -I../../../include/QtDBus -I.moc/release-shared -I/usr/local/include -o .obj/release-shared/qdbus.o qdbus.cpp g++ -Wl,-O1 -pthread -Wl,-rpath,/usr/local/lib/qt4 -Wl,-rpath,/usr/local/lib/qt4 -o ../../../bin/qdbus .obj/release-shared/qdbus.o -L/usr/local/lib/qt4 -L/usr/ports/devel/dbus-qt4/work/qt-x11-opensource-src-4.5.2/lib -L/usr/local/lib -lQtDBus -L/usr/local/lib/qt4 -L/usr/local/lib -pthread -pthread -pthread -pthread -pthread -pthread -lQtXml -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lglib-2.0 -liconv .obj/release-shared/qdbus.o(.text+0xdc): In function `printArg(QVariant const&)': : undefined reference to `QDBusUtil::argumentToString(QVariant const&)' *** Error code 1 Stop in /usr/ports/devel/dbus-qt4/work/qt-x11-opensource-src-4.5.2/tools/qdbus/qdbus. *** Error code 1 Stop in /usr/ports/devel/dbus-qt4/work/qt-x11-opensource-src-4.5.2/tools/qdbus/qdbus. *** Error code 1 Stop in /usr/ports/devel/dbus-qt4/work/qt-x11-opensource-src-4.5.2/tools/qdbus. *** Error code 1 Stop in /usr/ports/devel/dbus-qt4. From tajudd at gmail.com Fri Oct 9 02:50:09 2009 From: tajudd at gmail.com (Tim Judd) Date: Fri Oct 9 02:50:15 2009 Subject: Trouble getting new raid array to boot In-Reply-To: <314361.54872.qm@web57006.mail.re3.yahoo.com> References: <314361.54872.qm@web57006.mail.re3.yahoo.com> Message-ID: On 10/8/09, David LeCount wrote: > I just built an aac raid array. I partitioned the disk, set the partition as > active, and copied all my files to it with tar. I changed fstab on the new > drive to reflect the changes. When I try to boot to the array, it says > invalid partition. I've tried typing everything I could as the partition but > they all fail. I was going to try making a new install on the new partition > and then copy everything but I'm having unrelated problems with my burner. > What do I need to do to get this thing to boot up? Is the aac driver in the kernel, or loaded as a kld before you get past the boot blocks, and loader? --TJ From fbsd-ml at gehlbach.com Fri Oct 9 02:57:25 2009 From: fbsd-ml at gehlbach.com (fbsd-ml@gehlbach.com) Date: Fri Oct 9 02:57:31 2009 Subject: Upgrade to 7.2 broke network connections Message-ID: <714a6980f53082ec41a527e44158128d.squirrel@mail1.gehlbach.com> Today I updated a server from 6.4 to 7.2. I cvsup'ed, built world, built kernel, installed kernel, installed world, mergemastered, and rebooted. And sat there, while ntpdate timed out trying to connect to four different servers, while interface status messages slowly scrolled: tx0: device timeout 2 packets tx0: seems we can continue normally rl0: watchdog timeout When it finally timed out, and I logged in, I found that I could ping 127.0.0.1, I could ping 192.168.50.7 (tx0 interface), I could ping the rl0 wan interface, I could not ping the gateway or anything outside of the machine. Looking at dmesg later, I found the same timeout messages repeated again and again, and I found further error messages: tx0: reinitialization tx0: ERROR! Can't stop TxDMA tx0: ERROR! Unknown PHY selected and repeated periodically: tx0: reinitialization tx0: ERROR! Unknown PHY selected I built and installed the generic kernel, and tried again. Same deal. I disabled ipfilter and ntp in rc.conf, removed the configuration lines for all but one interface, and rebooted. Same deal, just shorter boot time without having to wait for ntpdate (grin) I thought, ok.....really old NICs. There were some warnings about deprecated features in bootup. I took out both NICs and put in an Intel Pro 10/100/1000 -- obviously supported. Same deal. I previously attempted to update this server several months ago, going from 6.something to 7.1, and had this same problem. After several frustrating days, I restored from backup and updated to latest 6.x, which worked fine. So I assume that I have something configured wrong. If there were hardware compatibility issues this big, this version would never have gone to stable, and people would be screaming about it all over the mailing lists. So my question is.....what should be my next troubleshooting step? Thanks for your time, Renee Gehlbach From snailboy1 at yahoo.com Fri Oct 9 03:05:36 2009 From: snailboy1 at yahoo.com (David LeCount) Date: Fri Oct 9 03:05:43 2009 Subject: Trouble getting new raid array to boot In-Reply-To: Message-ID: <362967.59148.qm@web57007.mail.re3.yahoo.com> > Is the aac driver in the kernel, or loaded as a kld before > you get > past the boot blocks, and loader? It's built into the kernel. From aryeh.friedman at gmail.com Fri Oct 9 03:31:50 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Fri Oct 9 03:31:56 2009 Subject: How to set device permissions at startup Message-ID: <4ACEAD18.9070000@gmail.com> Since certain currently unused devices are not created in /dev (specifically in my case /dev/fuse*) how do I tell what ever (I can't tell it is devfs or what) to always make /dev/fuse* (when needed) with 777 perms (the security implications are not an issue here) From tajudd at gmail.com Fri Oct 9 03:41:06 2009 From: tajudd at gmail.com (Tim Judd) Date: Fri Oct 9 03:41:13 2009 Subject: Trouble getting new raid array to boot In-Reply-To: <362967.59148.qm@web57007.mail.re3.yahoo.com> References: <362967.59148.qm@web57007.mail.re3.yahoo.com> Message-ID: On 10/8/09, David LeCount wrote: >> Is the aac driver in the kernel, or loaded as a kld before >> you get >> past the boot blocks, and loader? > > It's built into the kernel. Then my answer would be missing MBR or boot blocks, an active partition alone won't make a system boot. it's just a flag to say which partition is bootable, but doesn't mean that the boot flag itself makes the partition boot. fdisk(8) and bsdlabel(8) -- see the -B option to both. If you have a dangerously dedicated disk, ignore fdisk. If you don't have a bsdlabel, ignore bsdlabel. I do both on any standard install. --TJ From h.skuhra at gmail.com Fri Oct 9 05:52:00 2009 From: h.skuhra at gmail.com (Herbert J. Skuhra) Date: Fri Oct 9 05:52:33 2009 Subject: How to set device permissions at startup In-Reply-To: <4ACEAD18.9070000@gmail.com> References: <4ACEAD18.9070000@gmail.com> Message-ID: <8C7C81E1-2E6E-4802-B692-4A8198877208@gmail.com> Den 9. okt. 2009 kl. 05.25 skrev "Aryeh M. Friedman" : > Since certain currently unused devices are not created in /dev > (specifically in my case /dev/fuse*) how do I tell what ever (I > can't tell it is devfs or what) to always make /dev/fuse* (when > needed) with 777 perms (the security implications are not an issue > here) Have you tried devfs.rules(5)? -Herbert From guru at unixarea.de Fri Oct 9 05:58:17 2009 From: guru at unixarea.de (Matthias Apitz) Date: Fri Oct 9 05:58:24 2009 Subject: tar --unlink ? Message-ID: <20091009055817.GA2420@current.Sisis.de> Hello, To move a file tree from one place to another I see as an example: # tar -cf - local | tar --unlink -xpf - -C /mnt What does '--unlink' do exactly? I can't see it in the man page of tar(1). Thanks in advance matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU's Lisbon Treaty: http://www.no-means-no.eu From aryeh.friedman at gmail.com Fri Oct 9 05:59:53 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Fri Oct 9 06:00:00 2009 Subject: How to set device permissions at startup In-Reply-To: <8C7C81E1-2E6E-4802-B692-4A8198877208@gmail.com> References: <4ACEAD18.9070000@gmail.com> <8C7C81E1-2E6E-4802-B692-4A8198877208@gmail.com> Message-ID: <4ACED156.1030609@gmail.com> Herbert J. Skuhra wrote: > Den 9. okt. 2009 kl. 05.25 skrev "Aryeh M. Friedman" > : > >> Since certain currently unused devices are not created in /dev >> (specifically in my case /dev/fuse*) how do I tell what ever (I can't >> tell it is devfs or what) to always make /dev/fuse* (when needed) >> with 777 perms (the security implications are not an issue here) > > Have you tried devfs.rules(5)? > > -Herbert > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > yes and since the device doesn't exist at the mount time for devfs they are ignored From jhell at DataIX.net Fri Oct 9 06:07:30 2009 From: jhell at DataIX.net (jhell) Date: Fri Oct 9 06:07:37 2009 Subject: tar --unlink ? In-Reply-To: <20091009055817.GA2420@current.Sisis.de> References: <20091009055817.GA2420@current.Sisis.de> Message-ID: On Fri, 9 Oct 2009 07:58 +0200, guru@ wrote: > > Hello, > > To move a file tree from one place to another I see as an example: > > # tar -cf - local | tar --unlink -xpf - -C /mnt > > What does '--unlink' do exactly? I can't see it in the man page of > tar(1). Thanks in advance > > matthias > man 2 unlink -- ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E From rsmith at xs4all.nl Fri Oct 9 06:11:58 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Oct 9 06:12:04 2009 Subject: How to set device permissions at startup In-Reply-To: <4ACEAD18.9070000@gmail.com> References: <4ACEAD18.9070000@gmail.com> Message-ID: <20091009061155.GA75746@slackbox.xs4all.nl> On Thu, Oct 08, 2009 at 11:25:12PM -0400, Aryeh M. Friedman wrote: > Since certain currently unused devices are not created in /dev > (specifically in my case /dev/fuse*) how do I tell what ever (I can't > tell it is devfs or what) to always make /dev/fuse* (when needed) with > 777 perms (the security implications are not an issue here) See devfs.rules(5). 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091009/bf06f360/attachment.pgp From guru at unixarea.de Fri Oct 9 06:13:25 2009 From: guru at unixarea.de (Matthias Apitz) Date: Fri Oct 9 06:13:31 2009 Subject: tar --unlink ? In-Reply-To: References: <20091009055817.GA2420@current.Sisis.de> Message-ID: <20091009061326.GA2493@current.Sisis.de> El d?a Friday, October 09, 2009 a las 02:07:21AM -0400, jhell escribi?: > > On Fri, 9 Oct 2009 07:58 +0200, guru@ wrote: > > > >Hello, > > > >To move a file tree from one place to another I see as an example: > > > ># tar -cf - local | tar --unlink -xpf - -C /mnt > > > >What does '--unlink' do exactly? I can't see it in the man page of > >tar(1). Thanks in advance > > > > matthias > > > > man 2 unlink I know the unlink(2) sys call, but what does this --unlink flag in tar(1) on restore (-x)? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From aryeh.friedman at gmail.com Fri Oct 9 06:18:49 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Fri Oct 9 06:18:55 2009 Subject: How to set device permissions at startup In-Reply-To: <20091009061155.GA75746@slackbox.xs4all.nl> References: <4ACEAD18.9070000@gmail.com> <20091009061155.GA75746@slackbox.xs4all.nl> Message-ID: <4ACED5C6.8060605@gmail.com> Roland Smith wrote: > On Thu, Oct 08, 2009 at 11:25:12PM -0400, Aryeh M. Friedman wrote: > >> Since certain currently unused devices are not created in /dev >> (specifically in my case /dev/fuse*) how do I tell what ever (I can't >> tell it is devfs or what) to always make /dev/fuse* (when needed) with >> 777 perms (the security implications are not an issue here) >> > > See devfs.rules(5). > > Should of been more specific in the orginal question then I added a rule and since the device doesn't exist at devfs mount time it does not honor the rule From randi at freebsd.org Fri Oct 9 06:39:59 2009 From: randi at freebsd.org (Randi Harper) Date: Fri Oct 9 06:40:07 2009 Subject: / almost out of space just after installation In-Reply-To: <4acd9c98.Mf06e1KlRm+blPrD%perryh@pluto.rain.com> References: <200910071110.n97BANiE012861@lurza.secnetix.de> <4acd9c98.Mf06e1KlRm+blPrD%perryh@pluto.rain.com> Message-ID: On Thu, Oct 8, 2009 at 1:02 AM, wrote: > At least as far back as SunOs 3.5* the installer was able to auto- > size the partitions based on the selected distribution sets. Of > course, this means that the installer must know the size of each > distribution set -- on each of /, /usr, and /var -- and that the > selection of what to install has to happen before the partitioning > is actually done. I would think that the sizing of the distribution > sets could easily be automated as part of the release process, and > that the needed reordering of the installation process would not > be all that difficult for someone familiar with sysinstall and > accustomed to coding in the language involved. > 1.) Look at the PR database and search for sysinstall. See all those open reports, some from 8 years ago? sysinstall needs some babying. There are bugs that need to be addressed, and I'm making those a much higher priority than feature requests, although this isn't to say that you can't submit a feature request anyways. 2.) The problem isn't that the current default partition sizing doesn't work with a newly installed system. It does. The problem is what happens afterwords: compiling a new kernel or two, installing third party software (while it's true that most files from installed ports are installed to /usr/local, that doesn't mean that they are all configured to only write data to /usr/local at run time, obviously), etc. syslogd is installed by default, but there's no way for me to know if you plan on logging to a remote host, or even using this host as a syslog server for multiple hosts, or what your log retention is going to be, nor do I know if this is going to be a database or mail server, so I can't guess the size of /var. Knowing the size of the data to be installed is easily enough done, but it's not going to solve this problem at all. 3.) Although your comparison to SunOS isn't really all that relevant, your complaint about default partition size is. This is something that I'm considering changing, although I expect some backlash/bikeshed. I've not yet run into problems with / unless I had more than 2 kernels around, but I have seen a default-sized /tmp fill up due to some third party software. I was thinking that a more acceptable default layout (leaving swap at it's current default size) would be: / = 1GB /var = 2GB /tmp = 2GB One thing to remember is that these are just suggested defaults. Most experienced users are going to use a custom layout when setting up a new server, so the goal here is to have partition sizes that work for everyone else. Although FreeBSD does work on older hardware, I'd guess that most of the hardware it is being installed on now is less than 10 years old. The defaults we currently have in place are outdated. They are targeted more for older systems, perhaps because sysinstall hasn't been touched in quite a while. I'm looking for community input on this, so feel free to pipe up with your $.02. -- randi From alex at mailinglist.ahhyes.net Fri Oct 9 06:52:20 2009 From: alex at mailinglist.ahhyes.net (Alex R) Date: Fri Oct 9 06:52:27 2009 Subject: binutils Message-ID: <4ACECF0F.7000208@mailinglist.ahhyes.net> Hi Guys, Is there any news on when the version of binutils that ships as part of the base system will be updated? The version that ships with 7.x etc is about 5 years old now. It creates problems on amd64 when compiling mplayer (assembly language directive errors), and can be resolved by installing a newer version of binutils. Feel free to share your thoughts :) Alex. From dnelson at allantgroup.com Fri Oct 9 06:52:48 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Fri Oct 9 06:52:55 2009 Subject: tar --unlink ? In-Reply-To: <20091009061326.GA2493@current.Sisis.de> References: <20091009055817.GA2420@current.Sisis.de> <20091009061326.GA2493@current.Sisis.de> Message-ID: <20091009065245.GV29215@dan.emsphone.com> In the last episode (Oct 09), Matthias Apitz said: > El d?a Friday, October 09, 2009 a las 02:07:21AM -0400, jhell escribi?: > > On Fri, 9 Oct 2009 07:58 +0200, guru@ wrote: > > > > > >To move a file tree from one place to another I see as an example: > > > > > ># tar -cf - local | tar --unlink -xpf - -C /mnt > > > > > >What does '--unlink' do exactly? I can't see it in the man page of > > >tar(1). Thanks in advance > > > > man 2 unlink > > I know the unlink(2) sys call, but what does this --unlink flag in tar(1) > on restore (-x)? It's the same as the -U option, provided for gnutar compatibility. -- Dan Nelson dnelson@allantgroup.com From jon at radel.com Fri Oct 9 07:05:56 2009 From: jon at radel.com (Jon Radel) Date: Fri Oct 9 07:06:03 2009 Subject: / almost out of space just after installation In-Reply-To: References: <200910071110.n97BANiE012861@lurza.secnetix.de> <4acd9c98.Mf06e1KlRm+blPrD%perryh@pluto.rain.com> Message-ID: <4ACEE10D.4070201@radel.com> Randi Harper wrote: > I was thinking that a more acceptable default layout (leaving swap at it's > current default size) would be: > > / = 1GB > /var = 2GB > /tmp = 2GB > > One thing to remember is that these are just suggested defaults. Most > experienced users are going to use a custom layout when setting up a new > server, so the goal here is to have partition sizes that work for everyone > else. Although FreeBSD does work on older hardware, I'd guess that most of > the hardware it is being installed on now is less than 10 years old. The > defaults we currently have in place are outdated. They are targeted more for > older systems, perhaps because sysinstall hasn't been touched in quite a > while. > > I'm looking for community input on this, so feel free to pipe up with your > $.02. I believe it's been years since I didn't bump up the sizes on an install, otherwise I just end up with all this space where it's least likely to save me from a filled disk in the future. While I am actually running some hardware that is over 10 years old with FreeBSD, quite happily, every single hard drive involved has been replaced due to failure or as a preventative measure. You just can't get general purpose disks that small anymore....I'd think that assuming everyone had at least 10 GB disks at this point would be reasonable. I'm all for increased defaults. -- --Jon Radel jon@radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091009/af4e0a6f/smime.bin From randi at freebsd.org Fri Oct 9 07:12:07 2009 From: randi at freebsd.org (Randi Harper) Date: Fri Oct 9 07:12:14 2009 Subject: / almost out of space just after installation In-Reply-To: <4ACEE10D.4070201@radel.com> References: <200910071110.n97BANiE012861@lurza.secnetix.de> <4acd9c98.Mf06e1KlRm+blPrD%perryh@pluto.rain.com> <4ACEE10D.4070201@radel.com> Message-ID: On Fri, Oct 9, 2009 at 12:06 AM, Jon Radel wrote: > I believe it's been years since I didn't bump up the sizes on an install, > otherwise I just end up with all this space where it's least likely to save > me from a filled disk in the future. While I am actually running some > hardware that is over 10 years old with FreeBSD, quite happily, every single > hard drive involved has been replaced due to failure or as a preventative > measure. > Oh, I'm not saying people aren't running FreeBSD on older hardware, I'm just guessing that *new* installs mostly happen on hardware that is less than 10 years old. :) -- randi From bennett at cs.niu.edu Fri Oct 9 07:20:30 2009 From: bennett at cs.niu.edu (Scott Bennett) Date: Fri Oct 9 07:20:38 2009 Subject: When is it worth enabling hyperthreading? Message-ID: <200910090720.n997KQ0D016125@mp.cs.niu.edu> On Wed, 07 Oct 2009 23:24:48 -0400 Pierre-Luc Drouin wrote: >Could someone explain me in which cases it is useful to enable >hyperthreading on a machine running FreeBSD 8.0 and in which other cases >it is not a good idea? Is that possible that hyperthreading is >disadvantageous unless the number of active (non-sleeping) threads is >really high? > >For example, if I have an i7 CPU with 4 physical cores and that I run >some multi-threaded code that has only 4 threads, it will run almost >always (twice) slower with hyperthreading enabled than when I disable it >in the BIOS. If I understand correctly, hyperthreading has the advantage >of being able to do CPU context switching faster than the OS, but it No. Both context execute simultaneously. Each logical CPU of the two logical CPUs in a core has its own set of registers, LDT and GDT pointer registers, and instruction counter. Both compete for the same remaining set of resources: DAT, TLB, FPU, cache (all levels for a given core), busses to off-chip resources, and--most critically--pipeline slots per clock cycle. Any time a resource shared by the two logical CPUs (what the logical CPUs execute are called "CPU threads" or "hyperthreads") is in use by one logical CPU, it is unavailable for use by the other logical CPU. If a logical CPU needs a resource unavailable due to its being in use by the other logical CPU, the late-comer's processing is suspended until the resource is released by the other logical CPU. Such a lockout situation is not directly detectable in software because the locked-out instruction is still in execution; it's just taking more than the usual number of cycles to complete. On a P4 Prescott chip or the late models of single-cored Xeons, the pipeline structure is apparently less than ideal for sustained simultaneous execution; i.e., there are frequent pairings of instructions that require more than the available pipeline slots of the types required by the two parallel instructions, which causes one of them to spin until the other moves on, opening the next cycle's set of pipeline slots. A simple case can demonstrate the problem, although on most systems this example would likely be infrequent. There is only one FPU pipeline on these chips, so two floating-point instructions executing simultaneously will result in one getting the FPU pipeline slot for the current cycle, while the other one spins until the next cycle, whereupon the other side will spin, etc. What is actually the more common occurrence is that other types of instruction pairs will require, for example, four slots of a type that only has three pipelines. The Core i7 chips (don't know about the other Core iN series) are alleged to have an improved assortment of pipelines w.r.t. typical instruction mixes, although I think there is still only one FPU per core, so the parallelism is supposed to be rather more effective on these chips than on their forerunners in the Pentium/Xeon series. It has been quite a while since I last tried measuring it, but IIRC, a "make buildworld" on my 3.4 GHz P4 Prescott takes about one to two minutes longer elapsed time in non-hyperthreading mode with MAKEFLAGS set to "-j3" than it does with hyperthreading enabled and MAKEFLAGS set to "-j5" (i.e., something like 52 - 53 minutes instead of 51 minutes and a few seconds). Your quad-core Core i7 chips ought to provide a much greater benefit with hyperthreading enabled, relatively speaking. The traditional recommendation for the -j flag for make(1) is 3*nCPUs, but hyperthreading doesn't give you a full CPU's worth of extra processing, so your quad-core chips won't give you a full 8 CPUs' worth. In other words, a single, large, parallel make job probably should have -j set to something under 24 yet still greater than 12, as a guess perhaps 20ish. :-) But do try it yourself at different -j values, and let us know how your timings turn out on that chip, along with the model number of the chip. >does this context switching systematically instead of only when >requested, so it slows things down unless the number of running >(non-sleeping) threads is greater or equal to let say the number of >physical threads x 1.5-1.75. > In general, there is a slight gain, although running parallel floating-point activities is a break-even situation and not worth the bother unless you're just trying to learn OpenMP or some such. When I've disabled hyperthreading, interactive response has often seemed a tad less snappy when running some CPU-bound process at the same time. OTOH, with hyperthreading enabled, I sometimes notice a bit more jerkiness in things like scrolling in firefox, but it's not easy to tell what's really happening there because firefox typically has at least 7 threads itself. :-) Like Bill Moran said, user interfaces do seem a bit more responsive, and I haven't seen any noticeable *loss* in overall performance. The "make buildworld" example runs long enough to give some idea, and it always runs a little bit faster under hyperthreading than in uniprocessor mode. A "make buildkernel" also shows a bit of improvement. I've never seen any dramatic improvement, but the slight improvement is sometimes apparent. Also, when running Windows XP, having hyperthreading enabled has allowed me to get out from under some runaway, single-threaded process, even though doing so can take a while because the runaway process does compete vigorously for the shared resources discussed above. :-) Nevertheless, without the extra logical CPU, a manual reboot would have been necessary to regain control of the machine. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From guru at unixarea.de Fri Oct 9 07:26:00 2009 From: guru at unixarea.de (Matthias Apitz) Date: Fri Oct 9 07:26:06 2009 Subject: tar --unlink ? In-Reply-To: <20091009065245.GV29215@dan.emsphone.com> References: <20091009055817.GA2420@current.Sisis.de> <20091009061326.GA2493@current.Sisis.de> <20091009065245.GV29215@dan.emsphone.com> Message-ID: <20091009072602.GA1896@current.Sisis.de> El d?a Friday, October 09, 2009 a las 01:52:45AM -0500, Dan Nelson escribi?: > > I know the unlink(2) sys call, but what does this --unlink flag in tar(1) > > on restore (-x)? > > It's the same as the -U option, provided for gnutar compatibility. Dan, Thanks for your helping answer. Maybe someone with commit right should make a note in the manpage of tar(1). Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From kline at thought.org Fri Oct 9 08:35:25 2009 From: kline at thought.org (Gary Kline) Date: Fri Oct 9 08:35:32 2009 Subject: for perl wizards. Message-ID: <20091009083516.GA60096@thought.org> Whenever I save a wordpeocessoe file [OOo, say] into a text file, I get a slew of hex codes to indicate the char to be used. I'm looking for a perl one-liner or script to translate hex back into ', ", -- [that's a dash), and so forth. Why does this fail to trans the hex code to an apostrophe? perl -pi.bak -e 's/\xe2\x80\x99/'/g' If there any another other tools, I'm interested! tia, guys, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From desphilboy at yahoo.com Fri Oct 9 08:48:52 2009 From: desphilboy at yahoo.com (BigDes) Date: Fri Oct 9 08:48:59 2009 Subject: netbeans 6.0.1 not run In-Reply-To: <17179367.post@talk.nabble.com> References: <17179367.post@talk.nabble.com> Message-ID: <25817655.post@talk.nabble.com> cuongvt wrote: > > Hi all! > > full explanation: > FreeBSD 7.0-RELEASE (i386) > uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network) > > installed: > jdk-1.6.0.3p4_1 > diablo-jdk-1.5.0.07.01_10 > javavmwrapper-2.3.2 > > I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc. > java -version: > java 16 jdku3p1 etc etc > > Then I insralled netbeans from ports, firstly it warned: > JAVA_HOME should not be defined. > > So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and > reinstalled netbeans. > Installation went fine. > > When I try run netbeans: > mak@lo0:~>netbeans > XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0" > after 0 requests (0 known processed) with 0 events remaining. > > Any ideas? > P/S:All pkgs were installed via ports* > you shall change your java interpreter package. Install jdk1.6 from /usr/ports/java/jdk16, by going to this directory and typing "make install". I tried jdk1.6.0 and replaced it instead of diablo-1.5.0. In order to do this you shall try to change javahome directory in netbeans.conf you may find this file in /usr/local/netbeans/etc then: #vi netbeans.conf you may see something like this javahome= /usr/local/diablo-1.5.0 chang that into: javahome=/usr/local/jdk1.6.0 then it will work -- View this message in context: http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p25817655.html Sent from the freebsd-questions mailing list archive at Nabble.com. From m.seaman at infracaninophile.co.uk Fri Oct 9 09:28:32 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Oct 9 09:28:39 2009 Subject: for perl wizards. In-Reply-To: <20091009083516.GA60096@thought.org> References: <20091009083516.GA60096@thought.org> Message-ID: <4ACF0231.5010801@infracaninophile.co.uk> Gary Kline wrote: > Whenever I save a wordpeocessoe file [OOo, say] into a > text file, I get a slew of hex codes to indicate the char to be > used. I'm looking for a perl one-liner or script to translate > hex back into ', ", -- [that's a dash), and so forth. Why does > this fail to trans the hex code to an apostrophe? > > perl -pi.bak -e 's/\xe2\x80\x99/'/g' > > If there any another other tools, I'm interested! > That's a problem with shell quoting rather than perl. You're using ' as the delimiter on your command line, so you need to escape any instances within commands. Or you can replace a literal ' with the ASCII character code \x27. However, in the more general sense what you are doing is replacing certain UTF-8 character codes with similar characters from the ASCII range. That sounds to me like a job for iconv(1) -- in ports as converters/libiconv Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091009/768c1f62/signature.pgp From luvbeastie at larseighner.com Fri Oct 9 09:46:42 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Fri Oct 9 09:46:50 2009 Subject: for perl wizards. In-Reply-To: <20091009083516.GA60096@thought.org> References: <20091009083516.GA60096@thought.org> Message-ID: <20091009043751.P92438@qroenaqrq.6qbyyneqvnyhc.pbz> On Fri, 9 Oct 2009, Gary Kline wrote: > > Whenever I save a wordpeocessoe file [OOo, say] into a > text file, I get a slew of hex codes to indicate the char to be > used. I'm looking for a perl one-liner or script to translate > hex back into ', ", -- [that's a dash), and so forth. Why does > this fail to trans the hex code to an apostrophe? > > perl -pi.bak -e 's/\xe2\x80\x99/'/g' You're kidding, aren't you? The apostrophe is the same as the single quote, so double quote the execute line. Also, of course, you haven't specified which file(s) to operate on. And finally, there are tons of perl forums, mailing lists, and newsgroups. Pick one to ask perl questions. perl -pi.bak -e "s/\xe2\x80\x99/'/g" OOo > If there any another other tools, I'm interested! check out sed and tr. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From onemda at gmail.com Fri Oct 9 09:47:32 2009 From: onemda at gmail.com (Paul B Mahol) Date: Fri Oct 9 09:47:38 2009 Subject: binutils In-Reply-To: <4ACECF0F.7000208@mailinglist.ahhyes.net> References: <4ACECF0F.7000208@mailinglist.ahhyes.net> Message-ID: <3a142e750910090247t1fe78717vb32c67be5749a586@mail.gmail.com> On 10/9/09, Alex R wrote: > Hi Guys, > > Is there any news on when the version of binutils that ships as part of > the base system will be updated? The version that ships with 7.x etc is > about 5 years old now. > > It creates problems on amd64 when compiling mplayer (assembly language > directive errors), and can be resolved by installing a newer version of > binutils. > > Feel free to share your thoughts :) /usr/ports/devel/binutils From olli at lurza.secnetix.de Fri Oct 9 10:26:43 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Oct 9 10:26:50 2009 Subject: for perl wizards. In-Reply-To: <20091009083516.GA60096@thought.org> Message-ID: <200910091026.n99AQPUv014685@lurza.secnetix.de> Gary Kline wrote: > > Whenever I save a wordpeocessoe file [OOo, say] into a > text file, I get a slew of hex codes to indicate the char to be > used. I'm looking for a perl one-liner or script to translate > hex back into ', ", -- [that's a dash), and so forth. Why does > this fail to trans the hex code to an apostrophe? > > perl -pi.bak -e 's/\xe2\x80\x99/'/g' You need to escape the inner quote character, of course. I think sed is better suited for this task than perl. > If there any another other tools, I'm interested! That "hex code" rather looks like UTF-8. For conversion between character encodings I recommend recode from the ports collection (ports/converters/recode). For example, to convert file.txt from UTF-8 to ISO8859-15: $ recode utf8..iso8859-15 file.txt To preserve the previous file contents, do this: $ recode utf8..iso8859-15 new.txt Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Python tricks" is a tough one, cuz the language is so clean. E.g., C makes an art of confusing pointers with arrays and strings, which leads to lotsa neat pointer tricks; APL mistakes everything for an array, leading to neat one-liners; and Perl confuses everything period, making each line a joyous adventure . -- Tim Peters From olli at lurza.secnetix.de Fri Oct 9 10:34:39 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Oct 9 10:34:47 2009 Subject: How to set device permissions at startup In-Reply-To: <4ACED156.1030609@gmail.com> Message-ID: <200910091034.n99AYLwH015037@lurza.secnetix.de> Aryeh M. Friedman wrote: > Herbert J. Skuhra wrote: > > Den 9. okt. 2009 kl. 05.25 skrev "Aryeh M. Friedman" > > : > > > > > Since certain currently unused devices are not created in /dev > > > (specifically in my case /dev/fuse*) how do I tell what ever (I can't > > > tell it is devfs or what) to always make /dev/fuse* (when needed) > > > with 777 perms (the security implications are not an issue here) > > > > Have you tried devfs.rules(5)? > > yes and since the device doesn't exist at the mount time for devfs they > are ignored Then you did something wrong, or you're confusing devfs.rules and devfs.conf. Quote from the manpage: "The devfs.rules file provides an easy way to create and apply devfs(8) rules, even for devices that are not available at boot." The rules take effect whenever a new node (devide) appears, even after devfs was mounted. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Python is an experiment in how much freedom programmers need. Too much freedom and nobody can read another's code; too little and expressiveness is endangered." -- Guido van Rossum From olli at lurza.secnetix.de Fri Oct 9 10:39:25 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Oct 9 10:39:33 2009 Subject: / almost out of space just after installation In-Reply-To: Message-ID: <200910091039.n99Ad8Or015146@lurza.secnetix.de> Randi Harper wrote: > 1.) Look at the PR database and search for sysinstall. See all those open > reports, some from 8 years ago? sysinstall needs some babying. It doesn't need babying, it needs killing. :-) Quotes from the sysinstall(8) manpage: "This product is currently at the end of its life cycle and will eventually be replaced." And: "This utility is a prototype which lasted several years past its expira- tion date and is greatly in need of death." Actually I hoped that 8.0 would be released with the new installer that has been under development for some time. Unfortunately it doesn't seem to be ready yet. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd I suggested holding a "Python Object Oriented Programming Seminar", but the acronym was unpopular. -- Joseph Strout From snailboy1 at yahoo.com Fri Oct 9 11:02:57 2009 From: snailboy1 at yahoo.com (David LeCount) Date: Fri Oct 9 11:03:04 2009 Subject: Trouble getting new raid array to boot In-Reply-To: Message-ID: <335194.30011.qm@web57001.mail.re3.yahoo.com> > Then my answer would be missing MBR or boot blocks, an > active > partition alone won't make a system boot. it's just a > flag to say > which partition is bootable, but doesn't mean that the boot > flag > itself makes the partition boot. > > > fdisk(8) and bsdlabel(8) -- see the -B option to both. > > > If you have a dangerously dedicated disk, ignore > fdisk. If you don't > have a bsdlabel, ignore bsdlabel. > > I do both on any standard install. I set sade to install a FreeBSD boot manager. Just to be sure, I just tried fdisk -B aacd0 and bsdlabel -B aacd0s1 and I'm still getting the same invalid partition error. From bernt at bah.homeip.net Fri Oct 9 11:32:05 2009 From: bernt at bah.homeip.net (Bernt Hansson) Date: Fri Oct 9 11:32:12 2009 Subject: security run output Message-ID: <4ACF1F2C.8010009@bah.homeip.net> Hello list! I'm getting the messages below far one machine and I can't remeber how managed to do that. I want that for my other machines as well, but can not remeber how to activate it. Checking for a current audit database: Database created: Wed Oct 7 03:55:02 CEST 2009 Checking for packages with security vulnerabilities: From millenia2000 at hotmail.com Fri Oct 9 11:41:31 2009 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Fri Oct 9 11:41:38 2009 Subject: security run output In-Reply-To: <4ACF1F2C.8010009@bah.homeip.net> References: <4ACF1F2C.8010009@bah.homeip.net> Message-ID: > Date: Fri, 9 Oct 2009 13:31:56 +0200 > From: bernt@bah.homeip.net > To: freebsd-questions@freebsd.org > Subject: security run output > > Hello list! > > I'm getting the messages below far one machine and I can't > remeber how managed to do that. I want that for my other machines > as well, but can not remeber how to activate it. > > > Checking for a current audit database: > > Database created: Wed Oct 7 03:55:02 CEST 2009 > > Checking for packages with security vulnerabilities: > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to freebsd-questions-unsubscribe@freebsd.org that would most likely be the portaudit utility /usr/ports/ports-mgmt/portaudit From steve at ibctech.ca Fri Oct 9 12:56:45 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Oct 9 12:56:52 2009 Subject: for perl wizards. In-Reply-To: <20091009043751.P92438@qroenaqrq.6qbyyneqvnyhc.pbz> References: <20091009083516.GA60096@thought.org> <20091009043751.P92438@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <4ACF3315.1020802@ibctech.ca> Lars Eighner wrote: > > On Fri, 9 Oct 2009, Gary Kline wrote: > >> >> Whenever I save a wordpeocessoe file [OOo, say] into a >> text file, I get a slew of hex codes to indicate the char to be >> used. I'm looking for a perl one-liner or script to translate >> hex back into ', ", -- [that's a dash), and so forth. Why does >> this fail to trans the hex code to an apostrophe? >> >> perl -pi.bak -e 's/\xe2\x80\x99/'/g' > > You're kidding, aren't you? Have you not ever overlooked something like a misplaced apostrophe? The OP came with nearly workable code, in which I can tell that he spent some time researching and toying with before asking for help. > And finally, there are tons of perl forums, > mailing lists, and newsgroups. Pick one to ask perl questions. Why? The OP is not looking for help identifying why a complex subroutine is doing something unexpected. He is asking how to modify portions of his file system on FreeBSD using the command line. Would you have been so harsh if he was asking how to do it with sed? awk? I for one welcome these Perl questions. I've asked them here before, and for simple tasks, will ask them here again. Steve From john.w.obrien at lmco.com Fri Oct 9 13:36:02 2009 From: john.w.obrien at lmco.com (Obrien, John W) Date: Fri Oct 9 13:36:09 2009 Subject: xorg-server package update on 7.2-STABLE Message-ID: <7AA4282413159948AD514B064BE1478D17F7E28D1D@HVXMSP5.us.lmco.com> Good morning, The problem I'm having is that "startx" gives a garbage-filled screen and locks up the console. When I run it through ssh from another computer I can see that it complains: /libexec/ld-elf.so.1: /usr/local/bin/X: Undefined symbol "shmctl" before dying and leaving the main display buggered up. Rebooting the computer is the only way I've found to un-bugger it. Background ----------------- Recently installed fresh i386 7.2-RELEASE, and subsequently had X working with the "intel" driver. I ran "portupgrade -aPP" two days ago using packages-7-stable and immediately thereafter experienced the symptoms described above. I see nothing related in /usr/ports/UPDATING since the release date of 7.2. The closest things that turned up Googling variations of the error message has turned up were http://forums.freebsd.org/showthread.php?t=6661 and http://forums.freebsd.org/showthread.php?t=7464 which strike me as "close but no cigar." This is close to the hairy edge of my competence, but I tried comparing the dynamic symbol tables of the relevant files with the following results # objdump -T /usr/local/bin/Xorg | grep shmctl 000000000 DF *UND* 000000000 FBSD_1.1 shmctl # objdump -T /lib/libc.so.7 [snip] 00045f64 W DF .text 000000000 FBSD_1.0 shmctl [snip] # pkg_info -W /usr/loca/bin/Xorg /usr/local/bin/Xorg was installed by package xorg-server-1.6.1,1 I interpret this to suggest that the updated Xorg was linked to a different version of the C library and is looking for a version of the symbol that doesn't exist, though perhaps I'm misreading http://people.freebsd.org/~deischen/symver/freebsd_versioning.txt My specific questions are: - Am I on the right track with my diagnostic steps or is this the wrong rabbit hole? - Is this more likely a bug (xorg-server from 7-STABLE shouldn't break ABI with 7.2-RELEASE) or operator error (missing or incorrect update step)? - I would prefer to maintain my system using pre-compiled packages only. Is that feasible, and if so does it come with restrictions that I may have already violated? Any pointers would be appreciated and a solution would be greatly appreciated. Please let me know if there are potentially-relevant details I've omitted. Regards, John From wblock at wonkity.com Fri Oct 9 13:47:38 2009 From: wblock at wonkity.com (Warren Block) Date: Fri Oct 9 13:47:45 2009 Subject: for perl wizards. In-Reply-To: <200910091026.n99AQPUv014685@lurza.secnetix.de> References: <200910091026.n99AQPUv014685@lurza.secnetix.de> Message-ID: On Fri, 9 Oct 2009, Oliver Fromme wrote: > Gary Kline wrote: > > > > Whenever I save a wordpeocessoe file [OOo, say] into a > > text file, I get a slew of hex codes to indicate the char to be > > used. I'm looking for a perl one-liner or script to translate > > hex back into ', ", -- [that's a dash), and so forth. Why does > > this fail to trans the hex code to an apostrophe? > > > > perl -pi.bak -e 's/\xe2\x80\x99/'/g' > > You need to escape the inner quote character, of course. > I think sed is better suited for this task than perl. That's twice now people have suggested sed instead of perl. Why? For many uses, perl is a better sed than sed. The regex engine is far more powerful and escapes are much simpler. -Warren Block * Rapid City, South Dakota USA From mahlerrd at yahoo.com Fri Oct 9 14:07:14 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Fri Oct 9 14:07:21 2009 Subject: / almost out of space just after installation In-Reply-To: Message-ID: <133849.44821.qm@web51004.mail.re2.yahoo.com> > From: Randi Harper > I was thinking that a more acceptable default layout > (leaving swap at it's current default size) would be: > > / = 1GB > /var = 2GB > /tmp = 2GB Similar enough to what I use for general systems that I vote YES. I'd love to add one more - on a drive bigger than, say, 40 GB, adding a separate /home would be wonderful. Maybe allow up to 20 GB for user, all remaining space allocated to /home? Regardless of the second point, the first point is fine, though. From victorsubervi at gmail.com Fri Oct 9 14:51:57 2009 From: victorsubervi at gmail.com (Victor Subervi) Date: Fri Oct 9 14:52:12 2009 Subject: Automatic chmod Message-ID: <4dc0cfea0910090719s36c43d89q124c3aa0923d629a@mail.gmail.com> Hi; I have a python script that automatically writes another script. I need to be able to automatically chmod the script so that it will execute. Also, it appears that's not enough, because when I manually chmod the script (775), it throws this error: fopen: Permission denied TIA, V From mahlerrd at yahoo.com Fri Oct 9 15:14:45 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Fri Oct 9 15:14:51 2009 Subject: Automatic chmod In-Reply-To: <4dc0cfea0910090719s36c43d89q124c3aa0923d629a@mail.gmail.com> Message-ID: <868054.78039.qm@web51006.mail.re2.yahoo.com> >From: Victor Subervi >Subject: Automatic chmod >To: freebsd-questions@freebsd.org >Date: Friday, October 9, 2009, 10:19 AM > >Hi; >I have a python script that automatically writes another script. I need to >be able to automatically chmod the script so that it will execute. Also, it >appears that's not enough, because when I manually chmod the script (775), >it throws this error: >fopen: Permission denied >TIA, >V What user are you running this under?? Without seeing code, my first guess is that you are trying to open a file you don't have permission to open.? The chmod you are doing only affects the script's permissions, not the permissions of the files it may touch. For more, I suggest posting the code itself. -Rich From blueboar_2 at rambler.ru Fri Oct 9 15:15:43 2009 From: blueboar_2 at rambler.ru (=?windows-1251?B?wuvg5Ojs6PAg0O7s4O3u4g==?=) Date: Fri Oct 9 15:15:50 2009 Subject: Russian Translator Message-ID: <530883385.1255100350.155184812.34257@mcgi29.rambler.ru> Hi there. I want to be the translator from English to Russian in freebsd.com. I see, that in http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ there is written: Copyright [http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/LEGALNOTICE.html] ? 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 The FreeBSD Documentation Project But in the Russian page http://www.freebsd.org/doc/ru_RU.KOI8-R/books/faq/ Only Copyright [http://www.freebsd.org/doc/ru_RU.KOI8-R/books/faq/LEGALNOTICE.html] ? 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 The FreeBSD Documentation Project So, the page in Russian is 3 years old. May i translate new FAQ and commit it to the freebsd.org? -- Vladimir Romanov From mahlerrd at yahoo.com Fri Oct 9 15:19:02 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Fri Oct 9 15:19:09 2009 Subject: Automatic chmod Message-ID: <307621.52461.qm@web51007.mail.re2.yahoo.com> >>From: Victor Subervi >>Subject: Automatic chmod >>To: freebsd-questions@freebsd.org >>Date: Friday, October 9, 2009, 10:19 AM >> >>Hi; >>I have a python script that automatically writes another script. I need to >>be able to automatically chmod the script so that it will execute. Also, it >>appears that's not enough, because when I manually chmod the script (775), >>it throws this error: >>fopen: Permission denied >>TIA, >>V > >What user are you running this under?? Without seeing code, my first guess is that you are >trying to open a file you don't have permission to open.? The chmod you are doing only affects >the script's permissions, not the permissions of the files it may touch. > >For more, I suggest posting the code itself. Sorry, missed the 'script that writes a script that won't run' piece.? First solution isn't likely to be the solution (though still could be), but I still suggest posting the code. -Rich From victorsubervi at gmail.com Fri Oct 9 15:20:57 2009 From: victorsubervi at gmail.com (Victor Subervi) Date: Fri Oct 9 15:21:04 2009 Subject: Automatic chmod In-Reply-To: <868054.78039.qm@web51006.mail.re2.yahoo.com> References: <4dc0cfea0910090719s36c43d89q124c3aa0923d629a@mail.gmail.com> <868054.78039.qm@web51006.mail.re2.yahoo.com> Message-ID: <4dc0cfea0910090820i4aa1c7e8ia9512d2cd2fde9bb@mail.gmail.com> User? I only have one user on this shared server. Here's the code: #!/usr/local/bin/python import cgitb; cgitb.enable() import MySQLdb import cgi import sys,os sys.path.append(os.getcwd()) from login import login user, passwd, db, host = login() form = cgi.FieldStorage() picid = int(form['id'].value) x = int(form['x'].value) pics = {1:'pic1',2:'pic2',3:'pic3',4:'pic4',5:'pic5',6:'pic6'} pic = pics[x] db = MySQLdb.connect(host=host, user=user, passwd=passwd, db=db) cursor= db.cursor() sql = "select " + pic + " from productsX where id='" + str(picid) + "';" cursor.execute(sql) content = cursor.fetchall()[0][0].tostring() cursor.close() print '''Content-Type: text/plain Content-Encoding: base64 ''' print print content.encode('base64') TIA, V On Fri, Oct 9, 2009 at 10:14 AM, Richard Mahlerwein wrote: > >From: Victor Subervi > >Subject: Automatic chmod > >To: freebsd-questions@freebsd.org > >Date: Friday, October 9, 2009, 10:19 AM > > > >Hi; > >I have a python script that automatically writes another script. I need to > >be able to automatically chmod the script so that it will execute. Also, > it > >appears that's not enough, because when I manually chmod the script (775), > >it throws this error: > >fopen: Permission denied > >TIA, > >V > > What user are you running this under? Without seeing code, my first guess > is that you are trying to open a file you don't have permission to open. > The chmod you are doing only affects the script's permissions, not the > permissions of the files it may touch. > > For more, I suggest posting the code itself. > > -Rich > > From dnelson at allantgroup.com Fri Oct 9 15:23:37 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Fri Oct 9 15:23:44 2009 Subject: tar --unlink ? In-Reply-To: <20091009072602.GA1896@current.Sisis.de> References: <20091009055817.GA2420@current.Sisis.de> <20091009061326.GA2493@current.Sisis.de> <20091009065245.GV29215@dan.emsphone.com> <20091009072602.GA1896@current.Sisis.de> Message-ID: <20091009152334.GX29215@dan.emsphone.com> In the last episode (Oct 09), Matthias Apitz said: > El d?a Friday, October 09, 2009 a las 01:52:45AM -0500, Dan Nelson escribi?: > > > I know the unlink(2) sys call, but what does this --unlink flag in > > > tar(1) on restore (-x)? > > > > It's the same as the -U option, provided for gnutar compatibility. > > Thanks for your helping answer. Maybe someone with commit right should > make a note in the manpage of tar(1). Thanks There already is a note, at the very end of the manpage: There are alternative long options for many of the short options that are deliberately not documented. -- Dan Nelson dnelson@allantgroup.com From victorsubervi at gmail.com Fri Oct 9 15:26:36 2009 From: victorsubervi at gmail.com (Victor Subervi) Date: Fri Oct 9 15:26:43 2009 Subject: Automatic chmod In-Reply-To: <4dc0cfea0910090820i4aa1c7e8ia9512d2cd2fde9bb@mail.gmail.com> References: <4dc0cfea0910090719s36c43d89q124c3aa0923d629a@mail.gmail.com> <868054.78039.qm@web51006.mail.re2.yahoo.com> <4dc0cfea0910090820i4aa1c7e8ia9512d2cd2fde9bb@mail.gmail.com> Message-ID: <4dc0cfea0910090826o423f21d1t2617593dc358dc74@mail.gmail.com> I should have mentioned the import of the login works for other scripts, so that is not the issue. V On Fri, Oct 9, 2009 at 10:20 AM, Victor Subervi wrote: > User? I only have one user on this shared server. Here's the code: > > #!/usr/local/bin/python > import cgitb; cgitb.enable() > import MySQLdb > import cgi > import sys,os > sys.path.append(os.getcwd()) > from login import login > user, passwd, db, host = login() > form = cgi.FieldStorage() > picid = int(form['id'].value) > x = int(form['x'].value) > pics = {1:'pic1',2:'pic2',3:'pic3',4:'pic4',5:'pic5',6:'pic6'} > pic = pics[x] > db = MySQLdb.connect(host=host, user=user, passwd=passwd, db=db) > cursor= db.cursor() > sql = "select " + pic + " from productsX where id='" + str(picid) + "';" > cursor.execute(sql) > content = cursor.fetchall()[0][0].tostring() > cursor.close() > print '''Content-Type: text/plain > Content-Encoding: base64 > ''' > print > print content.encode('base64') > > TIA, > V > > > On Fri, Oct 9, 2009 at 10:14 AM, Richard Mahlerwein wrote: > >> >From: Victor Subervi >> >Subject: Automatic chmod >> >To: freebsd-questions@freebsd.org >> >Date: Friday, October 9, 2009, 10:19 AM >> > >> >Hi; >> >I have a python script that automatically writes another script. I need >> to >> >be able to automatically chmod the script so that it will execute. Also, >> it >> >appears that's not enough, because when I manually chmod the script >> (775), >> >it throws this error: >> >fopen: Permission denied >> >TIA, >> >V >> >> What user are you running this under? Without seeing code, my first guess >> is that you are trying to open a file you don't have permission to open. >> The chmod you are doing only affects the script's permissions, not the >> permissions of the files it may touch. >> >> For more, I suggest posting the code itself. >> >> -Rich >> >> > From olli at lurza.secnetix.de Fri Oct 9 15:28:27 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Oct 9 15:28:34 2009 Subject: / almost out of space just after installation In-Reply-To: Message-ID: <200910091528.n99FS90I025341@lurza.secnetix.de> Randi Harper wrote: > / = 1GB > /var = 2GB > /tmp = 2GB Depending on the size of installed RAM, /tmp could also be a memory disk by default. I do that on all of my machines. I never have /tmp physically on disk anywhere. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd > Can the denizens of this group enlighten me about what the > advantages of Python are, versus Perl ? "python" is more likely to pass unharmed through your spelling checker than "perl". -- An unknown poster and Fredrik Lundh From kraduk at googlemail.com Fri Oct 9 15:34:47 2009 From: kraduk at googlemail.com (krad) Date: Fri Oct 9 15:34:58 2009 Subject: / almost out of space just after installation In-Reply-To: <200910091528.n99FS90I025341@lurza.secnetix.de> References: <200910091528.n99FS90I025341@lurza.secnetix.de> Message-ID: 2009/10/9 Oliver Fromme > Randi Harper wrote: > > / = 1GB > > /var = 2GB > > /tmp = 2GB > > Depending on the size of installed RAM, /tmp could also > be a memory disk by default. I do that on all of my > machines. I never have /tmp physically on disk anywhere. > > Best regards > Oliver > > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. > Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- > chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart > > FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd > > > Can the denizens of this group enlighten me about what the > > advantages of Python are, versus Perl ? > "python" is more likely to pass unharmed through your spelling > checker than "perl". > -- An unknown poster and Fredrik Lundh > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > personally i prefer the following layout which i use on work kit. The smallest drives we have are 76 gb sas / 4gb /tmp 4gb /var 8GB /home 4gb swap at least as big as ram on box /usr/local all the rest From rsmith at xs4all.nl Fri Oct 9 15:47:25 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Oct 9 15:47:32 2009 Subject: How to set device permissions at startup In-Reply-To: <4ACED5C6.8060605@gmail.com> References: <4ACEAD18.9070000@gmail.com> <20091009061155.GA75746@slackbox.xs4all.nl> <4ACED5C6.8060605@gmail.com> Message-ID: <20091009154723.GA90880@slackbox.xs4all.nl> On Fri, Oct 09, 2009 at 02:18:46AM -0400, Aryeh M. Friedman wrote: > Roland Smith wrote: > > On Thu, Oct 08, 2009 at 11:25:12PM -0400, Aryeh M. Friedman wrote: > > > >> Since certain currently unused devices are not created in /dev > >> (specifically in my case /dev/fuse*) how do I tell what ever (I can't > >> tell it is devfs or what) to always make /dev/fuse* (when needed) with > >> 777 perms (the security implications are not an issue here) > > > > See devfs.rules(5). > > Should of been more specific in the orginal question then I added a rule > and since the device doesn't exist at devfs mount time it does not honor > the rule Do you have a ruleset named in /etc/devfs.rules? And is it enabled in /etc/rc.conf? Have you restarted devfs after changing /etc/devfs.rules? Can you post your /etc/devfs.rules, and the output of 'devfs rule show'? 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091009/c7b3aa2a/attachment.pgp From rsmith at xs4all.nl Fri Oct 9 16:03:37 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Oct 9 16:03:44 2009 Subject: How to set device permissions at startup In-Reply-To: <200910091034.n99AYLwH015037@lurza.secnetix.de> References: <4ACED156.1030609@gmail.com> <200910091034.n99AYLwH015037@lurza.secnetix.de> Message-ID: <20091009160334.GB90880@slackbox.xs4all.nl> On Fri, Oct 09, 2009 at 12:34:21PM +0200, Oliver Fromme wrote: > Aryeh M. Friedman wrote: > > Herbert J. Skuhra wrote: > > > Den 9. okt. 2009 kl. 05.25 skrev "Aryeh M. Friedman" > > > : > > > > > > > Since certain currently unused devices are not created in /dev > > > > (specifically in my case /dev/fuse*) how do I tell what ever (I can't > > > > tell it is devfs or what) to always make /dev/fuse* (when needed) > > > > with 777 perms (the security implications are not an issue here) > > > > > > Have you tried devfs.rules(5)? > > > > yes and since the device doesn't exist at the mount time for devfs they > > are ignored > > Then you did something wrong, or you're confusing devfs.rules > and devfs.conf. > > Quote from the manpage: > "The devfs.rules file provides an easy way to create and apply > devfs(8) rules, even for devices that are not available at boot." > > The rules take effect whenever a new node (devide) appears, > even after devfs was mounted. But one has to run '/etc/rc.d/devfs restart' for newly added rules to take effect! (or reboot the system, which is overkill). You can try it out by adding a rule to /etc/devfs.rules and running 'devfs rule show' (as root). The new rule won't show up until after one has run 'etc/rc.d/devfs restart'. Maybe I whould add that to the manual page for devfs.rules? I thought this was obvious, because most if not all rc.d scripts work that way, but mayby it's not clear enough. 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091009/cd895e06/attachment.pgp From alexus at gmail.com Fri Oct 9 16:07:44 2009 From: alexus at gmail.com (alexus) Date: Fri Oct 9 16:07:51 2009 Subject: ipfw - TRAFFIC SHAPER Message-ID: <6ae50c2d0910090907n7082a50brab5cdfc1cc4ca183@mail.gmail.com> I'm trying to fight with ipfw and unfortunately unsuccessfully... I created following rules ipfw pipe 1 config bw 1Mbit/s ifpw add 8080 pipe 1 tcp from any to any src-port www ifpw add 8080 pipe 1 tcp from any to any dst-port www yet I see peaks of my traffic is way higher them 1Mbit/s i have following modules loaded through kldload 2 3 0xffffffff80cd3000 15db8 ipfw.ko 5 1 0xffffffff80cec000 bbc8 dummynet.ko i even load 10 1 0xffffffff80e7d000 14df ipdivert.ko and that still didn't help :( can anyone help me? -- http://alexus.org/ From m.seaman at infracaninophile.co.uk Fri Oct 9 16:28:30 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Oct 9 16:28:37 2009 Subject: Russian Translator In-Reply-To: <530883385.1255100350.155184812.34257@mcgi29.rambler.ru> References: <530883385.1255100350.155184812.34257@mcgi29.rambler.ru> Message-ID: <4ACF6495.7070003@infracaninophile.co.uk> ???????? ??????? wrote: > Hi there. > > I want to be the translator from English to Russian in freebsd.com. ITYM freebsd.org ? > I see, that in http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ > there is written: > Copyright > [http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/LEGALNOTICE.html] > ? 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, > 2006, 2007, 2008, 2009 The FreeBSD Documentation Project > > But in the Russian page > http://www.freebsd.org/doc/ru_RU.KOI8-R/books/faq/ > > Only > Copyright > [http://www.freebsd.org/doc/ru_RU.KOI8-R/books/faq/LEGALNOTICE.html] ? > 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 > The FreeBSD Documentation Project > > So, the page in Russian is 3 years old. May i translate new FAQ and > commit it to the freebsd.org? freebsd-doc@freebsd.org is the best mailing list for discussing translating documentation / FAQS / website. I believe there is a fairly active Russian translation group with which the people over in freebsd-doc@... will be able to put you in touch. Any volunteers to help out would be most welcome. Any work you do on translating documents should be submitted via the PR system in the first instance for review and committal. It's only once you've established a track record for producing good, accurate work that you would be considered for a commit-bit yourself. Cheers Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091009/786ab0be/signature.pgp From olli at lurza.secnetix.de Fri Oct 9 16:54:12 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Oct 9 16:54:18 2009 Subject: How to set device permissions at startup In-Reply-To: <20091009160334.GB90880@slackbox.xs4all.nl> Message-ID: <200910091653.n99Grsfg028286@lurza.secnetix.de> Roland Smith wrote: > Oliver Fromme wrote: > > Quote from the manpage: > > "The devfs.rules file provides an easy way to create and apply > > devfs(8) rules, even for devices that are not available at boot." > > > > The rules take effect whenever a new node (devide) appears, > > even after devfs was mounted. > > But one has to run '/etc/rc.d/devfs restart' for newly added rules to take > effect! (or reboot the system, which is overkill). Yes, of course. I thought that was obvious. > Maybe I whould add that to the manual page for devfs.rules? Agreed, that might be an appropriate clarification. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd With Perl you can manipulate text, interact with programs, talk over networks, drive Web pages, perform arbitrary precision arithmetic, and write programs that look like Snoopy swearing. From fbsd-ml at gehlbach.com Fri Oct 9 16:57:08 2009 From: fbsd-ml at gehlbach.com (fbsd-ml@gehlbach.com) Date: Fri Oct 9 16:57:14 2009 Subject: Upgrade to 7.2 broke network connections-SOLVED In-Reply-To: <714a6980f53082ec41a527e44158128d.squirrel@mail1.gehlbach.com> References: <714a6980f53082ec41a527e44158128d.squirrel@mail1.gehlbach.com> Message-ID: I tried booting up with ACPI disabled, and suddenly the network connections worked like a charm. Thanks, Renee Gehlbach > Today I updated a server from 6.4 to 7.2. I cvsup'ed, built world, built > kernel, installed kernel, installed world, mergemastered, and rebooted. > And sat there, while ntpdate timed out trying to connect to four different > servers, while interface status messages slowly scrolled: > tx0: device timeout 2 packets > tx0: seems we can continue normally > rl0: watchdog timeout > > When it finally timed out, and I logged in, I found that I could ping > 127.0.0.1, I could ping 192.168.50.7 (tx0 interface), I could ping the rl0 > wan interface, I could not ping the gateway or anything outside of the > machine. > > Looking at dmesg later, I found the same timeout messages repeated again > and again, and I found further error messages: > tx0: reinitialization > tx0: ERROR! Can't stop TxDMA > tx0: ERROR! Unknown PHY selected > > and repeated periodically: > tx0: reinitialization > tx0: ERROR! Unknown PHY selected > > > I built and installed the generic kernel, and tried again. Same deal. I > disabled ipfilter and ntp in rc.conf, removed the configuration lines for > all but one interface, and rebooted. Same deal, just shorter boot time > without having to wait for ntpdate (grin) > > I thought, ok.....really old NICs. There were some warnings about > deprecated features in bootup. I took out both NICs and put in an Intel > Pro 10/100/1000 -- obviously supported. Same deal. > > I previously attempted to update this server several months ago, going > from 6.something to 7.1, and had this same problem. After several > frustrating days, I restored from backup and updated to latest 6.x, which > worked fine. > > So I assume that I have something configured wrong. If there were > hardware compatibility issues this big, this version would never have gone > to stable, and people would be screaming about it all over the mailing > lists. So my question is.....what should be my next troubleshooting step? > > Thanks for your time, > Renee Gehlbach > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > From brentb at beanfield.com Fri Oct 9 16:58:01 2009 From: brentb at beanfield.com (Brent Bloxam) Date: Fri Oct 9 16:58:09 2009 Subject: ipfw - TRAFFIC SHAPER In-Reply-To: <6ae50c2d0910090907n7082a50brab5cdfc1cc4ca183@mail.gmail.com> References: <6ae50c2d0910090907n7082a50brab5cdfc1cc4ca183@mail.gmail.com> Message-ID: <4ACF6B7F.7050408@beanfield.com> alexus wrote: > I'm trying to fight with ipfw and unfortunately unsuccessfully... > > I created following rules > > ipfw pipe 1 config bw 1Mbit/s > ifpw add 8080 pipe 1 tcp from any to any src-port www > ifpw add 8080 pipe 1 tcp from any to any dst-port www > > yet I see peaks of my traffic is way higher them 1Mbit/s > i have following modules loaded through kldload > > 2 3 0xffffffff80cd3000 15db8 ipfw.ko > 5 1 0xffffffff80cec000 bbc8 dummynet.ko > > i even load > > 10 1 0xffffffff80e7d000 14df ipdivert.ko > > and that still didn't help :( > can anyone help me? > Do you have an ipfw rule allowing www traffic before rule 8080? From olli at lurza.secnetix.de Fri Oct 9 17:01:27 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Oct 9 17:01:34 2009 Subject: for perl wizards. In-Reply-To: Message-ID: <200910091701.n99H19sq028830@lurza.secnetix.de> Warren Block wrote: > Oliver Fromme wrote: > > Gary Kline wrote: > > > > > > Whenever I save a wordpeocessoe file [OOo, say] into a > > > text file, I get a slew of hex codes to indicate the char to be > > > used. I'm looking for a perl one-liner or script to translate > > > hex back into ', ", -- [that's a dash), and so forth. Why does > > > this fail to trans the hex code to an apostrophe? > > > > > > perl -pi.bak -e 's/\xe2\x80\x99/'/g' > > > > You need to escape the inner quote character, of course. > > I think sed is better suited for this task than perl. > > That's twice now people have suggested sed instead of perl. Why? For > many uses, perl is a better sed than sed. The regex engine is far more > powerful and escapes are much simpler. Neither powerful regexes nor escapes will help in this case. A simple basic regex is more than sufficient (in fact this isn't even a regex, it's a fixed string). And the escaping is a problem of the shell, not perl or sed. And by the way, I stongly disagree that perl's escapes are much simpler. In my opinion perl has the most complex escaping and quoting I have seen in any language so far. The basic UNIX philosophy is to use the smallest or simplest tool that does the job. In this case that's clearly sed. (Not to mention the fact that perl isn't even in FreeBSD's base system, so might not be available at all.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor, and when was the last time you needed one?" -- Tom Cargil, C++ Journal From jhall at socket.net Fri Oct 9 17:10:38 2009 From: jhall at socket.net (Jay Hall) Date: Fri Oct 9 17:10:45 2009 Subject: Capturing netflows Message-ID: I have run into a need to capture netflows from the internal interface of my FreeBSD 6 server. The internal interface is em0 and the external interface is em1. I am using the following to setup the netflows. /usr/sbin/ngctl -f- << SEQ mkpeer em0: netflow lower iface0 name: em0: lower netflow connect em0: netflow: upper out0 mkpeer netflow: ksocket export inet/dgram/udp msg netflow:export connect inet/1.2.3.4:12345 SEQ When I run the commands above, I receive the following message. ngctl: send msg: No such file or directory ngctl: line 1: error in file I am at a complete loss here. My understanding of netgraph is poor at best. Any suggestions would be appreciated. Thanks, Jay From alexus at gmail.com Fri Oct 9 17:22:29 2009 From: alexus at gmail.com (alexus) Date: Fri Oct 9 17:22:36 2009 Subject: ipfw - TRAFFIC SHAPER In-Reply-To: <4ACF6B7F.7050408@beanfield.com> References: <6ae50c2d0910090907n7082a50brab5cdfc1cc4ca183@mail.gmail.com> <4ACF6B7F.7050408@beanfield.com> Message-ID: <6ae50c2d0910091022y380cbc90xd8c7599b80ef520d@mail.gmail.com> On Fri, Oct 9, 2009 at 12:57 PM, Brent Bloxam wrote: > alexus wrote: >> >> I'm trying to fight with ipfw and unfortunately unsuccessfully... >> >> I created following rules >> >> ipfw pipe 1 config bw 1Mbit/s >> ifpw add 8080 pipe 1 tcp from any to any src-port www >> ifpw add 8080 pipe 1 tcp from any to any dst-port www >> >> yet I see peaks of my traffic is way higher them 1Mbit/s >> i have following modules loaded through kldload >> >> ?2 ? ?3 0xffffffff80cd3000 15db8 ? ?ipfw.ko >> ?5 ? ?1 0xffffffff80cec000 bbc8 ? ? dummynet.ko >> >> i even load >> >> 10 ? ?1 0xffffffff80e7d000 14df ? ? ipdivert.ko >> >> and that still didn't help :( >> can anyone help me? >> > > Do you have an ipfw rule allowing www traffic before rule 8080? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > no, nothing related to www, in fact the only rules I have before that one is followings: 00100 19704 3856110 allow ip from any to any via lo0 00200 0 0 deny ip from any to 127.0.0.0/8 00300 0 0 deny ip from 127.0.0.0/8 to any that's it... -- http://alexus.org/ From alexus at gmail.com Fri Oct 9 17:23:53 2009 From: alexus at gmail.com (alexus) Date: Fri Oct 9 17:24:00 2009 Subject: ipfw - TRAFFIC SHAPER In-Reply-To: <6ae50c2d0910091022y380cbc90xd8c7599b80ef520d@mail.gmail.com> References: <6ae50c2d0910090907n7082a50brab5cdfc1cc4ca183@mail.gmail.com> <4ACF6B7F.7050408@beanfield.com> <6ae50c2d0910091022y380cbc90xd8c7599b80ef520d@mail.gmail.com> Message-ID: <6ae50c2d0910091023w7656b5e7pa9421e6878ed05b5@mail.gmail.com> On Fri, Oct 9, 2009 at 1:22 PM, alexus wrote: > On Fri, Oct 9, 2009 at 12:57 PM, Brent Bloxam wrote: >> alexus wrote: >>> >>> I'm trying to fight with ipfw and unfortunately unsuccessfully... >>> >>> I created following rules >>> >>> ipfw pipe 1 config bw 1Mbit/s >>> ifpw add 8080 pipe 1 tcp from any to any src-port www >>> ifpw add 8080 pipe 1 tcp from any to any dst-port www >>> >>> yet I see peaks of my traffic is way higher them 1Mbit/s >>> i have following modules loaded through kldload >>> >>> ?2 ? ?3 0xffffffff80cd3000 15db8 ? ?ipfw.ko >>> ?5 ? ?1 0xffffffff80cec000 bbc8 ? ? dummynet.ko >>> >>> i even load >>> >>> 10 ? ?1 0xffffffff80e7d000 14df ? ? ipdivert.ko >>> >>> and that still didn't help :( >>> can anyone help me? >>> >> >> Do you have an ipfw rule allowing www traffic before rule 8080? >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > no, nothing related to www, in fact the only rules I have before that > one is followings: > > 00100 19704 ? 3856110 allow ip from any to any via lo0 > 00200 ? ? 0 ? ? ? ? 0 deny ip from any to 127.0.0.0/8 > 00300 ? ? 0 ? ? ? ? 0 deny ip from 127.0.0.0/8 to any > > that's it... > > -- > http://alexus.org/ > the other thing is kind of weird is when I do ipfw pipe show I get same results no matter how many times I do that su-3.2# ipfw pipe show 00001: 2.000 Mbit/s 0 ms 50 sl. 1 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp 0 tcp 72.21.81.133/80 64.237.55.83/51986 176846 168906331 44 56988 6909 su-3.2# -- http://alexus.org/ From wblock at wonkity.com Fri Oct 9 18:06:30 2009 From: wblock at wonkity.com (Warren Block) Date: Fri Oct 9 18:06:37 2009 Subject: for perl wizards. In-Reply-To: <200910091701.n99H19sq028830@lurza.secnetix.de> References: <200910091701.n99H19sq028830@lurza.secnetix.de> Message-ID: On Fri, 9 Oct 2009, Oliver Fromme wrote: > Warren Block wrote: > > Oliver Fromme wrote: > > > Gary Kline wrote: > > > > > > > > Whenever I save a wordpeocessoe file [OOo, say] into a > > > > text file, I get a slew of hex codes to indicate the char to be > > > > used. I'm looking for a perl one-liner or script to translate > > > > hex back into ', ", -- [that's a dash), and so forth. Why does > > > > this fail to trans the hex code to an apostrophe? > > > > > > > > perl -pi.bak -e 's/\xe2\x80\x99/'/g' > > > > > > You need to escape the inner quote character, of course. > > > I think sed is better suited for this task than perl. > > > > That's twice now people have suggested sed instead of perl. Why? For > > many uses, perl is a better sed than sed. The regex engine is far more > > powerful and escapes are much simpler. > > Neither powerful regexes nor escapes will help in this case. Certainly \x will not help in sed; sed doesn't have it. > A simple basic regex is more than sufficient (in fact this > isn't even a regex, it's a fixed string). And the escaping > is a problem of the shell, not perl or sed. And by the way, > I stongly disagree that perl's escapes are much simpler. > In my opinion perl has the most complex escaping and quoting > I have seen in any language so far. I was thinking of the escapes needed for sed that should not be needed. Some of those are shell problems, many are due to the regex library. More basic things than \x are missing. \t, for instance, or useful \s instead of picking spaces or tabs or trying to navigate using | in sed expressions. > The basic UNIX philosophy is to use the smallest or simplest > tool that does the job. In this case that's clearly sed. Since sed doesn't have \x, it would appear that sed does not do the job. Maybe I just don't see it. And in most cases, the external simplicity of a tool is more important to the user than its internals. Put another way, if you have it, and it does a better/easier/faster job, why *not* use it? > (Not to mention the fact that perl isn't even in FreeBSD's > base system, so might not be available at all.) But the OP is using it, so that's clearly not the case here. Or in most FreeBSD installations. It's possible "Mastering Regular Expressions" has influenced my thinking on this. -Warren Block * Rapid City, South Dakota USA From olli at lurza.secnetix.de Fri Oct 9 18:29:45 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Oct 9 18:29:52 2009 Subject: for perl wizards. In-Reply-To: Message-ID: <200910091829.n99ITRFG031873@lurza.secnetix.de> Warren Block wrote: > Oliver Fromme wrote: > > Warren Block wrote: > > > Oliver Fromme wrote: > > > > Gary Kline wrote: > > > > > > > > > > Whenever I save a wordpeocessoe file [OOo, say] into a > > > > > text file, I get a slew of hex codes to indicate the char to be > > > > > used. I'm looking for a perl one-liner or script to translate > > > > > hex back into ', ", -- [that's a dash), and so forth. Why does > > > > > this fail to trans the hex code to an apostrophe? > > > > > > > > > > perl -pi.bak -e 's/\xe2\x80\x99/'/g' > > > > > > > > You need to escape the inner quote character, of course. > > > > I think sed is better suited for this task than perl. > > > > > > That's twice now people have suggested sed instead of perl. Why? For > > > many uses, perl is a better sed than sed. The regex engine is far more > > > powerful and escapes are much simpler. > > > > Neither powerful regexes nor escapes will help in this case. > > Certainly \x will not help in sed; sed doesn't have it. Right, that's an annoying flaw in sed (it doesn't even support the \0 syntax for octal values, which is more standard than \x). Normally I just type such characters literally, which is accepted fine by sed (it is 8 bit clean). However, in this particular case I really recommend to use the "recode" tool (ports/conversion/recode) to convert from UTF-8 to some other encoding. Much easier, and more correct. E2-80-99 (unicode 2019) isn't even a real apostrophe in UTF-8, it's a right single quotation mark. An apostrophe would be ASCII 27. Maybe the OP should configure his software to not save the file with UTF-8 encoding in the first place. I'm not an OOo user, so I can't tell how to do that. But obviously the OP doesn't want the file to be stored as UTF-8. > It's possible "Mastering Regular Expressions" has influenced my thinking > on this. This isn't about regular expressions at all. This is about replacing fixed strings. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs." -- Robert Firth From aryeh.friedman at gmail.com Fri Oct 9 18:34:06 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Fri Oct 9 18:34:13 2009 Subject: How to set device permissions at startup In-Reply-To: <200910091653.n99Grsfg028286@lurza.secnetix.de> References: <200910091653.n99Grsfg028286@lurza.secnetix.de> Message-ID: <4ACF8218.1080306@gmail.com> Oliver Fromme wrote: > Roland Smith wrote: > > Oliver Fromme wrote: > > > Quote from the manpage: > > > "The devfs.rules file provides an easy way to create and apply > > > devfs(8) rules, even for devices that are not available at boot." > > > > > > The rules take effect whenever a new node (devide) appears, > > > even after devfs was mounted. > > > > But one has to run '/etc/rc.d/devfs restart' for newly added rules to take > > effect! (or reboot the system, which is overkill). > > Yes, of course. I thought that was obvious. > > > Maybe I whould add that to the manual page for devfs.rules? > > Agreed, that might be an appropriate clarification. > > Best regards > Oliver > > It should be included because not everyone uses the standard /etc/rc.* hierachy. For example I have a completely custom rc which before I did an other hack to make this issue not an issue read: #!/bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/boot/kernel:/boot/modules export PATH kldload fuse swapon -a fsck -p mount -rw / mount -a sysctl vfs.usermount=1 ntfs-3g /dev/ad4s1 /mnt/c /usr/local/etc/rc.d/hald onestart hostname aryeh-desktop.istudentunion.com ifconfig ale0 192.168.2.2 ifconfig lo0 127.0.0.1 route add 127.0.0.1 102.168.2.2 route add default 192.168.2.1 named ntpdate pool.ntp.org cupsd noip2 sendmail -bd -q1m From lconrad at Go2France.com Fri Oct 9 18:38:03 2009 From: lconrad at Go2France.com (Len Conrad) Date: Fri Oct 9 18:38:10 2009 Subject: postfix/amavids/sa/etc in FreeBSD jail? Message-ID: <200910092035.AA2862088496@mail.Go2France.com> is a FreeBSD jail enough of a virtualized OS to run a full filtering MX config setup exactly as on a native FreeBSD? Len From dead_line at hotmail.com Fri Oct 9 18:40:52 2009 From: dead_line at hotmail.com (Marwan Sultan) Date: Fri Oct 9 18:40:59 2009 Subject: best FBSD version for commercial use. Message-ID: Hello Gurus, Im planing to move out of my FreeBSD 4.8-R! which served me like a charm for many years. But not sure if I should go for 6.3 or 7.2 This server will be a DNS server, apache, shell accounts..php, mysql.. anything i should be aware of? Advices? Thank you. Marwan _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/171222986/direct/01/ From amvandemore at gmail.com Fri Oct 9 18:48:59 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Oct 9 18:49:06 2009 Subject: best FBSD version for commercial use. In-Reply-To: References: Message-ID: <6201873e0910091148k14a6836an558295aaed34c97d@mail.gmail.com> On Fri, Oct 9, 2009 at 1:28 PM, Marwan Sultan wrote: > > Hello Gurus, > > > > Im planing to move out of my FreeBSD 4.8-R! which served me like a charm > for many years. > > But not sure if I should go for 6.3 or 7.2 > > This server will be a DNS server, apache, shell accounts..php, mysql.. > > > > anything i should be aware of? > > Advices? > > > > Thank you. > > Marwan > > 7.2 6.4 is the last release in 6.x so no 6.3 unless specifically needed. 8.0 is nearly here. Do a clean install, it will be easier for you in the long run. Probably easiest to do a trial run by installing to VM first eg VirtualBox guest. You wouldn't find hardware issues, but you might work out the exact steps you'll need to take to help minimize downtime. /usr/src/UPDATING can give you some specific info. -- Adam Vande More From luvbeastie at larseighner.com Fri Oct 9 18:56:25 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Fri Oct 9 18:56:33 2009 Subject: for perl wizards. In-Reply-To: References: <200910091026.n99AQPUv014685@lurza.secnetix.de> Message-ID: <20091009134605.F95011@qroenaqrq.6qbyyneqvnyhc.pbz> On Fri, 9 Oct 2009, Warren Block wrote: > On Fri, 9 Oct 2009, Oliver Fromme wrote: > >> Gary Kline wrote: >> > >> > Whenever I save a wordpeocessoe file [OOo, say] into a >> > text file, I get a slew of hex codes to indicate the char to be >> > used. I'm looking for a perl one-liner or script to translate >> > hex back into ', ", -- [that's a dash), and so forth. Why does >> > this fail to trans the hex code to an apostrophe? >> > >> > perl -pi.bak -e 's/\xe2\x80\x99/'/g' >> >> You need to escape the inner quote character, of course. >> I think sed is better suited for this task than perl. > > That's twice now people have suggested sed instead of perl. Why? For many > uses, perl is a better sed than sed. The regex engine is far more powerful > and escapes are much simpler. Because sed is stable and perl is getting all OO and flaky. Sed will work like sed for so long as there are unix-like systems. It is not clear that perl is going to continue to work. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From vince at unsane.co.uk Fri Oct 9 19:00:19 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri Oct 9 19:00:35 2009 Subject: Capturing netflows In-Reply-To: References: Message-ID: <4ACF8840.1030600@unsane.co.uk> Jay Hall wrote: > I have run into a need to capture netflows from the internal interface > of my FreeBSD 6 server. The internal interface is em0 and the > external interface is em1. > > I am using the following to setup the netflows. > > /usr/sbin/ngctl -f- << SEQ > mkpeer em0: netflow lower iface0 > name: em0: lower netflow > connect em0: netflow: upper out0 > mkpeer netflow: ksocket export inet/dgram/udp > msg netflow:export connect inet/1.2.3.4:12345 > SEQ > > When I run the commands above, I receive the following message. > > ngctl: send msg: No such file or directory > ngctl: line 1: error in file > > I am at a complete loss here. My understanding of netgraph is poor at > best. Any suggestions would be appreciated. > Been a while since I used it but I used to use this script based on this email http://www.mail-archive.com/freebsd-questions@freebsd.org/msg103671.html #!/usr/sbin/ngctl -f mkpeer fxp0: tee lower right connect fxp0: fxp0:lower upper left mkpeer fxp0:lower netflow right2left iface0 name fxp0:lower.right2left netflow mkpeer netflow: ksocket export inet/dgram/udp msg netflow:export connect inet/w.x.y.x:6667 hope that helps, Vince > Thanks, > > Jay > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From mikel.king at olivent.com Fri Oct 9 19:05:28 2009 From: mikel.king at olivent.com (Mikel King) Date: Fri Oct 9 19:05:36 2009 Subject: best FBSD version for commercial use. In-Reply-To: References: Message-ID: <13EB5F63-E8D2-47EA-8E56-F052B697EBB8@olivent.com> On Oct 9, 2009, at 2:28 PM, Marwan Sultan wrote: > > Hello Gurus, > > > > Im planing to move out of my FreeBSD 4.8-R! which served me like a > charm for many years. > > But not sure if I should go for 6.3 or 7.2 > > This server will be a DNS server, apache, shell accounts..php, > mysql.. > > > > anything i should be aware of? > > Advices? > > > > Thank you. > > Marwan Recommend sticking with 7.x branch until 8.0 has been through one or two solid releases. Then you should be able to perform a csup and rebuild the world to the current version of 8.x at the time. Regards, Mikel King CEO, Olivent Technologies Senior Editor, BSD News Network Columnist, BSD Magazine 6 Alpine Court, Medford, NY 11763 o: 631.627.3055 skype:mikel.king http://olivent.com http://mikelking.com http://twitter.com/mikelking From olli at lurza.secnetix.de Fri Oct 9 19:10:11 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Oct 9 19:10:18 2009 Subject: How to set device permissions at startup In-Reply-To: <4ACF8218.1080306@gmail.com> Message-ID: <200910091909.n99J9rPe033892@lurza.secnetix.de> Aryeh M. Friedman wrote: > Oliver Fromme wrote: > > Roland Smith wrote: > > > But one has to run '/etc/rc.d/devfs restart' for newly added rules to take > > > effect! (or reboot the system, which is overkill). > > > > Yes, of course. I thought that was obvious. > > > > > Maybe I whould add that to the manual page for devfs.rules? > > > > Agreed, that might be an appropriate clarification. > > It should be included because not everyone uses the standard /etc/rc.* > hierachy. For example I have a completely custom rc which before I did > an other hack to make this issue not an issue read: Well, if you completely rewrite /etc/rc, then you're on your own anyway, and you're supposed to know what you're doing. In general it is not a good idea and will lead to serious foot-shooting. By the way, what is the reason that you don't use the standard rc(8) facilities? I don't see anything in you custom script that wouldn't be covered by them. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "A language that doesn't have everything is actually easier to program in than some that do." -- Dennis M. Ritchie From wblock at wonkity.com Fri Oct 9 19:19:39 2009 From: wblock at wonkity.com (Warren Block) Date: Fri Oct 9 19:19:46 2009 Subject: for perl wizards. In-Reply-To: <200910091829.n99ITRFG031873@lurza.secnetix.de> References: <200910091829.n99ITRFG031873@lurza.secnetix.de> Message-ID: On Fri, 9 Oct 2009, Oliver Fromme wrote: > Warren Block wrote: > > > > Certainly \x will not help in sed; sed doesn't have it. > > Right, that's an annoying flaw in sed (it doesn't even > support the \0 syntax for octal values, which is more > standard than \x). >From my perspective, sed is a tiny, gooey center of usefulness nearly completely obscured by annoying flaws. That's not fair to sed, since most of its flaws can be more fairly described as legacy behavior. > Maybe the OP should configure his software to not save the > file with UTF-8 encoding in the first place. I'm not an > OOo user, so I can't tell how to do that. But obviously > the OP doesn't want the file to be stored as UTF-8. Sure. That removes the need for any of these tools. > > It's possible "Mastering Regular Expressions" has influenced my thinking > > on this. > > This isn't about regular expressions at all. This is > about replacing fixed strings. The OP was using a regex. But my question was "why sed instead of Perl?" tr(1) was also suggested, and is probably better than sed in this case. Of course, tr is another tool that Perl can replace with added functionality. Likewise Ruby, which has about the same command-line options as Perl but is less likely to be installed on a typical FreeBSD system. -Warren Block * Rapid City, South Dakota USA From aryeh.friedman at gmail.com Fri Oct 9 19:31:02 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Fri Oct 9 19:31:10 2009 Subject: How to set device permissions at startup In-Reply-To: <200910091909.n99J9rPe033892@lurza.secnetix.de> References: <200910091909.n99J9rPe033892@lurza.secnetix.de> Message-ID: <4ACF8F72.1010700@gmail.com> Oliver Fromme wrote: > Aryeh M. Friedman wrote: > > Oliver Fromme wrote: > > > Roland Smith wrote: > > > > But one has to run '/etc/rc.d/devfs restart' for newly added rules to take > > > > effect! (or reboot the system, which is overkill). > > > > > > Yes, of course. I thought that was obvious. > > > > > > > Maybe I whould add that to the manual page for devfs.rules? > > > > > > Agreed, that might be an appropriate clarification. > > > > It should be included because not everyone uses the standard /etc/rc.* > > hierachy. For example I have a completely custom rc which before I did > > an other hack to make this issue not an issue read: > > Well, if you completely rewrite /etc/rc, then you're on > your own anyway, and you're supposed to know what you're > doing. In general it is not a good idea and will lead > to serious foot-shooting. > > By the way, what is the reason that you don't use the > standard rc(8) facilities? I don't see anything in you > custom script that wouldn't be covered by them. > > Mostly a matter of style... namely I personally like to know every last detail of how my machine boots (even having the hald and dbus onestarts is too much relience on "magic code" (code that works but is overly complex and hard to understand) but I was not able to deduce by reading their startup srcipts/man pages/ps -agx listings what args they needed so had to use the rc.d's)... in general it is a "bad thing" to have code that is not 100% user understandable (read not 100% author unreadable)... the metaphor I often give is it is like the difference between a modern computer controlled car and say a model T or VW bug (the first being so complex that only an expert can work on it and the second being simple enough that any mechincally inclined owner can work on it)... same thing with devfs (an other common example is ipfw and natd [those man pages are greate because if you read them close enough it tells you everything you need to know to set up a vpn router/firewall from scratch).... there are a number of cases where stuff is not fully documented for stuff like this in the base system and/or ports (sysutils/fusefs-ntfs is a classic example because it fails to state that you need to export the PATH with /usr/loca/sbin on it) Bottom line 99% of the "weird" aspects in my rc (calling rc.d's and such) are due to incomplete documentation From m.seaman at infracaninophile.co.uk Fri Oct 9 19:36:23 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Oct 9 19:36:30 2009 Subject: for perl wizards. In-Reply-To: <200910091829.n99ITRFG031873@lurza.secnetix.de> References: <200910091829.n99ITRFG031873@lurza.secnetix.de> Message-ID: <4ACF90AA.6030702@infracaninophile.co.uk> Oliver Fromme wrote: > This isn't about regular expressions at all. This is > about replacing fixed strings. Fixed strings are regular expressions. Pretty unexciting ones, but perfectly valid none the less. This has been your daily pedantry minute. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091009/2b89f99a/signature.pgp From freebsd at edvax.de Fri Oct 9 19:40:35 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Oct 9 19:40:43 2009 Subject: best FBSD version for commercial use. In-Reply-To: <13EB5F63-E8D2-47EA-8E56-F052B697EBB8@olivent.com> References: <13EB5F63-E8D2-47EA-8E56-F052B697EBB8@olivent.com> Message-ID: <20091009214032.2cecf345.freebsd@edvax.de> On Fri, 9 Oct 2009 15:04:42 -0400, Mikel King wrote: > Recommend sticking with 7.x branch until 8.0 has been through one or > two solid releases. Then you should be able to perform a csup and > rebuild the world to the current version of 8.x at the time. So you would not recommend 8 (as RC1 at the state of the moment) for commercial use. Regarding your explaination, I do understand this. It's often mentioned that x.0 releases aren't "that good". But allow me a follow-up question: Is 8.0-RC1 already recommendable for a home desktop, or would 7.2 be the version of choice? I'm asking this because of the many improvements especially the USB subsystem has gotten in 8 which would be important for the "plug and play experience" for USB devices... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From m.seaman at infracaninophile.co.uk Fri Oct 9 19:57:19 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Oct 9 19:57:25 2009 Subject: for perl wizards. In-Reply-To: <20091009134605.F95011@qroenaqrq.6qbyyneqvnyhc.pbz> References: <200910091026.n99AQPUv014685@lurza.secnetix.de> <20091009134605.F95011@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <4ACF958E.1010204@infracaninophile.co.uk> Lars Eighner wrote: > On Fri, 9 Oct 2009, Warren Block wrote: >> That's twice now people have suggested sed instead of perl. Why? For >> many uses, perl is a better sed than sed. The regex engine is far >> more powerful and escapes are much simpler. > Because sed is stable and perl is getting all OO and flaky. Sed will work > like sed for so long as there are unix-like systems. It is not clear that > perl is going to continue to work. What utter tosh. Perl's Object Oriented features have been in place for years and, believe it or not, perl programs written for Perl 4 still continue to work with little or no modification under the very latest perl release, right alongside the stuff written yesterday that uses all the very latest features. That's a damn sight better track record than almost any other actively developed language you could mention. There's nothing that forces you to program Perl in an OO style -- procedural style works just fine. You could probably make a fair stab at writing in a purely functional style (like Ocaml) if you felt that way inclined. I get very irritated with the current vogue in certain quarters for doing down Perl. So what if you personally don't like coding in Perl? No one is holding a gun to your head and making you do it. Write in what ever language suits you, but don't try and force me to conform to your prejudices. Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091009/037eafc1/signature.pgp From jhell at DataIX.net Fri Oct 9 21:01:40 2009 From: jhell at DataIX.net (jhell) Date: Fri Oct 9 21:01:48 2009 Subject: best FBSD version for commercial use. In-Reply-To: References: Message-ID: On Fri, 9 Oct 2009 18:28 -0000, dead_line@ wrote: > > Hello Gurus, > > > > Im planing to move out of my FreeBSD 4.8-R! which served me like a charm for many years. > > But not sure if I should go for 6.3 or 7.2 > > This server will be a DNS server, apache, shell accounts..php, mysql.. > > > > anything i should be aware of? > > Advices? > > > > Thank you. > > Marwan > If its of any relevance to you a major service provider "pairLite" is upgrading all of their servers to 7.2, See attached email for details. -- ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E -------------- next part -------------- From jhell@5p.local Thu Oct 8 15:48:05 2009 -0400 Return-Path: matt@cbs.pair.com Return-Path: Received: from dimension.5p.local (localhost [127.0.0.1]) by dimension.5p.local (8.14.3/8.14.3) with ESMTP id n98K077l038552 for ; Thu, 8 Oct 2009 16:01:24 -0400 (EDT) (envelope-from matt@cbs.pair.com) Delivered-To: jhellenthal@gmail.com Received: from gmail-pop.l.google.com [74.125.65.109] by dimension.5p.local with POP3 (fetchmail-6.3.11) for (single-drop); Thu, 08 Oct 2009 16:01:24 -0400 (EDT) Received: by 10.204.77.142 with SMTP id g14cs59270bkk; Thu, 8 Oct 2009 12:48:07 -0700 (PDT) Received: by 10.90.128.9 with SMTP id a9mr875658agd.117.1255031286234; Thu, 08 Oct 2009 12:48:06 -0700 (PDT) Received: from cbs.pair.com (cbs.pair.com [66.39.3.3]) by mx.google.com with SMTP id 33si516696iwn.123.2009.10.08.12.48.05; Thu, 08 Oct 2009 12:48:06 -0700 (PDT) Received-SPF: pass (google.com: domain of matt@cbs.pair.com designates 66.39.3.3 as permitted sender) client-ip=66.39.3.3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of matt@cbs.pair.com designates 66.39.3.3 as permitted sender) smtp.mail=matt@cbs.pair.com Received: (qmail 87941 invoked by uid 0); 8 Oct 2009 19:48:05 -0000 Date: 8 Oct 2009 19:48:05 -0000 Message-ID: <20091008194805.87939.qmail@cbs.pair.com> From: pairLite Support To: jhellenthal@gmail.com Subject: Server Upgrade X-Bogosity: Ham, tests=bogofilter, spamicity=0.313408, version=1.2.0 X-IMAPbase: 1255121849 1 Status: R X-Status: X-Keywords: X-UID: 1 Hello, This message is from pair Networks -- your Web site hosting provider. Your Web hosting server is scheduled to be upgraded within the next two weeks. Details about the upgrade are available here: http://www.pairlite.com/support/72-upgrade.html This notice relates to the upgrade of www6.pairlite.com on Wednesday, October 14, 2009. If you have any comments or questions about the upgrade, please contact support@pairlite.com. If you encounter any problems with your Web hosting account as a result of the upgrade, please contact urgent@pairlite.com right away. Thank you for your business and continued support! The pairLite Support team http://www.pairlite.com/support/ pair Networks, Inc. support@pairlite.com From abalour at gmail.com Fri Oct 9 21:09:03 2009 From: abalour at gmail.com (Ross Cameron) Date: Fri Oct 9 21:09:10 2009 Subject: best FBSD version for commercial use. In-Reply-To: References: Message-ID: <35f70db10910091408x38271c39t80d669a5c61f6898@mail.gmail.com> On Fri, Oct 9, 2009 at 8:28 PM, Marwan Sultan wrote: > > Hello Gurus, > > > > Im planing to move out of my FreeBSD 4.8-R! which served me like a charm > for many years. > > But not sure if I should go for 6.3 or 7.2 > > This server will be a DNS server, apache, shell accounts..php, mysql. > I would definitely go with a 7.2 install (until 8.0 is marked as production ready by the fBSD dev team). And if you're running on half reasonably modern hardware go with the AMD64 port. Uhm just one piece of advice though, 4.8R was released in 2003 and support for that release was ended YEARS ago. Security updates for fBSD 4.x were ended in November 2006 and you're machine has been vulnerable since. Frankly its a wonder that is hasn't been ripped to shreds and used for any number of malevolent tasks. Keeping fBSD up to date isn't a very difficult task and I would suggest that you invest the time in this task. -- "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. From rwmaillists at googlemail.com Fri Oct 9 21:15:28 2009 From: rwmaillists at googlemail.com (RW) Date: Fri Oct 9 21:15:35 2009 Subject: / almost out of space just after installation In-Reply-To: <200910091528.n99FS90I025341@lurza.secnetix.de> References: <200910091528.n99FS90I025341@lurza.secnetix.de> Message-ID: <20091009221522.2fbcd123@gumby.homeunix.com> On Fri, 9 Oct 2009 17:28:09 +0200 (CEST) Oliver Fromme wrote: > Randi Harper wrote: > > / = 1GB > > /var = 2GB > > /tmp = 2GB > > Depending on the size of installed RAM, /tmp could also > be a memory disk by default. I don't see why it should depend on the amount of RAM, since it would normally be swap-backed. From wblock at wonkity.com Fri Oct 9 21:19:25 2009 From: wblock at wonkity.com (Warren Block) Date: Fri Oct 9 21:19:31 2009 Subject: best FBSD version for commercial use. In-Reply-To: <20091009214032.2cecf345.freebsd@edvax.de> References: <13EB5F63-E8D2-47EA-8E56-F052B697EBB8@olivent.com> <20091009214032.2cecf345.freebsd@edvax.de> Message-ID: On Fri, 9 Oct 2009, Polytropon wrote: > On Fri, 9 Oct 2009 15:04:42 -0400, Mikel King wrote: >> Recommend sticking with 7.x branch until 8.0 has been through one or >> two solid releases. Then you should be able to perform a csup and >> rebuild the world to the current version of 8.x at the time. > > So you would not recommend 8 (as RC1 at the state of the moment) > for commercial use. Regarding your explaination, I do understand > this. It's often mentioned that x.0 releases aren't "that good". > > But allow me a follow-up question: Is 8.0-RC1 already recommendable > for a home desktop, or would 7.2 be the version of choice? I'm > asking this because of the many improvements especially the USB > subsystem has gotten in 8 which would be important for the "plug > and play experience" for USB devices... 8.0 also has the ability to run www/linux-f10-flashplugin10. -Warren Block * Rapid City, South Dakota USA From illoai at gmail.com Fri Oct 9 21:25:06 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Fri Oct 9 21:25:13 2009 Subject: best FBSD version for commercial use. In-Reply-To: <20091009214032.2cecf345.freebsd@edvax.de> References: <13EB5F63-E8D2-47EA-8E56-F052B697EBB8@olivent.com> <20091009214032.2cecf345.freebsd@edvax.de> Message-ID: 2009/10/9 Polytropon : > On Fri, 9 Oct 2009 15:04:42 -0400, Mikel King wrote: >> Recommend sticking with 7.x branch until 8.0 has been through one or >> two solid releases. Then ?you should be able to perform a csup and >> rebuild the world to the current version of 8.x at the time. > > So you would not recommend 8 (as RC1 at the state of the moment) > for commercial use. Regarding your explaination, I do understand > this. It's often mentioned that x.0 releases aren't "that good". > 8.0 seems to be "that good", but businesses who make their money from their computers should probably be conservative. Also, the upgrade path for 7.x to 8.x is amusingly painless, so being safe has a very low cost here. > But allow me a follow-up question: Is 8.0-RC1 already recommendable > for a home desktop, or would 7.2 be the version of choice? I'm > asking this because of the many improvements especially the USB > subsystem has gotten in 8 which would be important for the "plug > and play experience" for USB devices... > I have been using 8-CURRENT since February & updating from source once or twice a week. I am without trepidation in asserting that it is frankly the best release of FreeBSD I have used. Assuming that something horrible doesn't happen between RC1 & RELEASE (asteroid strike, second coming of John Holmes, land war in Asia) I wouldn't fear the *.0 syndrome. -- -- From aaflatooni at yahoo.com Fri Oct 9 21:45:52 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Fri Oct 9 21:45:59 2009 Subject: Security blocking question Message-ID: <526808.11391.qm@web56207.mail.re3.yahoo.com> Hi, The production server that has a public IP address has SSH enabled. This server is continuously under dictionary attack: Oct? 8 12:58:40 seven sshd[32248]: Invalid user europa from 83.65.199.91 Oct? 8 12:58:40 seven sshd[32250]: Invalid user hacked from 83.65.199.91 Oct? 8 12:58:40 seven sshd[32251]: Invalid user cop\r from 83.65.199.91 Oct? 8 12:58:41 seven sshd[32254]: Invalid user gel from 83.65.199.91 Oct? 8 12:58:41 seven sshd[32255]: Invalid user dork from 83.65.199.91 Oct? 8 12:58:41 seven sshd[32258]: Invalid user eva from 83.65.199.91 Oct? 8 12:58:41 seven sshd[32260]: Invalid user hacker from 83.65.199.91 Oct? 8 12:58:41 seven sshd[32261]: Invalid user copila\r from 83.65.199.91 Oct? 8 12:58:42 seven sshd[32265]: Invalid user dorna from 83.65.199.91 Oct? 8 12:58:42 seven sshd[32264]: Invalid user gelo from 83.65.199.91 Oct? 8 12:58:42 seven sshd[32268]: Invalid user evara from 83.65.199.91 Oct? 8 12:58:43 seven sshd[32270]: Invalid user hack from 83.65.199.91 Oct? 8 12:58:43 seven sshd[32271]: Invalid user copil\r from 83.65.199.91 Oct? 8 12:58:43 seven sshd[32274]: Invalid user Doubled from 83.65.199.91 Oct? 8 12:58:43 seven sshd[32275]: Invalid user gelos from 83.65.199.91 Oct? 8 12:58:44 seven sshd[32278]: Invalid user eve from 83.65.199.91 Is there a way that I could configure the server so that if there are for example?X attempts from an IP address then for the next?Y hours all the SSH requests would be ignored from that IP address? There are only a handful of people who have access to that server. Thanks From amvandemore at gmail.com Fri Oct 9 21:48:15 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Oct 9 21:48:22 2009 Subject: Security blocking question In-Reply-To: <526808.11391.qm@web56207.mail.re3.yahoo.com> References: <526808.11391.qm@web56207.mail.re3.yahoo.com> Message-ID: <6201873e0910091448h46c13ce4h2e9df8920a8fe27a@mail.gmail.com> On Fri, Oct 9, 2009 at 4:45 PM, Aflatoon Aflatooni wrote: > Hi, > The production server that has a public IP address has SSH enabled. This > server is continuously under dictionary attack: > Oct 8 12:58:40 seven sshd[32248]: Invalid user europa from 83.65.199.91 > Oct 8 12:58:40 seven sshd[32250]: Invalid user hacked from 83.65.199.91 > Oct 8 12:58:40 seven sshd[32251]: Invalid user cop\r from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32254]: Invalid user gel from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32255]: Invalid user dork from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32258]: Invalid user eva from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32260]: Invalid user hacker from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32261]: Invalid user copila\r from 83.65.199.91 > Oct 8 12:58:42 seven sshd[32265]: Invalid user dorna from 83.65.199.91 > Oct 8 12:58:42 seven sshd[32264]: Invalid user gelo from 83.65.199.91 > Oct 8 12:58:42 seven sshd[32268]: Invalid user evara from 83.65.199.91 > Oct 8 12:58:43 seven sshd[32270]: Invalid user hack from 83.65.199.91 > Oct 8 12:58:43 seven sshd[32271]: Invalid user copil\r from 83.65.199.91 > Oct 8 12:58:43 seven sshd[32274]: Invalid user Doubled from 83.65.199.91 > Oct 8 12:58:43 seven sshd[32275]: Invalid user gelos from 83.65.199.91 > Oct 8 12:58:44 seven sshd[32278]: Invalid user eve from 83.65.199.91 > > Is there a way that I could configure the server so that if there are for > example X attempts from an IP address then for the next Y hours all the SSH > requests would be ignored from that IP address? > There are only a handful of people who have access to that server. > > Thanks > > /usr/ports/security/denyhosts -- Adam Vande More From jonc at chen.org.nz Fri Oct 9 21:49:25 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Fri Oct 9 21:49:32 2009 Subject: Security blocking question In-Reply-To: <526808.11391.qm@web56207.mail.re3.yahoo.com> References: <526808.11391.qm@web56207.mail.re3.yahoo.com> Message-ID: <20091009214924.GB58052@osiris.chen.org.nz> On Fri, Oct 09, 2009 at 02:45:51PM -0700, Aflatoon Aflatooni wrote: [...] > Is there a way that I could configure the server so that if there are for example?X attempts from an IP address then for the next?Y hours all the SSH requests would be ignored from that IP address? > There are only a handful of people who have access to that server. If there are only a handful, then I'd suggest that you put a whitelist of IP addresses in your firewall config. -- Jonathan Chen ---------------------------------------------------------------------- "A little learning is a dangerous thing but a lot of ignorance is just as bad." - Bob Edwards From apseudoutopia at gmail.com Fri Oct 9 21:49:52 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Fri Oct 9 21:49:59 2009 Subject: Security blocking question In-Reply-To: <526808.11391.qm@web56207.mail.re3.yahoo.com> References: <526808.11391.qm@web56207.mail.re3.yahoo.com> Message-ID: <27ade5280910091449y1dbedfa9la72c615a4c7174ee@mail.gmail.com> On Fri, Oct 9, 2009 at 5:45 PM, Aflatoon Aflatooni wrote: > Hi, > The production server that has a public IP address has SSH enabled. This server is continuously under dictionary attack: > Oct? 8 12:58:40 seven sshd[32248]: Invalid user europa from 83.65.199.91 > Oct? 8 12:58:40 seven sshd[32250]: Invalid user hacked from 83.65.199.91 > Oct? 8 12:58:40 seven sshd[32251]: Invalid user cop\r from 83.65.199.91 > Oct? 8 12:58:41 seven sshd[32254]: Invalid user gel from 83.65.199.91 > Oct? 8 12:58:41 seven sshd[32255]: Invalid user dork from 83.65.199.91 > Oct? 8 12:58:41 seven sshd[32258]: Invalid user eva from 83.65.199.91 > Oct? 8 12:58:41 seven sshd[32260]: Invalid user hacker from 83.65.199.91 > Oct? 8 12:58:41 seven sshd[32261]: Invalid user copila\r from 83.65.199.91 > Oct? 8 12:58:42 seven sshd[32265]: Invalid user dorna from 83.65.199.91 > Oct? 8 12:58:42 seven sshd[32264]: Invalid user gelo from 83.65.199.91 > Oct? 8 12:58:42 seven sshd[32268]: Invalid user evara from 83.65.199.91 > Oct? 8 12:58:43 seven sshd[32270]: Invalid user hack from 83.65.199.91 > Oct? 8 12:58:43 seven sshd[32271]: Invalid user copil\r from 83.65.199.91 > Oct? 8 12:58:43 seven sshd[32274]: Invalid user Doubled from 83.65.199.91 > Oct? 8 12:58:43 seven sshd[32275]: Invalid user gelos from 83.65.199.91 > Oct? 8 12:58:44 seven sshd[32278]: Invalid user eve from 83.65.199.91 > > Is there a way that I could configure the server so that if there are for example?X attempts from an IP address then for the next?Y hours all the SSH requests would be ignored from that IP address? > There are only a handful of people who have access to that server. > > Thanks > I don't think OpenSSH has this feature. You would have to look to a firewall solution for this (I recommend PF). There is also software in the ports collection that I've heard of to help this problem. I've never used any of them, but fail2ban seems to be a popular one. I would also recommend using a non-standard SSH port if possible. It would cut down on the bot spam considerably. From Ggatten at waddell.com Fri Oct 9 21:53:48 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Fri Oct 9 21:53:56 2009 Subject: Security blocking question In-Reply-To: <6201873e0910091448h46c13ce4h2e9df8920a8fe27a@mail.gmail.com> References: <526808.11391.qm@web56207.mail.re3.yahoo.com> <6201873e0910091448h46c13ce4h2e9df8920a8fe27a@mail.gmail.com> Message-ID: <20742_1255125211_4ACFB0DB_20742_1553_2_70C0964126D66F458E688618E1CD008A08CCED3B@WADPEXV0.waddell.com> I might also add, if it's only a handful that have legitimate access requirements, maybe black hole all ip's from locations (countries, etc.) they'll never be in. We see a lot of bad traffic from well, certain countries and we simply null route them. Or if I feel like playing a bit I'll route them to a tar-pit and honey pot just to see what they do. Pretty entertaining sometimes! :) -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Adam Vande More Sent: Friday, October 09, 2009 4:48 PM To: Aflatoon Aflatooni Cc: freebsd-questions@freebsd.org Subject: Re: Security blocking question On Fri, Oct 9, 2009 at 4:45 PM, Aflatoon Aflatooni wrote: > Hi, > The production server that has a public IP address has SSH enabled. This > server is continuously under dictionary attack: > Oct 8 12:58:40 seven sshd[32248]: Invalid user europa from 83.65.199.91 > Oct 8 12:58:40 seven sshd[32250]: Invalid user hacked from 83.65.199.91 > Oct 8 12:58:40 seven sshd[32251]: Invalid user cop\r from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32254]: Invalid user gel from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32255]: Invalid user dork from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32258]: Invalid user eva from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32260]: Invalid user hacker from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32261]: Invalid user copila\r from 83.65.199.91 > Oct 8 12:58:42 seven sshd[32265]: Invalid user dorna from 83.65.199.91 > Oct 8 12:58:42 seven sshd[32264]: Invalid user gelo from 83.65.199.91 > Oct 8 12:58:42 seven sshd[32268]: Invalid user evara from 83.65.199.91 > Oct 8 12:58:43 seven sshd[32270]: Invalid user hack from 83.65.199.91 > Oct 8 12:58:43 seven sshd[32271]: Invalid user copil\r from 83.65.199.91 > Oct 8 12:58:43 seven sshd[32274]: Invalid user Doubled from 83.65.199.91 > Oct 8 12:58:43 seven sshd[32275]: Invalid user gelos from 83.65.199.91 > Oct 8 12:58:44 seven sshd[32278]: Invalid user eve from 83.65.199.91 > > Is there a way that I could configure the server so that if there are for > example X attempts from an IP address then for the next Y hours all the SSH > requests would be ignored from that IP address? > There are only a handful of people who have access to that server. > > Thanks > > /usr/ports/security/denyhosts -- Adam Vande More _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"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."
From m.seaman at infracaninophile.co.uk Fri Oct 9 21:56:25 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Oct 9 21:56:42 2009 Subject: Security blocking question In-Reply-To: <526808.11391.qm@web56207.mail.re3.yahoo.com> References: <526808.11391.qm@web56207.mail.re3.yahoo.com> Message-ID: <4ACFB17A.1080400@infracaninophile.co.uk> Aflatoon Aflatooni wrote: > Hi, > The production server that has a public IP address has SSH enabled. This server is continuously under dictionary attack: > Oct 8 12:58:40 seven sshd[32248]: Invalid user europa from 83.65.199.91 > Oct 8 12:58:40 seven sshd[32250]: Invalid user hacked from 83.65.199.91 > Oct 8 12:58:40 seven sshd[32251]: Invalid user cop\r from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32254]: Invalid user gel from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32255]: Invalid user dork from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32258]: Invalid user eva from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32260]: Invalid user hacker from 83.65.199.91 > Oct 8 12:58:41 seven sshd[32261]: Invalid user copila\r from 83.65.199.91 > Oct 8 12:58:42 seven sshd[32265]: Invalid user dorna from 83.65.199.91 > Oct 8 12:58:42 seven sshd[32264]: Invalid user gelo from 83.65.199.91 > Oct 8 12:58:42 seven sshd[32268]: Invalid user evara from 83.65.199.91 > Oct 8 12:58:43 seven sshd[32270]: Invalid user hack from 83.65.199.91 > Oct 8 12:58:43 seven sshd[32271]: Invalid user copil\r from 83.65.199.91 > Oct 8 12:58:43 seven sshd[32274]: Invalid user Doubled from 83.65.199.91 > Oct 8 12:58:43 seven sshd[32275]: Invalid user gelos from 83.65.199.91 > Oct 8 12:58:44 seven sshd[32278]: Invalid user eve from 83.65.199.91 > > Is there a way that I could configure the server so that if there are for example X attempts from an IP address then for the next Y hours all the SSH requests would be ignored from that IP address? > There are only a handful of people who have access to that server. Yes. In pf.conf: table persist [...] block drop in log quick on $ext_if from [...] pass in on $ext_if proto tcp \ from any to $ext_if port ssh \ flags S/SA keep state \ (max-src-conn-rate 3/30, overload flush global) plus you'll need to add a cron job to clear old entries out of the ssh-bruteforce table after a suitable amount of time has passed. Use expiretable to do that. Note: in practice I've found that it's a *really good idea* to implement a SSH whitelist of addresses that will never be bruteforce blocked like this -- it's very easy to lock yourself out even if everything you're doing is entirely legitimate. Coding that is left as an exercise for the reader. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091009/4c5934c1/signature.pgp From shinjii at maydias.com Fri Oct 9 22:10:29 2009 From: shinjii at maydias.com (Warren Liddell) Date: Fri Oct 9 22:10:36 2009 Subject: Error Compiling qt4-dbus Message-ID: <4ACFB532.7080104@maydias.com> Running AMD64 7.2-STABLE src & kernel upto date an trying to get ports updated when encountering the below issue which is now affecting a lot of programs.. -------------------------------- cd "/usr/ports/devel/dbus-qt4/work/qt-x11-opensource-src-4.5.2/./tools/qdbus/qdbus" make first c++ -c -O2 -fno-strict-aliasing -pipe -O2 -Wall -W -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../../include/QtCore -I../../../include/QtXml -I../../../include -I../../../include/QtDBus -I.moc/release-shared -I/usr/local/include -o .obj/release-shared/qdbus.o qdbus.cpp g++ -Wl,-O1 -pthread -Wl,-rpath,/usr/local/lib/qt4 -Wl,-rpath,/usr/local/lib/qt4 -o ../../../bin/qdbus .obj/release-shared/qdbus.o -L/usr/local/lib/qt4 -L/usr/ports/devel/dbus-qt4/work/qt-x11-opensource-src-4.5.2/lib -L/usr/local/lib -lQtDBus -L/usr/local/lib/qt4 -L/usr/local/lib -pthread -pthread -pthread -pthread -pthread -pthread -lQtXml -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lglib-2.0 -liconv .obj/release-shared/qdbus.o(.text+0xdc): In function `printArg(QVariant const&)': : undefined reference to `QDBusUtil::argumentToString(QVariant const&)' *** Error code 1 Stop in /usr/ports/devel/dbus-qt4/work/qt-x11-opensource-src-4.5.2/tools/qdbus/qdbus. *** Error code 1 Stop in /usr/ports/devel/dbus-qt4/work/qt-x11-opensource-src-4.5.2/tools/qdbus/qdbus. *** Error code 1 Stop in /usr/ports/devel/dbus-qt4/work/qt-x11-opensource-src-4.5.2/tools/qdbus. *** Error code 1 Stop in /usr/ports/devel/dbus-qt4. From aaflatooni at yahoo.com Fri Oct 9 22:38:37 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Fri Oct 9 22:38:46 2009 Subject: Security blocking question In-Reply-To: <20742_1255125211_4ACFB0DB_20742_1553_2_70C0964126D66F458E688618E1CD008A08CCED3B@WADPEXV0.waddell.com> References: <526808.11391.qm@web56207.mail.re3.yahoo.com> <6201873e0910091448h46c13ce4h2e9df8920a8fe27a@mail.gmail.com> <20742_1255125211_4ACFB0DB_20742_1553_2_70C0964126D66F458E688618E1CD008A08CCED3B@WADPEXV0.waddell.com> Message-ID: <493986.15275.qm@web56204.mail.re3.yahoo.com> ----- Original Message ---- > From: Gary Gatten > To: Adam Vande More ; Aflatoon Aflatooni > Cc: freebsd-questions@freebsd.org > Sent: Fri, October 9, 2009 5:53:10 PM > Subject: RE: Security blocking question > > I might also add, if it's only a handful that have legitimate access > requirements, maybe black hole all ip's from locations (countries, etc.) > they'll never be in.? We see a lot of bad traffic from well, certain > countries and we simply null route them.? Or if I feel like playing a > bit I'll route them to a tar-pit and honey pot just to see what they do. > Pretty entertaining sometimes! :) > > My experience has been that honeypot is good to catch internal hackers. I have also noticed that we get dictionary attacks from zombies in North America. I have managed to capture a Perl script that they use and it just retransmits the command from the IP of the server that have the Perl script installed. From mikel.king at olivent.com Fri Oct 9 22:39:58 2009 From: mikel.king at olivent.com (Mikel King) Date: Fri Oct 9 22:40:07 2009 Subject: best FBSD version for commercial use. In-Reply-To: <20091009214032.2cecf345.freebsd@edvax.de> References: <13EB5F63-E8D2-47EA-8E56-F052B697EBB8@olivent.com> <20091009214032.2cecf345.freebsd@edvax.de> Message-ID: <5C9B3A2F-5C9F-42BD-A97A-0D2DBA1278B9@olivent.com> On Oct 9, 2009, at 3:40 PM, Polytropon wrote: > On Fri, 9 Oct 2009 15:04:42 -0400, Mikel King > wrote: >> Recommend sticking with 7.x branch until 8.0 has been through one or >> two solid releases. Then you should be able to perform a csup and >> rebuild the world to the current version of 8.x at the time. > > So you would not recommend 8 (as RC1 at the state of the moment) > for commercial use. Regarding your explaination, I do understand > this. It's often mentioned that x.0 releases aren't "that good". > > But allow me a follow-up question: Is 8.0-RC1 already recommendable > for a home desktop, or would 7.2 be the version of choice? I'm > asking this because of the many improvements especially the USB > subsystem has gotten in 8 which would be important for the "plug > and play experience" for USB devices... > > > Well the general rule of thumb has always been that unless you NEED a feature of the newest version it is best to continue running the existing stable release on your mission critical production boxes. Once the current release is passed the initial .0 stage most feel it is safe to adopt it in a production environment. Sometimes this may take a little longer than expected, but I would wait until 8.1 before I put it on my mission critical production boxes. Cheers, Mikel From freebsd at edvax.de Fri Oct 9 22:57:18 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Oct 9 22:57:25 2009 Subject: Automated login, X and xdm Message-ID: <20091010005714.cd7b118d.freebsd@edvax.de> Dear list, in order to do something that I haven't done for many years, I'd like to have some suggestions or pointers if I do it right. It's a strange, but still typical idea. :-) Here's the problem: A FreeBSD workstation should run X for a specified user after system startup. If the user logs out, he should not drop to CLI mode; instead, an xdm login should be shown to allow him (or someone else) to log in and use X. In the past, I created the auto-login as follows: First, I create an entry in /etc/gettytab, right after the "default:" entry; it contains the al= definition for auto-login as explained in "man 5 gettytab". The name of the user is USER in this example; in fact, is is a valid username on the system: autologin:\ :al=USER:tc=Pc: Then I change the getty argument from "Pc" to "autologin" in /etc/ttys: ttyv0 "/usr/libexec/getty autologin" cons25l1 on secure This automatically logs in the user USER specified as above. In order to start X when he logs in, I put the following lines in his ~/.login: #!/bin/sh mesg y [ ! -f /tmp/.X0-lock ] && startx The user's shell is the C-Shell, so it works. I see the upcoming problem: If a user already started X, then xdm cannot start (as usually done by setting "on" for xdm in /etc/ttys). My idea would be to do something like this into the user's ~/.login file: #!/bin/sh mesg y # very first start of X at (automatic) login # this line will fail if X is already running, but # start it if not [ ! -f /tmp/.X0-lock ] && startx # after leaving X, xdm should be started, but not if # it's already running [ ! -f /tmp/.X0-lock ] && sudo xdm # after xdm is started, dialog mode is back, so the # last entry quits any session after exiting from X logout Normally, there would be the following setting to only run xdm, without autologin, in /etc/ttys: ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure But this interferes with the autologin, right? What is the usual way to go? Is there something more elegant? How about "exec startx"? Thanks for your ideas and time! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From kraduk at googlemail.com Fri Oct 9 23:04:16 2009 From: kraduk at googlemail.com (krad) Date: Fri Oct 9 23:04:28 2009 Subject: best FBSD version for commercial use. In-Reply-To: <5C9B3A2F-5C9F-42BD-A97A-0D2DBA1278B9@olivent.com> References: <13EB5F63-E8D2-47EA-8E56-F052B697EBB8@olivent.com> <20091009214032.2cecf345.freebsd@edvax.de> <5C9B3A2F-5C9F-42BD-A97A-0D2DBA1278B9@olivent.com> Message-ID: 2009/10/9 Mikel King > > On Oct 9, 2009, at 3:40 PM, Polytropon wrote: > > On Fri, 9 Oct 2009 15:04:42 -0400, Mikel King >> wrote: >> >>> Recommend sticking with 7.x branch until 8.0 has been through one or >>> two solid releases. Then you should be able to perform a csup and >>> rebuild the world to the current version of 8.x at the time. >>> >> >> So you would not recommend 8 (as RC1 at the state of the moment) >> for commercial use. Regarding your explaination, I do understand >> this. It's often mentioned that x.0 releases aren't "that good". >> >> But allow me a follow-up question: Is 8.0-RC1 already recommendable >> for a home desktop, or would 7.2 be the version of choice? I'm >> asking this because of the many improvements especially the USB >> subsystem has gotten in 8 which would be important for the "plug >> and play experience" for USB devices... >> >> >> >> > Well the general rule of thumb has always been that unless you NEED a > feature of the newest version it is best to continue running the existing > stable release on your mission critical production boxes. Once the current > release is passed the initial .0 stage most feel it is safe to adopt it in a > production environment. Sometimes this may take a little longer than > expected, but I would wait until 8.1 before I put it on my mission critical > production boxes. > > Cheers, > Mikel > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > definitely stay away from the 6.x branch now that 7.x is very stable. Apart from it been out of date I found 6 had quite a few serious performance issues on SMP systems for quite a few applications. 7 generally rocks, and 8 looks even better, however isn't quite there yet. I have seen a few issues on the usb stack. I'm sure these will get fixed shorty however I wouldnt want to use it in production quite yet From steve at ibctech.ca Fri Oct 9 23:08:48 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Oct 9 23:08:55 2009 Subject: for perl wizards. In-Reply-To: <20091009134605.F95011@qroenaqrq.6qbyyneqvnyhc.pbz> References: <200910091026.n99AQPUv014685@lurza.secnetix.de> <20091009134605.F95011@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <4ACFC288.6050104@ibctech.ca> Lars Eighner wrote: > On Fri, 9 Oct 2009, Warren Block wrote: > >> On Fri, 9 Oct 2009, Oliver Fromme wrote: >> >>> Gary Kline wrote: >>> > >>> > Whenever I save a wordpeocessoe file [OOo, say] into a >>> > text file, I get a slew of hex codes to indicate the char >>> to be >>> > used. I'm looking for a perl one-liner or script to translate >>> > hex back into ', ", -- [that's a dash), and so forth. Why >>> does >>> > this fail to trans the hex code to an apostrophe? >>> > >>> > perl -pi.bak -e 's/\xe2\x80\x99/'/g' >>> >>> You need to escape the inner quote character, of course. >>> I think sed is better suited for this task than perl. >> >> That's twice now people have suggested sed instead of perl. Why? For >> many uses, perl is a better sed than sed. The regex engine is far >> more powerful and escapes are much simpler. > > Because sed is stable and perl is getting all OO and flaky. Sed will work > like sed for so long as there are unix-like systems. It is not clear that > perl is going to continue to work. Given that it seems as though you do know what you are doing (which makes me believe that you actually have the ability to provide valuable input), why would you be so negative? You have the answers. Why not use your energy in sharing it with a positive spin? Steve ps. 'twas tough resisting feeding the troll regarding the Perl comments. However, those who use it know the truth, and those who haven't will eventually learn the truth. From stanb at panix.com Fri Oct 9 23:19:56 2009 From: stanb at panix.com (stan) Date: Fri Oct 9 23:20:02 2009 Subject: text2html ? Message-ID: <20091009231954.GA26918@teddy.fas.com> I had a contractor uppgrade a freebsd machine a while back. Now I am finding things that did not get done corectly. The latest is that I have some other machines that create text files copy them over to this machine, and put them iin the webservers space. Looks like in the past, these files were procesed by /usr/local/bin/text2html, which O would almost certainly have installed from a port. But, I cannot seem to find this port. Can anyone sugest either where I can find this utlity, or what I might use as an alternative? The text files to process are very simple reports of system statistics. Thanks for any ideas. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From freebsd at edvax.de Fri Oct 9 23:34:15 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Oct 9 23:34:22 2009 Subject: text2html ? In-Reply-To: <20091009231954.GA26918@teddy.fas.com> References: <20091009231954.GA26918@teddy.fas.com> Message-ID: <20091010013413.6363c38c.freebsd@edvax.de> On Fri, 9 Oct 2009 19:19:54 -0400, stan wrote: > Can anyone sugest either where I can find this utlity, or what I might use > as an alternative? The text files to process are very simple reports of > system statistics. Maybe this is usable for you: Port: txt2html-2.45 Path: /usr/ports/textproc/txt2html Info: Convert raw text to something with a little HTML formatting Port: html-pretty-1.01 Path: /usr/ports/textproc/html-pretty Info: HTML and SGML prettyprinter and text-to-HTML/SGML converter Port: htmlise-0.2 Path: /usr/ports/textproc/htmlise Info: Formats plain text as HTML Result of % cd /usr/ports % make search name=html | less then "/text" and some "/". :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From sjk at ankeborg.nu Fri Oct 9 23:40:07 2009 From: sjk at ankeborg.nu (Svante Kvarnstrom) Date: Fri Oct 9 23:40:15 2009 Subject: Security blocking question In-Reply-To: <4ACFB17A.1080400@infracaninophile.co.uk> References: <526808.11391.qm@web56207.mail.re3.yahoo.com> <4ACFB17A.1080400@infracaninophile.co.uk> Message-ID: On Oct 9, 2009, at 11:56 PM, Matthew Seaman wrote: > plus you'll need to add a cron job to clear old entries out of the > ssh-bruteforce > table after a suitable amount of time has passed. Use expiretable > to do > that. I believe that security/expiretable is superfluous nowadays since pfctl supports the -T expire directive. Best wishes, Svante Kvarnstr?m Mob.: +46 702 38 34 00 -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091009/c533bcd2/PGP.pgp From vogelke+unix at pobox.com Sat Oct 10 00:24:03 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Sat Oct 10 00:24:12 2009 Subject: / almost out of space just after installation In-Reply-To: (message from Randi Harper on Thu, 8 Oct 2009 23:39:58 -0700) Message-ID: <20091010002140.16914BE61@kev.msw.wpafb.af.mil> >> On Thu, 8 Oct 2009 23:39:58 -0700, >> Randi Harper said: R> I was thinking that a more acceptable default layout (leaving swap at R> it's current default size) would be: R> / = 1GB R> /var = 2GB R> /tmp = 2GB I usually create something like this: / = 200M /usr = 8G /var = 2G /stage = 8G /home = everything else * Root stays small, so I can have backup root partitions all over without feeling guilty about wasting space. * /tmp is a limited-size memory disk. * /usr and /var are on separate partitions, preferably on different drives so I'm not seeking all over creation if /, /usr, and /var are busy. Also, filling up /usr/tmp or /var/log will be annoying but not critical. * /stage is a staging area, usually for backups to another host. I put it on a different drive than /home, so I don't compete too much with my users when, say, doing hourly backups: # cd /home # find . -newer /last/bkup -depth -print | pax -x cpio -wd | bzip2 -c > /stage/bkup.bz2 # touch /last/bkup # su bkup -c 'scp -c arcfour /stage/bkup.bz2 remote:/some/place' Could we also have some nicer defaults for /etc/fstab? # Device Mount FStype Options Dump Pass # ----------------------------------------------------------------- /dev/ad0s1a / ufs rw 1 1 devfs /dev devfs rw 0 0 fdescfs /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 md /tmp mfs rw,-s512m 2 0 /dev/ad0s1b none swap sw 0 0 # /dev/ad0s1d /usr ufs rw,noatime,snapshot 2 2 /dev/ad0s1e /var ufs rw,noatime,snapshot 2 2 /dev/ad0s1f /home ufs rw,noatime,nosuid,snapshot 2 2 # # CD/DVD: #/dev/acd0 /cdrom cd9660 ro,noauto 0 0 # # CD/DVD/RW: #/dev/cd0 /cdrom cd9660 ro,noauto 0 0 # ----------------------------------------------------------------- -- Karl Vogel I don't speak for the USAF or my company A society that champions freedom of religion but at the same time countenances state regulation of education has a great deal of explaining to do. --James R. Otteson From bh at izb.knu.ac.kr Sat Oct 10 01:03:27 2009 From: bh at izb.knu.ac.kr (=?UTF-8?B?54mb57Kl?=) Date: Sat Oct 10 01:03:36 2009 Subject: best FBSD version for commercial use. In-Reply-To: References: Message-ID: <4ACFDD57.6000401@izb.knu.ac.kr> Marwan Sultan wrote: > > Im planing to move out of my FreeBSD 4.8-R! which served me like a charm for many years. > But not sure if I should go for 6.3 or 7.2 > This server will be a DNS server, apache, shell accounts..php, mysql.. IMHO, i think that you should wait until 8.0-R out. Sincerely, -- Byung-Hee HWANG ? WWW: http://izb.knu.ac.kr/~bh/ From mahlerrd at yahoo.com Sat Oct 10 01:49:26 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sat Oct 10 01:49:33 2009 Subject: Automatic chmod Message-ID: <729381.76401.qm@web51012.mail.re2.yahoo.com> >From: Victor Subervi >Subject: Re: Automatic chmod >To: mahlerrd@yahoo.com, freebsd-questions@freebsd.org >Date: Friday, October 9, 2009, 11:20 AM > >User? I only have one user on this shared server. Here's the code: > >#!/usr/local/bin/python >import cgitb; cgitb.enable() >import MySQLdb >import cgi >import sys,os >sys.path.append(os.getcwd()) >from login import login >user, passwd, db, host = login() >form = cgi.FieldStorage() >picid = int(form['id'].value) >x = int(form['x'].value) >pics = {1:'pic1',2:'pic2',3:'pic3',4:'pic4',5:'pic5',6:'pic6'} >pic = pics[x] >db = MySQLdb.connect(host=host, user=user, passwd=passwd, db=db) >cursor= db.cursor() >sql = "select " + pic + " from productsX where id='" + str(picid) + "';" >cursor.execute(sql) >content = cursor.fetchall()[0][0].tostring() >cursor.close() >print '''Content-Type: text/plain >Content-Encoding: base64 >''' >print >print content.encode('base64') I finally got to where I could test this.? I'm no Python expert (in fact, this was the first time I've touched it), but your code, with heavy modifications to slim it to something that can run on my system, seems to be mostly OK.? Here's the code I ended up with: ********** #!/usr/local/bin/python import cgitb; cgitb.enable() import MySQLdb import cgi import sys,os sys.path.append(os.getcwd()) user="root" passwd="" db="mysql" host="localhost" form = cgi.FieldStorage() db = MySQLdb.connect(host=host, user=user, passwd=passwd, db=db) cursor= db.cursor() sql = "select User from user;" cursor.execute(sql) content = cursor.fetchall() cursor.close() print '''Content-Type: text/plain Content-Encoding: base64 ''' print print content ********** That all seems to work as I would expect and gives not unreasonable output.? Not that I know it's correct or what's needed, but it seems to print what you'd think it would. Can you try running a test script that does, Oh, say, something like the below to see if it works?? (AGAIN, I don't know python AND I'm not testing this, just hand-writing it so excuse my code!) #!/usr/local/bin/python print '''Content-Type: text/plain ''' print "Hopefully this works" At this point, I really haven't much more to go on.? The above may pinpoint what sort of permissions issue it is.? Besides, if it works, you could slowly add in lines from your previous example until you find the offending line... Also, If you haven't already done so, you may want to try posting in some python help forums or something.? This doesn't have the feel of a FreeBSD specific problem, so there's bound to be other Python folks who've hit this and solved it before. From pschmehl_lists at tx.rr.com Sat Oct 10 01:49:44 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Sat Oct 10 01:49:52 2009 Subject: text2html ? In-Reply-To: <20091009231954.GA26918@teddy.fas.com> References: <20091009231954.GA26918@teddy.fas.com> Message-ID: <031c01ca494c$081b7600$18526200$@rr.com> -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of stan Sent: Friday, October 09, 2009 6:20 PM To: Free BSD Questions list Subject: text2html ? I had a contractor uppgrade a freebsd machine a while back. Now I am finding things that did not get done corectly. The latest is that I have some other machines that create text files copy them over to this machine, and put them iin the webservers space. Looks like in the past, these files were procesed by /usr/local/bin/text2html, which O would almost certainly have installed from a port. But, I cannot seem to find this port. Can anyone sugest either where I can find this utlity, or what I might use as an alternative? The text files to process are very simple reports of system statistics. Thanks for any ideas. pauls@utd65257# cd /usr/ports/ pauls@utd65257# make search name=text2html pauls@utd65257# make search name=txt2html Port: txt2html-2.51 Path: /usr/ports/textproc/txt2html Info: Convert raw text to something with a little HTML formatting Maint: jadawin@FreeBSD.org B-deps: p5-ExtUtils-CBuilder-0.24 p5-ExtUtils-ParseXS-2.19 p5-Getopt-ArgvFile-1.11 p5-Module-Build-0.30 p5-YAML-0.68 p5-YAML-Syck-1.05 perl-5.8.9 R-deps: p5-ExtUtils-CBuilder-0.24 p5-ExtUtils-ParseXS-2.19 p5-Getopt-ArgvFile-1.11 p5-Module-Build-0.30 p5-YAML-0.68 p5-YAML-Syck-1.05 perl-5.8.9 WWW: http://txt2html.sourceforge.net/ Paul Schmehl (pschmehl_lists@tx.rr.com) In case it isn't already obvious, my opinions are my own and not those of my employer From nlandys at gmail.com Sat Oct 10 02:44:05 2009 From: nlandys at gmail.com (Nerius Landys) Date: Sat Oct 10 02:44:12 2009 Subject: best FBSD version for commercial use. In-Reply-To: <4ACFDD57.6000401@izb.knu.ac.kr> References: <4ACFDD57.6000401@izb.knu.ac.kr> Message-ID: <560f92640910091944k66f8c595rcbdb296e0dbfc078@mail.gmail.com> My 2 cents, as far as I know 7.1 will be maintained longer than 7.2 according to the freebsd.org website. That is, security fixes will be rolled out for 7.1 a while after 7.2 reaches End Of Life. That made me decide to go with 7.1 when I had to make the switch from 7.0 a few months ago. 8.0 was not out at that time. From m.seaman at infracaninophile.co.uk Sat Oct 10 07:12:54 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Oct 10 07:13:03 2009 Subject: Security blocking question In-Reply-To: References: <526808.11391.qm@web56207.mail.re3.yahoo.com> <4ACFB17A.1080400@infracaninophile.co.uk> Message-ID: <4AD033E6.9090600@infracaninophile.co.uk> Svante Kvarnstrom wrote: > > On Oct 9, 2009, at 11:56 PM, Matthew Seaman wrote: > >> plus you'll need to add a cron job to clear old entries out of the >> ssh-bruteforce >> table after a suitable amount of time has passed. Use expiretable to do >> that. > I believe that security/expiretable is superfluous nowadays since pfctl > supports the -T expire directive. Yes -- that is true. Seems '-T expire' works in 7-STABLE and 7.1-RELEASE, 7.2-RELEASE -- not sure about older versions though. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091010/177bc528/signature.pgp From kraduk at googlemail.com Sat Oct 10 08:46:13 2009 From: kraduk at googlemail.com (krad) Date: Sat Oct 10 08:46:21 2009 Subject: best FBSD version for commercial use. In-Reply-To: <4ACFDD57.6000401@izb.knu.ac.kr> References: <4ACFDD57.6000401@izb.knu.ac.kr> Message-ID: 2009/10/10 ?? > Marwan Sultan wrote: > >> >> Im planing to move out of my FreeBSD 4.8-R! which served me like a charm >> for many years. >> But not sure if I should go for 6.3 or 7.2 >> This server will be a DNS server, apache, shell accounts..php, mysql.. >> > > IMHO, i think that you should wait until 8.0-R out. > > Sincerely, > > -- > Byung-Hee HWANG > ? WWW: http://izb.knu.ac.kr/~bh/ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Never ideal to play the waiting game, as there is always something bigger and better round the corner. Best to go with something tried and tested. From af.gourmet at videotron.ca Sat Oct 10 09:01:32 2009 From: af.gourmet at videotron.ca (PJ) Date: Sat Oct 10 09:01:39 2009 Subject: conky calendar Message-ID: <4AD04D6E.5000309@videotron.ca> I'm having a bit of a time with the calendar.sh script I found on the Net; it doesn't display quite correctly. It should have brackets around the current date, but I can't figure out what is not functioning correctly: #!/bin/sh cal | awk 'NR>2' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ & /' -e 's/ \('`date | awk '{print $2}'`'\) /\['`date | awk '{print $2}'`'\]/' Change the NR>2 to NR1 and the printout includes the days of the week: Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Since today is the 10th, we should be seeing [10] - but we are not. Also, there is the problem of the 1,2,3 not showing in the right days - in conky this can be fixed by not using xft... but then I'm not sure of how to change the font size... perhaps the xorg screen size is the default ??? I'm not very good at programming, but I did look up the man pages for cal, sed and awk but it is a little complicated for my little brain. Can anyone help, please? From jhell at DataIX.net Sat Oct 10 10:06:47 2009 From: jhell at DataIX.net (jhell) Date: Sat Oct 10 10:06:54 2009 Subject: best FBSD version for commercial use. In-Reply-To: References: <4ACFDD57.6000401@izb.knu.ac.kr> Message-ID: On Sat, 10 Oct 2009 04:46, kraduk@ wrote: > 2009/10/10 ?? > >> Marwan Sultan wrote: >> >>> >>> Im planing to move out of my FreeBSD 4.8-R! which served me like a charm >>> for many years. >>> But not sure if I should go for 6.3 or 7.2 >>> This server will be a DNS server, apache, shell accounts..php, mysql.. >>> >> >> IMHO, i think that you should wait until 8.0-R out. >> >> Sincerely, >> > > Never ideal to play the waiting game, as there is always something bigger > and better round the corner. Best to go with something tried and tested. > I will agree with that. And raise that its not a good idea to be part of the early adopter club for commercial use. -- ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E From jhell at DataIX.net Sat Oct 10 10:11:57 2009 From: jhell at DataIX.net (jhell) Date: Sat Oct 10 10:12:04 2009 Subject: conky calendar In-Reply-To: <4AD04D6E.5000309@videotron.ca> References: <4AD04D6E.5000309@videotron.ca> Message-ID: On Sat, 10 Oct 2009 05:01, af.gourmet@ wrote: > I'm having a bit of a time with the calendar.sh script I found on the > Net; it doesn't display quite correctly. > It should have brackets around the current date, but I can't figure out > what is not functioning correctly: > > #!/bin/sh > cal | awk 'NR>2' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ & > /' -e 's/ \('`date | awk '{print $2}'`'\) /\['`date | awk '{print $2}'`'\]/' > > Change the NR>2 to NR1 and the printout includes the days of the week: > Su Mo Tu We Th Fr Sa > 1 2 3 > 4 5 6 7 8 9 10 > 11 12 13 14 15 16 17 > 18 19 20 21 22 23 24 > 25 26 27 28 29 30 31 > > Since today is the 10th, we should be seeing [10] - but we are not. > Also, there is the problem of the 1,2,3 not showing in the right days - > in conky this can be fixed by not using xft... but then I'm not sure of > how to change the font size... perhaps the xorg screen size is the > default ??? > > I'm not very good at programming, but I did look up the man pages for > cal, sed and awk but it is a little complicated for my little brain. > Can anyone help, please? > Where did you Saturday go to ? I would love for some of my Thursdays and sometimes Fridays to just disappear like this but Saturday ? come on now what is the world coming to ? ;) -- ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E From gesbbb at yahoo.com Sat Oct 10 10:38:22 2009 From: gesbbb at yahoo.com (Jerry) Date: Sat Oct 10 10:38:35 2009 Subject: best FBSD version for commercial use. In-Reply-To: References: <4ACFDD57.6000401@izb.knu.ac.kr> Message-ID: <20091010063820.2e3a69b6@scorpio.seibercom.net> On Sat, 10 Oct 2009 06:06:39 -0400 jhell wrote: [snip] > I will agree with that. And raise that its not a good idea to be part > of the early adopter club for commercial use. Somebody has got to go first. As so aptly stated by Robert Crandell, chairman of American Airlines in the late 1990's, "If you're not the lead dog, the view never changes." -- Jerry gesbbb@yahoo.com Let others praise ancient times; I am glad I was born in these. Ovid (43 B.C. - A.D. 18) From rsmith at xs4all.nl Sat Oct 10 13:27:18 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sat Oct 10 13:27:25 2009 Subject: conky calendar In-Reply-To: <4AD04D6E.5000309@videotron.ca> References: <4AD04D6E.5000309@videotron.ca> Message-ID: <20091010132716.GA33706@slackbox.xs4all.nl> On Sat, Oct 10, 2009 at 05:01:34AM -0400, PJ wrote: > I'm having a bit of a time with the calendar.sh script I found on the > Net; it doesn't display quite correctly. > It should have brackets around the current date, but I can't figure out > what is not functioning correctly: > > #!/bin/sh > cal | awk 'NR>2' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ & > /' -e 's/ \('`date | awk '{print $2}'`'\) /\['`date | awk '{print $2}'`'\]/' Look at the output of the date command: Sat Oct 10 15:12:39 CEST 2009 Change 'print $2' to 'print $3' to get the numercal date. Or even simpler: use "date +%d" instead of "date | awk '{print $3}'". 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091010/ae4302c6/attachment.pgp From alexbestms at math.uni-muenster.de Sat Oct 10 13:45:42 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Sat Oct 10 13:45:50 2009 Subject: binutils Message-ID: there's a project called binutils in p4 but i don't know anything about it (version, status, etc.). the problem with binutils from the portsdir is that even when it's installed gcc still uses the the base-binaries because gcc is statically linked. so in order to use the binutils from the ports dir you also have to install a gcc port (which gets linkey dynamically). a very dirty workaround is to install binutils from the ports, rename the base binary you don't want to use anymore and instead create a link to /usr/local/bin/*. here's an example. this way i could build mplayer with sse3 support. although the base gcc (4.2.1 in my case running 9-current) supports sse3, the base GNU assembler version (2.15) doesn't. what i did was to install the binutils port, `mv /usr/bin/as /usr/bin/as_old` and `ln -s /usr/local/bin/as /usr/bin/as`. now the base gcc picks up the new GNU assembler binary. cheers. alex oh...and i agree: binutils should be updated. actually a lot of base code needs to be updated. some of it hasn't been touched for over a decade. ;) From gesbbb at yahoo.com Sat Oct 10 14:36:25 2009 From: gesbbb at yahoo.com (Jerry) Date: Sat Oct 10 14:36:32 2009 Subject: binutils In-Reply-To: References: Message-ID: <20091010103623.11ed0154@scorpio.seibercom.net> On Sat, 10 Oct 2009 15:45:39 +0200 (CEST) Alexander Best (alexbestms@math.uni-muenster.de) replied: >there's a project called binutils in p4 but i don't know anything >about it (version, status, etc.). the problem with binutils from the >portsdir is that even when it's installed gcc still uses the the >base-binaries because gcc is statically linked. so in order to use the >binutils from the ports dir you also have to install a gcc port (which >gets linkey dynamically). > >a very dirty workaround is to install binutils from the ports, rename >the base binary you don't want to use anymore and instead create a >link to /usr/local/bin/*. > >here's an example. this way i could build mplayer with sse3 support. >although the base gcc (4.2.1 in my case running 9-current) supports >sse3, the base GNU assembler version (2.15) doesn't. > >what i did was to install the binutils port, >`mv /usr/bin/as /usr/bin/as_old` and `ln >-s /usr/local/bin/as /usr/bin/as`. > >now the base gcc picks up the new GNU assembler binary. > >cheers. >alex > > >oh...and i agree: binutils should be updated. actually a lot of base >code needs to be updated. some of it hasn't been touched for over a >decade. ;) Is FreeBSD-8.0 also going to continue to use the older version {GNU assembler 2.15 [FreeBSD] 2004-05-23} or are they updating to the latest version. If the obsolete version is all ready causing compiler problems, it would seem like the logical thing to do. -- Jerry gesbbb@yahoo.com There is brutality and there is honesty. There is no such thing as brutal honesty. From mahlerrd at yahoo.com Sat Oct 10 14:41:20 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sat Oct 10 14:41:28 2009 Subject: conky calendar Message-ID: <319011.88077.qm@web51006.mail.re2.yahoo.com> >From: Roland Smith >Subject: Re: conky calendar >To: "PJ" >Cc: freebsd-questions@freebsd.org >Date: Saturday, October 10, 2009, 9:27 AM > >On Sat, Oct 10, 2009 at 05:01:34AM -0400, PJ wrote: >> I'm having a bit of a time with the calendar.sh script I >> found on the Net; it doesn't display quite correctly. >> It should have brackets around the current date, but I >> can't figure out what is not functioning correctly: >> >> #!/bin/sh >> cal | awk 'NR>2' | sed -e 's/???/? ? /g' -e 's/[^ ] /& /g' -e 's/..*/? & /' -e 's/ \('`date | awk '{print $2}'`'\) /\['`date | awk '{print $2}'`'\]/' > >Look at the output of the date command: >Sat Oct 10 15:12:39 CEST 2009 > >Change 'print $2' to 'print $3' to get the numercal date. >Or even simpler: use "date +%d" instead of "date | awk '{print $3}'". > >Roland I could not get it to work until I changed the single quotes in the last -e expression to double quotes. (This either interactively under csh or as a script under sh). BTW, using `date +%s` and with an additional minor change to make the numbers continue to line up ... Oh! This will not fix mis-alignments on days when it is not the end of the week, I don't think ... anyway. cal | awk 'NR>1' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ &/' -e "s/\ `date +%d`/\[`date +%d`\]/" Gives $ sh newcal.sh Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Now, if you had a space character at the end of each line, you could do something like ... cal | awk 'NR>1' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ &/' -e "s/\ `date +%d`\ /\[`date +%d`\]/" And then it would replace (underscore is space) "_8_" with "[8]" so it would always line up. You can't do that without the space at the end of the line because the trailing numbers look like this "_17" not "_17_". But, fix that, and you can use the above. That is left as an exercise for the reader. -Rich From freebsd-questions-local at be-well.ilk.org Sat Oct 10 14:53:45 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sat Oct 10 14:53:56 2009 Subject: binutils In-Reply-To: <20091010103623.11ed0154@scorpio.seibercom.net> (Jerry's message of "Sat, 10 Oct 2009 10:36:23 -0400") References: <20091010103623.11ed0154@scorpio.seibercom.net> Message-ID: <44hbu7mhao.fsf@lowell-desk.lan> Jerry writes: > On Sat, 10 Oct 2009 15:45:39 +0200 (CEST) > Alexander Best (alexbestms@math.uni-muenster.de) replied: > >>there's a project called binutils in p4 but i don't know anything >>about it (version, status, etc.). the problem with binutils from the >>portsdir is that even when it's installed gcc still uses the the >>base-binaries because gcc is statically linked. so in order to use the >>binutils from the ports dir you also have to install a gcc port (which >>gets linkey dynamically). >> >>a very dirty workaround is to install binutils from the ports, rename >>the base binary you don't want to use anymore and instead create a >>link to /usr/local/bin/*. >> >>here's an example. this way i could build mplayer with sse3 support. >>although the base gcc (4.2.1 in my case running 9-current) supports >>sse3, the base GNU assembler version (2.15) doesn't. >> >>what i did was to install the binutils port, >>`mv /usr/bin/as /usr/bin/as_old` and `ln >>-s /usr/local/bin/as /usr/bin/as`. >> >>now the base gcc picks up the new GNU assembler binary. >> >>cheers. >>alex >> >> >>oh...and i agree: binutils should be updated. actually a lot of base >>code needs to be updated. some of it hasn't been touched for over a >>decade. ;) > > Is FreeBSD-8.0 also going to continue to use the older version {GNU > assembler 2.15 [FreeBSD] 2004-05-23} or are they updating to the latest > version. If the obsolete version is all ready causing compiler > problems, it would seem like the logical thing to do. Unfortunately, it's under an unacceptable license. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From doug at polands.org Sat Oct 10 15:16:42 2009 From: doug at polands.org (Doug Poland) Date: Sat Oct 10 15:16:49 2009 Subject: VirtualBox build failure on 7.2-stable (amd64) Message-ID: <616588ccd58486086fef368167f0ad21.squirrel@email.polands.org> Hello, I'm trying to build VirtualBox 3.0.51.r22902_2 on 7.2-stable amd64 and I keep getting the following failure: kBuild: Compiling RuntimeR0Drv - /usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/assert-r0drv-freebsd.c In file included from /usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:60, from /usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c:34: /sys/vm/vm.h:64:24: error: machine/vm.h: No such file or directory kmk[2]: *** [/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/alloc-r0drv-freebsd.o] Error 1 The failing command: @cc -c -O2 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -Wpointer-arith -Winline -Wno-pointer-sign -Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O2 -fformat-extensions -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 -fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer -nostdinc -std=c99 -m64 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -Wundef -I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/gen-sys-hdrs -I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime -I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/include -I/sys -I/sys/contrib/altq -I/sys/../include -I/usr/include -I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/include -I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox\" -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ -D_KERNEL -DKLD_MODULE -DIN_RING0 -DIN_RT_R0 -DIN_RT_R0 -DRT_WITH_VBOX -DRT_WITHOUT_NOCRT_WRAPPERS -DRT_NO_EXPORT_SYMBOL -Wp,-MD,/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/alloc-r0drv-freebsd.o.dep -Wp,-MT,/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/alloc-r0drv-freebsd.o -Wp,-MP -o /usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/alloc-r0drv-freebsd.o /usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c kmk[2]: *** Waiting for unfinished jobs.... In file included from /usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:60, from /usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/assert-r0drv-freebsd.c:34: /sys/vm/vm.h:64:24: error: machine/vm.h: No such file or directory kmk[2]: *** [/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/assert-r0drv-freebsd.o] Error 1 The failing command: @cc -c -O2 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -Wpointer-arith -Winline -Wno-pointer-sign -Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O2 -fformat-extensions -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 -fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer -nostdinc -std=c99 -m64 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -Wundef -I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/gen-sys-hdrs -I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime -I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/include -I/sys -I/sys/contrib/altq -I/sys/../include -I/usr/include -I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/include -I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox\" -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ -D_KERNEL -DKLD_MODULE -DIN_RING0 -DIN_RT_R0 -DIN_RT_R0 -DRT_WITH_VBOX -DRT_WITHOUT_NOCRT_WRAPPERS -DRT_NO_EXPORT_SYMBOL -Wp,-MD,/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/assert-r0drv-freebsd.o.dep -Wp,-MT,/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/assert-r0drv-freebsd.o -Wp,-MP -o /usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/assert-r0drv-freebsd.o /usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/assert-r0drv-freebsd.c kmk[2]: Leaving directory `/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902' kmk[2]: Entering directory `/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902' kmk[2]: *** Exiting with status 2 kmk[1]: *** [pass_libraries_this] Error 2 kmk[1]: Leaving directory `/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902' kmk: *** [pass_libraries_order] Error 2 *** Error code 2 Stop in /usr/ports/emulators/virtualbox. *** Error code 1 Stop in /usr/ports/emulators/virtualbox. Looks like the offending file is: machine/vm.h: No such file or directory Does anyone know how to resolve this situation? -- Regards, Doug From dead_line at hotmail.com Sat Oct 10 16:09:11 2009 From: dead_line at hotmail.com (Marwan Sultan) Date: Sat Oct 10 16:09:17 2009 Subject: best FBSD version for commercial use. In-Reply-To: References: <4ACFDD57.6000401@izb.knu.ac.kr> Message-ID: Thank you all for your quick replies, I will go for 7.2 and will see the progress of 8. Above all, a special thanks to FreeBSD developers. Best resgards, Marwan Sultan. > Date: Sat, 10 Oct 2009 06:06:39 -0400 > From: jhell@DataIX.net > To: kraduk@googlemail.com > CC: bh@izb.knu.ac.kr; freebsd-questions@freebsd.org; dead_line@hotmail.com > Subject: Re: best FBSD version for commercial use. > > > On Sat, 10 Oct 2009 04:46, kraduk@ wrote: > > 2009/10/10 ?? > > > >> Marwan Sultan wrote: > >> > >>> > >>> Im planing to move out of my FreeBSD 4.8-R! which served me like a charm > >>> for many years. > >>> But not sure if I should go for 6.3 or 7.2 > >>> This server will be a DNS server, apache, shell accounts..php, mysql.. > >>> > >> > >> IMHO, i think that you should wait until 8.0-R out. > >> > >> Sincerely, > >> > > > > Never ideal to play the waiting game, as there is always something bigger > > and better round the corner. Best to go with something tried and tested. > > > > I will agree with that. And raise that its not a good idea to be part of > the early adopter club for commercial use. > > -- > > ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 > ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 > ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E > _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/171222985/direct/01/ From gesbbb at yahoo.com Sat Oct 10 16:34:25 2009 From: gesbbb at yahoo.com (Jerry) Date: Sat Oct 10 16:34:32 2009 Subject: binutils In-Reply-To: <44hbu7mhao.fsf@lowell-desk.lan> References: <20091010103623.11ed0154@scorpio.seibercom.net> <44hbu7mhao.fsf@lowell-desk.lan> Message-ID: <20091010123423.0b64769f@scorpio.seibercom.net> On Sat, 10 Oct 2009 10:53:35 -0400 Lowell Gilbert (freebsd-questions-local@be-well.ilk.org) replied: >Unfortunately, it's under an unacceptable license. I was not aware of that. What is the problem? Perhaps, if it is not all ready available, the FreeBSD developers can devise some directive to place in the '/etc/make.conf' file that would force the use of the 'port' version instead if it was available in a fashion similar to what is done with OpenSSL; i.e. "WITH_OPENSSL_PORT=yes". Perhaps, "WITH_BINUTILS_PORT=yes". -- Jerry gesbbb@yahoo.com Men never do evil so completely and cheerfully as when they do it from religious conviction. Blaise Pascal, "Pens_es", 1670 From alex at mailinglist.ahhyes.net Sat Oct 10 17:10:55 2009 From: alex at mailinglist.ahhyes.net (Alex R) Date: Sat Oct 10 17:11:01 2009 Subject: binutils In-Reply-To: <44hbu7mhao.fsf@lowell-desk.lan> References: <20091010103623.11ed0154@scorpio.seibercom.net> <44hbu7mhao.fsf@lowell-desk.lan> Message-ID: <4AD0C014.80400@mailinglist.ahhyes.net> Lowell Gilbert wrote: > Unfortunately, it's under an unacceptable license. > > Wow. thats a great way to keep the operating system software up to date, use ancient versions of software to get around a stupid license agreement. What's being done to rectify that issue? From perrin at apotheon.com Sat Oct 10 17:35:01 2009 From: perrin at apotheon.com (Chad Perrin) Date: Sat Oct 10 17:35:17 2009 Subject: / almost out of space just after installation In-Reply-To: <20091009221522.2fbcd123@gumby.homeunix.com> References: <200910091528.n99FS90I025341@lurza.secnetix.de> <20091009221522.2fbcd123@gumby.homeunix.com> Message-ID: <20091010172731.GB4669@guilt.hydra> On Fri, Oct 09, 2009 at 10:15:22PM +0100, RW wrote: > On Fri, 9 Oct 2009 17:28:09 +0200 (CEST) > Oliver Fromme wrote: > > > Randi Harper wrote: > > > / = 1GB > > > /var = 2GB > > > /tmp = 2GB > > > > Depending on the size of installed RAM, /tmp could also > > be a memory disk by default. > > I don't see why it should depend on the amount of RAM, since it would > normally be swap-backed. It should depend on the amount of RAM because putting /tmp in memory takes away from the RAM available to the rest of the system. If your system typically runs processes that consume a lot of RAM (like Firefox, ha ha), your system could bog down a lot during typical use if you use a RAM disk for /tmp without considering how much RAM you have and need to use. By default, I think, /tmp should be on the hard drive -- perhaps with an option when partitioning to set it up to use RAM instead of physical storage. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091010/f85818e1/attachment.pgp From cswiger at mac.com Sat Oct 10 17:35:03 2009 From: cswiger at mac.com (Chuck Swiger) Date: Sat Oct 10 17:35:19 2009 Subject: binutils In-Reply-To: <20091010123423.0b64769f@scorpio.seibercom.net> References: <20091010103623.11ed0154@scorpio.seibercom.net> <44hbu7mhao.fsf@lowell-desk.lan> <20091010123423.0b64769f@scorpio.seibercom.net> Message-ID: On Oct 10, 2009, at 9:34 AM, Jerry wrote: > On Sat, 10 Oct 2009 10:53:35 -0400 > Lowell Gilbert (freebsd-questions-local@be-well.ilk.org) replied: >> Unfortunately, it's under an unacceptable license. > > I was not aware of that. What is the problem? Somewhere around binutils-2.17, it switched to using GPLv3. > Perhaps, if it is not all > ready available, the FreeBSD developers can devise some directive to > place in the '/etc/make.conf' file that would force the use of the > 'port' version instead if it was available in a fashion similar to > what > is done with OpenSSL; i.e. "WITH_OPENSSL_PORT=yes". Perhaps, > "WITH_BINUTILS_PORT=yes". That's not a bad idea, although you can likely export PREFIX=/usr and install the binutils port, and get the desired result. Regards, -- -Chuck From kdk at daleco.biz Sat Oct 10 17:42:13 2009 From: kdk at daleco.biz (Kevin Kinsey) Date: Sat Oct 10 17:42:21 2009 Subject: Tcpwrappers, sendmail, and unknown hosts... Message-ID: <4AD0C4D5.1060308@daleco.biz> Seems like a lot of the spam we fight comes from hosts with no DNS entries. What about using this? ---------------------------------- $grep sendmail /etc/hosts.allow sendmail : KNOWN : allow sendmail : UNKNOWN : deny --------------------------------- Comments? anyone tried it? Kevin Kinsey DaleCo, S.P. From perrin at apotheon.com Sat Oct 10 17:43:39 2009 From: perrin at apotheon.com (Chad Perrin) Date: Sat Oct 10 17:43:46 2009 Subject: / almost out of space just after installation In-Reply-To: References: <200910071110.n97BANiE012861@lurza.secnetix.de> <4acd9c98.Mf06e1KlRm+blPrD%perryh@pluto.rain.com> Message-ID: <20091010173608.GC4669@guilt.hydra> On Thu, Oct 08, 2009 at 11:39:58PM -0700, Randi Harper wrote: > > I was thinking that a more acceptable default layout (leaving swap at it's > current default size) would be: > > / = 1GB > /var = 2GB > /tmp = 2GB > > One thing to remember is that these are just suggested defaults. Most > experienced users are going to use a custom layout when setting up a new > server, so the goal here is to have partition sizes that work for everyone > else. Although FreeBSD does work on older hardware, I'd guess that most of > the hardware it is being installed on now is less than 10 years old. The > defaults we currently have in place are outdated. They are targeted more for > older systems, perhaps because sysinstall hasn't been touched in quite a > while. > > I'm looking for community input on this, so feel free to pipe up with your > $.02. I think that's a great idea. As you pointed out, the defaults should be for most users, who don't really want to have to think about it, don't really want to have to deal with shuffling partitions around, et cetera. If you have an abnormal setup (say, a computer with a 2GB hard drive or one with 8GB of RAM so you want 2GB of RAM dedicated to swap), you should alter your partitioning scheme to suit. Someone mentioned giving the `home` directory its own partition. I think a separate partition for /usr/home, mounted within /usr, is a great idea. It would help substantially with system rebuilds, backups, and using separate drives for `home`, because that's where the majority of the stuff you want to keep between installs will reside. Basically everything else within /usr (with the possible exception of /usr/local/etc) is just what happens when you install and configure your system in the first place. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091010/05744097/attachment.pgp From patfbsd at davenulle.org Sat Oct 10 17:55:22 2009 From: patfbsd at davenulle.org (Patrick Lamaiziere) Date: Sat Oct 10 17:55:35 2009 Subject: postfix/amavids/sa/etc in FreeBSD jail? In-Reply-To: <200910092035.AA2862088496@mail.Go2France.com> References: <200910092035.AA2862088496@mail.Go2France.com> Message-ID: <20091010195520.6336e014@baby-jane.lamaiziere.net> Le Fri, 9 Oct 2009 20:35:20 +0200, "Len Conrad" a ?crit : > is a FreeBSD jail enough of a virtualized OS to run a full filtering > MX config setup exactly as on a native FreeBSD? Yes. Here I use one jail acting as a mail gateway and one for mail delivery. Works like a charm as it should. From gesbbb at yahoo.com Sat Oct 10 17:55:27 2009 From: gesbbb at yahoo.com (Jerry) Date: Sat Oct 10 17:55:37 2009 Subject: binutils In-Reply-To: References: <20091010103623.11ed0154@scorpio.seibercom.net> <44hbu7mhao.fsf@lowell-desk.lan> <20091010123423.0b64769f@scorpio.seibercom.net> Message-ID: <20091010135525.372d713a@scorpio.seibercom.net> On Sat, 10 Oct 2009 10:35:01 -0700 Chuck Swiger (cswiger@mac.com) replied: >On Oct 10, 2009, at 9:34 AM, Jerry wrote: >> On Sat, 10 Oct 2009 10:53:35 -0400 >> Lowell Gilbert (freebsd-questions-local@be-well.ilk.org) replied: >>> Unfortunately, it's under an unacceptable license. >> >> I was not aware of that. What is the problem? > >Somewhere around binutils-2.17, it switched to using GPLv3. > >> Perhaps, if it is not all >> ready available, the FreeBSD developers can devise some directive to >> place in the '/etc/make.conf' file that would force the use of the >> 'port' version instead if it was available in a fashion similar to >> what >> is done with OpenSSL; i.e. "WITH_OPENSSL_PORT=yes". Perhaps, >> "WITH_BINUTILS_PORT=yes". > >That's not a bad idea, although you can likely export PREFIX=/usr and >install the binutils port, and get the desired result. The only problem with that is that it would get over written when updating 'world'. I am not sure if a user could exclude binutils from being installed when building world. Nor, am I certain that it would not cause a problem somewhere down the line. I don't like messing with system files. In any case, the FreeBSD developers are going to eventually develop a working relationship with software written using the GPLv3 license. -- Jerry gesbbb@yahoo.com A widow is more sought after than an old maid of the same age. Addison From wtf.jlaine at gmail.com Sat Oct 10 17:56:23 2009 From: wtf.jlaine at gmail.com (Jeff Laine) Date: Sat Oct 10 17:56:31 2009 Subject: Tcpwrappers, sendmail, and unknown hosts... In-Reply-To: <4AD0C4D5.1060308@daleco.biz> References: <4AD0C4D5.1060308@daleco.biz> Message-ID: <20091010175617.GA84102@free.bsd.loc> On Sat,10-10-2009 [12:31:01], Kevin Kinsey wrote: > Seems like a lot of the spam we fight comes from > hosts with no DNS entries. What about using this? > > ---------------------------------- > > $grep sendmail /etc/hosts.allow > > sendmail : KNOWN : allow > sendmail : UNKNOWN : deny > > --------------------------------- > > Comments? anyone tried it? > Hi Kevin! What you need is 'require_rdns' feature. Also from my own expirience, dnsbl feature of Sendmail works great for spammers scum. -- Best regards, Jeff | "Nobody wants to say how this works. | | Maybe nobody knows ..." | | Xorg.conf(5) | From freebsd at edvax.de Sat Oct 10 18:04:21 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Oct 10 18:05:14 2009 Subject: / almost out of space just after installation In-Reply-To: <20091010173608.GC4669@guilt.hydra> References: <200910071110.n97BANiE012861@lurza.secnetix.de> <4acd9c98.Mf06e1KlRm+blPrD%perryh@pluto.rain.com> <20091010173608.GC4669@guilt.hydra> Message-ID: <20091010200418.8e880250.freebsd@edvax.de> On Sat, 10 Oct 2009 11:36:08 -0600, Chad Perrin wrote: > Someone mentioned giving the `home` directory its own partition. I think > a separate partition for /usr/home, mounted within /usr, is a great idea. > It would help substantially with system rebuilds, backups, and using > separate drives for `home`, because that's where the majority of the > stuff you want to keep between installs will reside. Basically > everything else within /usr (with the possible exception of > /usr/local/etc) is just what happens when you install and configure your > system in the first place. If you can estimate disk requirements good enough, or simply have huge hard disks that can compensate any requirements, there's no problem giving /home a separate partition. There's no need to put the mountpoint into /usr, because /home could "physically" exist; in the "home in usr" setting, /home is just a symlink to /usr/home. Personally, I often put /home on a separate partition, simply because of comfortability. If I can't say enough about how /usr and /home will grow, I go with the default approach. I sometimes even use the "one big /" setting. One advantage of /home as a separate partition is that you can easily use dump to create a backup - you simply backup the whole partition. You could have a directory, let's say /home/settings, where you keep duplicates of /etc, /usr/local/etc and other files that contain settings you consider worth being backed up. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sat Oct 10 18:05:57 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Oct 10 18:06:06 2009 Subject: binutils In-Reply-To: <20091010135525.372d713a@scorpio.seibercom.net> References: <20091010103623.11ed0154@scorpio.seibercom.net> <44hbu7mhao.fsf@lowell-desk.lan> <20091010123423.0b64769f@scorpio.seibercom.net> <20091010135525.372d713a@scorpio.seibercom.net> Message-ID: <20091010200554.30d34cc8.freebsd@edvax.de> On Sat, 10 Oct 2009 13:55:25 -0400, Jerry wrote: > The only problem with that is that it would get over written when > updating 'world'. I am not sure if a user could exclude binutils from > being installed when building world. Maybe further problems arise when using freebsd-update which relies on several default settings (e. g. GENERIC kernel)... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From hulibyaka at gmail.com Sat Oct 10 18:55:18 2009 From: hulibyaka at gmail.com (hulibyaka hulibyaka) Date: Sat Oct 10 18:55:24 2009 Subject: release listing available for freebsd-update(8) Message-ID: Whether there is a method of reception of the list of the releases accessible to updating through freebsd-update(8)? For example, if open http://update5.freebsd.org catalogs "to-N.M-RELEASE\*" are visible - where it is possible to be updated. But it well thanking for Indexes options on the WEB server - for an example http://update1.freebsd.org/ will not allow to see anything. It would be fine to deduce the list of accessible releases by freebsd-update (8) From mahlerrd at yahoo.com Sat Oct 10 19:28:09 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sat Oct 10 19:28:16 2009 Subject: / almost out of space just after installation In-Reply-To: <20091010200418.8e880250.freebsd@edvax.de> Message-ID: <877212.65138.qm@web51003.mail.re2.yahoo.com> --- On Sat, 10/10/09, Polytropon wrote: > From: Polytropon > Subject: Re: / almost out of space just after installation > To: "Chad Perrin" > Cc: freebsd-questions@freebsd.org > Date: Saturday, October 10, 2009, 2:04 PM > On Sat, 10 Oct 2009 11:36:08 -0600, > Chad Perrin > wrote: > > Someone mentioned giving the `home` directory its own > partition.? I think > > a separate partition for /usr/home, mounted within > /usr, is a great idea. > > It would help substantially with system rebuilds, > backups, and using > > separate drives for `home`, because that's where the > majority of the > > stuff you want to keep between installs will > reside.? Basically > > everything else within /usr (with the possible > exception of > > /usr/local/etc) is just what happens when you install > and configure your > > system in the first place. > > If you can estimate disk requirements good enough, or > simply > have huge hard disks that can compensate any requirements, > there's > no problem giving /home a separate partition. There's no > need > to put the mountpoint into /usr, because /home could > "physically" > exist; in the "home in usr" setting, /home is just a > symlink to > /usr/home. > > Personally, I often put /home on a separate partition, > simply > because of comfortability. If I can't say enough about how > /usr > and /home will grow, I go with the default approach. I > sometimes > even use the "one big /" setting. > > One advantage of /home as a separate partition is that you > can > easily use dump to create a backup - you simply backup the > whole > partition. You could have a directory, let's say > /home/settings, > where you keep duplicates of /etc, /usr/local/etc and other > files > that contain settings you consider worth being backed up. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... I agree completely. I also go a step farther and put most other things that I consider user data in there. Like Subversion repositories and non-user-specific Samba shares (E.g. "public" type shares). I do not generally want /tmp on memory, though. While it can be fun and quite a festive thing, I have far too many systems too limited in RAM to want to do this (my current "production" system at home is 512 MB of RAM, my "play" box is 256 MB). The only time I can really think I'd want /tmp to be in RAM is if I already had too much RAM for the needs of the box - otherwise, just give me the RAM... While I'm reasonably happy rolling my own FS sizes, I would be even happier if I didn't have to. As long as we're doing the wish list, I'd guess for this (all numbers significantly flexible): Drive < 16 GB = keep current layout? Drive > 16 and < 40 GB = / = 1 GB swap = 1.5x RAM /tmp = 2 GB /var = 2 GB /usr = remaining space Drive > 40 GB = / = 1 GB swap = 1.5x RAM /tmp = 2 GB /var = 2 GB /usr = 1/2 of remaining space, min 20 GB, max 35 GB /home = everything else. And, as long as this is a wish list, how about... 1) When I create, I would love to not to *always* have to backspace over like 17 digits every time to type something short like "16G". Can we just make it operate in MB or something instead of blocks? Does anyone need smaller than 1 MB divisions now? 1.1) If it would take a decimal point, I'd be fine with GB, for that matter. (For compatibility, allow either , or . as decimal.) 1.2) Or if there was just a quick key to delete all 14 digits of "number of blocks left" at once. 2) When I 'auto' size, I end up deleting most except / and swap partition and remaking (it is just habit I 'a'uto before I think, and no harm in it) except the last few times I've done it, as I deleted all the other partitions, / kept expanding from the default (512 MB?) until it was 1.5 GB. So I had to deleted them ALL and start over. Bug or Feature? 3) Ability to resize any partition directly, if there's empty space left. So if I have 30 GB of my 400 GB drive already decided upon, and I decide that I want /var to be 5 GB instead of 2 GB, I would love to be able to just highlight it and press some key to "Resize" and it would just move the rest of them up to fit. Of course, Just because this is a bike shed doesn't mean I will get upset if any or even all of this is too much to implement and doesn't make it in any revision of sysinstall. It's just a wish list. In fact, I may pull open the code myself... though I've heard it's pretty nasty... -Rich From gosha-necr at yandex.ru Sat Oct 10 19:31:28 2009 From: gosha-necr at yandex.ru (gosha-necr) Date: Sat Oct 10 19:31:37 2009 Subject: Please help me win Ipod nano :) Message-ID: <30001255203086@webmail42.yandex.ru> Hello friends! I want to ask you for help in winning ipod nano, if you register on biggest social network here: http://vkontakte.ru/reg632660 i'm can win :) Thank you! :) From jerrymc at msu.edu Sat Oct 10 19:40:36 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Sat Oct 10 19:40:42 2009 Subject: best FBSD version for commercial use. In-Reply-To: <560f92640910091944k66f8c595rcbdb296e0dbfc078@mail.gmail.com> References: <4ACFDD57.6000401@izb.knu.ac.kr> <560f92640910091944k66f8c595rcbdb296e0dbfc078@mail.gmail.com> Message-ID: <20091010194000.GA17212@gizmo.acns.msu.edu> On Fri, Oct 09, 2009 at 07:44:04PM -0700, Nerius Landys wrote: > My 2 cents, as far as I know 7.1 will be maintained longer than 7.2 > according to the freebsd.org website. That is, security fixes will be > rolled out for 7.1 a while after 7.2 reaches End Of Life. That made > me decide to go with 7.1 when I had to make the switch from 7.0 a few > months ago. 8.0 was not out at that time. I don't think that is correct. There must be something unclear there. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From freebsd at edvax.de Sat Oct 10 20:00:57 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Oct 10 20:01:04 2009 Subject: / almost out of space just after installation In-Reply-To: <877212.65138.qm@web51003.mail.re2.yahoo.com> References: <20091010200418.8e880250.freebsd@edvax.de> <877212.65138.qm@web51003.mail.re2.yahoo.com> Message-ID: <20091010220053.f0d8b373.freebsd@edvax.de> On Sat, 10 Oct 2009 12:28:08 -0700 (PDT), Richard Mahlerwein wrote: > I agree completely. I also go a step farther and put most other > things that I consider user data in there. Like Subversion > repositories and non-user-specific Samba shares (E.g. "public" > type shares). Historically, there was /export in Solaris. The home directory was /export/home, because it was usually distributed via NFS to other machines. Things that were shared, but not primarily under- stood as "user data", went there, too, such as repositories, file collections and exported storages - files that have not been "connected" to a specific user. > While I'm reasonably happy rolling my own FS sizes, I would be > even happier if I didn't have to. In ZFS, you don't have to. :-) According to your suggestion: > Drive > 16 and < 40 GB = > / = 1 GB > swap = 1.5x RAM I know that there was the idea of saying "swap = 2 x the maximum of RAM you could put into the box", but is this approach still valid today? > Drive > 40 GB = > /var = 2 GB There could be a different requirement, especially when someone wants to run a) an anonymous FTP server (/var/ftp subtree) b) database operations (/var/db subtree) and have the /var sizes grow very fast. Of course, there's no problem putting databases and FTP stuff somewhere under /home (which is in /usr in your example). > And, as long as this is a wish list, how about... > > 1) When I create, I would love to not to *always* have to > backspace over like 17 digits every time to type something > short like "16G". Can we just make it operate in MB or > something instead of blocks? There is an easier approach, I'd call it "overwrite with first keystroke". This is common for many dialog libraries, such as in Midnight Commander. For example, the content of the input field is 33554432 and the cursor is at the last position; if I press "1", the content is then 1 so I can easily continue entering "g" and have 1g with 2 keystrokes. The backspace and navigation keys should work as they do now. Maybe Meta-Backspace (Esc, then Backspace) would be available to erase the whole content of the input field as you suggested in 1.2. Maybe this is a nice item for a dialog wishlist for sysinstall. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From amsibamsi at gmail.com Sat Oct 10 20:08:41 2009 From: amsibamsi at gmail.com (Anselm Strauss) Date: Sat Oct 10 20:08:49 2009 Subject: gpart mbr scheme Message-ID: <744E86AA-8024-4A1D-903A-11B6177B4D95@gmail.com> Hi, I'm trying to partition a compact flash card with gpart. When I want to create a new MBR scheme it always complains: -> gpart create -s mbr da0 gpart: scheme 'mbr': Invalid argument The GPT scheme works fine: -> gpart create -s gpt da0 da0 created -> gpart show da0 => 34 8027645 da0 GPT (3.8G) 34 8027645 - free - (3.8G) -> gpart destroy da0 da0 destroyed The kernel driver seems to be loaded: -> kldstat -v | grep mbr 278 g_mbr 277 g_mbrext Does gpart in 7.2 not support MBR partitioning? Cheers, Anselm From nlandys at gmail.com Sat Oct 10 20:23:54 2009 From: nlandys at gmail.com (Nerius Landys) Date: Sat Oct 10 20:24:01 2009 Subject: best FBSD version for commercial use. In-Reply-To: <20091010194000.GA17212@gizmo.acns.msu.edu> References: <4ACFDD57.6000401@izb.knu.ac.kr> <560f92640910091944k66f8c595rcbdb296e0dbfc078@mail.gmail.com> <20091010194000.GA17212@gizmo.acns.msu.edu> Message-ID: <560f92640910101323v36aa49aat5b88f6542bd8e169@mail.gmail.com> >> My 2 cents, as far as I know 7.1 will be maintained longer than 7.2 >> according to the freebsd.org website. ?That is, security fixes will be >> rolled out for 7.1 a while after 7.2 reaches End Of Life. ?That made >> me decide to go with 7.1 when I had to make the switch from 7.0 a few >> months ago. ?8.0 was not out at that time. > > I don't think that is correct. ?There must be something unclear there. http://security.freebsd.org/ Near the bottom of the page mentioned above, there is a table. RELENG_7_1 EoL is January 31, 2011, RELENG_7_2 EoL is May 31, 2010 according to the chart. That is a difference of 8 months. From keramida at freebsd.org Sat Oct 10 20:39:09 2009 From: keramida at freebsd.org (Giorgos Keramidas) Date: Sat Oct 10 20:39:16 2009 Subject: best FBSD version for commercial use. In-Reply-To: <20091009214032.2cecf345.freebsd@edvax.de> (Polytropon's message of "Fri, 9 Oct 2009 21:40:32 +0200") References: <13EB5F63-E8D2-47EA-8E56-F052B697EBB8@olivent.com> <20091009214032.2cecf345.freebsd@edvax.de> Message-ID: <87skdr6l27.fsf@kobe.laptop> On Fri, 9 Oct 2009 21:40:32 +0200, Polytropon wrote: > But allow me a follow-up question: Is 8.0-RC1 already recommendable > for a home desktop, or would 7.2 be the version of choice? I'm asking > this because of the many improvements especially the USB subsystem has > gotten in 8 which would be important for the "plug and play > experience" for USB devices... There are a few rough edges that you may or may not hit by testing the pre-release RC versions. They are mostly related to recent work in networking code, USB disk detection at boot time and a couple of other annoyances. So if you can help with the testing of these pre-release snapshots it may be worth to prepare for at least *some* problems with the latest 8.X-STABLE code. Having said that, the release engineering team is actively working to get these issues resolved. The FreeBSD Wiki shows a list of things that the RE team know as `being fixed and still being researched' at: http://wiki.freebsd.org/8.0TODO/#head-4fd8d27523492bffb9c0064bf41575c6db8fd194 Having said that, it is worth noting that if you can _help_ by running one of the RC versions and reporting back to us, you are more than welcome. The more testing the RC versions get, the greater number of pre-release issues we will discover and fix _before_ the final images are cut. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091010/fedebbbd/attachment.pgp From keramida at ceid.upatras.gr Sat Oct 10 20:41:31 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sat Oct 10 20:41:38 2009 Subject: best FBSD version for commercial use. In-Reply-To: <35f70db10910091408x38271c39t80d669a5c61f6898@mail.gmail.com> (Ross Cameron's message of "Fri, 9 Oct 2009 23:08:42 +0200") References: <35f70db10910091408x38271c39t80d669a5c61f6898@mail.gmail.com> Message-ID: <87ocof6ky1.fsf@kobe.laptop> On Fri, 9 Oct 2009 23:08:42 +0200, Ross Cameron wrote: >On Fri, Oct 9, 2009 at 8:28 PM, Marwan Sultan wrote: >> Hello Gurus, >> Im planing to move out of my FreeBSD 4.8-R! which served me like a >> charm for many years. >> >> But not sure if I should go for 6.3 or 7.2 >> >> This server will be a DNS server, apache, shell accounts..php, mysql. > > I would definitely go with a 7.2 install (until 8.0 is marked as > production ready by the fBSD dev team). Excellent advice :-) To the original poster: The place to look for information about supported releases, the latest release versions, planned release life-time and support cycles, etc. is the FreeBSD web site. If you haven't already found the relevant pages, please visit http://www.freebsd.org/releases/ and have a look around. From cswiger at mac.com Sat Oct 10 20:45:22 2009 From: cswiger at mac.com (Chuck Swiger) Date: Sat Oct 10 20:45:30 2009 Subject: binutils In-Reply-To: <20091010135525.372d713a@scorpio.seibercom.net> References: <20091010103623.11ed0154@scorpio.seibercom.net> <44hbu7mhao.fsf@lowell-desk.lan> <20091010123423.0b64769f@scorpio.seibercom.net> <20091010135525.372d713a@scorpio.seibercom.net> Message-ID: <966D092E-E74C-4305-AED3-0052BD136258@mac.com> On Oct 10, 2009, at 10:55 AM, Jerry wrote: >> That's not a bad idea, although you can likely export PREFIX=/usr and >> install the binutils port, and get the desired result. > > The only problem with that is that it would get over written when > updating 'world'. I am not sure if a user could exclude binutils from > being installed when building world. Nor, am I certain that it would > not cause a problem somewhere down the line. I don't like messing with > system files. While you bring up a perfectly valid concern, if you want to avoid interfering with the base system version, the default behavior of ports ought to be to install both binutils and a gcc which uses that under /usr/local. You might also look into the -B flag to gcc. > In any case, the FreeBSD developers are going to eventually develop a > working relationship with software written using the GPLv3 license. Faced with the decision between adopting GPLv3 code or writing a BSD- licensed replacement such as Tim Kientzle did with bsdtar, well, the project is actively pursuing the latter option. GPLv2 and CDDL code can and has been included with the baseline system for a few cases where the exceptional utility of that software (such as ZFS, DTrace, and the GNU compiler toolchain) justifies doing so, but if you check the list archives, producing a BSD-licensed operating system is described as an important goal of the project. It sounds like you are currently free to run and use GPLv3 code for what you are doing, and you are welcome to do so-- either by rolling your own or by taking advantage of ports to set things up the way you want. Keeping GPLv3 code in ports allows you to make that decision without affecting other users of FreeBSD which cannot use GPLv3 code in their situation. I hope that this addresses your concerns, and that you do obtain the SSE3-aware compiler toolchain you are (or whoever the OP was :-) looking for.... Regards, -- -Chuck From bruce at cran.org.uk Sat Oct 10 21:23:35 2009 From: bruce at cran.org.uk (Bruce Cran) Date: Sat Oct 10 21:24:08 2009 Subject: / almost out of space just after installation In-Reply-To: <20091010220053.f0d8b373.freebsd@edvax.de> References: <20091010200418.8e880250.freebsd@edvax.de> <877212.65138.qm@web51003.mail.re2.yahoo.com> <20091010220053.f0d8b373.freebsd@edvax.de> Message-ID: <20091010222329.0000274b@unknown> On Sat, 10 Oct 2009 22:00:53 +0200 Polytropon wrote: > On Sat, 10 Oct 2009 12:28:08 -0700 (PDT), Richard Mahlerwein > wrote: > > I agree completely. I also go a step farther and put most other > > things that I consider user data in there. Like Subversion > > repositories and non-user-specific Samba shares (E.g. "public" > > type shares). > > Historically, there was /export in Solaris. The home directory > was /export/home, because it was usually distributed via NFS to > other machines. Things that were shared, but not primarily under- > stood as "user data", went there, too, such as repositories, > file collections and exported storages - files that have not > been "connected" to a specific user. > > > > > While I'm reasonably happy rolling my own FS sizes, I would be > > even happier if I didn't have to. > > In ZFS, you don't have to. :-) > > > > According to your suggestion: > > > Drive > 16 and < 40 GB = > > / = 1 GB > > swap = 1.5x RAM > > I know that there was the idea of saying "swap = 2 x the maximum > of RAM you could put into the box", but is this approach still > valid today? Having just built a desktop PC which can fit 24GB RAM (but has 6GB installed currently), I don't think having 48GB swap really makes any sense. With minidumps you don't even need swap=1x RAM any more, so I've started allocating up to 4GB swap in my machines, which should still provide enough warning of a runaway process. -- Bruce From rwmaillists at googlemail.com Sat Oct 10 22:00:28 2009 From: rwmaillists at googlemail.com (RW) Date: Sat Oct 10 22:00:36 2009 Subject: / almost out of space just after installation In-Reply-To: <20091010172731.GB4669@guilt.hydra> References: <200910091528.n99FS90I025341@lurza.secnetix.de> <20091009221522.2fbcd123@gumby.homeunix.com> <20091010172731.GB4669@guilt.hydra> Message-ID: <20091010230018.435dc8f2@gumby.homeunix.com> On Sat, 10 Oct 2009 11:27:31 -0600 Chad Perrin wrote: > On Fri, Oct 09, 2009 at 10:15:22PM +0100, RW wrote: > > On Fri, 9 Oct 2009 17:28:09 +0200 (CEST) > > Oliver Fromme wrote: > > > Depending on the size of installed RAM, /tmp could also > > > be a memory disk by default. > > > > I don't see why it should depend on the amount of RAM, since it > > would normally be swap-backed. > > It should depend on the amount of RAM because putting /tmp in memory > takes away from the RAM available to the rest of the system. If your > system typically runs processes that consume a lot of RAM (like > Firefox, ha ha), your system could bog down a lot during typical use > if you use a RAM disk for /tmp without considering how much RAM you > have and need to use. By default, I think, /tmp should be on the > hard drive -- perhaps with an option when partitioning to set it up > to use RAM instead of physical storage. But it's not really a true RAM disk unless you use specify a malloc backed md device - which you should never do because it keeps the /tmp data in RAM unconditionally. tmpfs and swap-backed md devices normally used for /tmp are similar to conventional partitions in that they are disk-based storage cached in RAM. The difference is that because swap is ephemeral there's no need to commit updates to the backing store except for memory management reasons. Most people's /tmp requirements are pretty modest compared to modern swap and RAM sizes, but my /tmp device is ~3 times RAM size and it doesn't seem to create problems when I fill it. From mahlerrd at yahoo.com Sat Oct 10 23:12:21 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sat Oct 10 23:12:29 2009 Subject: / almost out of space just after installation Message-ID: <681720.47074.qm@web51010.mail.re2.yahoo.com> > From: Polytropon > Subject: Re: / almost out of space just after installation > Date: Saturday, October 10, 2009, 4:00 PM > On Sat, 10 Oct 2009 12:28:08 -0700 > (PDT), Richard Mahlerwein > wrote: > According to your suggestion: > > > Drive > 16 and < 40 GB = > > / = 1 GB > > swap = 1.5x RAM > > I know that there was the idea of saying "swap = 2 x the maximum > of RAM you could put into the box", but is this approach still > valid today? Unknown, but since most servers support more RAM than you are likely to put in them*, I think it would make more sense to set swap to 2x the largest _likely_ amount of RAM (assuming the 2x rule IS good in a general sense).? I seem to recall the reason for the 2x was a combination of reasons, but it seemed the most important internally was because the memory management routines in place when the rule was created were built to be most effective at that particular ratio.? This was many, many years ago, and heaven knows I could be totally wrong ... so some research may be warranted. *The HP DL380 G6s we've been buying now support something like 128 GB. > > Drive > 40 GB = > > /var = 2 GB > > There could be a different requirement, especially when > someone wants to run > ??? a) an anonymous FTP server (/var/ftp subtree) > ??? b) database operations (/var/db subtree) > and have the /var sizes grow very fast. Of course, there's no > problem putting databases and FTP stuff somewhere under > /home (which is in /usr in your example). Excellent point.? I was trying to stay away from usage patterns, though, and just stick with predetermined items like "how much space do I have available?".? Once you get past that, you have an order of magnitude more things to consider, IMO.? I think the most commonly increased partition would be /var.? Again, I think something reasonably simple like being able to delete the last partition (we'll assume /home at the moment), then just "resize" /var to be bigger, let all the intermediary partitions slide "up" and then recreating /home to be whats left now would be simple and may work to handle these cases more cleanly. > > And, as long as this is a wish list, how about... > > > > 1) When I create, I would love to not to *always* have to > > backspace over like 17 digits every time to type something > > short like "16G".? Can we just make it operate in MB or > > something instead of blocks? > > There is an easier approach, I'd call it "overwrite with first > keystroke". This is common for many dialog libraries, such as > in Midnight Commander. That would be stellar.? I hadn't even realized it but so many things (in all *sorts* of places!) use that method.? A quick glance at the code that seems to be responsible for the keystroke handling (/usr/src/gnu/lib/libdialog/lineedit.c) seems to indicate it's fairly stateless - it doesn't seem to know things like if the dialog still has the oroginal input values in it or if you've already typed something.? Also, changes here may affect all sorts of things (since it's as far from /usr/src/usr.sbin/sysinstall/ as you can get, tree-wise). > Maybe Meta-Backspace (Esc, then Backspace) would > be available to erase the whole content of the input field > as you suggested in 1.2. This would be fairly easy to implement, I think.? Unfortunately, I would feel horrible for implementing something like this when there's so many serious bugs in sysinstall. http://www.freebsd.org/cgi/query-pr-summary.cgi?text=sysinstall I wonder if the delete key, when pressed at the end of the input, would do?? Seems like a magic key, but on the other hand, it also seems pretty innocuous.? I'm still thinking that using MB or GB as the default might be easier. > Maybe this is a nice item for a dialog wishlist for > sysinstall. :-) I couldn't agree more.? Does anyone really know what the plans for either sysinstall or a replacement is?? There's a ton of bugs in it... > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... From freebsd at hub.org Sun Oct 11 00:03:57 2009 From: freebsd at hub.org (Marc G. Fournier) Date: Sun Oct 11 00:04:04 2009 Subject: No buffer space available In-Reply-To: <5812F952CA324A89DC899AD9@ganymede.hub.org> References: <65091.200.191.164.248.1175458028.squirrel@www.lamce.coppe.ufrj.br> <5812F952CA324A89DC899AD9@ganymede.hub.org> Message-ID: <8C636E624D5DA8E80F6E4514@ganymede.hub.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thiago ... What version of kernel did you end up going back to? - --On Wednesday, April 04, 2007 10:15:48 -0300 "Marc G. Fournier" wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > I'm seeing the same effect (haven't tried older kernel, mind you) almost like > clockwork, every 72 hours after reboot ... at least now I don't feel so > crazy, knowing it isn't just me ... > > - --On Sunday, April 01, 2007 17:07:08 -0300 Thiago Esteves de Oliveira > wrote: > >> I've tried to increase the kern.ipc.nmbclusters value but it worked only when >> I changed the kernel to an older one. >> >> netstat -m (Now it's working with the same values.) >> - >> 515/850/1365 mbufs in use (current/cache/total) >> 512/390/902/65024 mbuf clusters in use (current/cache/total/max) >> 512/243 mbuf+clusters out of packet secondary zone in use (current/cache) >> 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) >> 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) >> 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) >> 1152K/992K/2145K bytes allocated to network (current/cache/total) >> 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) >> 0/0/0 requests for jumbo clusters denied (4k/9k/16k) >> 0/0/0 sfbufs in use (current/peak/max) >> 0 requests for sfbufs denied >> 0 requests for sfbufs delayed >> 2759 requests for I/O initiated by sendfile >> 2982 calls to protocol drain routines >> >> Ethernet adapters >> - >> em0: port >> 0xec80-0xecbf m em 0xfebe0000-0xfebfffff irq 10 at device 4.0 on pci7 >> em0: Ethernet address: 00:04:23:c3:06:78 >> em0: [FAST] >> skc0: <3Com 3C940 Gigabit Ethernet> port 0xe800-0xe8ff mem >> 0xfebd8000-0xfebdbfff irq 15 at device 6.0 on pci7 >> skc0: 3Com Gigabit NIC (3C2000) rev. (0x1) >> sk0: on skc0 >> sk0: Ethernet address: 00:0a:5e:65:ad:c3 >> miibus0: on sk0 >> e1000phy0: on miibus0 >> e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, >> auto >> >> P.S.: I am using the FreeBSD/amd64. >> >> Brian A. Seklecki wrote: >>> Show us netstat -m on the broken kernel? Show us your dmesg(8) for >>> em(4). >>> >>> TIA, >>> ~BAS >>> >>> On Fri, 2007-03-30 at 11:13 -0300, Thiago Esteves de Oliveira wrote: >>>> Hello, >>>> >>>> I've had a problem with one of my FreeBSD servers, the machine has stopped >>>> its network services and then sent these messages: >>>> >>>> -Mar 27 13:00:03 anubis dhcpd: send_packet: No buffer space available >>>> -Mar 27 13:00:26 anubis routed[431]: Send bcast sendto(em0, >>>> 146.164.92.255.520): No buffer space available >>>> >>>> The messages were repeated a lot of times before a temporary solution. I've >>>> changed the kernel(FreeBSD 6.2) to an older one(FreeBSD 6.1) and since then >>>> it's been working well. What happened? >>>> >>>> P.S.: I can give more informations if necessary. >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to >>>> "freebsd-questions-unsubscribe@freebsd.org" >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > - ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email . scrappy@hub.org MSN . scrappy@hub.org > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (FreeBSD) > > iD8DBQFGE6UE4QvfyHIvDvMRAlutAJ0WzVTYq99hmx1km2mdXE7pdUC8IgCgt4O1 > eG6kXgqHveumXjkL0t+Q8Q8= > =sieE > -----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-unsubscribe@freebsd.org" - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGE/ZC4QvfyHIvDvMRAsWoAJwJpD8nCtG0iv5U6LY8ISyyDKxgegCg1eti SezStun7CLDA9pgfrp8GloM= =UwSU -----END PGP SIGNATURE----- _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From kline at thought.org Sun Oct 11 00:23:13 2009 From: kline at thought.org (Gary Kline) Date: Sun Oct 11 00:23:21 2009 Subject: text2html ? In-Reply-To: <031c01ca494c$081b7600$18526200$@rr.com> References: <20091009231954.GA26918@teddy.fas.com> <031c01ca494c$081b7600$18526200$@rr.com> Message-ID: <20091011002306.GB73561@thought.org> On Fri, Oct 09, 2009 at 08:50:22PM -0500, Paul Schmehl wrote: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of stan > Sent: Friday, October 09, 2009 6:20 PM > To: Free BSD Questions list > Subject: text2html ? > > I had a contractor uppgrade a freebsd machine a while back. Now I am > finding things that did not get done corectly. > > The latest is that I have some other machines that create text files copy > them over to this machine, and put them iin the webservers space. Looks > like in the past, these files were procesed by /usr/local/bin/text2html, > which O would almost certainly have installed from a port. > > But, I cannot seem to find this port. > > Can anyone sugest either where I can find this utlity, or what I might use > as an alternative? The text files to process are very simple reports of > system statistics. > > Thanks for any ideas. My ascii-to-markup [atom] was ported a few months ago. It was ported as v1.0 but I have been working on it since 1994. It maybe overkill, but maybe not... . hth, gary > > > pauls@utd65257# cd /usr/ports/ > pauls@utd65257# make search name=text2html > pauls@utd65257# make search name=txt2html > Port: txt2html-2.51 > Path: /usr/ports/textproc/txt2html > Info: Convert raw text to something with a little HTML formatting > Maint: jadawin@FreeBSD.org > B-deps: p5-ExtUtils-CBuilder-0.24 p5-ExtUtils-ParseXS-2.19 > p5-Getopt-ArgvFile-1.11 p5-Module-Build-0.30 p5-YAML-0.68 p5-YAML-Syck-1.05 > perl-5.8.9 > R-deps: p5-ExtUtils-CBuilder-0.24 p5-ExtUtils-ParseXS-2.19 > p5-Getopt-ArgvFile-1.11 p5-Module-Build-0.30 p5-YAML-0.68 p5-YAML-Syck-1.05 > perl-5.8.9 > WWW: http://txt2html.sourceforge.net/ > > > Paul Schmehl (pschmehl_lists@tx.rr.com) > In case it isn't already obvious, my opinions > are my own and not those of my employer > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From rwmaillists at googlemail.com Sun Oct 11 00:44:02 2009 From: rwmaillists at googlemail.com (RW) Date: Sun Oct 11 00:44:08 2009 Subject: / almost out of space just after installation In-Reply-To: <877212.65138.qm@web51003.mail.re2.yahoo.com> References: <20091010200418.8e880250.freebsd@edvax.de> <877212.65138.qm@web51003.mail.re2.yahoo.com> Message-ID: <20091011014346.344c37f8@gumby.homeunix.com> On Sat, 10 Oct 2009 12:28:08 -0700 (PDT) Richard Mahlerwein wrote: > The only time I can > really think I'd want /tmp to be in RAM is if I already had too much > RAM for the needs of the box - otherwise, just give me the RAM... But it wouldn't actually be a ram disk, that's just just a misnomer that people, who ought to know better, are throwing around. It would probably be tmpfs. > While I'm reasonably happy rolling my own FS sizes, I would be even > happier if I didn't have to. As long as we're doing the wish list, > I'd guess for this (all numbers significantly flexible): > > Drive < 16 GB = keep current layout? > > Drive > 16 and < 40 GB = > / = 1 GB > swap = 1.5x RAM > /tmp = 2 GB > /var = 2 GB > /usr = remaining space 2 GB each for /var and /tmp is far too high for such small disks, I wouldn't want to squander 4GB like that much below a TB. It's a figure that's hardly ever going to be "about right" either for /tmp or /var, when it isn't far too big, it's likely to be too small. > Drive > 40 GB = > / = 1 GB > swap = 1.5x RAM > /tmp = 2 GB > /var = 2 GB > /usr = 1/2 of remaining space, min 20 GB, max 35 GB > /home = everything else. Having a home directory separate from /usr is often a good idea, but making it part of the default install is a really bad idea IMO. A desktop user with a largish disk may want 98% of it under /home, a server may need next to nothing under /home. The amount needed for /usr also varies enormously. It's so hard to come-up with sensible values that the only sensible thing to do is leave them on the same partition by default. It's not exactly rocket science to add your own /home partition. From kdk at daleco.biz Sun Oct 11 01:06:10 2009 From: kdk at daleco.biz (Kevin Kinsey) Date: Sun Oct 11 01:06:17 2009 Subject: Tcpwrappers, sendmail, and unknown hosts... In-Reply-To: <20091010175617.GA84102@free.bsd.loc> References: <4AD0C4D5.1060308@daleco.biz> <20091010175617.GA84102@free.bsd.loc> Message-ID: <4AD12A4D.5010008@daleco.biz> Jeff Laine wrote: > On Sat,10-10-2009 [12:31:01], Kevin Kinsey wrote: >> Seems like a lot of the spam we fight comes from >> hosts with no DNS entries. What about using this? >> >> ---------------------------------- >> $grep sendmail /etc/hosts.allow >> >> sendmail : KNOWN : allow >> sendmail : UNKNOWN : deny >> --------------------------------- >> >> Comments? anyone tried it? >> > > Hi Kevin! > > What you need is 'require_rdns' feature. > Also from my own expirience, dnsbl feature of > Sendmail works great for spammers scum. TYTY! Bang-Smack-Out of the park. Lemme know where I can send {$beverage}. Mail queue (Sendmail dual + amavid-new + spamassassin) is down from 100+ to < 10 after adding that to .mc and rebooting. Thanks a bunch :-) Kevin Kinsey DaleCo, S.P. From northsidesoxfan at comcast.net Sun Oct 11 02:06:50 2009 From: northsidesoxfan at comcast.net (Bryan Cassidy) Date: Sun Oct 11 02:06:56 2009 Subject: ASUS M4A78T-E Motherboard Message-ID: <20091011015149.GA48407@comcast.net.> Hi, I am in the process of building a new PC and I am building this machine (one of three... second will be OpenBSD Firewall for FreeBSD and a third one for Windows.. you know games and all that stuff) and I am wondering if I will have any problems with this motherboard amd its chipset. North Bridge is AMD 790GX and South Bridge is AMD SB750. it comes with a VIA VT1708S onboard soundcard and the handbook states the VIA VT1708 is supported so I am hoping it is the case with this one. Second, ATI Radeon HD 3300 onboard video. I keep coming up with info that states it is suppported and last is the Atheros L1E onboard LAN card. I will give you a rundown of what I want to do and maybe I can get some advice on hardware and how I approach this. I mainly use FreeBSD for my daily machine because I just enjoy using FreeBSD and it is just what I need for a day to day use. I have a 23" LCD right now hookup via VGA on my laptop and when the machine I am building is done I would like to run a triple LCD setup. I've always wanted to run OpenBSD as a firewall and so I would like to build a basic machine with no sound, and no video to serve this purpose. I would like to also run Apache and run my own website. The third machine for Windows I might just partition one of my hard drives (I will be getting 3 Seagate Barracuda LP ST32000542AS 2TB hard drives. Total 6 TBs.) and put Windows on it and just by another video card for extreme gaming or something. I am kinda new to building my own PC so some opinions on this would be greatly appreciated. Also, as a side note, the specs above would be just to get it started and I would eventually add my own PCI NIC card, PCI sound, and PCI Video card. Any and all thoughts are welcome. Thanks for any help. hoping that everything will work out of box with FreeBSD. From dead_line at hotmail.com Sun Oct 11 02:22:32 2009 From: dead_line at hotmail.com (Marwan Sultan) Date: Sun Oct 11 02:22:39 2009 Subject: best FBSD version for commercial use. In-Reply-To: <87ocof6ky1.fsf@kobe.laptop> References: <35f70db10910091408x38271c39t80d669a5c61f6898@mail.gmail.com> Message-ID: > From: keramida@ceid.upatras.gr > To: ross.cameron@linuxpro.co.za > CC: dead_line@hotmail.com; freebsd-questions@freebsd.org > Subject: Re: best FBSD version for commercial use. > Date: Sat, 10 Oct 2009 23:41:26 +0300 > > On Fri, 9 Oct 2009 23:08:42 +0200, Ross Cameron wrote: > >On Fri, Oct 9, 2009 at 8:28 PM, Marwan Sultan wrote: > >> Hello Gurus, > >> Im planing to move out of my FreeBSD 4.8-R! which served me like a > >> charm for many years. > >> > >> But not sure if I should go for 6.3 or 7.2 > >> > >> This server will be a DNS server, apache, shell accounts..php, mysql. > > > > I would definitely go with a 7.2 install (until 8.0 is marked as > > production ready by the fBSD dev team). > > Excellent advice :-) > > To the original poster: > And the original poster thanks you back, and thanks everyone replied or gave my email attention. Yes FBSD 7.2 could be the best for now.. Why did i send the email in the first place? some releases may have issues! I remember 5.2 and 5.1..I had problems with it. this is why i stuck to my old 4.8 also I had a new project with radius, accounting, chillispot..when i installed 7.0 things didnot work as i expected.. take a note it was identical configuration to 6.2..so i had to roll back to 6.2.. This time its a commercial use, and remote administration, so i didnot want to take the risk of having a wrong "commercial version" Thanks everyone. Marwan Sultan System Administrator _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/171222986/direct/01/ From roberthuff at rcn.com Sun Oct 11 02:27:29 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Oct 11 02:27:36 2009 Subject: ASUS M4A78T-E Motherboard In-Reply-To: <20091011015149.GA48407@comcast.net.> References: <20091011015149.GA48407@comcast.net.> Message-ID: <19153.16953.760420.694194@jerusalem.litteratus.org> Bryan Cassidy writes: > ... I am wondering if I will have any problems with this > motherboard amd its chipset. North Bridge is AMD 790GX and South > Bridge is AMD SB750. it comes with a VIA VT1708S onboard > soundcard and the handbook states the VIA VT1708 is supported so > I am hoping it is the case with this one. Second, ATI Radeon HD > 3300 onboard video. The machine on which I am composing this has a different motherboard (ASrock AOD290GX) but the same NorthBridge and integrated graphics. Works fine. (Except for one teeny thing, which I'm hoping is due to a bad BIOS setting. Symptom: "shutdown -p now" works as expected. "shutdown -r now" ... tha machine shuts down but does not restart. No screen messages, no nothing - just a one-way trip into the Twilight Zone. A teeny problem, since ot pnly gets rebooted on kernel upgrade.) Robert Huff From roberthuff at rcn.com Sun Oct 11 02:31:19 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Oct 11 02:31:25 2009 Subject: ASUS M4A78T-E Motherboard In-Reply-To: <19153.16953.760420.694194@jerusalem.litteratus.org> References: <20091011015149.GA48407@comcast.net.> <19153.16953.760420.694194@jerusalem.litteratus.org> Message-ID: <19153.17231.751627.733206@jerusalem.litteratus.org> Robert Huff writes: > The machine on which I am composing this has a different > motherboard (ASrock AOD290GX) s/AOD290GX/AOD790GX/ Robert Huff From mahlerrd at yahoo.com Sun Oct 11 02:43:27 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sun Oct 11 02:43:36 2009 Subject: / almost out of space just after installation Message-ID: <59022.94044.qm@web51005.mail.re2.yahoo.com> --- On Sat, 10/10/09, RW wrote: >From: RW >Subject: Re: / almost out of space just after installation >To: freebsd-questions@freebsd.org >Date: Saturday, October 10, 2009, 8:43 PM > >On Sat, 10 Oct 2009 12:28:08 -0700 (PDT) >Richard Mahlerwein wrote: > >> The only time I can >> really think I'd want /tmp to be in RAM is if I already had too much >> RAM for the needs of the box - otherwise, just give me the RAM... > >But it wouldn't actually be a ram disk, that's just just a misnomer >that people, who ought to know better, are throwing around. It >would probably be tmpfs. Correction (or at least correction to precision) noted.? I'd still rather use it as RAM the regular way.? :) >> While I'm reasonably happy rolling my own FS sizes, I would be even >> happier if I didn't have to.? As long as we're doing the wish list, >> I'd guess for this (all numbers significantly flexible): >> >> Drive < 16 GB = keep current layout? >> >> Drive > 16 and < 40 GB = >> / = 1 GB >> swap = 1.5x RAM >> /tmp = 2 GB >> /var = 2 GB >> /usr = remaining space > >2 GB each for /var and /tmp is far too high for such? small disks, I >wouldn't want to squander 4GB like that much below a TB. It's a figure >that's hardly ever going to be "about right" either for /tmp or /var, >when it isn't far too big, it's likely to be too small. So, your opinion is that if 768 MB (or 512 MB, or 1G, whatever) isn't enough, then it's likely that 2 GB also isn't enough?? That those who need more than the default /var and /tmp often (or usually) need a LOT more?? Reasonable, and I am not sure I could disagree with that completely. ? I was approaching it from perhaps a slightly different tack, though.? What I was thinking of was of defaults for people who will use the defaults.? Someone running? a mail server is unlikely to use the defaults, and you are completely correct that they'd need a lot more space in /var.? But, average Joe may just use it for fiddling around with.? Maybe one day he'll start fiddling with MySQL or perhaps even trying to partially or completely host his own email.? I'd like him, with his 250 GB drive, to have enough space to at least play with that for a while without worrying overly much about running out of room or having to move DB files or something. For that matter, I wonder if the solution for those sorts is to make a 'simple' mode that does swap and one big partition for everything else??? Or make 'auto' do that, and let everyone else use their own sizes? Thinking out loud here: What if 'auto' did one big /, and 'advanced' only laid in the partitions without sizes at all, then for each you'd have to just tell it how big to make it.? A special option would be on the /home one, which would be to symlink it to /usr/home.? Not that this would happen any time soon - that code doesn't look to be easily convertable to somethign like this. >> Drive > 40 GB = >> / = 1 GB >> swap = 1.5x RAM >> /tmp = 2 GB >> /var = 2 GB >> /usr = 1/2 of remaining space, min 20 GB, max 35 GB >> /home = everything else. > > >Having a home directory separate from /usr is often a good idea, but >making it part of the default install is a really bad idea IMO. > >A desktop user with a largish disk may want? 98% of it >under /home, a server may need next to nothing under /home. The amount >needed for /usr also varies enormously. I had been assuming that someone setting up a server was unlikely to accept the default 'a'uto sizes and would have rolled their own.? Under the scheme I had above, the desktop user with a large disk - say 1 TB - would have ended up with 1TB - (1 GB / + ~4 GB swap + 2 GB /var + 2 GB /tmp + 35 GB /usr) = about 950 GB in /home.? (Or, well, that'd be what, 870MB out of 925MB or something?) A server with that same drive would likely never have had the 'a' key pressed inside disklabel. >It's so hard to come-up with sensible values that the only sensible >thing to do is leave them on the same partition by default. It's not >exactly rocket science to add your own /home partition. I do agree to some extent.? On the other hand, what's the 'a'uto key do now?? / seems a bit small, notice the OP's subject?? I've never had this problem, though... Hmm.? All food for thought.? From vogelke+unix at pobox.com Sun Oct 11 03:48:45 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Sun Oct 11 03:48:52 2009 Subject: conky calendar In-Reply-To: <319011.88077.qm@web51006.mail.re2.yahoo.com> (message from Richard Mahlerwein on Sat, 10 Oct 2009 07:41:19 -0700 (PDT)) Message-ID: <20091011024926.778E7BE63@kev.msw.wpafb.af.mil> You can use the terminal standout codes to highlight today's date, but you need either the Linux compatibility stuff or a recent version of ncurses installed: #!/bin/ksh PATH=/usr/compat/linux/usr/bin:/usr/local/bin:/bin:/usr/bin export PATH DAY=$(date +%d | sed 's/0\([123456789]\)/ \1/') SMSO=$(tput smso) RMSO=$(tput rmso) cal | sed -e 's/^/ /' -e "3,\$s/ ${DAY}/ ${SMSO}${DAY}${RMSO}/" exit 0 -- Karl Vogel I don't speak for the USAF or my company Letterman's top signs your cat is trying to kill you #9: To tune of Meow Mix song sings, "Kill kill kill kill, kill kill kill kill" From rwmaillists at googlemail.com Sun Oct 11 04:24:10 2009 From: rwmaillists at googlemail.com (RW) Date: Sun Oct 11 04:24:17 2009 Subject: / almost out of space just after installation In-Reply-To: <59022.94044.qm@web51005.mail.re2.yahoo.com> References: <59022.94044.qm@web51005.mail.re2.yahoo.com> Message-ID: <20091011052404.4227bf84@gumby.homeunix.com> On Sat, 10 Oct 2009 19:43:25 -0700 (PDT) Richard Mahlerwein wrote: > --- On Sat, 10/10/09, RW wrote: > > >But it wouldn't actually be a ram disk, that's just just a misnomer > >that people, who ought to know better, are throwing around. It > >would probably be tmpfs. > > Correction (or at least correction to precision) noted.? I'd still > rather use it as RAM the regular way.? :) You can't, there is no "regular way", it's not 1975 anymore: http://varnish.projects.linpro.no/wiki/ArchitectNotes If you allocate 1.5 x RAM to swap, your system will grind to a halt long before you half-fill it with conventional paging, so you might as well allow tmpfs to use a substantial amount to back /tmp. From kline at thought.org Sun Oct 11 08:11:57 2009 From: kline at thought.org (Gary Kline) Date: Sun Oct 11 08:12:05 2009 Subject: for perl wizards. In-Reply-To: <200910091026.n99AQPUv014685@lurza.secnetix.de> References: <20091009083516.GA60096@thought.org> <200910091026.n99AQPUv014685@lurza.secnetix.de> Message-ID: <20091011081151.GA98601@thought.org> On Fri, Oct 09, 2009 at 12:26:25PM +0200, Oliver Fromme wrote: > Gary Kline wrote: > > > > Whenever I save a wordpeocessoe file [OOo, say] into a > > text file, I get a slew of hex codes to indicate the char to be > > used. I'm looking for a perl one-liner or script to translate > > hex back into ', ", -- [that's a dash), and so forth. Why does > > this fail to trans the hex code to an apostrophe? > > > > perl -pi.bak -e 's/\xe2\x80\x99/'/g' > > You need to escape the inner quote character, of course. > I think sed is better suited for this task than perl. > > > If there any another other tools, I'm interested! > > That "hex code" rather looks like UTF-8. > > For conversion between character encodings I recommend recode > from the ports collection (ports/converters/recode). > For example, to convert file.txt from UTF-8 to ISO8859-15: > > $ recode utf8..iso8859-15 file.txt > > To preserve the previous file contents, do this: > > $ recode utf8..iso8859-15 new.txt recode works just fine, thanks. i'm not sure if openoffice asks to use 8859-1 or utf8, but yes, the text is interspersperced with bits of utf8. FWIW, I did check this on google before my post; still couldn't find anything that worked. and of course, above, with the " ' " i did try escaping the punctuation. my shell gave me problems regardless. dunno ... so i asked here:-) thanks to everyone, gary > > Best regards > Oliver > > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. > Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- > chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart > > FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd > > "Python tricks" is a tough one, cuz the language is so clean. E.g., > C makes an art of confusing pointers with arrays and strings, which > leads to lotsa neat pointer tricks; APL mistakes everything for an > array, leading to neat one-liners; and Perl confuses everything > period, making each line a joyous adventure . > -- Tim Peters -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From nehe at telus.net Sun Oct 11 12:31:44 2009 From: nehe at telus.net (Jeff Molofee) Date: Sun Oct 11 12:31:51 2009 Subject: Miro - BSD 8.X In-Reply-To: <20091010002414.AD5F81065742@hub.freebsd.org> References: <20091010002414.AD5F81065742@hub.freebsd.org> Message-ID: <4AD1D030.2020905@telus.net> Has anyone had luck getting Miro to run in BSD 8.X... I can see up to "checking movies folder"... no error... nothing... it just stops... and drops back to the prompt... don't see any errors in the logs. From amsibamsi at gmail.com Sun Oct 11 13:31:51 2009 From: amsibamsi at gmail.com (Anselm Strauss) Date: Sun Oct 11 13:31:58 2009 Subject: gpart mbr scheme In-Reply-To: <744E86AA-8024-4A1D-903A-11B6177B4D95@gmail.com> References: <744E86AA-8024-4A1D-903A-11B6177B4D95@gmail.com> Message-ID: <4836FC82-7B2D-48C5-83EE-3FFD0CDD3C9C@gmail.com> Aha, GEOM_PART_MBR is not enabled by default in the 7.2 kernel. That changes with 8.0: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/conf/DEFAULTS.diff?r1=1.10.8%3ARELENG_7_2&tr1=1.10.8.1&r2=1.19.2%3ARELENG_8&tr2=1.19.2.1 I recompiled my kernel, now it works! On Oct 10, 2009, at 22:08 , Anselm Strauss wrote: > Hi, > > I'm trying to partition a compact flash card with gpart. When I want > to create a new MBR scheme it always complains: > > -> gpart create -s mbr da0 > gpart: scheme 'mbr': Invalid argument > > The GPT scheme works fine: > > -> gpart create -s gpt da0 > da0 created > -> gpart show da0 > => 34 8027645 da0 GPT (3.8G) > 34 8027645 - free - (3.8G) > -> gpart destroy da0 > da0 destroyed > > The kernel driver seems to be loaded: > > -> kldstat -v | grep mbr > 278 g_mbr > 277 g_mbrext > > Does gpart in 7.2 not support MBR partitioning? > > > Cheers, > Anselm From snailboy1 at yahoo.com Sun Oct 11 14:18:43 2009 From: snailboy1 at yahoo.com (David LeCount) Date: Sun Oct 11 14:18:50 2009 Subject: cdrecord returning inappropriate ioctl Message-ID: <391701.61251.qm@web57008.mail.re3.yahoo.com> I'm not sure when this started. I thought it might have started when I added my RAID controller which has SCSI emulation too, but the error still occurs when I remove it. So I'm guessing it started when I upgraded to 8.0 RC1 from 7 stable. I have a Pioneer DVD-RW. Burncd doesn't support it so I've always used cdrecord, but a few days ago, it gave me this error: [root@bahamut ~]# cdrecord -scanbus Cdrecord-Clone 2.01 (i386-unknown-freebsd7.0) Copyright (C) 1995-2004 J?rg Schilling cdrecord: Inappropriate ioctl for device. CAMIOCOMMAND ioctl failed. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. cdrecord: For possible transport specifiers try 'cdrecord dev=help'. Camcontrol works fine. [root@bahamut ~]# camcontrol devlist at scbus0 target 0 lun 0 (pass0) at scbus0 target 1 lun 0 (pass1) at scbus0 target 2 lun 0 (pass2) at scbus3 target 0 lun 0 (cd0,pass3) I tried using cdrecord with lun 3,0,0 as reported by camcontrol and got the same error as with -scanbus. I'm thinking this is a bug with either cdrecord or the kernel, but I thought I'd check here first to make sure I haven't missed something. From freebsd at edvax.de Sun Oct 11 14:24:03 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Oct 11 14:24:10 2009 Subject: cdrecord returning inappropriate ioctl In-Reply-To: <391701.61251.qm@web57008.mail.re3.yahoo.com> References: <391701.61251.qm@web57008.mail.re3.yahoo.com> Message-ID: <20091011162359.8ced8985.freebsd@edvax.de> The first thing that I've seen, allthough it may be completely unrelated, is this: On Sun, 11 Oct 2009 07:18:42 -0700 (PDT), David LeCount wrote: > So I'm guessing it started when I upgraded to 8.0 RC1 from 7 stable. ^^^^^^^ ^^^^^^^^ and then > Cdrecord-Clone 2.01 (i386-unknown-freebsd7.0) [...] ^^^ Maybe - just maybe - it's neccessary to recompile cdrecord? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wblock at wonkity.com Sun Oct 11 15:04:06 2009 From: wblock at wonkity.com (Warren Block) Date: Sun Oct 11 15:04:13 2009 Subject: cdrecord returning inappropriate ioctl In-Reply-To: <20091011162359.8ced8985.freebsd@edvax.de> References: <391701.61251.qm@web57008.mail.re3.yahoo.com> <20091011162359.8ced8985.freebsd@edvax.de> Message-ID: On Sun, 11 Oct 2009, Polytropon wrote: > The first thing that I've seen, allthough it may be completely > unrelated, is this: > > On Sun, 11 Oct 2009 07:18:42 -0700 (PDT), David LeCount wrote: >> So I'm guessing it started when I upgraded to 8.0 RC1 from 7 stable. > ^^^^^^^ ^^^^^^^^ > and then > >> Cdrecord-Clone 2.01 (i386-unknown-freebsd7.0) [...] > ^^^ > Maybe - just maybe - it's neccessary to recompile cdrecord? After a major version upgrade, it's necessary to rebuild all ports. -Warren Block * Rapid City, South Dakota USA From snailboy1 at yahoo.com Sun Oct 11 15:32:10 2009 From: snailboy1 at yahoo.com (David LeCount) Date: Sun Oct 11 15:32:18 2009 Subject: cdrecord returning inappropriate ioctl In-Reply-To: <20091011162359.8ced8985.freebsd@edvax.de> Message-ID: <9836.97426.qm@web57002.mail.re3.yahoo.com> > Maybe - just maybe - it's neccessary to recompile > cdrecord? I knew it would be something simple I missed. From mlobo at digiart.art.br Sun Oct 11 17:05:34 2009 From: mlobo at digiart.art.br (Mario Lobo) Date: Sun Oct 11 17:05:41 2009 Subject: ASUS M4A78T-E Motherboard In-Reply-To: <20091011015149.GA48407@comcast.net.> References: <20091011015149.GA48407@comcast.net.> Message-ID: <200910111405.08542.mlobo@digiart.art.br> On Saturday 10 October 2009 22:51:49 Bryan Cassidy wrote: > Hi, I am in the process of building a new PC and I am building this > machine (one of three... second will be OpenBSD Firewall for FreeBSD and a > third one for Windows.. you know games and all that stuff) and I am > wondering if I will have any problems with this motherboard amd its > chipset. North Bridge is AMD 790GX and South Bridge is AMD SB750. it comes > with a VIA VT1708S onboard soundcard and the handbook states the VIA > VT1708 is supported so I am hoping it is the case with this one. Second, > ATI Radeon HD 3300 onboard video. I keep coming up with info that states > it is suppported and last is the Atheros L1E onboard LAN card. > > I will give you a rundown of what I want to do and maybe I can get some > advice on hardware and how I approach this. I mainly use FreeBSD for my > daily machine because I just enjoy using FreeBSD and it is just what I > need for a day to day use. I have a 23" LCD right now hookup via VGA on my > laptop and when the machine I am building is done I would like to run a > triple LCD setup. I've always wanted to run OpenBSD as a firewall and so I > would like to build a basic machine with no sound, and no video to serve > this purpose. I would like to also run Apache and run my own website. The > third machine for Windows I might just partition one of my hard drives (I > will be getting 3 Seagate Barracuda LP ST32000542AS 2TB hard drives. Total > 6 TBs.) and put Windows on it and just by another video card for extreme > gaming or something. I am kinda new to building my own PC so some opinions > on this would be greatly appreciated. > > Also, as a side note, the specs above would be just to get it started and I > would eventually add my own PCI NIC card, PCI sound, and PCI Video card. > Any and all thoughts are welcome. Thanks for any help. > > hoping that everything will work out of box with FreeBSD. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Hi Bryan; I think I have exactly the same MoBo. ASRock AOD790GX. I am running FreeBSD 8.0 RC1 amd64 and everything is working fine here. I use it as my desktop. I've got it dual booting with XP because I need it for my Audio projects. I have an extra PCI sound card on it because of its MIDI port. In fact I use it as my main sound output on FreeBSD. I also have another sound card but FreeBSD doesnt have drivers for It but I only use it in XP anyway. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From danger at FreeBSD.org Sun Oct 11 17:54:29 2009 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sun Oct 11 17:55:01 2009 Subject: FreeBSD Status Reports April - September, 2009 Message-ID: <20091011175428.GA3626@freefall.freebsd.org> FreeBSD Quarterly Status Report Introduction This report covers FreeBSD related projects between April and September 2009. During that time a lot of work has been done on wide variety of projects, including the Google Summer of Code projects. The BSDCan conference was held in Ottawa, CA, in May. The EuroBSDCon conference was held in Cambridge, UK, in September. Both events were very successful. A new major version of FreeBSD, 8.0 is to be released soon. If you are wondering what's new in this long-awaited release, read Ivan Voras' excellent summary. Thanks to all the reporters for the excellent work! We hope you enjoy the reading. Please note that the next deadline for submissions covering reports between October and December 2009 is January 15th, 2010. __________________________________________________________________ Google Summer of Code * About Google Summer of Code 2009 * BSD-licensed iconv (Summer of Code 2009) * BSD-licensed text-processing tools (Summer of Code 2008) * Ext2fs Status report (Summer of Code 2009) * libnetstat(3) - networking statistics (Summer of Code 2009) * pefs - stacked cryptographic filesystem (Summer of Code 2009) Projects * BSD# Project * Clang replacing GCC in the base system * FreeBSD TDM Framework * Grand Central Dispatch - FreeBSD port * libprocstat(3) - process statistics * New BSD licensed debugger * NFSv4 ACLs * The Newcons project * VirtualBox on FreeBSD FreeBSD Team Reports * FreeBSD Bugbusting Team * FreeBSD KDE Team * FreeBSD Ports Management Team * Release Engineering Status Report * The FreeBSD Foundation Status Report Network Infrastructure * Enhancing the FreeBSD TCP Implementation * Modular Congestion Control * Network Stack Virtualization * Stream Control Transmission Protocol (SCTP) Kernel * FreeBSD/ZFS * hwpmc for MIPS Documentation * The FreeBSD Dutch Documentation Project * The FreeBSD German Documentation Project * The FreeBSD Hungarian Documentation Project * The FreeBSD Spanish Documentation Project Architectures * FreeBSD/sparc64 Ports * FreeBSD Gecko Project * Portmaster - utility to assist users with managing ports * Valgrind suite on FreeBSD Miscellaneous * EuroBSDcon 2009 * FreeBSD Developer Summit, Cambridge UK * New approach to the locale database * The FreeBSD Forums __________________________________________________________________ About Google Summer of Code 2009 URL: http://socghop.appspot.com/org/home/google/gsoc2009/freebsd URL: http://wiki.freebsd.org/SummerOfCode2009Projects Contact: Brooks Davis Contact: Tim Kientzle Contact: Robert Watson 2009 was The FreeBSD Project's fifth year of participation in the Google Summer of Code. We had a total of 17 successful projects. Some GSoC code will be shipping with FreeBSD 8.0-RELEASE and others will be integrated into future releases. The FreeBSD GSoC admin team would like to thank Google and our students and mentors of another great year! __________________________________________________________________ BSD# Project URL: http://code.google.com/p/bsd-sharp/ URL: http://www.mono-project.org/ Contact: Romain Tarti?re The BSD# Project is devoted to porting the Mono .NET framework and applications to the FreeBSD operating system. During the past year, the BSD# Team continued to track the Mono development and the lang/mono port have almost always been up-to-date (we however had to skip mono-2.2 because of some regression issues in this release). Most of our patches have been merged in the mono trunk upstream, and should be included in the upcoming mono-2.6 release. In the meantime, a few more .NET related ports have been updated or added to the FreeBSD ports tree. These ports include: * www/xsp and www/mod_mono that make it possible to use FreeBSD for hosting ASP.NET application; * lang/boo, a CLI-targeted programming language similar to Python; * lang/mono-basic, the Visual Basic .NET Framework for Mono; * devel/monodevelop, an Integrated Development Environment for .NET; * and much more... Open tasks: 1. Test mono ports and send feedback (we are especially interested in tests where NOPORTDOCS / WITH_DEBUG is enabled). 2. Port the mono-debugger to FreeBSD. 3. Build a debug live-image of FreeBSD so that Mono hackers without a FreeBSD box can help us fixing bugs more efficiently. __________________________________________________________________ BSD-licensed iconv (Summer of Code 2009) URL: http://wiki.freebsd.org/G%C3%A1borSoC2009 Contact: G?bor K?vesd?n The code has been extracted from NetBSD and has been transformed into an independent shared library. The basic encodings are well supported. Almost all forward conversions (foo -> UTF-32) are compatible with GNU but the reverse ones are not so accurate because of GNU's advanced transliteration. Some extra encodings have also been added. There are two modules, which segfault; they need some debugging. I can keep working on this project as part of my BSc thesis, so I hope to be able to solve the remaining issues. Improved GNU compatibility is also very desired (extra command line options for iconv(1), iconvctl(), private interfaces, etc.). Open tasks: 1. Fix segfaults in Big5 and HZ modules 2. Improve transliteration in reverse encodings 3. Improve GNU compatibility by implementing extra features 4. Verify POSIX compatibility 5. Verify GNU compatibility 6. Check performance __________________________________________________________________ BSD-licensed text-processing tools (Summer of Code 2008) URL: http://wiki.freebsd.org/G%C3%A1borSoC2008 Contact: G?bor K?vesd?n This project was started as part of Google Summer of Code 2008 but there is still a bit of work to complete some missing parts. The BSD-licensed grep implementation is feature-complete and has a good level of GNU compatibility. Our only current concern about the BSD-licensed version is to improve its performance. The GNU variant is much more complex, has about 8 KSLOC, while BSD grep is tiny, has only 1.5 KSLOC. GNU uses some shortcuts and optimizations to speed-up calls to the regex library; that is why it is significantly faster. My point of view is that such optimizations must be implemented in the regex library, keeping the dependent utilities clean and easy to read. BSD grep is so tiny that there is hardly any optimization opportunity by simplifying the code, so the regex library is the next important TODO. There is another issue with the current regex library. It does not support some invalid regular expressions, which work in GNU. We need to maintain compatibility, so we cannot just drop this feature. Actually, BSD grep is linked to the GNU regex library to maintain this feature but due to the lack of the mentioned shortcuts, it is still slower than GNU. Anyway, if we can live with this little performance hit until we get a modern regex library, I think grep is ready to enter HEAD. As for the regex library, NetBSD's result of the last SoC is worth taking a look. The sort utility has been rewritten from scratch. The existing BSD-licensed implementation could not deal with wide characters by design. The new implementation is still lacking some features but is quite complete. There is a performance issue, though. Sorting is a typical algorithmic subject but I am not an algorithmic expert, so my implementation is not completely optimal. Some help would be welcome with this part. The bc/dc utilities have been ported from OpenBSD. They pass OpenBSD's and GNU's regression tests but they arrived too late to catch 8.X, so they will go to HEAD after the release. Open tasks: 1. Improve sort's sorting and file merging algorithms 2. Complete missing features for sort 3. Get a modern regex library for FreeBSD __________________________________________________________________ Clang replacing GCC in the base system URL: http://wiki.freebsd.org/BuildingFreeBSDWithClang Contact: Ed Schouten Contact: Roman Divacky Contact: Brooks Davis Contact: Pawel Worach The clang@FreeBSD team presents the status of clang/LLVM being able to compile FreeBSD system. The current status is: * i386 - kernel boots, world needs little hacks but works * amd64 - kernel boots, world needs little hacks but works * ppc - broken because of unknown RTLD bug * other - unknown All other platforms are untested. A lot has happened over the spring/summer: amd64 got proper mcmodel=kernel support, compiler-rt has been introduced (paving the way for libgcc replacement), we have run two experimental port builds to see how clang does there. The C++ support is able to parse devd.cc without warnings. We have got the kernel working with -O2. FreeBSD has been promoted to be an officially supported plaform in LLVM. As a result of all this work, many parts of FreeBSD that did not compile before now build without problems. Open tasks: 1. The "ClangBSD" branch of FreeBSD got a little stale and has not been updated for a while. 2. We also need to get some important fixes into LLVM to get libc compiling and some other smaller issues. 3. We can still appreciate more testers on minor platforms (mostly on ARM, PPC and MIPS, but testing on other platforms is also welcome). __________________________________________________________________ Enhancing the FreeBSD TCP Implementation URL: http://caia.swin.edu.au/freebsd/etcp09/ URL: http://caia.swin.edu.au/urp/newtcp/ URL: http://www.freebsdfoundation.org/projects.shtml URL: http://people.freebsd.org/~lstewart/patches/tcp_ffcaia2008/ Contact: Lawrence Stewart TCP appropriate byte counting (RFC 3465) support has been merged into the FreeBSD 8 branch and will ship in FreeBSD 8.0-RELEASE. The reassembly queue auto-tuning and SIFTR work was not ready in time to safely integrate for 8.0-RELEASE. Padding has been added to necessary TCP structs to facilitate MFCing features back to the 8-STABLE branch after 8.0 is released. Candidate patches against FreeBSD-CURRENT will be ready for wider testing in the coming weeks. The freebsd-net mailing list will be solicited for testing/feedback when everything is ready. Open tasks: 1. Solicit review/testing and integrate the ALQ kld and variable length message support patch into FreeBSD-CURRENT. 2. Solicit review/testing and integrate the SIFTR tool into FreeBSD-CURRENT. 3. Complete dynamic reassembly queue auto-tuning patch for FreeBSD-CURRENT. 4. Fix an identified bug in the SACK implementation's fast retransmit/fast recovery behavior. 5. Profit! __________________________________________________________________ EuroBSDcon 2009 URL: http://2009.eurobsdcon.org/ URL: http://2010.eurobsdcon.org/ Contact: Sam Smith Contact: Robert Watson EuroBSDcon 2009 happened in Cambridge, with over 160 users, developers, friends and others. Slides, papers and audio are now up on the website for those who could not make it to Cambridge. Next year's event in 2010 will take place in Karlsruhe from 8 to 10 October 2010. If you are interested in what you missed in 2009, or to join the mailing list so you do not miss out next year, visit http://2009.eurosbsdcon.org. __________________________________________________________________ Ext2fs Status report (Summer of Code 2009) URL: http://wiki.freebsd.org/SOC2009AdityaSarawgi Contact: Aditya Sarawgi FreeBSD's ext2fs had some parts under GPL. The aim of my project was to rewrite those parts and free ext2fs from GPL. I have been successful in rewriting the parts and NetBSD's ext2fs was a great help in this. Certain critical parts under GPL were also removed due to which the write performance suffered. I also implemented Orlov Block Allocator for ext2fs. Currently I am planning to make ext2fs Multiprocessor Safe (MPSAFE). My work resides in truncs_ext2fs branch of Perforce. Open tasks: 1. Ext4 support for FreeBSD 2. Directory indexing for ext2fs 3. Journaling in ext2fs using gjournal __________________________________________________________________ FreeBSD Bugbusting Team URL: http://www.FreeBSD.org/support.html#gnats URL: http://wiki.FreeBSD.org/BugBusting URL: http://people.FreeBSD.org/~linimon/studies/prs/ URL: http://people.FreeBSD.org/~linimon/studies/prs/recommended_prs.html Contact: Gavin Atkinson Contact: Mark Linimon Contact: Remko Lodder Contact: Volker Werth We continue to classify PRs as they arrive, adding 'tags' to the subject lines corresponding to the kernel subsystem involved, or man page references for userland PRs. These tags, in turn, produce lists of PRs sorted both by tag and by manpage. The list of PRs recommended for committer evaluation by the Bugbusting Team continues to receive new additions. This list contains PRs, mostly with patches, that the Bugbusting Team feel are probably ready to be committed as-is, or are probably trivially resolved in the hands of a committer with knowledge of the particular subsystem. All committers are invited to take a look at this list whenever they have a spare 5 minutes and wish to close a PR. A full list of all the automatically generated reports is also available at one of the cited URLs. Any recommendations for reports which not currently exist but which would be beneficial are welcomed. Gavin Atkinson gave a presentation on "The PR Collection Status" at the EuroBSDCon 2009 DevSummit, and discussed with other participants several other ideas to make the PR database more useful and usable. Several good ideas came from this, and will hopefully lead to more useful tools in the near future. Discussions also took place on how it may be possible to automatically classify non-ports PRs with a view towards notifying interested parties, although investigations into this have not yet begun. Mark Linimon also continues attempting to define the general problem and investigating possible new workflow models, and presented work on this at BSDCan 2009. Since the last status report, the number of open bugs has increased to around the 5900 mark, partially because of an increased focus on getting more information into the existing PRs, in an attempt to make sure all the information required is now available. As a result, although the number of open PRs has increased, they are hopefully of better quality. As always, more help is appreciated, and committers and non-committers alike are always invited to join us on #freebsd-bugbusters on EFnet and help close stale PRs or commit patches from valid PRs. Open tasks: 1. Work on suggestions from developers who were at the EuroBSDCon DevSummit. 2. Try to find ways to get more committers helping us with closing the PRs that the team has already analyzed. __________________________________________________________________ FreeBSD Developer Summit, Cambridge UK URL: http://wiki.FreeBSD.org/200909DevSummit Contact: Robert Watson Around 70 FreeBSD developers and guests attended the FreeBSD developer summit prior to EuroBSDCon 2009 in Cambridge, UK. Hosted at the University of Cambridge Computer Laboratory, the workshop-style event consisted of prepared presentations, as well as group hacking and discussion sessions. Talks covered topics including 802.11 mesh networking, virtual network stacks and kernels, a new BSD-licensed debugger, benchmarking, bugbusting, NetFPGA, a port of Apple's GCD (Grand Central Dispatch) to FreeBSD, security policy work, cryptographic signatures, FreeBSD.org system administration, time geeks, a new console driver, and the FreeBSD subversion migration. Slides for many talks are now available on the wiki page. A good time was had by all, including a punting outing on the River Cam! __________________________________________________________________ FreeBSD Gecko Project URL: https://trillian.chruetertee.ch/freebsd-gecko/wiki/TODO Contact: Beat Gaetzi Contact: Martin Wilke Contact: Andreas Tobler Andreas Tobler made the classic mistake of sending us a lot of powerpc and sparc64 related patches. The usual punishment, of giving him a commit bit to the Gecko repository, has been applied. We currently have some old ports in the ports tree: * www/mozilla is 5 year old now, no longer supported upstream, and has a lot of security vulnerabilities. We can use www/seamonkey instead. * www/xulrunner is superseeded by www/libxul. A patch that includes the following changes has been tested on pointyhat and is ready for commit: * Remove references to www/mozilla/Makefile.common and www/mozilla/bsd.gecko.mk * Switch USE_GECKO= xulrunner firefox mozilla to USE_GECKO= libxul and remove www/xulrunner We are also working on Firefox 3.6 (Alpha 2), Thunderbird 3.0 (Beta 4), new libxul 1.9.1.3 and Seamonkey 2.0 (Beta 2) ports. All of them are already committed to our Gecko repository. A current status and todo list can be found at http://trillian.chruetertee.ch/freebsd-gecko/wiki/TODO. Open tasks: 1. Remove mozilla, xulrunner and firefox2 from the ports tree. 2. The www/firefox35 port should be moved to www/firefox. 3. The old (and somewhat stale) Gecko providers mozilla, nvu, xulrunner, flock and firefox also need to be removed. __________________________________________________________________ FreeBSD KDE Team URL: http://freebsd.kde.org URL: http://miwi.bsdcrew.de/category/kde/ URL: http://blogs.freebsdish.org/tabthorpe/category/kde Contact: Thomas Abthorpe Contact: Max Brazhnikov Contact: Martin Wilke Since the spring, the FreeBSD KDE team has been busy upgrading KDE from 4.2.0 up through to 4.3.1. As part of the ongoing maintenance of KDE, the team also updated Qt4 from 4.4.3 through to 4.5.2 We added two new committers/maintainers to the team, Kris Moore (kmoore@) and Dima Panov (fluffy@). We also granted enhanced area51 access to contributors Alberto Villa and Raphael Kubo da Costa. Alberto has been our key contributor updating and testing Qt 4.6.0-tp1. Raphael is a KDE developer, who has become our Gitorious liaison, he has been responsible for getting FreeBSD Qt patches merged in upstream. Markus Br?ffer (markus@) spent a lot of time patching widgets and system plugins so they would work under FreeBSD. We would like to thank him for all his effort! Open tasks: 1. Update to Qt 4.6.0 2. Update to KDE 4.4.0 3. Work with our userbase on fixing an EOL for KDE3 in the ports tree __________________________________________________________________ FreeBSD Ports Management Team URL: http://www.freebsd.org/ports/ URL: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing-ports/ URL: http://portsmon.FreeBSD.org/index.html URL: http://www.freebsd.org/portmgr/index.html URL: http://tinderbox.marcuscom.com Contact: Mark Linimon The ports count has soared to over 20,700. The PR count had been driven below 800 by some extraordinary effort, but once again is back to its usual count of around 900. We are currently building packages for amd64-6, amd64-7, amd64-8, i386-6, i386-7, i386-8, sparc64-7, and sparc64-8. There have been preliminary runs of i386-9; however, to be able to continue builds on -9, we will either need to find places to host a number of new machines, or drop package building for -6. The mailing list discussion of the latter proved quite controversial. We have added some new i386 machines to help speed up the builds, but this only makes up for the disk failures on some of our older, slower, i386 nodes. We also appreciate the loan of more package build machines from several committers, including pgollucci@, gahr@, erwin@, Boris Kochergin, and Craig Butler. The portmgr@ team has also welcomed new members Ion-Mihai Tetcu (itetcu@) and Martin Wilke (miwi@). We also thank departing member Kirill Ponomarew (krion@) for his long service. Ion-Mihai has spent much time working on a system that does automatic Quality Assurance on new commits, called QAT. A second tinderbox called QATty has helped us to fix many problems, especially those involving custom PREFIX and LOCALBASE settings, and documentation inclusion options. Ports conformance to documented features / non-default configuration will follow. Between pav and miwi, over 2 dozen experimental ports runs have been completed and committed. We have added 5 new committers since the last report, and 2 older ones have rejoined. Open tasks: 1. We are currently trying to set up ports tinderboxes that can be made available to committers for pre-testing; those who can loan machines for this should contact Ion-Mihai (itetcu@) with details regarding the hardware and bandwidth. 2. Most of the remaining ports PRs are "existing port/PR assigned to committer". Although the maintainer-timeout policy is helping to keep the backlog down, we are going to need to do more to get the ports in the shape they really need to be in. 3. Although we have added many maintainers, we still have almost 4,700 unmaintained ports (see, for instance, the list on portsmon). (The percentage is down to 22%.) We are always looking for dedicated volunteers to adopt at least a few unmaintained ports. As well, the packages on amd64 and sparc64 lag behind i386, and we need more testers for those. __________________________________________________________________ FreeBSD TDM Framework Contact: Rafal Czubak Contact: Michal Hajduk This work's purpose is a generic and flexible framework for systems equipped with Time Division Multiplexing (TDM) units, often found on embedded telecom chips. The framework is designed to support various controllers and many types of TDM channels e.g. voiceband, sound and miscellaneous data channels. Currently, voiceband infrastructure is being developed on Marvell RD-88F6281 reference board. It will serve as an example of how to use the TDM framework for other channel types. The direct objective of using TDM with voiceband channels is bringing a FreeBSD based VoIP system, capable of bridging analog telephone world with digital IP telephony. Together with third party VoIP software (e.g. Asterisk), the design can serve as VoIP Private Branch Exchange (PBX). Current state highlights: * TDM controller interface * TDM channel interface * TDM channel API for kernel modules * codec interface * voiceband channel character device driver * TDM controller driver for Marvell Kirkwood and Discovery SoCs * Si3215 SLIC driver * Si3050 DAA driver Open tasks: 1. Develop demo application showing example usage of voiceband channel. 2. Integrate voiceband infrastructure with Zaptel/DAHDI telephony hardware drivers. __________________________________________________________________ FreeBSD/sparc64 Contact: Marius Strobl Noteworthy developments regarding FreeBSD/sparc64 since the last Status Reports are: * Cas(4), a driver for Sun Cassini/Cassini+, as well as National Semiconductor DP83065 Saturn Gigabit NICs has been committed and thus will be part of FreeBSD beginning with 8.0-RELEASE and 7.3-RELEASE, respectively. This means that the on-board NICs found in Fire V440, as well as the add-on cards based on these chips, are now supported, including on non-sparc64 machines. Unfortunately, the cas(4) driver triggers what seem to be secondary problems with the on-board NICs found in B100 blades and Fire V480, which due to lack of access to such systems could not be fixed so far. * Initial support for sun4u machines based on the "Fire" Host-PCI-Express bridge like Fire V215, V245, etc. has been completed (including support for the on-board ATA controller, which caused several problems at first, and MSI/MSI-X). Some code like the quirk handling for the ALi/ULi chips found in these machines needs to be revisited though and no stability tests have been conducted so far. If all goes well, the code will hit HEAD some time after FreeBSD 8.0-RELEASE has been released. In theory, machines based on the "Oberon" Host-PCI-Express bridge, at least for the most part, should also be supported with these changes, but due to lack of access to a Mx000 series machine the code could not be tested with these so far. * Some bugs in the snd_t4dwave(4) driver have been fixed, as well as some special handling for sparc64 has been added so it does 32-bit DMA and now generally works with the on-board ALi M5451 found for example in Blade 100 and Blade 1500. Unfortunately, it was only tested to work correctly in two out of three Blade 100. Why it still does not work correctly in the remaining one is currently unknown but at least no longer causes IOMMU-panics so testing snd_t4dwave(4) on sparc64 is no longer harmful. These changes will be part of FreeBSD 8.0-RELEASE and 7.3-RELEASE. * Ata-marvell(4) has been fixed to work on sparc64 (actually also on anything that is not x86 with less than 4GB of RAM). These fixes will be part of FreeBSD 8.0-RELEASE and 7.3-RELEASE. * A proper and machine-independent fix for the old problem that the loader leaves the NIC opened by the firmware, which could lead to panics during boot when netbooting, has been developed but not committed yet. Open tasks: __________________________________________________________________ FreeBSD/ZFS Contact: Pawel Dawidek We believe that the ZFS file system is now production-ready in FreeBSD 8.0. Most (if not all) reported bugs were fixed and ZFS is no longer tagged as experimental. There is also ongoing work in Perforce to bring the latest ZFS version (v19) to FreeBSD. Open tasks: 1. Download 8.0 release candidates and test, test, test and report any problems to the freebsd-fs@FreeBSD.org mailing list. __________________________________________________________________ Grand Central Dispatch - FreeBSD port URL: http://libdispatch.macosforge.org/ Contact: Robert Watson Contact: Stacey Son Contact: libdispatch mailing list We have ported libdispatch, Apple's Grand Central Dispatch event and concurrency framework to FreeBSD: * Added new kqueue primitives required to support GCD, such as EVFILT_USER and EV_TRIGGER * Created autoconf and automake build framework for libdispatch * Modified libdispatch to use POSIX semaphores instead of Mach semaphores * Adapted libdispatch to use portable POSIX time routines Jordan Hubbard has also prepared a blocks-aware clang compiler package for FreeBSD. When compiled with clang, libdispatch provides blocks-based, as well as function-based callbacks. The port was presented at the FreeBSD Developer Summit in Cambridge, UK in September, and slides are online on the devsummit wiki page. A FreeBSD port is now available in the Ports Collection. After FreeBSD 8.0-RELEASE has shipped, the new kqueue primitives will be MFC'd so that libdispatch works out of the box on FreeBSD 8.1-RELEASE. Open tasks: 1. Complete porting of libdispatch test suite to FreeBSD. 2. Investigate pthread work queue implementation for FreeBSD. 3. Evaluate performance impact of some machine-dependent and OS-dependent optimizations present in the Mac OS X version of libdispatch to decide if they should be done for other platforms and OS's. 4. Explore whether FreeBSD base operating system tools would benefit from being modified to use libdispatch. __________________________________________________________________ hwpmc for MIPS URL: http://wiki.freebsd.org/FreeBSD/mips URL: http://wiki.freebsd.org/FreeBSD/mips/UBNT-RouterStationPro Contact: George Neville-Neil Currently working on board bringup. I have looked over the docs for how MIPS provides performance counters and will begin adding code soon. __________________________________________________________________ libnetstat(3) - networking statistics (Summer of Code 2009) URL: http://wiki.FreeBSD.org/PGJSoc2009 URL: http://p4web.freebsd.org/@md=d&cd=//&c=McZ@//depot/projects/soc2009/pgj _libstat/?ac=83 Contact: G?bor P?li The libnetstat(3) project provides a user-space library API to monitor networking functions with the following benefits: * ABI-robust interface making use of accessor functions in order to divorce monitoring applications from kernel or user ABI changes. * Supports running 32-bit monitoring tools on top of a 64-bit kernel. * Improved consistency for both kvm(3) and sysctl(3) when retrieving information. The supported abstractions are as follows: * Active sockets and socket buffers * Network interfaces and multicast interfaces * mbuf(9) statistics * bpf(4) statistics * Routing statistics, routing tables, multicast routing * Protocol-dependent statistics There is a sample application, called nettop(8), which provides a simple ncurses-based top(1)-like interface for monitoring active connections and network buffer allocations via the library. A modified version of netstat(1) has also been created to use libnetstat(3) as much as possible. __________________________________________________________________ libprocstat(3) - process statistics URL: http://svn.freebsd.org/viewvc/base/projects/libprocstat/ Contact: Stanislav Sedov Contact: Ulf Lilleengen The libprocstat project is an ongoing effort to develop a library that can be used to retrieve information about running processes and open files in the uniform and platform-independent way both from a running system or from core files. This will facilitate the implementation of file- or process-monitoring applications like lsof(1), fstat(1), fuser, etc. The libprocstat repository contains a preliminary version of the library. It also includes rewrites of the fstat and the fuser utilities ported to use this library instead of retrieving all the required information via the kvm(3) interface; one of the important advantages of the versions that use libprocstat is that these utilities are ABI independent. Open tasks: 1. Implement KVM-based namecache lookup to retrieve filesystem paths associated with file descriptors and VM objects. 2. Analyze possible ways of exporting file and process information from the kernel in an extensible and ABI-independent way. __________________________________________________________________ Modular Congestion Control URL: http://caia.swin.edu.au/urp/newtcp/ URL: http://svn.freebsd.org/viewvc/base/projects/tcp_cc_8.x/ Contact: Lawrence Stewart The patch has received some significant rototilling in the past few months to prepare it for merging to FreeBSD-CURRENT. Additionally, I completed an implementation of the CUBIC congestion control algorithm to complement the existing NewReno and H-TCP algorithm implementations already available. I have one further intrusive change to make, which will allow congestion control modules to be shared between the TCP and SCTP stacks. Once this is complete, I will be soliciting for review/testing in the hope of committing the patch to FreeBSD-CURRENT in time to be able to backport it for 8.1-RELEASE. Open tasks: 1. Abstract the congestion control specific variables out of the TCP and SCTP control blocks into a new struct that can be passed into the API instead of the control block itself. __________________________________________________________________ Network Stack Virtualization URL: http://wiki.freebsd.org/Image URL: http://wiki.freebsd.org/200909DevSummit Contact: Bjoern A. Zeeb Contact: Marko Zec Contact: Robert Watson The network stack virtualization project aims at extending the FreeBSD kernel to maintain multiple independent instances of networking state. This allows for networking independence between jail environment, each maintaining its private network interfaces, IPv4 and IPv6 network and port address space, routing tables, IPSec configuration, firewalls, and more. During the last months the remaining pieces of the VIMAGE work were merged by Marko, Julian and Bjoern. Robert Watson developed a vnet allocator to overcome ABI issues. Jamie Gritton merged his hierachical jail framework that now also is the management interface for virtual network stacks. During the FreeBSD Developer Summit that took place at EuroBSDCon 2009 in Cambridge, UK, people virtualized more code. As a result SCTP and another accept filter were virtualized and more people became familiar with the design of VImage and the underlying concepts. Finally getting more hands involved was a crucial first step for the long term success of kernel virtualization. The next steps will be to finish the network stack virtualization, generalize the allocator framework before thinking of virtualizing further subsystems and to update the related documentation. Along with that a proper jail management framework will be worked on. Long term goals, amongst others, will be to virtualize more subsystems like SYS-V IPC, better privilege handling, and resource limits. In the upcoming FreeBSD 8.0 Release, vnets are treated as an experimental feature. As a result, they are not yet recommended for use in production environments. There was lots of time spent to finalize the infrastructure for vnets though, so that further changes can be merged and we are aiming to have things production ready for 8.2. In case you want to help to achieve this goal, feel free to contact us and support or help virtualizing outstanding parts like two firewalls, appletalk, netipx, ... as well as generating regression tests. __________________________________________________________________ New approach to the locale database URL: http://wiki.freebsd.org/LocaleNewApproach URL: svn://svn.freebsd.org/base/user/edwin/locale Contact: Edwin Groothuis Contact: i18n mailinglist Problem: Over the years the FreeBSD locale database (share/colldef, share/monetdef, share/msgdef, share/numericdef, share/timedef) has accumulated a total of 165 definitions (language - country-code - character-set triplets). The contents of the files for Western European languages are often low-ASCII but for Eastern European and Asian languages partly or fully high-ASCII. Without knowing how to display or interpret the character-sets, it is difficult to make sure by the general audience that the local language (language - country-code) definitions are displayed properly in various character-sets. Suggested approach: With the combination of the data in the Unicode project (whose goal is to define all the possible written characters and symbols on this planet) and the Common Locale Data Repository (whose goal is to document all the different data and definitions needed for the locale database), we can easily keep track of the data, without the need of being able to display the data in the required character sets or understand them fully when updates are submitted by third parties. Current status: Conversion of share/monetdef, share/msgdef, share/numericdef, share/timedef to the new design is completed. The Makefile infrastructure is converted. Regression checks are done. Most of the tools are in place, waiting on the import of bsdiconv to the base system. Open tasks: 1. At this moment the system is not self-hosted yet, because of the lack of an iconv-kind of program in the base operating system. Gabor@ is working on bsdiconv as a GSoC project and once that has been imported we will be able to perform a clean install from the definitions in Unicode text format to the required formats and character sets. __________________________________________________________________ New BSD licensed debugger URL: http://wiki.freebsd.org/TheBsdDebugger URL: http://people.freebsd.org/~dfr/ngdb.git URL: http://wiki.freebsd.org/200909DevSummit?action=AttachFile&do=view&targe t=NGDB-200909.pdf Contact: Doug Rabson <> I have been working recently on writing a new debugger, primarily for the FreeBSD platform. For various reasons, I have been writing it in a relatively obscure C-like language called D. So far, I have a pretty useful (if a little raw at the edges) command line debugger which supports ELF, Dwarf debugging information and (currently) 32 bit FreeBSD and Linux. The engine includes parsing and evaluation of arbitrary C expressions along with the usual debugging tools such as breakpoints, source code listing, single-step etc. All the code is new and BSD licensed. Currently, the thing supports userland debugging of i386 targets via ptrace and post-mortem core file debugging of the same. I will be adding amd64 support real soon (TM) and maybe support for GDB's remote debugging protocol later. __________________________________________________________________ NFSv4 ACLs URL: http://wiki.freebsd.org/NFSv4_ACLs Contact: Edward Tomasz Napierala During Google Summer of Code 2008, I have implemented native support for NFSv4 ACLs for both ZFS and UFS. Most of the code has already been merged to CURRENT. NFSv4 ACLs are unconditionally enabled in ZFS and the usual tools, like getfacl(1) and setfacl(1) can be used to view and change them. I plan to merge the remaining bits (UFS support) this month. It should be possible to MFC it in order to ship in FreeBSD 8.1-RELEASE. Open tasks: 1. UFS changes review 2. Support for NFSv4 ACLs in tar(1) __________________________________________________________________ pefs - stacked cryptographic filesystem (Summer of Code 2009) URL: http://blogs.freebsdish.org/gleb/ URL: http://wiki.freebsd.org/SOC2009GlebKurtsov Contact: Gleb Kurtsou Contact: Stanislav Sedov Pefs is a kernel level filesystem for transparently encrypting files on top of other filesystems (like zfs or ufs). It adds no extra information into files (unlike others), doesn't require cipher block sized io operations, supports per directory/file keys and key chaining, uses unique per file tweak for encryption. Supported algorithms: AES, Camellia, Salsa20. The code is ready for testing. Open tasks: 1. Implement encrypted name lookup/readir cache 2. Optimize sparse files handling and file resizing __________________________________________________________________ Portmaster - utility to assist users with managing ports URL: http://dougbarton.us/portmaster.html Contact: Doug Barton I am currently seeking funding for further development work on portmaster. There are several features that are regularly requested by the community (such as support for installing packages) that I would very much like to implement but that will take more time than I can reasonably volunteer to implement correctly. There is information about the funding proposal available at the link above. Meanwhile I have recently completed another round of bug fixes and feature enhancements. The often-requested ability to specify the -x (exclude) option more than once on the command line was added in version 2.12. Also in that version I added the --list-origins option to make it easier to reinstall ports after a major version upgrade, or install the same set of ports on another system. Open tasks: 1. See the funding proposal. __________________________________________________________________ Release Engineering Status Report URL: http://www.FreeBSD.org/releng/ Contact: Release Engineering Team The Release Engineering Team continues to work on FreeBSD 8.0-RELEASE. Public testing has turned up quite a few problems, many related to the low-level network (routing/ARP table) changes and their interactions with IPv6. Progress continues to be made on fixing up the issues that have been identified during the public testing. At this point in time we are shooting for two more public test builds (RC2 and RC3) followed by the release late October or early November. __________________________________________________________________ Stream Control Transmission Protocol (SCTP) Contact: Randall Stewart SCTP continues to have minor fixes added to it as well as some new features. First and foremost, we now have VIMAGE and SCTP working and playing together. This goal was accomplished with the help of bz@, my new mentee tuexen@ and myself working together at the FreeBSD DevSummit in Cambridge, UK. Also the non-renegable SACK feature contributed by the university of Delaware was fixed so that now its safe to turn on (its sysctl). If you are using SCTP with CMT (Conncurrent Multipath Transfer) you will want to enable this option (CMT is also a sysctl). With CMT enabled you will be able to send data to all the destinations of an SCTP peer. We welcomed a new mentee (soon to be a commiter) to FreeBSD. Michael Tuexen is now a mentee of rrs@. Michael has been contributing to the SCTP work for quite some time and also moonlights as a Professor at the University of Muenster in Germany (when not doing SCTP coding). __________________________________________________________________ The FreeBSD Dutch Documentation Project URL: http://www.freebsd.org/docproj/translations.html#dutch Contact: Ren? Ladan Contact: Remko Lodder The current translations (Handbook and some articles) are kept up to date with the English versions. Some parts of the website have been translated, more work is in progress. Open tasks: 1. Find more volunteers for translating the remaining parts of the website and the FAQ. __________________________________________________________________ The FreeBSD Forums URL: http://forums.freebsd.org/ Contact: FreeBSD Forums Admins Contact: FreeBSD Forums Moderators Since their public launch in November 2008, the FreeBSD Forums (the most recent addition to the user community and support channels for the FreeBSD Operating System) have witnessed a healthy and steady growth. The user population is now at over 8,000 registered users, who have participated in over 6,000 topics, containing over 40,000 posts in total. The sign-up rate hovers between 50-100 each week. The total number of visitors (including 'guests') is hard to gauge but is likely to be a substantial multiple of the registered userbase. New topics and posts are actively 'pushed out' to search engines. This in turn makes the Forums show up in search results more and more often, making it a valuable and very accessible source of information for the FreeBSD community. One of the contributing factors to the Forums' success is their 'BSD-style' approach when it comes to administration and moderation. The Forums have a strong and unified identity, they are neatly divided into sub-forums (like 'Networking', 'Installing & Upgrading', etc.), very actively moderated, spam-free, and with a core group of very active and helpful members, dispensing many combined decades' worth of knowledge to starting, intermediate and professional users of FreeBSD. We expect the Forums to be, and to remain, a central hub in FreeBSD's community and support efforts. __________________________________________________________________ The FreeBSD Foundation Status Report URL: http://www.freebsdfoundation.org Contact: Deb Goodkin Kicking off our fall fund-raising campaign! Find out more at http://www.freebsdfoundation.org/donate/. We were a sponsor for EuroBSDCon 2009, and provided travel grants to 8 FreeBSD developers and users. We sponsored Kyiv BSD 2009, in Kiev Ukraine. We were also a sponsor of BSDCan, and sponsored 7 developers. We funded three new projects, New Console Driver by Ed Schouten, AVR32 Support by Arnar Mar Sig, and Wireless Mesh Support by Rui Paulo, which has completed. We continued funding a project that is making improvements to the FreeBSD TCP Stack by Lawrence Stewart. The project that made removing disk devices with mounted filesystems on them safe, by Edward Napierala, is now complete. We recognized the following FreeBSD developers at EuroBSDCon 2009: Poul-Henning Kamp, Bjoern Zeeb, and Simon Nielsen. These developers received limited edition FreeBSD Foundation vests. Follow us on Twitter now! __________________________________________________________________ The FreeBSD German Documentation Project URL: https://doc.bsdgroup.de URL: http://code.google.com/p/bsdcg-trans/wiki/BSDPJTAdede Contact: Johann Kois Contact: Benedict Reuschling Contact: Martin Wilke In May 2009, Benedict Reuschling received his commit bit to the www/de and doc/de_DE.ISO8859-1 trees under the mentorship of Johann Kois. Since then, he has been working primarily on the Handbook, updating existing chapters and translating new ones. Most notably, the filesystems and DTrace chapters have been recently translated. Bugs found in the original documents along the way were reported back so that the other translation teams could incorporate them, as well. Christoph Sold has put his time in translating the wiki pages of the BSD Certification Group into the German language. This is very helpful for all German people who want to take the exam and like to read the information about it in their native language. Daniel Seuffert has sent valuable corrections and bugfixes. Thanks to both of them for their time and efforts! The website is translated and updated constantly. Missing parts will be translated as time permits. We appreciate any help from volunteers in proofreading documents, translating new ones and keeping them up to date. Even small error reports are of great help for us. You can find contact information at the above URL. Open tasks: 1. Update the existing documentation set (especially the Handbook). 2. Translate more articles to German. 3. Read the translations. Check for problems and mistakes. Send feedback. __________________________________________________________________ The FreeBSD Hungarian Documentation Project URL: http://www.FreeBSD.org/hu URL: http://www.FreeBSD.org/doc/hu URL: http://wiki.FreeBSD.org/HungarianDocumentationProject URL: http://p4web.freebsd.org/@md=d&cd=//depot/projects/docproj_hu/&c=aXw@// depot/projects/docproj_hu/?ac=83 Contact: G?bor K?vesd?n Contact: G?bor P?li In the last months, we have not added new translations, although we have been working on the existing ones to have them updated. We need more translators and volunteers to keep the amount of the translated documentation growing, so feel free to contribute. Every line of submission or feedback is appreciated and highly welcome. If you want to join our work, please read the introduction to the project as well as the FDP Primer (both of them are available in Hungarian). Open tasks: 1. Translate news entries, press releases 2. Translate Release Notes for -CURRENT and 8.X 3. Translate articles 4. Translate web pages 5. Read the translations, send feedback __________________________________________________________________ The FreeBSD Spanish Documentation Project URL: http://www.FreeBSD.org/es URL: http://www.FreeBSD.org/doc/es URL: http://www.freebsd.org/doc/es/articles/fdp-es/ Contact: Jos? Vicente Carrasco Vay? Contact: G?bor K?vesd?n Recently, we have added one new article translation. The existing translations have not been updated, though. We need more human resources to keep up with the work and keep the translations up-to-date. Open tasks: 1. Update the Handbook translation 2. Update the web page translation __________________________________________________________________ The Newcons project URL: http://wiki.FreeBSD.org/Newcons URL: http://people.freebsd.org/~ed/newcons/patches/ Contact: Ed Schouten Some time ago I started writing a new driver for the FreeBSD kernel called vt(4), which is basically a replacement of syscons. There is still a lot of work that needs to be done but it is probably useful to mention what it does (and what does not). Right now there are just two graphics drivers for vt(4), namely a VGA driver for i386 and amd64 and a Microsoft Xbox graphics driver (because it was so easy to implement). I still have to figure out what I am going to do with VESA, because maybe it is better to just ignore VESA and figure out how hard it is to extend DRM to interact with vt(4). Some random features: it already supports both Unicode (UTF-8) input and output, it is MPSAFE and supports per-window graphical fonts of variable dimensions, containing an almost infinite amount of glyphs (both bold and regular). Open tasks: 1. Research needs to be done on DRM's codebase. 2. Syscons should already be migrated to TERM=xterm to make switching between drivers a bit easier. __________________________________________________________________ Valgrind suite on FreeBSD URL: http://wiki.freebsd.org/Valgrind Contact: Stanislav Sedov The Valgrind suite in the FreeBSD ports collection has been updated to version 3.5.0 (the latest available version). Most of the issues of the previous version should be resolved now: we expect memcheck, callgrind and cachegrind to be fully functional on both i386 and amd64 platforms as well as for i386 binaries running on amd64 system. DRD/hellgrind should work too, though they generate a lot of false-positives for now, so their output is a bit messy. Open tasks: 1. Port exp-ptrcheck valgrind tool and fix outstanding issues that show up in memcheck/helgrind/DRD in the Valgrind regression tests suite. 2. More testing (please, help). 3. Integrate our patches upstream. __________________________________________________________________ VirtualBox on FreeBSD URL: http://wiki.freebsd.org/VirtualBox Contact: Beat Gaetzi Contact: Bernhard Froehlich Contact: Dennis Herrmann Contact: Juergen Lock Contact: Martin Wilke VirtualBox has been committed to the Ports tree and synchronized with the latest trunk version from Sun. Several known problems are already fixed and some new features have been added: * VT-x support * Bridging support (Big Thanks to Fredrik Lindberg) * Host Serial Support * ACPI Support * Host DVD/CD access * SMP Support We would like to say thanks to all the people who helped us by reporting bugs and submitting fixes. We also thank the VirtualBox developers for their help with the ongoing effort to port VirtualBox on FreeBSD. From kraduk at googlemail.com Sun Oct 11 18:14:01 2009 From: kraduk at googlemail.com (krad) Date: Sun Oct 11 18:14:08 2009 Subject: best FBSD version for commercial use. In-Reply-To: <20091010063820.2e3a69b6@scorpio.seibercom.net> References: <4ACFDD57.6000401@izb.knu.ac.kr> <20091010063820.2e3a69b6@scorpio.seibercom.net> Message-ID: 2009/10/10 Jerry > On Sat, 10 Oct 2009 06:06:39 -0400 > jhell wrote: > > [snip] > > > I will agree with that. And raise that its not a good idea to be part > > of the early adopter club for commercial use. > > Somebody has got to go first. As so aptly stated by Robert Crandell, > chairman of American Airlines in the late 1990's, "If you're not the > lead dog, the view never changes." > > -- > Jerry > gesbbb@yahoo.com > > Let others praise ancient times; I am glad I was born in these. > > Ovid (43 B.C. - A.D. 18) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > hmm most of us in here aren't business men though. We are sysadmins, and therefore the only thing we'd be risking is our job. Most people most of the time don't need cutting edge features no matter how cool they are. Its all about risk management. By that I don't mean eliminating risk and stagnating, I mean taking appropriate risk for the application. From kline at thought.org Sun Oct 11 18:31:53 2009 From: kline at thought.org (Gary Kline) Date: Sun Oct 11 18:32:00 2009 Subject: music file in /tmp/XXX/ Message-ID: <20091011183146.GA1258@thought.org> guys, is there a freebsd app that will take my music file, 18 of them in /tmp/XXX, all named ogg files, and burn them to a CD? i've got like /tmp/XXX/one.ogg /tmp/XXX/two.ogg . . . /tmp/XXX/eighteen.ogg all are names so i figure they have the internet-title/siong-named database tags. not sure. i cant figure out howto use k3b to copy these files; i've tried. is there anything simpler that will burn files from /tmp/XXX/ to an audio CD? I surrender..... (*****) gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From kenneth.hatteland at kleppnett.no Sun Oct 11 20:50:24 2009 From: kenneth.hatteland at kleppnett.no (kenneth hatteland) Date: Sun Oct 11 20:50:32 2009 Subject: using own ntp server Message-ID: <4AD244EE.9090505@kleppnett.no> If I have understand ntp right it is possible to hook up my machines to the machine running the ntp server. nevertheless I am not able to find anywhere helping me with configuring these machines to connect to my server and I am still not bright enough to figure out the syntax myself. Does anyone know about a web page or anything that my Googling have missed ? Or perhaps I have gailed to grasp nto correct, and all machines must be configured like the handbook says to connect to external machines ? Blessed Be kenneth, Norway From kdk at daleco.biz Sun Oct 11 20:51:01 2009 From: kdk at daleco.biz (Kevin Kinsey) Date: Sun Oct 11 20:51:09 2009 Subject: sysinstall colours In-Reply-To: References: Message-ID: <4AD23C1C.8040300@daleco.biz> Alexander Best wrote: >> Seriously?!?!?! All the problems with sysinstall, and your idea is to >> change >> the color? Are you trying to start a bikeshed? If so, I prefer pink. > >> -- randi I'm painting the little girl's room next week and might have some leftover interior latex, if that will do. Oh, but, it's outside, so prolly not. Sorry. Or, do you want your pink bikeshed in the garage? ;-) > current developers don't seem to have any interest in improving sysinstall. so > it's important to get new people involved in freebsd. and the way to do that > is with an attractive looking installer and an easy installation process imo. I don't want to be harsh, but do you know what you're talking about? Randi, for one, has taken on the zombie known as sysinstall with a nice big shotgun, and is attempting to keep adding a few features here/there as needed to keep up with necessities while other developers (AFAIK) work on other projects, including, at last count, a couple differnet possibilities for installers. It's apparently been rather daunting work, and, as a result, the new installer, whatever its name is/will be, isn't ready for inclusion with 8.0. However, a day is coming ... Kevin Kinsey From jon at radel.com Sun Oct 11 21:08:42 2009 From: jon at radel.com (Jon Radel) Date: Sun Oct 11 21:08:49 2009 Subject: using own ntp server In-Reply-To: <4AD244EE.9090505@kleppnett.no> References: <4AD244EE.9090505@kleppnett.no> Message-ID: <4AD249A7.7070505@radel.com> kenneth hatteland wrote: > > If I have understand ntp right it is possible to hook up my machines to > the machine running the ntp server. nevertheless I am not able to find > anywhere helping me with configuring these machines to connect to my > server and I am still not bright enough to figure out the syntax myself. > Does anyone know about a web page or anything that my Googling have > missed ? Or perhaps I have gailed to grasp nto correct, and all > machines must be configured like the handbook says to connect to > external machines ? Leaving aside two areas which could cover a multitude of complications should you pursue them, namely 1) You start setting various security settings and make your ntp server effectively unreachable, or 2) the ability of your local server to multicast time data, your local ntp server should look like any other ntp server to which you have access (other than for less latency and jitter should your network be "normal"). Put server IP_OR_FQDN_OF_LOCAL_NTP_SERVER_HERE in the ntp.conf of your client machines and see what happens. The "peers" query from the ntpq program should let you know if you have success or have somehow locked yourself out / blocked access. Feel free to give us specifics of what you're doing if this doesn't work. BTW, the above assumes that you mean setting up your various local machines to all use ntpd, but not all query outside machines. If this isn't it, you're going to have to tell us what you mean by "hook up my machines to the machine running the ntp server." -- --Jon Radel jon@radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091011/8b13c6ca/smime.bin From miklosovic.freebsd at gmail.com Sun Oct 11 21:36:53 2009 From: miklosovic.freebsd at gmail.com (Stefan Miklosovic) Date: Sun Oct 11 21:37:00 2009 Subject: error output redirection Message-ID: hi list, if error output of some program appear on screen, it is possible to print it also to some file simultaneously ? e.g if I "cat" file which do not exist, error is on screen, I want to add that error to some file (errors.txt) thank you From artis.caune at gmail.com Sun Oct 11 21:52:33 2009 From: artis.caune at gmail.com (Artis Caune) Date: Sun Oct 11 21:52:41 2009 Subject: using own ntp server In-Reply-To: <4AD244EE.9090505@kleppnett.no> References: <4AD244EE.9090505@kleppnett.no> Message-ID: <9e20d71e0910111452s13e721b5oeb9fb0c8f6045601@mail.gmail.com> 2009/10/11 kenneth hatteland : > If I have understand ntp right it is possible to hook up my machines to the > machine running the ntp server. nevertheless I am not able to find anywhere > helping me with configuring these machines to connect to my server and I am > still not bright enough to figure out the syntax myself. Does anyone know > about a web page or anything that my Googling have missed ? Or perhaps ?I > have gailed to grasp nto correct, and all machines must be configured like > the handbook says to connect to external machines ? Take a look at OpenNTPD from OpenBSD. There are only two, three configuration options. :) For server: listen on * servers pool.ntp.org For clients: server 10.0.0.1 -- Artis Caune Everything should be made as simple as possible, but not simpler. From freebsd at edvax.de Sun Oct 11 21:53:53 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Oct 11 21:54:27 2009 Subject: music file in /tmp/XXX/ In-Reply-To: <20091011183146.GA1258@thought.org> References: <20091011183146.GA1258@thought.org> Message-ID: <20091011235349.3ec6d83a.freebsd@edvax.de> On Sun, 11 Oct 2009 11:31:48 -0700, Gary Kline wrote: > is there a freebsd app that will take my music file, 18 of them in /tmp/XXX, > all named ogg files, and burn them to a CD? > [...] > all are names so i figure they have the internet-title/siong-named > database tags. not sure. i cant figure out howto use k3b to copy these > files; i've tried. is there anything simpler that will burn files from > /tmp/XXX/ to an audio CD? I surrender..... (*****) Yes there is. So much for the "user-friendlyness" of GUI apps. :-) I'll attach a simple shell script that has served me well over the years. I do admit that it seems to be overcomplicated because of multiple conversions. I've placed the file in my ~/bin and gave it +x permissions. Use it in the directory you are currently located at. It requires the presence of the following programs: ogg123, madplay, sox, as well as burncd, cdrecord or cdrdao for the burning (and atapicam for the last two). Just try it, it solves your problem. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -------------- next part -------------- A non-text attachment was scrubbed... Name: mp3ogg2acd Type: application/octet-stream Size: 2098 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091011/4767f9c4/mp3ogg2acd.obj From freebsd at edvax.de Sun Oct 11 21:59:01 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Oct 11 21:59:08 2009 Subject: error output redirection In-Reply-To: References: Message-ID: <20091011235859.69bb0a08.freebsd@edvax.de> On Sun, 11 Oct 2009 23:36:52 +0200, Stefan Miklosovic wrote: > hi list, > > if error output of some program appear on screen, > it is possible to print it also to some file simultaneously ? > > e.g > if I "cat" file which do not exist, error is on screen, > I want to add that error to some file (errors.txt) See "man sh" (or "man bash" if you use it): The redirection could be this: $ cat nonexist.txt > error.txt 2>&1 The C shell has a different syntax: % cat nonexist.txt >& error.txt I hope that's what you have requested. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at optimis.net Sun Oct 11 22:46:17 2009 From: freebsd at optimis.net (George Davidovich) Date: Sun Oct 11 22:46:24 2009 Subject: error output redirection In-Reply-To: References: Message-ID: <20091011224616.GA75228@marvin.optimis.net> On Sun, Oct 11, 2009 at 11:36:52PM +0200, Stefan Miklosovic wrote: > if error output of some program appear on screen, it is possible to > print it also to some file simultaneously? Depends on the program, but generally, yes. http://en.wikipedia.org/wiki/Standard_streams http://en.wikipedia.org/wiki/Redirection_(computing) > e.g if I "cat" file which do not exist, error is on screen, I want to > add that error to some file (errors.txt) Replacing 'cat file_that_does_not_exist' with 'badcommand' # redirect STDERR to a file badcommand 2> errors.txt # append STDERR to a file badcommand 2>> errors.txt # fun with file descriptors to have it both ways badcommand 3>&1 1>&2 2>&3 | tee errors.txt -- George From danger at FreeBSD.org Sun Oct 11 23:02:33 2009 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sun Oct 11 23:02:41 2009 Subject: best FBSD version for commercial use. In-Reply-To: <560f92640910101323v36aa49aat5b88f6542bd8e169@mail.gmail.com> References: <4ACFDD57.6000401@izb.knu.ac.kr> <560f92640910091944k66f8c595rcbdb296e0dbfc078@mail.gmail.com> <20091010194000.GA17212@gizmo.acns.msu.edu> <560f92640910101323v36aa49aat5b88f6542bd8e169@mail.gmail.com> Message-ID: <4AD26400.2060502@FreeBSD.org> Nerius Landys wrote: >>> My 2 cents, as far as I know 7.1 will be maintained longer than 7.2 >>> according to the freebsd.org website. That is, security fixes will be >>> rolled out for 7.1 a while after 7.2 reaches End Of Life. That made >>> me decide to go with 7.1 when I had to make the switch from 7.0 a few >>> months ago. 8.0 was not out at that time. >> >> I don't think that is correct. There must be something unclear there. > > http://security.freebsd.org/ > > Near the bottom of the page mentioned above, there is a table. > RELENG_7_1 EoL is January 31, 2011, RELENG_7_2 EoL is May 31, 2010 > according to the chart. That is a difference of 8 months. All of these seems to be correct, but it needs a little note. The last version from the X-STABLE branch gets the Extended lifetime support. 7.2 is definitely not the latest release from the stable/7 branch, and that is the reason why it has shorter support life time. There, however, will be at least 7.3 which will potentially get longer support. And upgrading to 7.3 from 7.2 will surely not be a big deal. If you read the mentioned web page more carefully, you will see the following paragraph: Extended Selected releases (normally every second release plus the last release from each -STABLE branch) will be supported by the Security Officer for a minimum of 24 months after the release, and for sufficient additional time (if needed) to ensure that there is a newer Extended release for at least 3 months before the older Extended release expires. -- S pozdravom / Best regards Daniel Gerzo, FreeBSD committer From jaymax36 at gmail.com Mon Oct 12 00:11:14 2009 From: jaymax36 at gmail.com (jaymax) Date: Mon Oct 12 00:11:22 2009 Subject: Disk label inconsistencies Message-ID: <25849056.post@talk.nabble.com> I have a rather bizarre problem. I have been trying to upgrade forever w/ endless problems, but may have found the cause of some of the problems. Running O/S 6.0. My system disk is displayed in df etc as /dev/ad0 with slice & partitions as ad0s1a, ad0s1b, ad0s1e, .. , etc. It is similarly displayed under /dev. However, when I get to the disk label editor it shows up as ad0a, and slice & partitions as ad0as1a, ad0as1b, ad0as1e, .. , etc. I've tried changing these, even with the Fdisk editor but they seem to persist, perhaps when I restore the dump files. NOTE: ad0a or add0asx ... etc does not show up under /dev . Needless to say the following are standard messages from the upgrade attempts Error mounting /mnt/dev/ad0as1e on /mnt/tmp : Input/output error Error mounting /mnt/dev/ad0as1f on /mnt/usr : Input/output error Is there any solution to this short of reformatting the whole disk as new disk from scratch. Thanks! "Disk label inconsistencies" -- View this message in context: http://www.nabble.com/Disk-label-inconsistencies-tp25849056p25849056.html Sent from the freebsd-questions mailing list archive at Nabble.com. From que_deseja at hotmail.com Mon Oct 12 06:28:49 2009 From: que_deseja at hotmail.com (Desmond da Peoples) Date: Mon Oct 12 06:28:56 2009 Subject: mount problems Message-ID: How's it going? I'm having probelms mounting media within the gnome environment. The drive will grab the media but not read it nor unmount it. I've edited policykit so that root:operator and perm 0660 are enabled. Fstab has /dev/acd0 has been commented out. Rc.conf has hal,dbus, and gnome enabled. Kdm login manager if that helps any. _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/171222986/direct/01/ From nlandys at gmail.com Mon Oct 12 07:48:11 2009 From: nlandys at gmail.com (Nerius Landys) Date: Mon Oct 12 07:48:18 2009 Subject: best FBSD version for commercial use. In-Reply-To: <4AD26400.2060502@FreeBSD.org> References: <4ACFDD57.6000401@izb.knu.ac.kr> <560f92640910091944k66f8c595rcbdb296e0dbfc078@mail.gmail.com> <20091010194000.GA17212@gizmo.acns.msu.edu> <560f92640910101323v36aa49aat5b88f6542bd8e169@mail.gmail.com> <4AD26400.2060502@FreeBSD.org> Message-ID: <560f92640910120048t76bd723cx2843adc4156f4a99@mail.gmail.com> > Selected releases (normally every second release plus the last release from > each -STABLE branch) will be supported by the Security Officer for a minimum > of 24 months after the release, and for sufficient additional time (if > needed) to ensure that there is a newer Extended release for at least 3 > months before the older Extended release expires. OK for some reason I made the perhaps incorrect assumption that 7.2 was the last release in the 7.x line. I don't know where I got that from, but I do seem to recall seeing that somewhere. Could be wrong. From nlandys at gmail.com Mon Oct 12 07:53:13 2009 From: nlandys at gmail.com (Nerius Landys) Date: Mon Oct 12 07:53:21 2009 Subject: error output redirection In-Reply-To: References: Message-ID: <560f92640910120053s1c9bb2fcj838d622627f164b3@mail.gmail.com> > if error output of some program appear on screen, > it is possible to print it also to some file simultaneously ? Since you said "simultaneously", it made me think of the command tee. man tee? From mkushnir at lohika.com Mon Oct 12 08:59:53 2009 From: mkushnir at lohika.com (Markiyan Kushnir) Date: Mon Oct 12 09:00:00 2009 Subject: error output redirection In-Reply-To: <560f92640910120053s1c9bb2fcj838d622627f164b3@mail.gmail.com> References: <560f92640910120053s1c9bb2fcj838d622627f164b3@mail.gmail.com> Message-ID: <4AD2EFF3.9020501@lohika.com> what is easily done with tee for stdout cannot be done for stderr. Looks like there is no easy way to make a pipeline using stderr separately from stdout. If you want to watch output of the stderr separately from stdout, you might manage for it in two consoles: % foo 2>err % tail -f err Markiyan. Nerius Landys wrote: >> if error output of some program appear on screen, >> it is possible to print it also to some file simultaneously ? > > Since you said "simultaneously", it made me think of the command tee. man tee? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From mkushnir at lohika.com Mon Oct 12 09:12:26 2009 From: mkushnir at lohika.com (Markiyan Kushnir) Date: Mon Oct 12 09:12:34 2009 Subject: error output redirection In-Reply-To: <4AD2EFF3.9020501@lohika.com> References: <560f92640910120053s1c9bb2fcj838d622627f164b3@mail.gmail.com> <4AD2EFF3.9020501@lohika.com> Message-ID: <4AD2F2F5.3090805@lohika.com> George Davidovich already gave an answer. Markiyan Kushnir wrote: > what is easily done with tee for stdout cannot be done for stderr. Looks > like there is no easy way to make a pipeline using stderr separately > from stdout. If you want to watch output of the stderr separately from > stdout, you might manage for it in two consoles: > > % foo 2>err > > % tail -f err > > Markiyan. > > Nerius Landys wrote: >>> if error output of some program appear on screen, >>> it is possible to print it also to some file simultaneously ? >> >> Since you said "simultaneously", it made me think of the command tee. >> man tee? >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From fsilvaleandro at gmail.com Mon Oct 12 09:13:59 2009 From: fsilvaleandro at gmail.com (Leandro Silva) Date: Mon Oct 12 09:14:07 2009 Subject: Invitation to connect on LinkedIn Message-ID: <306491100.1463475.1255337169424.JavaMail.app@ech3-cdn11.prod> LinkedIn ------------ Leandro Silva requested to add you as a connection on LinkedIn: ------------------------------------------ Jerry, I'd like to add you to my professional network on LinkedIn. - Leandro Accept invitation from Leandro Silva http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1497860734_2/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_cBYQcPsMdzwTejgNiiZzomF5tnBKriYOdz8Nd30NejsLrCBxbOYWrSlI/EML_comm_afe/ View invitation from Leandro Silva http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1497860734_2/39vd3cTc3oUdPAQckALqnpPbOYWrSlI/svi/ ------------------------------------------ Why might connecting with Leandro Silva be a good idea? Have a question? Leandro Silva's network will probably have an answer: You can use LinkedIn Answers to distribute your professional questions to Leandro Silva and your extended network. You can get high-quality answers from experienced professionals. http://www.linkedin.com/e/ash/inv19_ayn/ ------ (c) 2009, LinkedIn Corporation From alex at bluebottle.net.au Mon Oct 12 09:37:16 2009 From: alex at bluebottle.net.au (Alex Jurkiewicz) Date: Mon Oct 12 09:37:22 2009 Subject: restore(8)ing new / -- boots on metal but not in a VM Message-ID: <98ac902a0910120214m29d299b5o6aa58fdba45c9f95@mail.gmail.com> Hi all, A little background: I'm writing a script that will allow me to restore(8) a standard FreeBSD partition to multiple machines. So far, I'm at the 'see if it works in principle' stage, and I'm finding something strange. My procedure: * Start with an empty hard drive (ad0). * Boot off the FreeBSD CD, enter the live CD filesystem shell (Fixit -> Live CD Filesystem) * Create a single slice with fdisk that spans the entire disk (fdisk -i /dev/ad0) * Create a single partition with bsdlabel that spans the entire slice (bsdlabel -w /dev/ad0s1) * Install the FreeBSD Boot Loader (boot0cfg -B /dev/ad0) * Format and restore the dumpfile (newfs /dev/ad0s1a && mount /dev/ad0s1a /mnt && cd /mnt && ssh storagebox "dd if=home/aj/image.dump" | restore -rvf - * Unmount /mnt and restart. The steps work fine... on physical hardware. The restored image boots up fine. As a VM guest, running in either VMWare or VirtualBox, it don't work. Everything appears to go fine, but when I get to the boot loader, pressing F1 just makes the PC speaker beep at me. Any pointers would be appreciated. I'm using FreeBSD 6.4. Cheers, Alex Jurkiewicz From herbert.raimund at gmx.net Mon Oct 12 11:08:31 2009 From: herbert.raimund at gmx.net (herbert langhans) Date: Mon Oct 12 11:11:06 2009 Subject: Fetchmail freaks out In-Reply-To: <98ac902a0910120214m29d299b5o6aa58fdba45c9f95@mail.gmail.com> References: <98ac902a0910120214m29d299b5o6aa58fdba45c9f95@mail.gmail.com> Message-ID: <20091012110827.GA748@sandcat> Hi Daemons, there happen strange things when I boot my laptop, FreeBSD 7.2, Fetchmail 6.3.11 (newest). .. Starting fetchmail. Starting fetchmail. fetchmail: can't accept options while a background fetchmail is running .. (Yes, the 'Starting' appears twice) My /etc/rc.conf contains: fetchmail_enable="YES" My /usr/local/etc/fetchmailrc contains: poll MYDOMAINNAME.COM, protocol pop3, no dns user MYUSERNAME there with password XXXXXX is MYUSERNAME here My /usr/local/etc/rc.d/fetchmail exists and is the default one from the port-install. That should be all the files I have. Fetchmail even works, but: What are these double starting-messages (#ps -ax shows just one fetchmail running)? What am I doing wrong? How to get rid of it? Thanks herb langhans -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 From kraduk at googlemail.com Mon Oct 12 08:42:24 2009 From: kraduk at googlemail.com (krad) Date: Mon Oct 12 11:17:13 2009 Subject: best FBSD version for commercial use. In-Reply-To: <560f92640910120048t76bd723cx2843adc4156f4a99@mail.gmail.com> References: <4ACFDD57.6000401@izb.knu.ac.kr> <560f92640910091944k66f8c595rcbdb296e0dbfc078@mail.gmail.com> <20091010194000.GA17212@gizmo.acns.msu.edu> <560f92640910101323v36aa49aat5b88f6542bd8e169@mail.gmail.com> <4AD26400.2060502@FreeBSD.org> <560f92640910120048t76bd723cx2843adc4156f4a99@mail.gmail.com> Message-ID: 2009/10/12 Nerius Landys > > Selected releases (normally every second release plus the last release > from > > each -STABLE branch) will be supported by the Security Officer for a > minimum > > of 24 months after the release, and for sufficient additional time (if > > needed) to ensure that there is a newer Extended release for at least 3 > > months before the older Extended release expires. > > OK for some reason I made the perhaps incorrect assumption that 7.2 > was the last release in the 7.x line. I don't know where I got that > from, but I do seem to recall seeing that somewhere. Could be wrong. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > ive seen 7.3 mentioned on release engineering docs. I doubt whether it will go further than that though From greg.morell at yahoo.com Mon Oct 12 14:00:22 2009 From: greg.morell at yahoo.com (Greg Morell) Date: Mon Oct 12 14:00:36 2009 Subject: Mountable encrypted file? What to use? Message-ID: <954220.56717.qm@web46415.mail.sp1.yahoo.com> Since TrueCrypt doesn't work on FreeBSD, I'm wondering what you'd recommend for this: I like to keep all of my sensitive stuff in a few encrypted mountable files. Something where I can copy the file to a USB key for backup, but not worry if I lose the USB key since it's just an encrypted file. But when on a computer, I can mount it as a volume. On OS X, I use encrypted 'dmg' volumes. On Linux and Windows, I use TrueCrypt. What should I use on FreeBSD? It doesn't have to be portable. Something FreeBSD-only is fine. Thanks! From ohartman at zedat.fu-berlin.de Mon Oct 12 14:03:28 2009 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Mon Oct 12 14:03:35 2009 Subject: [ports/science/paraview]: /usr/local/lib/paraview-2.4/tk8.4/tk.tcl: no event type or button # or keysym Message-ID: <4AD3373F.1090206@zedat.fu-berlin.de> Before posting a PR I'll ask whether this error I receive after a fresh installation of paraview from ports today on FreeBSD 8.0-RC1/amd64 is an serious issue or something related on misconfiguration. Besides, tcl/tk 8.4 is up to date and present on the system. Hope someone can help, regards, Oliver -- ParaView error: InitializeTcl failed Tk_Init error: Can't find a usable tk.tcl in the following directories: /usr/local/lib/paraview-2.4/tk8.4 /usr/local/lib/paraview-2.4/tk8.4/tk.tcl: no event type or button # or keysym no event type or button # or keysym while executing "bind Listbox { %W yview scroll [expr {- (%D / 120) * 4}] units }" (file "/usr/local/lib/paraview-2.4/tk8.4/listbox.tcl" line 182) invoked from within "source /usr/local/lib/paraview-2.4/tk8.4/listbox.tcl" (in namespace eval "::" script line 1) invoked from within "namespace eval :: [list source [file join $::tk_library $file.tcl]]" (procedure "SourceLibFile" line 2) invoked from within "SourceLibFile listbox" (in namespace eval "::tk" script line 4) invoked from within "namespace eval ::tk { SourceLibFile button SourceLibFile entry SourceLibFile listbox SourceLibFile menu SourceLibFile panedwindow SourceLibFile ..." invoked from within "if {$::tk_library ne ""} { if {[string equal $tcl_platform(platform) "macintosh"]} { proc ::tk::SourceLibFile {file} { if {[catch { namesp..." (file "/usr/local/lib/paraview-2.4/tk8.4/tk.tcl" line 397) invoked from within "source /usr/local/lib/paraview-2.4/tk8.4/tk.tcl" ("uplevel" body line 1) invoked from within "uplevel #0 [list source $file]" This probably means that tk wasn't installed properly. -- Oliver Hartmann Freie Universitaet Berlin Planetologie und Fernerkundung Malteserstr. 74 - 100/Haus D D-12249 Berlin Tel.: +49 (0) 30 838 70 508 FAX: +49 (0) 30 838 70 539 From colejd at comcast.net Mon Oct 12 14:33:41 2009 From: colejd at comcast.net (James Cole) Date: Mon Oct 12 14:33:48 2009 Subject: kdeutils4 compile problem w/ superkaramba Message-ID: I am trying to compile KDE4 but when it tries to compile the kdeutils4 dependency (doing so manually here), it croaks with superkaramba. >From what I can tell, superkaramba cannot find python.h or any other call in /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb a.cpp I have 7.1-RELEASE with updated ports as of Oct-6. python26 is installed with threads. Using my friend Google, the only advise I have found is installing the python-devel package (which doesn't seem to exist in FreeBSD) on a superkaramba faq page. http://netdragon.sourceforge.net/faq.html Any help would be great. Code: #make install [ 88%] Built target sweeper [ 88%] Built target superkaramba_automoc [ 88%] Building CXX object superkaramba/src/CMakeFiles/superkaramba.dir/python/karamba.o /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb a.cpp:30:20: error: Python.h: No such file or directory /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb a.cpp:65: error: 'PyMethodDef' does not name a type /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb a.cpp: In constructor 'KarambaPython::KarambaPython(const ThemeFile&, bool)': /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb a.cpp:355: error: 'PyRun_SimpleString' was not declared in this scope /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb a.cpp:361: error: 'PyImport_AddModule' was not declared in this scope /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb a.cpp:362: error: 'karamba_methods' was not declared in this scope /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb a.cpp:362: error: 'Py_InitModule' was not declared in this scope /superkaramba/src/python/karamba.cpp:630: error: 'Py_BuildValue' was not declared in this scope *** Error code 1 Stop in /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/build. *** Error code 1 Stop in /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/build. *** Error code 1 Stop in /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/build. *** Error code 1 Stop in /usr/ports/misc/kdeutils4. *** Error code 1 Stop in /usr/ports/misc/kdeutils4. From ml at netfence.it Mon Oct 12 15:12:00 2009 From: ml at netfence.it (Andrea Venturoli) Date: Mon Oct 12 15:12:07 2009 Subject: Mountable encrypted file? What to use? In-Reply-To: <954220.56717.qm@web46415.mail.sp1.yahoo.com> References: <954220.56717.qm@web46415.mail.sp1.yahoo.com> Message-ID: <4AD3473C.4000204@netfence.it> Greg Morell ha scritto: > Since TrueCrypt doesn't work on FreeBSD, I'm wondering what you'd recommend for this: > > I like to keep all of my sensitive stuff in a few encrypted mountable files. > > Something where I can copy the file to a USB key for backup, but not worry if I lose the USB key since it's just an encrypted file. But when on a computer, I can mount it as a volume. What about GELI? I've used it for a long time with no problems. Check the handbook for details. bye av. From rsmith at xs4all.nl Mon Oct 12 16:20:11 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Oct 12 16:20:18 2009 Subject: Mountable encrypted file? What to use? In-Reply-To: <954220.56717.qm@web46415.mail.sp1.yahoo.com> References: <954220.56717.qm@web46415.mail.sp1.yahoo.com> Message-ID: <20091012162008.GA17456@slackbox.xs4all.nl> On Mon, Oct 12, 2009 at 06:33:40AM -0700, Greg Morell wrote: > Since TrueCrypt doesn't work on FreeBSD, I'm wondering what you'd recommend for this: > > I like to keep all of my sensitive stuff in a few encrypted mountable files. > > Something where I can copy the file to a USB key for backup, but not worry if I lose the USB key since it's just an encrypted file. But when on a computer, I can mount it as a volume. > > On OS X, I use encrypted 'dmg' volumes. > > On Linux and Windows, I use TrueCrypt. > > What should I use on FreeBSD? You should use GELI, see geli(8). It can encrypt complete disks, partitions or bsdlabels. If you want the encrypted stuff encased in a file, you should use md(4) to create a vnode-backed memory disk, and encrypt that with GELI. 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091012/6945bb8e/attachment.pgp From gfritz at gmail.com Mon Oct 12 16:38:48 2009 From: gfritz at gmail.com (Geoff Fritz) Date: Mon Oct 12 16:38:55 2009 Subject: Mountable encrypted file? What to use? In-Reply-To: <954220.56717.qm@web46415.mail.sp1.yahoo.com> References: <954220.56717.qm@web46415.mail.sp1.yahoo.com> Message-ID: <20091012161824.GA370@dev.null> On Mon, Oct 12, 2009 at 06:33:40AM -0700, Greg Morell wrote: > > I like to keep all of my sensitive stuff in a few encrypted mountable files. > Something where I can copy the file to a USB key for backup, but not > worry if I lose the USB key since it's just an encrypted file. But when > on a computer, I can mount it as a volume. > > What should I use on FreeBSD? Combine geli with the md device: dd if=/dev/zero of=/tmp/secret bs=1 count=0 seek=1G mdconfig -a -t vnode -f /tmp/secret -u 1984 geli load geli init /dev/md1984 && geli attach /dev/md1984 newfs /dev/md1984.eli mkdir /mnt/secret && mount /dev/md1984.eli /mnt/secret echo "the formula for Coke is..." > /mnt/secret/secret_formula.txt umount /mnt/secret geli detach /dev/md1984.eli mdconfig -d -u 1984 cp /tmp/secret /mnt/usbdrive (I don't know off-hand the 'cp' options for copying sparse files correctly). Read the man pages for all of the commands you are unfamiliar with. geli(8) has a lot of flexible options. -- Geoff From Trond.Endrestol at fagskolen.gjovik.no Mon Oct 12 17:35:39 2009 From: Trond.Endrestol at fagskolen.gjovik.no (=?ISO-8859-1?Q?Trond_Endrest=F8l?=) Date: Mon Oct 12 17:35:47 2009 Subject: Trouble making a Tandberg LTO-2 HH S619 work with AMANDA 2.6.1p1 on 7.2-STABLE as of today Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm having trouble making a Tandberg LTO-2 HH S619 work with AMANDA 2.6.1p1 on 7.2-STABLE i386 cvsup'ed as of today local time. The tape drive is connected to channel A on: ahc0: port 0xec00-0xecff mem 0xff8ff000-0xff8fffff irq 17 at device 8.0 on pci1 ahc0: [ITHREAD] aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xe800-0xe8ff mem 0xff8fe000-0xff8fefff irq 18 at device 8.1 on pci1 ahc1: [ITHREAD] aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs During (re)boot the following is recorded in dmesg: (probe5:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe5:ahc0:0:5:0): CAM Status: SCSI Status Error (probe5:ahc0:0:5:0): SCSI Status: Check Condition (probe5:ahc0:0:5:0): UNIT ATTENTION asc:29,2 (probe5:ahc0:0:5:0): SCSI bus reset occurred (probe5:ahc0:0:5:0): Retrying Command (per Sense Data) sa0 at ahc0 bus 0 target 5 lun 0 sa0: Removable Sequential Access SCSI-3 device sa0: 160.000MB/s transfers (80.000MHz DT, offset 64, 16bit) Is these messages normal for this drive? A valid tape was present in the drive during reboot. This is a brand new drive and in it's maiden voyage the other night AMANDA complained about running out of tape after a mere 10 GB worth of data. LTO2 tapes usually have a raw capacity of about 200 GB. Next I ran amtapetype to get the new characteristics, but got the following instead: amanda@XXX:~>mt -f /dev/sa0 comp off amanda@XXX:~>mt -f /dev/sa0 status Mode Density Blocksize bpi Compression Current: 0x42 variable 0 disabled - ---------available modes--------- 0: 0x42 variable 0 0x1 1: 0x42 variable 0 0x1 2: 0x42 variable 0 0x1 3: 0x42 variable 0 0x1 - --------------------------------- Current Driver State: at rest. - --------------------------------- File Number: 0 Record Number: 0 Residual Count 0 amanda@XXX:~>/usr/bin/time -l amtapetype -t "TANDBERG-LTO2-HH-TANDBERG-200GB-WITHOUT-COMPRESSION" /dev/sa0 Applying heuristic check for compression. Wrote random (uncompressible) data at 22260042.3225806 bytes/sec Wrote fixed (compressible) data at 22260042.3225806 bytes/sec Compression: disabled Writing one file to fill the volume. Wrote less than 100MB to the device: Error writing block: Unknown error: 0 9133,58 real 4747,35 user 316,77 sys 11700 maximum resident set size 3 average shared memory size 730 average unshared data size 127 average unshared stack size 1614 page reclaims 1 page faults 0 swaps 18 block input operations 2 block output operations 0 messages sent 0 messages received 0 signals received 44390062 voluntary context switches 26325015 involuntary context switches amanda@XXX:~> I managed to observe the block count rising well into 6000000 before the abrupt ending which usually indicates the tape being completely filled assuming a block size of 32K which is the default for amtapetype. I can (re)boot the server with verbose logging turned on if that can improve the diagnosis. I've ordered a new Adaptec 39320 to use with this drive. If anyone has a better suggestion please let's have it. Trond. - -- - ---------------------------------------------------------------------- Trond Endrest?l | Trond.Endrestol@fagskolen.gjovik.no ACM, NAS, NUUG, SAGE, USENIX | FreeBSD 7.2-STABLE & Alpine 2.00 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkrTaNkACgkQbYWZalUoElvQUACaAqtSRuAFUJc84NTpZVuqKulY Z4QAn1L0fZzRoXVPXQjA+NBuAgSYtBPZ =6Bl5 -----END PGP SIGNATURE----- From tajudd at gmail.com Mon Oct 12 18:53:11 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon Oct 12 18:53:17 2009 Subject: restore(8)ing new / -- boots on metal but not in a VM In-Reply-To: <98ac902a0910120214m29d299b5o6aa58fdba45c9f95@mail.gmail.com> References: <98ac902a0910120214m29d299b5o6aa58fdba45c9f95@mail.gmail.com> Message-ID: On 10/12/09, Alex Jurkiewicz wrote: > Hi all, > A little background: I'm writing a script that will allow me to > restore(8) a standard FreeBSD partition to multiple machines. So far, > I'm at the 'see if it works in principle' stage, and I'm finding > something strange. > > My procedure: > * Start with an empty hard drive (ad0). > * Boot off the FreeBSD CD, enter the live CD filesystem shell (Fixit > -> Live CD Filesystem) > * Create a single slice with fdisk that spans the entire disk (fdisk > -i /dev/ad0) > * Create a single partition with bsdlabel that spans the entire slice > (bsdlabel -w /dev/ad0s1) > * Install the FreeBSD Boot Loader (boot0cfg -B /dev/ad0) > * Format and restore the dumpfile (newfs /dev/ad0s1a && mount > /dev/ad0s1a /mnt && cd /mnt && ssh storagebox "dd > if=home/aj/image.dump" | restore -rvf - > * Unmount /mnt and restart. > > The steps work fine... on physical hardware. The restored image boots > up fine. As a VM guest, running in either VMWare or VirtualBox, it > don't work. Everything appears to go fine, but when I get to the boot > loader, pressing F1 just makes the PC speaker beep at me. > > Any pointers would be appreciated. I'm using FreeBSD 6.4. > > Cheers, > Alex Jurkiewicz Is the virtual machine using SCSI emulation to boot, or is it using IDE? SCSI drives are da(4), IDE drives are ata(4) [aka ad(4)] If the boot blocks (maybe boot0 specific) point to an ad/ata device, and the virtual machine is SCSI, it won't find the boot sectors. Personally, I use the "standard" boot blocks which don't allow multibooting but I don't multiboot BSD anyway. The standard boot blocks work by finding the first bsd slice, and booting it. I like the keyword find because it doesn't direct the boot blocks to something unfindable. :D Let me know the subsystem layout, and we'll work from there. From freebsd at edvax.de Mon Oct 12 19:18:51 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Oct 12 19:18:58 2009 Subject: Mountable encrypted file? What to use? In-Reply-To: <20091012161824.GA370@dev.null> References: <954220.56717.qm@web46415.mail.sp1.yahoo.com> <20091012161824.GA370@dev.null> Message-ID: <20091012211848.a92b6394.freebsd@edvax.de> On Mon, 12 Oct 2009 10:18:24 -0600, Geoff Fritz wrote: > mdconfig -a -t vnode -f /tmp/secret -u 1984 ^^^^^^^^ Heheh... You plusgood coder. Continue scriptwrite fulwise! :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd-questions at slightlystrange.org Mon Oct 12 21:13:59 2009 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Mon Oct 12 21:14:06 2009 Subject: gmirror, gjournal and glabel - which order? Message-ID: <20091012211339.GA12688@torus.slightlystrange.org> Hi all, I'm having a hard time trying to work out which order I should set up gmirror, glabel and gjournal on a new system. I want to journal my /home partition, label all the partitions for ease of reference, and use gmirror to save me in the event a disk goes bad. I am struggling to fit the pieces together conceptually in my mind. I understand the processes involved in setting each part separately - my problem is in trying to build this up in the right order so that it all makes sense. So far, I have labelled the primary drive and set up the journal. I have edited fstab to reflect the labels and journalled file system on /home. If I now build a mirror, don't I need to alter fstab to mount that and not the stuff in /dev/label? In which case, I guess I need to build the mirror first, and then set up labels and journals? I'm going round and round in circles here and none of the stuff I've read on the web enlightens me... :-/ Any insights or suggestions would be taken as a great kindness! Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091012/bdaa08cc/attachment.pgp From sonicy at otenet.gr Mon Oct 12 22:08:49 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Mon Oct 12 22:08:56 2009 Subject: gmirror, gjournal and glabel - which order? In-Reply-To: <20091012211339.GA12688@torus.slightlystrange.org> References: <20091012211339.GA12688@torus.slightlystrange.org> Message-ID: <4AD3A8EE.8020708@otenet.gr> Daniel Bye wrote: > Hi all, > > I'm having a hard time trying to work out which order I should set up > gmirror, glabel and gjournal on a new system. I want to journal my > /home partition, label all the partitions for ease of reference, and > use gmirror to save me in the event a disk goes bad. I am struggling > to fit the pieces together conceptually in my mind. I understand the > processes involved in setting each part separately - my problem is in > trying to build this up in the right order so that it all makes sense. > > So far, I have labelled the primary drive and set up the journal. I have > edited fstab to reflect the labels and journalled file system on /home. > If I now build a mirror, don't I need to alter fstab to mount that and > not the stuff in /dev/label? In which case, I guess I need to build the > mirror first, and then set up labels and journals? > > I'm going round and round in circles here and none of the stuff I've > read on the web enlightens me... :-/ > > Any insights or suggestions would be taken as a great kindness! > > Dan > > When not mirroring, I first create the journals and then label the resulting adxxxx.journal devices In case you are doing a gmirror device, you would not really need the separate label step - the gm device name won't change and gmirror is not affected if the device names of the individual disks change (the disks are marked as part of a mirror and scanned at startup). When you are creating the composite gmirror device you are effectively labeling it anyway i.e. gmirror label gm0... Now if you follow the usual tutorials found in the web you would be using gm0 / gm1 but you actually name it any way you wish. If you really need to label the separate gmirrored partitions, do it after setting up the mirror. Concerning the order of journals and mirroring, I create the journals first, then mirror the result. This has always worked fine for me. From jeremysalmeron at gmail.com Mon Oct 12 22:14:48 2009 From: jeremysalmeron at gmail.com (=?ISO-8859-1?Q?J=E9r=E9my_SALMERON?=) Date: Mon Oct 12 22:14:55 2009 Subject: Demande de renseignements Message-ID: Bonsoir , Je souhaiterai distribuer une version modifi?e de FreeBSD : non alteration du code source mais avec modification d'ordre graphique . Je souhaiterai la distribuer en bundle avec un p?riph?rique nomade . Puis-je utiliser librement le syst?me d'exploitation et le distribuer de cette mani?re ? Le cas ?ch?ant , quelles sont les obligations que je dois respecter afin de ne pas ?tre en contradiction avec le copyright ? Je ne trouve pas de r?ponses sur le net , je m'en remets ? vous . Cordialement J?r?my Salmeron I would like to sell a customized version of FreeBSD : no alteration but only a template modification . I would like to sell this product on a netbook. Could i use the OS and distribute like this way ? What are the rules that i must respect to be OK with the copyright ? I'm seeking on the net without finding answers I need your point Best Regards Jeremy Salmeron From freebsd-questions at slightlystrange.org Tue Oct 13 00:29:42 2009 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Tue Oct 13 00:29:49 2009 Subject: gmirror, gjournal and glabel - which order? In-Reply-To: <4AD3A8EE.8020708@otenet.gr> References: <20091012211339.GA12688@torus.slightlystrange.org> <4AD3A8EE.8020708@otenet.gr> Message-ID: <20091013002919.GB12688@torus.slightlystrange.org> On Tue, Oct 13, 2009 at 01:08:46AM +0300, Manolis Kiagias wrote: > Daniel Bye wrote: > > Hi all, > > > > I'm having a hard time trying to work out which order I should set up > > gmirror, glabel and gjournal on a new system. I want to journal my > > /home partition, label all the partitions for ease of reference, and > > use gmirror to save me in the event a disk goes bad. I am struggling > > to fit the pieces together conceptually in my mind. I understand the > > processes involved in setting each part separately - my problem is in > > trying to build this up in the right order so that it all makes sense. > > > > So far, I have labelled the primary drive and set up the journal. I have > > edited fstab to reflect the labels and journalled file system on /home. > > If I now build a mirror, don't I need to alter fstab to mount that and > > not the stuff in /dev/label? In which case, I guess I need to build the > > mirror first, and then set up labels and journals? > > > > I'm going round and round in circles here and none of the stuff I've > > read on the web enlightens me... :-/ > > > > Any insights or suggestions would be taken as a great kindness! > > > > Dan > > > > > When not mirroring, I first create the journals and then label the > resulting adxxxx.journal devices > In case you are doing a gmirror device, you would not really need the > separate label step - the gm device name won't change and gmirror is not > affected if the device names of the individual disks change (the disks > are marked as part of a mirror and scanned at startup). > When you are creating the composite gmirror device you are effectively > labeling it anyway i.e. gmirror label gm0... > Now if you follow the usual tutorials found in the web you would be > using gm0 / gm1 but you actually name it any way you wish. > If you really need to label the separate gmirrored partitions, do it > after setting up the mirror. > > Concerning the order of journals and mirroring, I create the journals > first, then mirror the result. This has always worked fine for me. Thanks much, Manoli. After posting, I came to more or less the same conclusion, but it's good to get confirmation from someone who clearly knows more about this stuff than I do! I'd still be interested to hear what others think/do. As ever, thanks for your time. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091013/523b9a0c/attachment.pgp From alex at bluebottle.net.au Tue Oct 13 00:45:09 2009 From: alex at bluebottle.net.au (Alex Jurkiewicz) Date: Tue Oct 13 00:45:16 2009 Subject: restore(8)ing new / -- boots on metal but not in a VM In-Reply-To: References: <98ac902a0910120214m29d299b5o6aa58fdba45c9f95@mail.gmail.com> Message-ID: <98ac902a0910121745h204124ear51139091572676f3@mail.gmail.com> 2009/10/13 Tim Judd : > Is the virtual machine using SCSI emulation to boot, or is it using IDE? > > SCSI drives are da(4), IDE drives are ata(4) [aka ad(4)] > The dump was taken from an ad0 device on physical hardware, and I'm attempting to restore to the same, just on virtual hardware. > If the boot blocks (maybe boot0 specific) point to an ad/ata device, > and the virtual machine is SCSI, it won't find the boot sectors. So, if I make a dumpfile of / on an ad(4) device, I can't restore it to a da(4) device and expect it to boot? I guess at minimum I'll need two copies of this image if I want to roll it out on machines with both sorts of drive, right? Thanks, AJ From yuri at rawbw.com Tue Oct 13 03:42:10 2009 From: yuri at rawbw.com (Yuri) Date: Tue Oct 13 03:42:17 2009 Subject: Netbooks good for FreeBSD? Message-ID: <4AD3F710.3060701@rawbw.com> I am thinking about buying a netbook. But I am afraid that WiFi wouldn't be supported. And all my previous attempts to make NDIS to work on FreeBD failed. Anybody has good experiences making netbooks work? Or better is there a hardware compatibility list for FreeBSD? Yuri From guru at unixarea.de Tue Oct 13 03:49:18 2009 From: guru at unixarea.de (Matthias Apitz) Date: Tue Oct 13 03:49:25 2009 Subject: Netbooks good for FreeBSD? In-Reply-To: <4AD3F710.3060701@rawbw.com> References: <4AD3F710.3060701@rawbw.com> Message-ID: <20091013034917.GB2063@current.Sisis.de> El d?a Monday, October 12, 2009 a las 08:42:08PM -0700, Yuri escribi?: > I am thinking about buying a netbook. But I am afraid that WiFi wouldn't > be supported. And all my previous attempts to make NDIS to work on > FreeBD failed. > > Anybody has good experiences making netbooks work? > Or better is there a hardware compatibility list for FreeBSD? Better post in freebsd-mobile such question. For your question see here: http://wiki.freebsd.org/AsusEee matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From pldrouin at pldrouin.net Tue Oct 13 04:15:07 2009 From: pldrouin at pldrouin.net (Pierre-Luc Drouin) Date: Tue Oct 13 04:15:13 2009 Subject: Netbooks good for FreeBSD? In-Reply-To: <4AD3F710.3060701@rawbw.com> References: <4AD3F710.3060701@rawbw.com> Message-ID: <4AD3FEEB.1030405@pldrouin.net> Hi, So far I have been able to get WiFi working on most netbooks I got, but honestly, FreeBSD is not the best for laptops. WiFi drivers are often a bit buggy (connection is dropping because of driver problems) and ACPI sleep modes never worked on my laptops. WiFi, ACPI sleep modes and graphic card support are the weakest points of FreeBSD for non-server usage according to me... Yuri wrote: > I am thinking about buying a netbook. But I am afraid that WiFi > wouldn't be supported. And all my previous attempts to make NDIS to > work on FreeBD failed. > > Anybody has good experiences making netbooks work? > Or better is there a hardware compatibility list for FreeBSD? > > Yuri > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From pldrouin at pldrouin.net Tue Oct 13 04:34:23 2009 From: pldrouin at pldrouin.net (Pierre-Luc Drouin) Date: Tue Oct 13 04:34:31 2009 Subject: Demande de renseignements In-Reply-To: References: Message-ID: <4AD3FD92.6020708@pldrouin.net> Bonjour, je crois bien que c'est possible. La license BSD est beaucoup plus permittive que la license GPL. En pratique je crois que la seule restriction est de ne pas alterer la notice. Il n'est pas obligatiore de rendre disponible le code source comme avec la license GPL. Le copyright complet est dans le fichier COPYRIGHT dans le dossier racine de FreeBSD. Pierre-Luc Drouin J?r?my SALMERON wrote: > Bonsoir , > Je souhaiterai distribuer une version modifi?e de FreeBSD : non alteration > du code source mais avec modification d'ordre graphique . Je souhaiterai la > distribuer en bundle avec un p?riph?rique nomade . > > Puis-je utiliser librement le syst?me d'exploitation et le distribuer de > cette mani?re ? > Le cas ?ch?ant , quelles sont les obligations que je dois respecter afin de > ne pas ?tre en contradiction avec le copyright ? > > Je ne trouve pas de r?ponses sur le net , je m'en remets ? vous . > > Cordialement > > J?r?my Salmeron > > > > I would like to sell a customized version of FreeBSD : no alteration but > only a template modification . I would like to sell this product on a > netbook. > > Could i use the OS and distribute like this way ? > What are the rules that i must respect to be OK with the copyright ? > > I'm seeking on the net without finding answers > I need your point > > Best Regards > Jeremy Salmeron > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From saifi.khan at datasynergy.org Tue Oct 13 05:00:30 2009 From: saifi.khan at datasynergy.org (Saifi Khan) Date: Tue Oct 13 05:00:37 2009 Subject: IUP port Message-ID: Hi: Does anybody know if there is a IUP port in FreeBSD ? IUP is a portable toolkit for building graphical user interfaces http://www.tecgraf.puc-rio.br/iup/ thanks Saifi. From dead_line at hotmail.com Tue Oct 13 05:42:29 2009 From: dead_line at hotmail.com (Marwan Sultan) Date: Tue Oct 13 05:42:36 2009 Subject: server specification. Message-ID: Hello gurus, Im going to a new server, and i donot want to have a problem.. May please anyone advice me of any feed back of FreeBSD 7.2 with the following specification: any problems? 1x Intel Core 2 Quad Q6600 Kentsfield 2.4GHz 2x 4MB L2 Cache LGA 775 2GB DDR2 ECC 3WARE RAID SATA 2 ports 2x 250GB SATA in RAID 1 So any problems with quad kentsfield and FBSD 7.2 ? thank you in advance. Marwan Sultan _________________________________________________________________ Hotmail: Trusted email with Microsoft?s powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141664/direct/01/ From ertr1013 at student.uu.se Tue Oct 13 07:51:01 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Tue Oct 13 07:51:08 2009 Subject: server specification. In-Reply-To: References: Message-ID: <20091013075039.GA81673@owl.midgard.homeip.net> On Tue, Oct 13, 2009 at 05:42:28AM +0000, Marwan Sultan wrote: > > Hello gurus, > > > > Im going to a new server, and i donot want to have a problem.. > > May please anyone advice me of any feed back of FreeBSD 7.2 with the following specification: > > any problems? > > > > > > 1x Intel Core 2 Quad Q6600 > Kentsfield 2.4GHz 2x 4MB L2 > Cache LGA 775 > > 2GB DDR2 ECC > > 3WARE RAID SATA 2 ports > > 2x 250GB SATA in RAID 1 > > > > So any problems with quad kentsfield and FBSD 7.2 ? No problems AFAIK, but then the exact CPU model is almost never a problem. Far more likely to cause problems is the chipset used on the motherboard where one or more components (ethernet controller, SATA controller, etc) might not be supported or might have problems. (The same goes for any additional controllers that might be included on the motherboard or on add-on cards.) Most chipsets work fine, but some of the very newest might not be supported yet. -- Erik Trulsson ertr1013@student.uu.se From howard at leadmon.net Tue Oct 13 07:51:52 2009 From: howard at leadmon.net (Howard Leadmon) Date: Tue Oct 13 07:52:00 2009 Subject: Kernel Build issue after doing a cvsup yesterday under 6.4 on x86 - Help (knote_fork) Message-ID: <00c401ca4bd5$327de870$9779b950$@net> After running cvsup and doing a buildworld, I tried to make a new kernel, and got the following error.. On my 6.4-STABLE x86 machine, I received the following: cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/src/sys/kern/kern_event.c /usr/src/sys/kern/kern_event.c:408: warning: no previous prototype for 'knote_fork' *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I have rebuilt this machine many times over the past couple years, and always no problems, till now. If anyone has any ideas on how to resolve this it would be most appreciated.. --- Howard Leadmon - howard@leadmon.net http://www.leadmon.net From kraduk at googlemail.com Tue Oct 13 08:37:17 2009 From: kraduk at googlemail.com (krad) Date: Tue Oct 13 08:37:24 2009 Subject: gmirror, gjournal and glabel - which order? In-Reply-To: <20091013002919.GB12688@torus.slightlystrange.org> References: <20091012211339.GA12688@torus.slightlystrange.org> <4AD3A8EE.8020708@otenet.gr> <20091013002919.GB12688@torus.slightlystrange.org> Message-ID: 2009/10/13 Daniel Bye > On Tue, Oct 13, 2009 at 01:08:46AM +0300, Manolis Kiagias wrote: > > Daniel Bye wrote: > > > Hi all, > > > > > > I'm having a hard time trying to work out which order I should set up > > > gmirror, glabel and gjournal on a new system. I want to journal my > > > /home partition, label all the partitions for ease of reference, and > > > use gmirror to save me in the event a disk goes bad. I am struggling > > > to fit the pieces together conceptually in my mind. I understand the > > > processes involved in setting each part separately - my problem is in > > > trying to build this up in the right order so that it all makes sense. > > > > > > So far, I have labelled the primary drive and set up the journal. I > have > > > edited fstab to reflect the labels and journalled file system on /home. > > > If I now build a mirror, don't I need to alter fstab to mount that and > > > not the stuff in /dev/label? In which case, I guess I need to build the > > > mirror first, and then set up labels and journals? > > > > > > I'm going round and round in circles here and none of the stuff I've > > > read on the web enlightens me... :-/ > > > > > > Any insights or suggestions would be taken as a great kindness! > > > > > > Dan > > > > > > > > When not mirroring, I first create the journals and then label the > > resulting adxxxx.journal devices > > In case you are doing a gmirror device, you would not really need the > > separate label step - the gm device name won't change and gmirror is not > > affected if the device names of the individual disks change (the disks > > are marked as part of a mirror and scanned at startup). > > When you are creating the composite gmirror device you are effectively > > labeling it anyway i.e. gmirror label gm0... > > Now if you follow the usual tutorials found in the web you would be > > using gm0 / gm1 but you actually name it any way you wish. > > If you really need to label the separate gmirrored partitions, do it > > after setting up the mirror. > > > > Concerning the order of journals and mirroring, I create the journals > > first, then mirror the result. This has always worked fine for me. > > Thanks much, Manoli. After posting, I came to more or less the same > conclusion, but it's good to get confirmation from someone who clearly > knows more about this stuff than I do! > > I'd still be interested to hear what others think/do. > > As ever, thanks for your time. > > Dan > > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ > I've always gmirrored 1st, then created the gjournal then newfs the journal device with the -L and -J flags to label it. I'm not sure if this is correct but ufs2 has hooks into gjournal, and if the journal class inst directly below the ufs layer these hooks might not work correctly. From pino at dohd.org Tue Oct 13 09:50:14 2009 From: pino at dohd.org (Martijn van Buul) Date: Tue Oct 13 09:50:21 2009 Subject: Relocating ~/.xsession-errors Message-ID: Hi, I've recently installed FreeBSD 8.0RC1 on my Acer Aspire One netbook, and so far things are working out OK. I'm using the SSD model, and since these netbooks have a notoriously slow SSD write speed, I'm trying to get rid of as much writes as possible. Furthermore, reducing writes might make it live longer. One of the remaining issues is ~/.xsession-errors. I'm using GNOME, and many GNOME applications have the nasty habit of spamming .xsession-errors with a lot of debug assertions (which apparently aren't lethal, since noone ever bothered to fix them..), and I know from experience that this file can see a lot of activity. I'd like to relocate this file to a tmpfs ramdisk, if possible. It would be perfect if I could make it log through syslog, since that would allow me to use newsyslog for logrotation (and thus keep the size of the log at bay), but I suspect this is asking too much. In the past, on Fedora Core and older versions of Ubuntu, I used a dirty trick I picked up on a webforum: Have ~/.xsession-errors be owned by root:wheel, and mark it as system immutable. That caused the .xsession-errors to be moved to /tmp, which is exactly where I want it to be, but that doesn't seem to work anymore. Instead, it's writing the error log to ~/.xsession-errors.XXXX, with XXXX a random string. Does anyone know an alternate way to move this logfile, or if everything else fails how to silence it? -- Martijn van Buul - pino@dohd.org From pino at dohd.org Tue Oct 13 10:02:10 2009 From: pino at dohd.org (Martijn van Buul) Date: Tue Oct 13 10:02:17 2009 Subject: Relocating ~/.xsession-errors References: Message-ID: * Martijn van Buul: > Does anyone know an alternate way to move this logfile, or if everything > else fails how to silence it? > I forgot to mention that I'm using gdm, but I'm not opposed to changing that. -- Martijn van Buul - pino@dohd.org From guru at unixarea.de Tue Oct 13 10:56:12 2009 From: guru at unixarea.de (Matthias Apitz) Date: Tue Oct 13 10:56:20 2009 Subject: error while printing from Java to CUPS Message-ID: <20091013105610.GA3106@current.Sisis.de> Hello, Some Java applications, like openproj for example, are unable to print to the CUPS printing system; this seems to be a know problem in Java and if you do a search in Don Google you will information and workarounds, like this, for example: http://www.magicdraw.com/main.php?ts=faq&cmd_show=1&menu=faq Diagram printing is not working on Linux OS The problem is related with the Linux cups package update. This problem is Sun Java bug and description of this problem is published in the Java Bug Database: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656. To solve diagram printing problem we would suggest to use 1.6.0_10 JVM or later, because this issue is solved in these java versions. If you can not use the 1.6.0_10 JVM or later, other possible solution would be the following: 1.Open the file /etc/cups/printers.conf 2.Before each line with the text , add the following line: Options orientation-requested 3 The referenced http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656 explain all the details of the bug... But: I've tried to insert the proposed change in /usr/local/etc/cups/printers.conf but it does not help. This is with cups-base-1.3.9_3 in a 8-CURRENT. As well it says that there is a fix in Java in 1.6.0_10 or later... I have dk-1.6.0.3p4_10 and it seems no to be fixed :-( Any ideas? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From vince at unsane.co.uk Tue Oct 13 11:13:58 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Tue Oct 13 11:14:06 2009 Subject: gmirror, gjournal and glabel - which order? In-Reply-To: References: <20091012211339.GA12688@torus.slightlystrange.org> <4AD3A8EE.8020708@otenet.gr> <20091013002919.GB12688@torus.slightlystrange.org> Message-ID: <4AD460F1.7020405@unsane.co.uk> krad wrote: > 2009/10/13 Daniel Bye > > >> On Tue, Oct 13, 2009 at 01:08:46AM +0300, Manolis Kiagias wrote: >> >>> Daniel Bye wrote: >>> >>>> Hi all, >>>> >>>> I'm having a hard time trying to work out which order I should set up >>>> gmirror, glabel and gjournal on a new system. I want to journal my >>>> /home partition, label all the partitions for ease of reference, and >>>> use gmirror to save me in the event a disk goes bad. I am struggling >>>> to fit the pieces together conceptually in my mind. I understand the >>>> processes involved in setting each part separately - my problem is in >>>> trying to build this up in the right order so that it all makes sense. >>>> >>>> So far, I have labelled the primary drive and set up the journal. I >>>> >> have >> >>>> edited fstab to reflect the labels and journalled file system on /home. >>>> If I now build a mirror, don't I need to alter fstab to mount that and >>>> not the stuff in /dev/label? In which case, I guess I need to build the >>>> mirror first, and then set up labels and journals? >>>> >>>> I'm going round and round in circles here and none of the stuff I've >>>> read on the web enlightens me... :-/ >>>> >>>> Any insights or suggestions would be taken as a great kindness! >>>> >>>> Dan >>>> >>>> >>>> >>> When not mirroring, I first create the journals and then label the >>> resulting adxxxx.journal devices >>> In case you are doing a gmirror device, you would not really need the >>> separate label step - the gm device name won't change and gmirror is not >>> affected if the device names of the individual disks change (the disks >>> are marked as part of a mirror and scanned at startup). >>> When you are creating the composite gmirror device you are effectively >>> labeling it anyway i.e. gmirror label gm0... >>> Now if you follow the usual tutorials found in the web you would be >>> using gm0 / gm1 but you actually name it any way you wish. >>> If you really need to label the separate gmirrored partitions, do it >>> after setting up the mirror. >>> >>> Concerning the order of journals and mirroring, I create the journals >>> first, then mirror the result. This has always worked fine for me. >>> >> Thanks much, Manoli. After posting, I came to more or less the same >> conclusion, but it's good to get confirmation from someone who clearly >> knows more about this stuff than I do! >> >> I'd still be interested to hear what others think/do. >> >> As ever, thanks for your time. >> >> Dan >> >> -- >> Daniel Bye >> _ >> ASCII ribbon campaign ( ) >> - against HTML, vCards and X >> - proprietary attachments in e-mail / \ >> >> > > > I've always gmirrored 1st, then created the gjournal then newfs the journal > device with the -L and -J flags to label it. I'm not sure if this is correct > but ufs2 has hooks into gjournal, and if the journal class inst directly > below the ufs layer these hooks might not work correctly. > I've always done it this way too (mirror then journal,) both for the reason given and because of the following from the gjournal(8) manpage: When gjournal is configured on top of gmirror(8) or graid3(8) providers, it also keeps them in a consistent state, thus automatic synchronization on power failure or system crash may be disabled on those providers. Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From bjmccann at gmail.com Tue Oct 13 12:31:08 2009 From: bjmccann at gmail.com (Brian McCann) Date: Tue Oct 13 12:31:14 2009 Subject: Broadcom bce interface problems Message-ID: <2b5f066d0910130531w7a7bf6aft81fd3782b7754e27@mail.gmail.com> I'm having problems with the bce interface on a FreeBSD 7.2 install, using an IBM BladeCenter HS21 machine. The machine uses the NetXtreme II card. The really strange thing here is, the switch shows a link, but the card shows no carrier in the setup. It started working for a few seconds at one point when I reset the switch (at least, I think that's what I did), and it detected 1000BaseSX as the media and showed a status of active, but promptly went away. If I try setting the media type manually, that doesn't appear to work. Has anyone seen this or have any ideas? Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann "I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me." -- Bill Murray, "Ghostbusters" From steve at ibctech.ca Tue Oct 13 12:40:49 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Tue Oct 13 12:41:03 2009 Subject: Broadcom bce interface problems In-Reply-To: <2b5f066d0910130531w7a7bf6aft81fd3782b7754e27@mail.gmail.com> References: <2b5f066d0910130531w7a7bf6aft81fd3782b7754e27@mail.gmail.com> Message-ID: <4AD47563.8050206@ibctech.ca> Brian McCann wrote: > I'm having problems with the bce interface on a FreeBSD 7.2 install, using > an IBM BladeCenter HS21 machine. The machine uses the NetXtreme II card. > The really strange thing here is, the switch shows a link, but the card > shows no carrier in the setup. It started working for a few seconds at one > point when I reset the switch (at least, I think that's what I did), and it > detected 1000BaseSX as the media and showed a status of active, but promptly > went away. If I try setting the media type manually, that doesn't appear to > work. > Has anyone seen this or have any ideas? Try forcing the interface to 'up': # ifconfig bce0 up If that works, add it to the /etc/rc.conf: # echo 'ifconfig_bce0="up"' >> /etc/rc.conf Steve From nb at ravenbrook.com Tue Oct 13 12:40:52 2009 From: nb at ravenbrook.com (Nick Barnes) Date: Tue Oct 13 12:41:04 2009 Subject: how does gmirror start up? Message-ID: <59889.1255436565@thrush.ravenbrook.com> I am running a 6.3 system and have had various problems with disk reliability on a key filesystem, probably down to SCSI hardware or drivers. I'm intending to replace that SCSI disk with a pair of SATA disks ad6/7, using gmirror as gm0 (while keeping ad4 as our boot disk). I have set up the mirror and right now I'm part-way through using rsync to transfer the data. But I have a question concerning the underlying operation of GEOM, which is troubling me. I have read the various man pages and handbook pages relating to GEOM and gmirror, but they don't seem to answer this. When I reboot the system, gmirror comes up (because of the line in /boot/loader.conf) and gm0 appears, backed by ad6/7. Where is this configuration information stored? That is, how does the system know to make gm0, with ad6/7 as the backing store. I would expect there to be a file somewhere in /etc with this config information, but I don't see it in the documentation. From reading gmirror(8), I understand that there is a label sector at the ends of ad6 and ad7, identifying them as parts of gm0. But that config information is back-to-front: at boot time the system knows from /etc/fstab that it needs gm0; how does it find the underlying disks? Does the system search the ends of all physically-attached disks, looking for GEOM labels, and automatically make any corresponding GEOM devices? Surely not (that would mean, for instance, that if I took one of these disks out of this machine and put it into another FreeBSD system then that machine would automatically set up gm0 with this disk). Possibly I'm just being dense. Can someone enlighten me? Nick Barnes Ravenbrook Limited From m.seaman at infracaninophile.co.uk Tue Oct 13 13:02:26 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Oct 13 13:02:34 2009 Subject: how does gmirror start up? In-Reply-To: <59889.1255436565@thrush.ravenbrook.com> References: <59889.1255436565@thrush.ravenbrook.com> Message-ID: <4AD47A55.2060707@infracaninophile.co.uk> Nick Barnes wrote: > I am running a 6.3 system and have had various problems with disk > reliability on a key filesystem, probably down to SCSI hardware or > drivers. I'm intending to replace that SCSI disk with a pair of SATA > disks ad6/7, using gmirror as gm0 (while keeping ad4 as our boot > disk). I have set up the mirror and right now I'm part-way through > using rsync to transfer the data. But I have a question concerning > the underlying operation of GEOM, which is troubling me. I have read > the various man pages and handbook pages relating to GEOM and gmirror, > but they don't seem to answer this. > > When I reboot the system, gmirror comes up (because of the line in > /boot/loader.conf) and gm0 appears, backed by ad6/7. Where is this > configuration information stored? That is, how does the system know > to make gm0, with ad6/7 as the backing store. > > I would expect there to be a file somewhere in /etc with this config > information, but I don't see it in the documentation. From reading > gmirror(8), I understand that there is a label sector at the ends of > ad6 and ad7, identifying them as parts of gm0. But that config > information is back-to-front: at boot time the system knows from > /etc/fstab that it needs gm0; how does it find the underlying disks? > > Does the system search the ends of all physically-attached disks, > looking for GEOM labels, and automatically make any corresponding GEOM > devices? Surely not (that would mean, for instance, that if I took > one of these disks out of this machine and put it into another FreeBSD > system then that machine would automatically set up gm0 with this > disk). > > Possibly I'm just being dense. Can someone enlighten me? The geom configuration is stored on the disks in question -- I believe it uses the last cylinder of the drive, but I could be wrong about the details. On startup, if the appropriate geom modules are loaded into the kernel, geom will "taste" the disks discovered by enumerating the contents of all ATA, SCSI, USB, etc. busses (ie. read any geom metadata) to see if they are part of a RAID array of some type. The RAID will be automatically recreated, and appears to the system as a new device. If there are appropriate entries in /etc/fstab any file systems on it will be mounted. There's no data stored on the filesystem describing the RAID setup. Well, unless you make a backup of it yourself by dumping the output of 'gmirror status' somewhere. This means that you can move the disks from one server to another and all the RAIDs will survive. Actually, it's good enough that it can cope with you shuffling the disks or installing them with completely different underlying device names. You would certainly have to avoid a clash of geom device names when doing that -- the names are entirely arbitrary and 'gm0' is only the de-facto default because it was used in one of the most popular tutorials on the subject. If you think it necessary, you could include the host name in the geom label or otherwise take action to make them globally unique across all your systems. You can achieve a similar effect for plain disks by using glabel -- this is a handy way of avoiding the foot-shooting potential of a USB thumb drive that maps as da0 on reboot, in place of the real system disk. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091013/a207a7f1/signature.pgp From kraduk at googlemail.com Tue Oct 13 13:04:47 2009 From: kraduk at googlemail.com (krad) Date: Tue Oct 13 13:04:54 2009 Subject: how does gmirror start up? In-Reply-To: <59889.1255436565@thrush.ravenbrook.com> References: <59889.1255436565@thrush.ravenbrook.com> Message-ID: 2009/10/13 Nick Barnes > I am running a 6.3 system and have had various problems with disk > reliability on a key filesystem, probably down to SCSI hardware or > drivers. I'm intending to replace that SCSI disk with a pair of SATA > disks ad6/7, using gmirror as gm0 (while keeping ad4 as our boot > disk). I have set up the mirror and right now I'm part-way through > using rsync to transfer the data. But I have a question concerning > the underlying operation of GEOM, which is troubling me. I have read > the various man pages and handbook pages relating to GEOM and gmirror, > but they don't seem to answer this. > > When I reboot the system, gmirror comes up (because of the line in > /boot/loader.conf) and gm0 appears, backed by ad6/7. Where is this > configuration information stored? That is, how does the system know > to make gm0, with ad6/7 as the backing store. > > I would expect there to be a file somewhere in /etc with this config > information, but I don't see it in the documentation. From reading > gmirror(8), I understand that there is a label sector at the ends of > ad6 and ad7, identifying them as parts of gm0. But that config > information is back-to-front: at boot time the system knows from > /etc/fstab that it needs gm0; how does it find the underlying disks? > > Does the system search the ends of all physically-attached disks, > looking for GEOM labels, and automatically make any corresponding GEOM > devices? Surely not (that would mean, for instance, that if I took > one of these disks out of this machine and put it into another FreeBSD > system then that machine would automatically set up gm0 with this > disk). > > Possibly I'm just being dense. Can someone enlighten me? > > Nick Barnes > Ravenbrook Limited > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > you are right there is a label at the end of the disk, and if you put the drives in another machine with another gmirror enabled box it would see the mirror. If you stack geom classes then the label it stored at the end of the container as if it were a disk. eg if you used gjournal on top of gmirror. Its a very common practise for hardware controllers as well. The dell perc controllers definitely have this labelling as you can import foreign configs into the cards nvram from disk From kraduk at googlemail.com Tue Oct 13 13:07:25 2009 From: kraduk at googlemail.com (krad) Date: Tue Oct 13 13:07:32 2009 Subject: how does gmirror start up? In-Reply-To: <4AD47A55.2060707@infracaninophile.co.uk> References: <59889.1255436565@thrush.ravenbrook.com> <4AD47A55.2060707@infracaninophile.co.uk> Message-ID: 2009/10/13 Matthew Seaman > Nick Barnes wrote: > >> I am running a 6.3 system and have had various problems with disk >> reliability on a key filesystem, probably down to SCSI hardware or >> drivers. I'm intending to replace that SCSI disk with a pair of SATA >> disks ad6/7, using gmirror as gm0 (while keeping ad4 as our boot >> disk). I have set up the mirror and right now I'm part-way through >> using rsync to transfer the data. But I have a question concerning >> the underlying operation of GEOM, which is troubling me. I have read >> the various man pages and handbook pages relating to GEOM and gmirror, >> but they don't seem to answer this. >> >> When I reboot the system, gmirror comes up (because of the line in >> /boot/loader.conf) and gm0 appears, backed by ad6/7. Where is this >> configuration information stored? That is, how does the system know >> to make gm0, with ad6/7 as the backing store. >> >> I would expect there to be a file somewhere in /etc with this config >> information, but I don't see it in the documentation. From reading >> gmirror(8), I understand that there is a label sector at the ends of >> ad6 and ad7, identifying them as parts of gm0. But that config >> information is back-to-front: at boot time the system knows from >> /etc/fstab that it needs gm0; how does it find the underlying disks? >> >> Does the system search the ends of all physically-attached disks, >> looking for GEOM labels, and automatically make any corresponding GEOM >> devices? Surely not (that would mean, for instance, that if I took >> one of these disks out of this machine and put it into another FreeBSD >> system then that machine would automatically set up gm0 with this >> disk). >> >> Possibly I'm just being dense. Can someone enlighten me? >> > > The geom configuration is stored on the disks in question -- I believe it > uses the last cylinder of the drive, but I could be wrong about the > details. > On startup, if the appropriate geom modules are loaded into the kernel, > geom will "taste" the disks discovered by enumerating the contents of all > ATA, SCSI, USB, etc. busses (ie. read any geom metadata) to see if they are > part of a RAID array of some type. The RAID will be automatically > recreated, > and appears to the system as a new device. If there are appropriate > entries in > /etc/fstab any file systems on it will be mounted. > > There's no data stored on the filesystem describing the RAID setup. Well, > unless you make a backup of it yourself by dumping the output of 'gmirror > status' > somewhere. > > This means that you can move the disks from one server to another and all > the > RAIDs will survive. Actually, it's good enough that it can cope with you > shuffling the disks or installing them with completely different underlying > device names. You would certainly have to avoid a clash of geom device > names > when doing that -- the names are entirely arbitrary and 'gm0' is only the > de-facto default because it was used in one of the most popular tutorials on > the subject. If you think it necessary, you could include the host name in > the geom label or otherwise take action to make them globally unique across > all your systems. > > You can achieve a similar effect for plain disks by using glabel -- this is > a > handy way of avoiding the foot-shooting potential of a USB thumb drive that > maps > as da0 on reboot, in place of the real system disk. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > > Also worth mentioning zfs config is stored on disk as well in a similar manner albeit a bit more complicated. From dino_vliet at yahoo.com Tue Oct 13 14:18:40 2009 From: dino_vliet at yahoo.com (Dino Vliet) Date: Tue Oct 13 14:18:47 2009 Subject: freebsd jail: web and database server config questions Message-ID: <815964.80537.qm@web51104.mail.re2.yahoo.com> Dear Freebsd people, ? To consolditae on resources I have configured a machine to run both a web and database server (powering my database driven website). ? Due to security concerns I'm contemplating on introducing a jailed environment on this machine and want to know if this would be feasible. I have a few questions for the freebsd community regarding this approach and hope someone would give me some advice. ? Is it advisable/wise/okay/clever to run a webserver on my host system and a database server on my jailed system? The webserver will need to connect to the database system on startup and update the database based on client access. ? However, if a machine gets compromised, it would rather be the webserver, therefore running the webserver in the jailed environment seems better to me. But how could that be done, if the webserver requires to connect through tcp/ip to the database server running on the host system? I thought that a key-feature of a jailed system is that it can't access resources outside the jail. ? And how do I go around when I need to update my host system due to a security advisory. I heard the jailed environment will not be affected? So basically that means I would need to create a new jail everytime I recompile (as that's the way I'm using to stay current) ? Hope to hear from you, Brgds Dino From caramba696 at googlemail.com Tue Oct 13 15:35:01 2009 From: caramba696 at googlemail.com (Jacques Henry) Date: Tue Oct 13 15:35:08 2009 Subject: NTP Client synchronization with a Windows 2003/2008 Message-ID: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> Hello, I am using a System based on FreeBSD 6.3. On this System an automatically generated ntpd.conf file is generated in order to synchronize the System clock with a NTP Server. I want to use a Windows 2003 or 2008 Server to act as the NTP Server. On the Windows System the NTP Server (Windows Time Service) is *correctly* running. The thing is that even if there are NTP traffic between the client and the Server (NTP Client and Server IP packet), My FreeBSD is not synchronizing at all: freebsd-client>ntpq -p 127.0.0.1 remote refid st t when poll reach delay offset jitter ======================================================= NTP_server 192.168.10.6 2 u 103 1024 1 1.037 -587367 0.002 As you can see the offset is huge and never decreases as in a normal way... My ntpd.conf file looks like: ----------- # File is automatically generated # Do not edit tinker panic 1 tinker step 1 # ntp servers list server 172.30.1.5 # files informations driftfile /etc/ntp.drift # restriction informations restrict default ignore # do not allow request by default restrict 127.0.0.1 # allow localhost for debugging restrict 172.30.1.5 nomodify ------------ my ntp.drift file ------------ -101.101 ------------ I know that maybe the Microsoft NTP/SNTP implementation is not RFC-compliant, but is there a way to configure my NTP client in a more "compatible" (less strict) way to adjust its time with a Windows Server? Thanks From kraduk at googlemail.com Tue Oct 13 15:37:32 2009 From: kraduk at googlemail.com (krad) Date: Tue Oct 13 15:37:39 2009 Subject: freebsd jail: web and database server config questions In-Reply-To: <815964.80537.qm@web51104.mail.re2.yahoo.com> References: <815964.80537.qm@web51104.mail.re2.yahoo.com> Message-ID: 2009/10/13 Dino Vliet > > Dear Freebsd people, > > To consolditae on resources I have configured a machine to run both a web > and database server (powering my database driven website). > > Due to security concerns I'm contemplating on introducing a jailed > environment on this machine and want to know if this would be feasible. I > have a few questions for the freebsd community regarding this approach and > hope someone would give me some advice. > > Is it advisable/wise/okay/clever to run a webserver on my host system and a > database server on my jailed system? The webserver will need to connect to > the database system on startup and update the database based on client > access. > > However, if a machine gets compromised, it would rather be the webserver, > therefore running the webserver in the jailed environment seems better to > me. But how could that be done, if the webserver requires to connect through > tcp/ip to the database server running on the host system? I thought that a > key-feature of a jailed system is that it can't access resources outside the > jail. > > And how do I go around when I need to update my host system due to a > security advisory. I heard the jailed environment will not be affected? So > basically that means I would need to create a new jail everytime I recompile > (as that's the way I'm using to stay current) > > Hope to hear from you, > Brgds > Dino > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > ok jail updates are fairly easy to get around. The way I have dont it for years is to nullfs the host systems /usr into the jail(s) as ro. I also had a copy of /lib /bin /libexec and /sbin under /usr/jailbins. The said dirs in the jails were then sym links to the relevent dir in jailbins eg $ ls -ltr ; pwd drwxr-xr-x 20 root wheel 107 Jun 25 2008 etc drwxr-xr-x 2 root wheel 46 Sep 23 10:21 bin drwxr-xr-x 3 root wheel 106 Sep 23 10:21 lib drwxr-xr-x 2 root wheel 139 Sep 23 10:22 sbin drwxr-xr-x 2 root wheel 6 Sep 23 10:23 libexec /usr/jailbins $ ls -ltr /jails/clamav/root/ | grep "\->" lrwxrwxrwx 1 root wheel 11 Apr 1 2006 sys -> usr/src/sys lrwxrwxrwx 1 root wheel 18 Apr 1 2006 sbin -> /usr/jailbins/sbin lrwxrwxrwx 1 root wheel 21 Apr 1 2006 libexec -> /usr/jailbins/libexec lrwxrwxrwx 1 root wheel 17 Apr 1 2006 lib -> /usr/jailbins/lib lrwxrwxrwx 1 root wheel 17 Apr 1 2006 bin -> /usr/jailbins/bin from fstab /usr /jails/clamav/root/usr nullfs ro 2 0 /jails/clamav/usr.etc /jails/clamav/root/usr/local/etc nullfs ro 2 0 the 2nd line means each jail can have its own dedicated local rc, but it cant be modified from within the jail I then stuck these lines in rc.local on the host system to keep the jailbins update /usr/local/bin/rsync -aH /bin/ /usr/jailbins/bin/ /usr/local/bin/rsync -aH /sbin/ /usr/jailbins/sbin/ /usr/local/bin/rsync -aH /lib/ /usr/jailbins/lib/ /usr/local/bin/rsync -aH /libexec/ /usr/jailbins/libexec/ now when i do a makeworld on the host system the jails inherit everything. You might not always want to do this, but i never had any serious issues. Sticking mysql and apache in jails is fairly straight forward after that, just get them to communicate over ip and make sure you wrap the db internally, and with tcpwrappers and pf/ipf/ipfw You could also look at mod_jail for apache. It looks like it lets you run apache whithout the hassle of setting up a full jailed environment. I havent used it myself though but would be interested to see how others have faired with it. There are also good tools like ezjail with will automate a lot of the jail process for you. From apseudoutopia at gmail.com Tue Oct 13 15:38:06 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Tue Oct 13 15:38:13 2009 Subject: freebsd jail: web and database server config questions In-Reply-To: <815964.80537.qm@web51104.mail.re2.yahoo.com> References: <815964.80537.qm@web51104.mail.re2.yahoo.com> Message-ID: <27ade5280910130837t29e9e6e9ibc0e32ffbee0eef3@mail.gmail.com> On Tue, Oct 13, 2009 at 9:51 AM, Dino Vliet wrote: > > Dear Freebsd people, > > To consolditae on resources I have configured a machine to run both a web and database server (powering my database driven website). > > Due to security concerns I'm contemplating on introducing a jailed environment on this machine and want to know if this would be feasible. I have a few questions for the freebsd community regarding this approach and hope someone would give me some advice. > > Is it advisable/wise/okay/clever to run a webserver on my host system and a database server on my jailed system? The webserver will need to connect to the database system on startup and update the database based on client access. I would recommend either doing it the other way around (webserver inside the jail) or have both web and db inside separate jails. > > However, if a machine gets compromised, it would rather be the webserver, therefore running the webserver in the jailed environment seems better to me. But how could that be done, if the webserver requires to connect through tcp/ip to the database server running on the host system? I thought that a key-feature of a jailed system is that it can't access resources outside the jail. > It *may* be possible to set your database software to listen on a unix socket inside the jail dir on the host. For example, if your webserver jail is in /usr/jails/httpd/ on the host, you may be able to have your database listen on a unix socket in, say, /usr/jails/httpd/tmp/. Inside the jail, you can point your web app to use the socket inside /tmp/. I'm not sure if this is possible as I never actually implemented it with my setup, but you can try. From Alexei.Volkov at softlynx.ru Tue Oct 13 15:38:56 2009 From: Alexei.Volkov at softlynx.ru (Volkov Alexei) Date: Tue Oct 13 15:39:29 2009 Subject: Automatic dual kernel cd boot amd64/i386 Message-ID: <4AD49C62.3020405@softlynx.ru> Hello. Is it possible to get bootable cd with auto selectable amd64/i386 boot? For instance , i have a bootable cd with two kernels: * first is located in /boot/kernel.amd64 * second in /boot/kernel.i386 loader.conf has line /kernel=kernel.amd64/ When it boots on amd64 incompatible hardware it start loading the kernel and returns to the loader prompt showing error "Long mode not supported" or something like that. Is it possible to configure loader.conf or any other place to get automatically started with second kernel.i386 from that point instead of waiting for user interaction? WBR, Alexei Volkov. From kraduk at googlemail.com Tue Oct 13 15:44:49 2009 From: kraduk at googlemail.com (krad) Date: Tue Oct 13 15:44:55 2009 Subject: freebsd jail: web and database server config questions In-Reply-To: <27ade5280910130837t29e9e6e9ibc0e32ffbee0eef3@mail.gmail.com> References: <815964.80537.qm@web51104.mail.re2.yahoo.com> <27ade5280910130837t29e9e6e9ibc0e32ffbee0eef3@mail.gmail.com> Message-ID: 2009/10/13 APseudoUtopia > On Tue, Oct 13, 2009 at 9:51 AM, Dino Vliet wrote: > > > > Dear Freebsd people, > > > > To consolditae on resources I have configured a machine to run both a web > and database server (powering my database driven website). > > > > Due to security concerns I'm contemplating on introducing a jailed > environment on this machine and want to know if this would be feasible. I > have a few questions for the freebsd community regarding this approach and > hope someone would give me some advice. > > > > Is it advisable/wise/okay/clever to run a webserver on my host system and > a database server on my jailed system? The webserver will need to connect to > the database system on startup and update the database based on client > access. > > I would recommend either doing it the other way around (webserver > inside the jail) or have both web and db inside separate jails. > > > > > However, if a machine gets compromised, it would rather be the webserver, > therefore running the webserver in the jailed environment seems better to > me. But how could that be done, if the webserver requires to connect through > tcp/ip to the database server running on the host system? I thought that a > key-feature of a jailed system is that it can't access resources outside the > jail. > > > > It *may* be possible to set your database software to listen on a unix > socket inside the jail dir on the host. For example, if your webserver > jail is in /usr/jails/httpd/ on the host, you may be able to have your > database listen on a unix socket in, say, /usr/jails/httpd/tmp/. > Inside the jail, you can point your web app to use the socket inside > /tmp/. I'm not sure if this is possible as I never actually > implemented it with my setup, but you can try. > you can do this but only if the the db is running on the host system. What you are doing then is open a big whole in the security of the system that will potentially let someone attack the host os via apache->mysql. What i have done on some systems is jail the db and apache in separate jails. and have a shared nullfs writable fs between them. Generally I found it better to make the connection go over ip and heavily wrap it. The added advantage of doing it over ip is that it keeps things separate, and it is far easier to migrate one of the jails onto another box in the future if you start running into capacity issues. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From caramba696 at googlemail.com Tue Oct 13 15:54:57 2009 From: caramba696 at googlemail.com (Jacques Henry) Date: Tue Oct 13 15:55:04 2009 Subject: NTP Client synchronization with a Windows 2003/2008 In-Reply-To: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> References: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> Message-ID: <2345d18f0910130854l363f157eob42e3253c7dad202@mail.gmail.com> Hello, I am using a System based on FreeBSD 6.3. On this System an automatically generated ntpd.conf file is generated in order to synchronize the System clock with a NTP Server. I want to use a Windows 2003 or 2008 Server to act as the NTP Server. On the Windows System the NTP Server (Windows Time Service) is *correctly* running. The thing is that even if there are NTP traffic between the client and the Server (NTP Client and Server IP packet), My FreeBSD is not synchronizing at all: freebsd-client>ntpq -p 127.0.0.1 remote refid st t when poll reach delay offset jitter ======================================================= NTP_server 192.168.10.6 2 u 103 1024 1 1.037 -587367 0.002 As you can see the offset is huge and never decreases as in a normal way... My ntpd.conf file looks like: ----------- # File is automatically generated # Do not edit tinker panic 1 tinker step 1 # ntp servers list server 172.30.1.5 # files informations driftfile /etc/ntp.drift # restriction informations restrict default ignore # do not allow request by default restrict 127.0.0.1 # allow localhost for debugging restrict 172.30.1.5 nomodify ------------ my ntp.drift file ------------ -101.101 ------------ I know that maybe the Microsoft NTP/SNTP implementation is not RFC-compliant, but is there a way to configure my NTP client in a more "compatible" (less strict) way to adjust its time with a Windows Server? Thanks From gesbbb at yahoo.com Tue Oct 13 16:00:55 2009 From: gesbbb at yahoo.com (Jerry) Date: Tue Oct 13 16:01:02 2009 Subject: NTP Client synchronization with a Windows 2003/2008 In-Reply-To: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> References: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> Message-ID: <20091013120053.1fffc868@scorpio.seibercom.net> On Tue, 13 Oct 2009 17:13:16 +0200 Jacques Henry (caramba696@googlemail.com) replied: >Hello, > >I am using a System based on FreeBSD 6.3. >On this System an automatically generated ntpd.conf file is generated >in order to synchronize the System clock with a NTP Server. I want to >use a Windows 2003 or 2008 Server to act as the NTP Server. On the >Windows System the NTP Server (Windows Time Service) is *correctly* >running. The thing is that even if there are NTP traffic between the >client and the Server (NTP Client and Server IP packet), My FreeBSD is >not synchronizing at all: > >freebsd-client>ntpq -p 127.0.0.1 > remote refid st t when poll reach delay offset >jitter >======================================================= > NTP_server 192.168.10.6 2 u 103 1024 1 1.037 -587367 >0.002 > > >As you can see the offset is huge and never decreases as in a normal >way... > >My ntpd.conf file looks like: >----------- ># File is automatically generated ># Do not edit >tinker panic 1 >tinker step 1 > ># ntp servers list >server 172.30.1.5 > ># files informations >driftfile /etc/ntp.drift > ># restriction informations >restrict default ignore # do not allow request by default >restrict 127.0.0.1 # allow localhost for debugging >restrict 172.30.1.5 nomodify >------------ > >my ntp.drift file >------------ >-101.101 >------------ > >I know that maybe the Microsoft NTP/SNTP implementation is not >RFC-compliant, but is there a way to configure my NTP client in a more >"compatible" (less strict) way to adjust its time with a Windows >Server? You might want to check out these two URL's for starters: http://lists.ntp.isc.org/pipermail/questions/2007-January/012469.html http://msdn.microsoft.com/en-us/library/ms884917.aspx -- Jerry gesbbb@yahoo.com My folks didn't come over on the Mayflower, but they were there to meet the boat. From jon at radel.com Tue Oct 13 16:02:45 2009 From: jon at radel.com (Jon Radel) Date: Tue Oct 13 16:02:54 2009 Subject: NTP Client synchronization with a Windows 2003/2008 In-Reply-To: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> References: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> Message-ID: <4AD4A499.5060805@radel.com> Jacques Henry wrote: > Hello, > > I am using a System based on FreeBSD 6.3. > On this System an automatically generated ntpd.conf file is generated in > order to synchronize the System clock with a NTP Server. I want to use a > Windows 2003 or 2008 Server to act as the NTP Server. On the Windows System > the NTP Server (Windows Time Service) is *correctly* running. The thing is > that even if there are NTP traffic between the client and the Server (NTP > Client and Server IP packet), My FreeBSD is not synchronizing at all: > > freebsd-client>ntpq -p 127.0.0.1 > remote refid st t when poll reach delay offset > jitter > ======================================================= > NTP_server 192.168.10.6 2 u 103 1024 1 1.037 -587367 > 0.002 > > > As you can see the offset is huge and never decreases as in a normal way... > > My ntpd.conf file looks like: > ----------- > # File is automatically generated > # Do not edit > tinker panic 1 > tinker step 1 My man page for ntp.conf clearly states in regards to the tinker command: The default values of these variables have been carefully optimized for a wide range of network speeds and reliability expectations. In general, they interact in intricate ways that are hard to predict and some combinations can result in some very nasty behavior. Very rarely is it necessary to change the default values; but, some folks cannot resist twisting the knobs anyway and this com- mand is for them. Emphasis added: twisters are on their own and can expect no help from the support group. so the very first thing you might want to try is to comment out the tinker commands, in particular the panic one. I'm not sure that after you set the panic threshold to 1 second you should expect your ntpd to pay any attention to servers with an offset of 587 seconds. If that fails, consider setting ntpdate_enable="YES" ntpdate_hosts="NTP_server" in your /etc/rc.conf and simply stepping to the correct time at boot time. In short, I don't think this has anything with a Windows server being involved, and everything to do with starting off almost 10 minutes off and a config file that says to never make a step correction larger than 1 second and to panic if you see an offset of over 1 second. -- --Jon Radel jon@radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091013/103981a4/smime.bin From kraduk at googlemail.com Tue Oct 13 16:03:25 2009 From: kraduk at googlemail.com (krad) Date: Tue Oct 13 16:03:32 2009 Subject: NTP Client synchronization with a Windows 2003/2008 In-Reply-To: <2345d18f0910130854l363f157eob42e3253c7dad202@mail.gmail.com> References: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> <2345d18f0910130854l363f157eob42e3253c7dad202@mail.gmail.com> Message-ID: 2009/10/13 Jacques Henry > Hello, > > I am using a System based on FreeBSD 6.3. > On this System an automatically generated ntpd.conf file is generated in > order to synchronize the System clock with a NTP Server. I want to use a > Windows 2003 or 2008 Server to act as the NTP Server. On the Windows System > the NTP Server (Windows Time Service) is *correctly* running. The thing is > that even if there are NTP traffic between the client and the Server (NTP > Client and Server IP packet), My FreeBSD is not synchronizing at all: > > freebsd-client>ntpq -p 127.0.0.1 > remote refid st t when poll reach delay offset > jitter > ======================================================= > NTP_server 192.168.10.6 2 u 103 1024 1 1.037 -587367 > 0.002 > > > As you can see the offset is huge and never decreases as in a normal way... > > My ntpd.conf file looks like: > ----------- > # File is automatically generated > # Do not edit > tinker panic 1 > tinker step 1 > > # ntp servers list > server 172.30.1.5 > > # files informations > driftfile /etc/ntp.drift > > # restriction informations > restrict default ignore # do not allow request by default > restrict 127.0.0.1 # allow localhost for debugging > restrict 172.30.1.5 nomodify > ------------ > > my ntp.drift file > ------------ > -101.101 > ------------ > > I know that maybe the Microsoft NTP/SNTP implementation is not > RFC-compliant, but is there a way to configure my NTP client in a more > "compatible" (less strict) way to adjust its time with a Windows Server? > > Thanks > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > ntpd wont resync if the time difference is to big, as it assumes something is wrong as you would have set the system clock roughly correct. To fix stop ntpd, then do an ntpdate against the server. This should set the time. Now run ntpd again also set the following variables to a server of your choosing to make sure ntpdate is run 1st on boot $ grep ntp /etc/rc.conf* /etc/rc.conf:ntpdate_flags="uk.pool.ntp.org" /etc/rc.conf:ntpdate_enable="YES" /etc/rc.conf:ntpd_enable="YES" From caramba696 at googlemail.com Tue Oct 13 16:21:36 2009 From: caramba696 at googlemail.com (Jacques Henry) Date: Tue Oct 13 16:21:43 2009 Subject: NTP Client synchronization with a Windows 2003/2008 In-Reply-To: <2345d18f0910130920k7838dfb4s8fbbd363ed3a4ca4@mail.gmail.com> References: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> <2345d18f0910130854l363f157eob42e3253c7dad202@mail.gmail.com> <2345d18f0910130920k7838dfb4s8fbbd363ed3a4ca4@mail.gmail.com> Message-ID: <2345d18f0910130921g17b8d9fdy8fdb99bd5a0e8cf4@mail.gmail.com> > > ntpd wont resync if the time difference is to big, as it assumes something > is wrong as you would have set the system clock roughly correct. To fix stop > ntpd, then do an ntpdate against the server. This should set the time. Now > run ntpd again > > also set the following variables to a server of your choosing to make sure > ntpdate is run 1st on boot > > $ grep ntp /etc/rc.conf* > /etc/rc.conf:ntpdate_flags="uk.pool.ntp.org" > /etc/rc.conf:ntpdate_enable="YES" > /etc/rc.conf:ntpd_enable="YES" > > I cannot do that because I have no Internet access... so the very first thing you might want to try is to comment out the tinker > commands, in particular the panic one. I'm not sure that after you set the > panic threshold to 1 second you should expect your ntpd to pay any attention > to servers with an offset of 587 seconds. If that fails, consider setting > > ntpdate_enable="YES" > ntpdate_hosts="NTP_server" > > in your /etc/rc.conf and simply stepping to the correct time at boot time. > > In short, I don't think this has anything with a Windows server being > involved, and everything to do with starting off almost 10 minutes off and a > config file that says to never make a step correction larger than 1 second > and to panic if you see an offset of over 1 second. > I commented the commands involved and nothing changed... (with only 10 minutes of time difference) I even tried to "force" the sync: U450XA0A0800650>nstop ntp U450XA0A0800650>ntpd -x -n -q -c /var/ntp.conf U450XA0A0800650>nstart ntp In fact I am still quite convinced that the MS implementation isn't totally compliant with the client... From jon at radel.com Tue Oct 13 16:45:14 2009 From: jon at radel.com (Jon Radel) Date: Tue Oct 13 16:45:24 2009 Subject: NTP Client synchronization with a Windows 2003/2008 In-Reply-To: <2345d18f0910130921g17b8d9fdy8fdb99bd5a0e8cf4@mail.gmail.com> References: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> <2345d18f0910130854l363f157eob42e3253c7dad202@mail.gmail.com> <2345d18f0910130920k7838dfb4s8fbbd363ed3a4ca4@mail.gmail.com> <2345d18f0910130921g17b8d9fdy8fdb99bd5a0e8cf4@mail.gmail.com> Message-ID: <4AD4AE89.6010802@radel.com> Jacques Henry wrote: > I commented the commands involved and nothing changed... (with only 10 > minutes of time difference) The 19 minutes between when I sent my suggestions and you responded is hardly enough time to see if ntpd was slewing the time. Slewing 587 seconds takes days. > > I even tried to "force" the sync: > > U450XA0A0800650>nstop ntp > U450XA0A0800650>ntpd -x -n -q -c /var/ntp.conf > U450XA0A0800650>nstart ntp > Are you sure that -x in there, telling ntpd to not step unless the offset is over 600 sec, doesn't override what you're trying to do with the -q? How about you try simple: ntpdate the_windows_server and see what that does? After that look in /var/log/messages. > In fact I am still quite convinced that the MS implementation isn't totally > compliant with the client... Could be, but ntpq was showing that your ntpd was accepting time data from the Windows server at least on some level. -- --Jon Radel jon@radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091013/1584d353/smime.bin From wmoran at potentialtech.com Tue Oct 13 17:08:31 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Oct 13 17:08:39 2009 Subject: [OT] Service that provides security questions Message-ID: <20091013130829.b5279603.wmoran@potentialtech.com> I know that various companies use a pretty crazy security question system if your forget your account password and you can't use email to reset it. It seems to be the same system used by the credit agencies when you ask for a credit report the first time. It's the system where they ask you 6 or 7 questions and you have to get most of them right. You know, when some of the questions have no answer, like "What year did you live at 123 Baker St" when you've never lived there, so you have to select "no matching answer". Those who have dealt with one of these systems know what I'm talking about. I have a hard time believing each of these companies sets up such a system on their own, and I have a feeling that there's a 3rd party that compiles the data for them. Can anyone refer me to such a company? -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From heiner_ej at yahoo.de Tue Oct 13 17:21:17 2009 From: heiner_ej at yahoo.de (=?iso-8859-1?Q?Heiner_Strau=DF?=) Date: Tue Oct 13 17:21:25 2009 Subject: [ports/science/paraview]: /usr/local/lib/paraview-2.4/tk8.4/tk.tcl: no event type or button # or keysym In-Reply-To: <20091013120022.BE83310656C7@hub.freebsd.org> References: <20091013120022.BE83310656C7@hub.freebsd.org> Message-ID: <891542.1575.qm@web23401.mail.ird.yahoo.com> > > Before posting a PR I'll ask whether this error I receive after a fresh > installation of paraview from ports today on FreeBSD 8.0-RC1/amd64 is an > serious issue or something related on misconfiguration. > > Besides, tcl/tk 8.4 is up to date and present on the system. > Hope someone can help, > > regards, > Oliver > > -- > > > ParaView error: InitializeTcl failed > Tk_Init error: Can't find a usable tk.tcl in the following directories: > /usr/local/lib/paraview-2.4/tk8.4 > > /usr/local/lib/paraview-2.4/tk8.4/tk.tcl: no event type or button # or > keysym > no event type or button # or keysym > while executing > "bind Listbox { > %W yview scroll [expr {- (%D / 120) * 4}] units > }" > (file "/usr/local/lib/paraview-2.4/tk8.4/listbox.tcl" line 182) > invoked from within > "source /usr/local/lib/paraview-2.4/tk8.4/listbox.tcl" > (in namespace eval "::" script line 1) > invoked from within > "namespace eval :: [list source [file join $::tk_library $file.tcl]]" > (procedure "SourceLibFile" line 2) > invoked from within > "SourceLibFile listbox" > (in namespace eval "::tk" script line 4) > invoked from within > "namespace eval ::tk { > SourceLibFile button > SourceLibFile entry > SourceLibFile listbox > SourceLibFile menu > SourceLibFile panedwindow > SourceLibFile ..." > invoked from within > "if {$::tk_library ne ""} { > if {[string equal $tcl_platform(platform) "macintosh"]} { > proc ::tk::SourceLibFile {file} { > if {[catch { > namesp..." > (file "/usr/local/lib/paraview-2.4/tk8.4/tk.tcl" line 397) > invoked from within > "source /usr/local/lib/paraview-2.4/tk8.4/tk.tcl" > ("uplevel" body line 1) > invoked from within > "uplevel #0 [list source $file]" > > > This probably means that tk wasn't installed properly. > Hello, this happens because Xorg changed the event model in 7.4 and Tk not. A quick fix is to comment out the mouse events in paraview. A better fix is to patch Tk, someone already wrote it. Greetings, Heiner From freebsd at edvax.de Tue Oct 13 17:27:34 2009 From: freebsd at edvax.de (Polytropon) Date: Tue Oct 13 17:27:41 2009 Subject: Relocating ~/.xsession-errors In-Reply-To: References: Message-ID: <20091013192732.839699dd.freebsd@edvax.de> On Tue, 13 Oct 2009 08:02:19 +0000 (UTC), Martijn van Buul wrote: > I'd like to relocate this file to a tmpfs ramdisk, > if possible. Have you tried using a symlink? I'm not sure if this will work across partitions... > Does anyone know an alternate way to move this logfile, or if everything > else fails how to silence it? Symlink to /dev/null? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at optiksecurite.com Tue Oct 13 18:33:33 2009 From: freebsd at optiksecurite.com (Martin Turgeon) Date: Tue Oct 13 18:33:44 2009 Subject: How can I get >100 connections in FIN_WAIT_2 state from the same IP? Message-ID: <4AD4B9EA.5070304@optiksecurite.com> Hi everyone, I would like to know if anyone knows the reason why I get a lot of connections (more than 100) from the same IP in FIN_WAIT_2 state. Refering to this diagram (http://www.jxos.org/Projects/TCP/tcpstate.html), the connection enter in FIN_WAIT_1 when the server closes the connection and in FIN_WAIT_2 when the client ACK the FIN from the server. For the connection to stay in FIN_WAIT_2, the client must never send his FIN, right? In this case the connections are on port 80. Is it a problem with the client's browser or OS? Is it possible that some mobile devices doesn't close their connections correctly to save bandwidth and battery? I know this isn't specific to FreeBSD, but thanks for your answer anyway Martin From bbdl21548 at blueyonder.co.uk Tue Oct 13 18:28:58 2009 From: bbdl21548 at blueyonder.co.uk (Jasvinder S. Bahra) Date: Tue Oct 13 18:35:00 2009 Subject: freebsd jail: web and database server config questions References: <815964.80537.qm@web51104.mail.re2.yahoo.com> Message-ID: <9A3A5718E988446A83A59583AB2D2CDA@atlantis> I'm no expert but i'll give this a go. > Is it advisable/wise/okay/clever to run a webserver on my host > system and a database server on my jailed system? The webserver > will need to connect to the database system on startup and > update the database based on client access. A key concept in securing a system is defence in depth. Personally, I would setup two jails on the system and run the database in one jail and the webserver in the other. That way, if one of the two became compromised, the intruder would still have to do some work to get system root access. > However, if a machine gets compromised, it would rather be the > webserver, therefore running the webserver in the jailed > environment seems better to me. But how could that be done, if > the webserver requires to connect through tcp/ip to the > database server running on the host system? I thought that a > key-feature of a jailed system is that it can't access > resources outside the jail. Your correct that a jail is almost entirely self-contained, but no more so than a standalone system - and a standalone system can still communicate with other systems using network communications. In (exactly) the same way, a process in one jail can still communicate with a process in another jail. For example, say you were using MySQL and Apache Webserver. If the two processes were running on two different systems, they can communicate with each other via a network connection on port 3306. As a jailed system is a virtual-standalone system, each of them would have a virtual-network card, and so two seperate IP addresses. Thus, the two processes could communicate with each other in exactly the same way as the two actually-standalone systems. > And how do I go around when I need to update my host system due > to a security advisory. I heard the jailed environment will not > be affected? So basically that means I would need to create a > new jail everytime I recompile (as that's the way I'm using to > stay current) Your correct, recompiling the host system does not affect the jailed systems. However there are ways around that. I use a tool called ezjail. It allows you to update a jail with a single command. See http://erdgeist.org/arts/software/ezjail/ and the handbook for more details. Jazz From cswiger at mac.com Tue Oct 13 18:39:51 2009 From: cswiger at mac.com (Chuck Swiger) Date: Tue Oct 13 18:39:58 2009 Subject: How can I get >100 connections in FIN_WAIT_2 state from the same IP? In-Reply-To: <4AD4B9EA.5070304@optiksecurite.com> References: <4AD4B9EA.5070304@optiksecurite.com> Message-ID: On Oct 13, 2009, at 10:33 AM, Martin Turgeon wrote: > I would like to know if anyone knows the reason why I get a lot of > connections (more than 100) from the same IP in FIN_WAIT_2 state. That IP is probably running a web proxy or possibly some kind of spider. It could also be malicious, trying to exploit webserver vulnerabilities, etc-- search your logs for that IP and see what it is doing. > In this case the connections are on port 80. Is it a problem with the > client's browser or OS? Is it possible that some mobile devices > doesn't > close their connections correctly to save bandwidth and battery? Yes, it's not uncommon for various platforms to simply drop connections rather than closing them properly. You can run tcpdrop to forcibly get rid of them, but they should time out within a few minutes anyway. If you believe the remote IP is being abusive, consider firewalling it.... Regards, -- -Chuck From tajudd at gmail.com Tue Oct 13 18:42:24 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue Oct 13 18:42:57 2009 Subject: restore(8)ing new / -- boots on metal but not in a VM In-Reply-To: <98ac902a0910121745h204124ear51139091572676f3@mail.gmail.com> References: <98ac902a0910120214m29d299b5o6aa58fdba45c9f95@mail.gmail.com> <98ac902a0910121745h204124ear51139091572676f3@mail.gmail.com> Message-ID: On 10/12/09, Alex Jurkiewicz wrote: > 2009/10/13 Tim Judd : >> Is the virtual machine using SCSI emulation to boot, or is it using IDE? >> >> SCSI drives are da(4), IDE drives are ata(4) [aka ad(4)] >> > > The dump was taken from an ad0 device on physical hardware, and I'm > attempting to restore to the same, just on virtual hardware. > >> If the boot blocks (maybe boot0 specific) point to an ad/ata device, >> and the virtual machine is SCSI, it won't find the boot sectors. > > So, if I make a dumpfile of / on an ad(4) device, I can't restore it > to a da(4) device and expect it to boot? I guess at minimum I'll need > two copies of this image if I want to roll it out on machines with > both sorts of drive, right? > > Thanks, > AJ > That's part of my point, I don't run with boot0, so it may be one of it's features. My suggestion is to check the VM config and see if you can emulate an IDE ad(4) device instead of the possible SCSI da(4) device that vmware/virtualbox may setup. I'm almost positive (not 100% because I don't have either one of those installed at the moment) that both those products default to a SCSI device. Let us know. From tajudd at gmail.com Tue Oct 13 18:45:03 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue Oct 13 18:45:10 2009 Subject: server specification. In-Reply-To: References: Message-ID: On 10/12/09, Marwan Sultan wrote: > > Hello gurus, > > > > Im going to a new server, and i donot want to have a problem.. > > May please anyone advice me of any feed back of FreeBSD 7.2 with the > following specification: > > any problems? > > > > > > 1x Intel Core 2 Quad Q6600 > Kentsfield 2.4GHz 2x 4MB L2 > Cache LGA 775 > > 2GB DDR2 ECC > > 3WARE RAID SATA 2 ports > > 2x 250GB SATA in RAID 1 > > > > So any problems with quad kentsfield and FBSD 7.2 ? > > > > thank you in advance. > > > > Marwan Sultan Certain OEMs (ahem, Dell) I don't pick due to it's known legacy support or Technical Support unsupporting an OS that they don't get paid for. Even if it's a hardware problem, they ask "try to duplicate the problem in windows, then we'll be able to support you". I turn Dell down, when I deal with my customers. --Tim From tobias.rehbein at web.de Tue Oct 13 18:46:33 2009 From: tobias.rehbein at web.de (Tobias Rehbein) Date: Tue Oct 13 18:46:40 2009 Subject: music file in /tmp/XXX/ In-Reply-To: <20091011183146.GA1258@thought.org> References: <20091011183146.GA1258@thought.org> Message-ID: <20091013181324.GA1752@sushi.pseudo.local> Am Sun, Oct 11, 2009 at 11:31:48AM -0700 schrieb Gary Kline: > is there a freebsd app that will take my music file, 18 of them in /tmp/XXX, > all named ogg files, and burn them to a CD? You might take a look at audio/mp3burn. Despite it's name it burns ogg files just fine: mp3burn *.ogg From alexbestms at math.uni-muenster.de Tue Oct 13 19:21:25 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Tue Oct 13 19:21:32 2009 Subject: whacky `fc-list` output Message-ID: hi there, when i do `fc-list` the output looks rather odd. `fc-cache -f` doesn't help. the output looks the same using different shells. cheers. ps: i'm running FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r197914: Sat Oct 10 02:58:19 CEST 2009 root@otaku:/usr/obj/usr/src/sys/ARUNDEL i386 -------------- next part -------------- Verdana:style=Standard,Normal,obyčejné,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta Luxi Serif:style=Regular LucidaBright:style=Italic Utopia:style=Bold Italic Times New Roman:style=Standard,Normal,obyčejné,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,thường,Arrunta Bitstream Vera Sans Mono:style=Bold Webdings:style=Regular newPushkin:style=Book Serto Malankara:style=Regular Luxi Serif:style=Bold Verdana:style=Fett Kursiv,Negreta cursiva,tučné kurzíva,fed kursiv,Έντονα Πλάγια,Bold Italic,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,Lodi etzana Georgia:style=Cursiva,kurzíva,kursiv,Πλάγια,Italic,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,Etzana Serto Mardin:style=Regular Comic Sans MS:style=Standard,Normal,obyčejné,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta LucidaTypewriter:style=Sans Bold Fixed:style=Bold Bitstream Vera Sans:style=Oblique Estrangelo Edessa:style=Regular Serto Kharput:style=Regular Times:style=Bold Italic Clean:style=Regular Luxi Mono:style=Bold Georgia:style=Fett Kursiv,Negreta cursiva,tučné kurzíva,fed kursiv,Έντονα Πλάγια,Bold Italic,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,Lodi etzana Utopia:style=Bold Estrangelo Nisibin:style=Regular ClearlyU PUA:style=Regular Bitstream Vera Sans:style=Roman Charter:style=Bold Italic Bitstream Charter:style=Bold Italic Luxi Sans:style=Bold Serto Batnan:style=Bold Estrangelo Midyat:style=Regular Estrangelo Talada:style=Regular Courier:style=Bold Italic Luxi Sans:style=Regular Trebuchet MS:style=Cursiva,kurzíva,kursiv,Πλάγια,Italic,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,Etzana Courier:style=Regular Charter:style=Bold Cursor:style=Regular Helvetica:style=Oblique LucidaBright:style=Regular Terminal:style=Bold Estrangelo Quenneshrin:style=Regular Trebuchet MS:style=Fett,Negreta,tučné,fed,Έντονα,Bold,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,Lodia Serto Jerusalem:style=Regular Times New Roman:style=cursiva,kurzíva,kursiv,Πλάγια,Italic,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,kursywa,Itálico,Курсив,İtalik,Poševno,nghiêng,Etzana East Syriac Ctesiphon:style=Regular Bitstream Charter:style=Regular Verdana:style=Fett,Negreta,tučné,fed,Έντονα,Bold,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,Lodia Fixed:style=Bold SemiCondensed Andale Mono:style=Standard,Normal,obyčejné,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta Georgia:style=Fett,Negreta,tučné,fed,Έντονα,Bold,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,Lodia Serto Jerusalem Outline:style=Regular Times New Roman:style=Fett,Negreta,tučné,fed,Έντονα,Bold,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiona,Negrito,Полужирный,Fet,Kalın,Krepko,đậm,Lodia Arial Black:style=Standard,Normal,obyčejné,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta Fixed:style=SemiCondensed Bitstream Vera Sans Mono:style=Oblique Times:style=Bold Courier New:style=Standard,Normal,obyčejné,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,thường,Arrunta Courier 10 Pitch:style=Bold Italic Charter:style=Italic Trebuchet MS:style=Standard,Normal,obyčejné,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta Luxi Mono:style=Regular Estrangelo Antioch:style=Regular Arial:style=Fett Kursiv,Negreta cursiva,tučné kurzíva,fed kursiv,Έντονα Πλάγια,Bold Italic,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,nghiêng đậm,Lodi etzana Courier:style=Oblique Trebuchet MS:style=Fett Kursiv,Negreta cursiva,tučné kurzíva,fed kursiv,Έντονα Πλάγια,Bold Italic,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,Lodi etzana Bitstream Charter:style=Italic Newspaper:style=Regular Comic Sans MS:style=Fett,Negreta,tučné,fed,Έντονα,Bold,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,Lodia Serto Urhoy:style=Bold Times:style=Italic ClearlyU:style=Regular Lucida:style=Sans Bold Bitstream Vera Sans:style=Bold Verdana:style=Cursiva,kurzíva,kursiv,Πλάγια,Italic,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,Etzana micro.pcf:style=Regular Fixed:style=Oblique SemiCondensed Fixed:style=Oblique Courier New:style=Fett Kursiv,Negreta cursiva,tučné kurzíva,fed kursiv,Έντονα Πλάγια,Bold Italic,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,Lodi etzana LucidaTypewriter:style=Sans New Century Schoolbook:style=Bold ClearlyU Alternate Glyphs:style=Regular Courier 10 Pitch:style=Italic Utopia:style=Italic Courier:style=Bold Oblique Arial:style=Cursiva,kurzíva,kursiv,Πλάγια,Italic,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,nghiêng,Etzana Lucida:style=Sans Italic Bitstream Vera Serif:style=Roman Lucida:style=Sans Bitstream Vera Sans Mono:style=Bold Oblique Serto Urhoy:style=Regular Luxi Serif:style=Oblique Courier New:style=Cursiva,kurzíva,kursiv,Πλάγια,Italic,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,nghiêng,Etzana Bitstream Vera Sans:style=Bold Oblique Luxi Serif:style=Bold Oblique Serto Batnan:style=Regular Arial:style=Standard,Normal,obyčejné,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,thường,Arrunta decsess.pcf:style=Regular Helvetica:style=Bold Times:style=Regular New Century Schoolbook:style=Bold Italic Bitstream Vera Sans Mono:style=Roman Luxi Mono:style=Oblique Courier 10 Pitch:style=Regular Lucida:style=Sans Bold Italic Courier New:style=Fett,Negreta,tučné,fed,Έντονα,Bold,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,đậm,Lodia Helvetica:style=Regular Luxi Sans:style=Oblique Serto Mardin:style=Bold Estrangelo TurAbdin:style=Regular Courier:style=Italic deccurs.pcf:style=Regular cursor.pcf:style=Regular Charter:style=Regular Courier 10 Pitch:style=Bold Serto Jerusalem:style=Italic Terminal:style=Regular Serto Jerusalem:style=Bold Fixed:style=ko Fixed:style=ja Fixed:style=Regular Helvetica:style=Bold Oblique Arial:style=Fett,Negreta,tučné,fed,Έντονα,Bold,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,đậm,Lodia New Century Schoolbook:style=Italic Luxi Sans:style=Bold Oblique Bitstream Vera Serif:style=Bold spinweradC:style=Bold Luxi Mono:style=Bold Oblique Courier:style=Bold Utopia:style=Regular Impact:style=Standard,Normal,obyčejné,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta Goha\-Tibeb Zemen:style=Regular Georgia:style=Standard,Normal,obyčejné,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta Estrangelo Nisibin Outline:style=Regular East Syriac Adiabene:style=Regular Bitstream Charter:style=Bold spinwerad:style=Bold Times New Roman:style=Fett Kursiv,Negreta cursiva,tučné kurzíva,fed kursiv,Έντονα Πλάγια,Bold Italic,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,nghiêng đậm,Lodi etzana New Century Schoolbook:style=Regular From gesbbb at yahoo.com Tue Oct 13 19:34:36 2009 From: gesbbb at yahoo.com (Jerry) Date: Tue Oct 13 19:34:44 2009 Subject: server specification. In-Reply-To: References: Message-ID: <20091013153434.7a27cef3@scorpio.seibercom.net> On Tue, 13 Oct 2009 12:45:02 -0600 Tim Judd (tajudd@gmail.com) replied: >Certain OEMs (ahem, Dell) I don't pick due to it's known legacy >support or Technical Support unsupporting an OS that they don't get >paid for. Even if it's a hardware problem, they ask "try to duplicate >the problem in windows, then we'll be able to support you". > >I turn Dell down, when I deal with my customers. I have had excellent results with both Dell and HP. In the case of Dell, twice they have shipped over night parts I required that were under warranty at no cost to myself. I think it is a little naive to feel that a company is suppose to support any product that they are not actively associated with. There cheaper models do use quite a bit of legacy products; however, the intermediate and top end machines are far better. They also offer the customer far more ways to customize the product. -- Jerry gesbbb@yahoo.com The bugs you have to avoid are the ones that give the user not only the inclination to get on a plane, but also the time. Kay Bostic From pino at dohd.org Tue Oct 13 20:00:04 2009 From: pino at dohd.org (Martijn van Buul) Date: Tue Oct 13 20:00:11 2009 Subject: Relocating ~/.xsession-errors References: <20091013192732.839699dd.freebsd@edvax.de> Message-ID: * Polytropon: > On Tue, 13 Oct 2009 08:02:19 +0000 (UTC), Martijn van Buul > wrote: >> I'd like to relocate this file to a tmpfs ramdisk, >> if possible. > > Have you tried using a symlink? I'm not sure if this will > work across partitions... Symlinks work across partitions, but the problem is that symlinks (or hardlinks for that matter..) won't work here. GDM is responsible for setting up the redirection, and before doing so it moves the existing .xsession-errors to .xsession-errors.old. This is intentional, so in case of a suddenly terminating X session the old logging of the previous session is still available. This means that the (symbolic) link will just end up being moved to .xsession-errors.old, thus defeating the purpose. >> Does anyone know an alternate way to move this logfile, or if everything >> else fails how to silence it? > > Symlink to /dev/null? :-) Alas :) Thanks for thinking along with me. -- Martijn van Buul - pino@dohd.org From glimm at itartass.spb.ru Tue Oct 13 21:31:42 2009 From: glimm at itartass.spb.ru (glimm) Date: Tue Oct 13 21:31:50 2009 Subject: cdma modem Ubiquam UM-300 and FreeBSD 8 Message-ID: <20091014012704.6e42d7ca@itartass.spb.ru> Hello. Has the someone to run the pcmcia modem Ubiquam UM-300 under FreeBSD? Modem is defined in the system, but ppp is responsible "Warning: Chat script failed" when dialing. kldload umodem.ko kldload uplcom.ko kldload uart.ko dmesg pccard0: (manufacturer=0x015d, product=0x4c45, function_type=254) at function 0 pccard0: CIS info: Ubiquam, UM-300, , uart2: at port 0x400-0x408 irq 20 function 1 config 63 on pccard0 uart2: [FILTER] ppp.log Oct 14 01:20:30 laptop ppp[2722]: tun0: Command: skylink: set device /dev/ttyu2 Oct 14 01:20:30 laptop ppp[2722]: tun0: Command: skylink: set phone #777 Oct 14 01:20:30 laptop ppp[2722]: tun0: Command: skylink: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q Oct 14 01:20:30 laptop ppp[2722]: tun0: Command: skylink: set login Oct 14 01:20:30 laptop ppp[2722]: tun0: Command: skylink: set authname mobile Oct 14 01:20:30 laptop ppp[2722]: tun0: Command: skylink: set authkey ******** Oct 14 01:20:30 laptop ppp[2722]: tun0: Command: skylink: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Oct 14 01:20:30 laptop ppp[2722]: tun0: Command: skylink: add default HISADDR Oct 14 01:20:30 laptop ppp[2722]: tun0: Phase: PPP Started (interactive mode). Oct 14 01:20:31 laptop ppp[2722]: tun0: Command: /dev/pts/4: dial Oct 14 01:20:31 laptop ppp[2722]: tun0: Phase: bundle: Establish Oct 14 01:20:31 laptop ppp[2722]: tun0: Phase: deflink: closed -> opening Oct 14 01:20:31 laptop ppp[2722]: tun0: Phase: deflink: Connected! Oct 14 01:20:31 laptop ppp[2722]: tun0: Phase: deflink: opening -> dial Oct 14 01:20:31 laptop ppp[2722]: tun0: Chat: Phone: #777 Oct 14 01:20:31 laptop ppp[2722]: tun0: Chat: deflink: Dial attempt 1 of 1 Oct 14 01:20:31 laptop ppp[2722]: tun0: Chat: Send: AT^M Oct 14 01:20:31 laptop ppp[2722]: tun0: Chat: Expect(5): OK Oct 14 01:20:36 laptop ppp[2722]: tun0: Chat: Expect timeout Oct 14 01:20:36 laptop ppp[2722]: tun0: Chat: Send: AT^M Oct 14 01:20:36 laptop ppp[2722]: tun0: Chat: Expect(5): OK Oct 14 01:20:41 laptop ppp[2722]: tun0: Chat: Expect timeout Oct 14 01:20:41 laptop ppp[2722]: tun0: Warning: Chat script failed Oct 14 01:20:41 laptop ppp[2722]: tun0: Phase: deflink: dial -> hangup Oct 14 01:20:41 laptop ppp[2722]: tun0: Phase: deflink: Disconnected! Oct 14 01:20:41 laptop ppp[2722]: tun0: Phase: deflink: Connect time: 10 secs: 0 octets in, 0 octets out Oct 14 01:20:41 laptop ppp[2722]: tun0: Phase: deflink: 0 packets in, 0 packets out Oct 14 01:20:41 laptop ppp[2722]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Wed Oct 14 01:20:31 2009 Oct 14 01:20:41 laptop ppp[2722]: tun0: Phase: deflink: hangup -> closed Oct 14 01:20:41 laptop ppp[2722]: tun0: Phase: bundle: Dead Oct 14 01:21:04 laptop ppp[2722]: tun0: Command: /dev/pts/4: quit Oct 14 01:21:04 laptop ppp[2722]: tun0: Phase: PPP Terminated (normal). From pino at dohd.org Tue Oct 13 21:42:10 2009 From: pino at dohd.org (Martijn van Buul) Date: Tue Oct 13 21:42:17 2009 Subject: Relocating ~/.xsession-errors References: Message-ID: * Martijn van Buul: > Hi, > > I've recently installed FreeBSD 8.0RC1 on my Acer Aspire One netbook, and so > far things are working out OK. I'm using the SSD model, and since these > netbooks have a notoriously slow SSD write speed, I'm trying to get rid of as > much writes as possible. Furthermore, reducing writes might make it live > longer. OK, I "fixed" my own problem, but I'm not overly happy with it. Apparently this filename and location are compile-time constants, so I had to revert to making a patch and compiling my own package. I would've loved to avoid this since it would make updating harder, but alas. It's a bit ironic to see that in a world littered of XML schemas, config files, gconf-voodoo and other configuration options you STILL end requiring a patched binary. Ah well :) -- Martijn van Buul - pino@dohd.org From nightrecon at hotmail.com Tue Oct 13 21:51:35 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Tue Oct 13 21:51:41 2009 Subject: How can I get >100 connections in FIN_WAIT_2 state from the same IP? References: <4AD4B9EA.5070304@optiksecurite.com> Message-ID: Chuck Swiger wrote: > On Oct 13, 2009, at 10:33 AM, Martin Turgeon wrote: >> I would like to know if anyone knows the reason why I get a lot of >> connections (more than 100) from the same IP in FIN_WAIT_2 state. > > That IP is probably running a web proxy or possibly some kind of > spider. It could also be malicious, trying to exploit webserver > vulnerabilities, etc-- search your logs for that IP and see what it is > doing. > >> In this case the connections are on port 80. Is it a problem with the >> client's browser or OS? Is it possible that some mobile devices >> doesn't >> close their connections correctly to save bandwidth and battery? > > Yes, it's not uncommon for various platforms to simply drop > connections rather than closing them properly. You can run tcpdrop to > forcibly get rid of them, but they should time out within a few > minutes anyway. If you believe the remote IP is being abusive, > consider firewalling it.... > This is also common from the differences in TCP/IP stacks across various platforms. Windows, Linux, Solaris, etc are all slightly different in this regard. If you're running a web server you can set the following in /etc/sysctl.conf in an attempt to mitigate. Don't know if the timeout period can be altered. net.inet.tcp.fast_finwait2_recycle=1 This won't stop it from happening but it will trim the pool down some. -Mike From alexbestms at math.uni-muenster.de Tue Oct 13 21:53:42 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Tue Oct 13 21:53:49 2009 Subject: sysinstall colours In-Reply-To: <4AD23C1C.8040300@daleco.biz> Message-ID: Kevin Kinsey schrieb am 2009-10-11: > Alexander Best wrote: > >>Seriously?!?!?! All the problems with sysinstall, and your idea is > >>to > >>change > >>the color? Are you trying to start a bikeshed? If so, I prefer > >>pink. > >>-- randi > I'm painting the little girl's room next week and might have > some leftover interior latex, if that will do. Oh, but, it's > outside, so prolly not. Sorry. Or, do you want your pink > bikeshed in the garage? ;-) > >current developers don't seem to have any interest in improving > >sysinstall. so > >it's important to get new people involved in freebsd. and the way > >to do that > >is with an attractive looking installer and an easy installation > >process imo. > I don't want to be harsh, but do you know what you're talking about? > Randi, for one, has taken on the zombie known as sysinstall with a > nice big shotgun, and is attempting to keep adding a few features > here/there as needed to keep up with necessities while other > developers (AFAIK) work on other projects, including, at last count, > a couple differnet possibilities for installers. It's apparently > been rather daunting work, and, as a result, the new installer, > whatever its name is/will be, isn't ready for inclusion with 8.0. > However, a day is coming ... > Kevin Kinsey just did a quick research and google soc sponsored the finstaller in 2007 and the bsdinstaller in 2005. personally if i spent a lot of time on such a project i'd be expecting it to get integrated into the base system. if not i'd get rather upset and would probably switch to linux or opensolaris. just my 2 cents. alex From af300wsm at gmail.com Tue Oct 13 22:08:06 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Tue Oct 13 22:08:13 2009 Subject: laptops and notebooks Message-ID: <0016e68e80b7ddecc30475d84700@google.com> hi, Does anyone here use FreeBSD or PC-BSD with HP TouchSmart laptops/notebooks? Thanks, Andy From wtf.jlaine at gmail.com Tue Oct 13 22:33:13 2009 From: wtf.jlaine at gmail.com (Jeff Laine) Date: Tue Oct 13 22:33:20 2009 Subject: How can I get >100 connections in FIN_WAIT_2 state from the same IP? In-Reply-To: References: <4AD4B9EA.5070304@optiksecurite.com> Message-ID: <20091013223307.GA70023@free.bsd.loc> On Tue,13-10-2009 [17:50:00], Michael Powell wrote: > Chuck Swiger wrote: > > > On Oct 13, 2009, at 10:33 AM, Martin Turgeon wrote: > >> I would like to know if anyone knows the reason why I get a lot of > >> connections (more than 100) from the same IP in FIN_WAIT_2 state. > > > > That IP is probably running a web proxy or possibly some kind of > > spider. It could also be malicious, trying to exploit webserver > > vulnerabilities, etc-- search your logs for that IP and see what it is > > doing. > > > >> In this case the connections are on port 80. Is it a problem with the > >> client's browser or OS? Is it possible that some mobile devices > >> doesn't > >> close their connections correctly to save bandwidth and battery? > > > > Yes, it's not uncommon for various platforms to simply drop > > connections rather than closing them properly. You can run tcpdrop to > > forcibly get rid of them, but they should time out within a few > > minutes anyway. If you believe the remote IP is being abusive, > > consider firewalling it.... > > > > This is also common from the differences in TCP/IP stacks across various > platforms. Windows, Linux, Solaris, etc are all slightly different in this > regard. > > If you're running a web server you can set the following in /etc/sysctl.conf > in an attempt to mitigate. Don't know if the timeout period can be altered. > > net.inet.tcp.fast_finwait2_recycle=1 > > This won't stop it from happening but it will trim the pool down some. Hi, maybe you'll find this info useful as well: >From man pf.conf: [...] Options tcp.finwait The state after both FINs have been exchanged and the connec- tion is closed. Some hosts (notably web servers on Solaris) send TCP packets even after closing the connection. Increas- ing tcp.finwait (and possibly tcp.closing) can prevent block- ing of such packets. [...] It looks like this pf tunable has a 45s default value: #pfctl -st [...] tcp.finwait 45s [...] Setting pf optimization to 'aggressive' changes it to 30s value. -- Best regards, Jeff | "Nobody wants to say how this works. | | Maybe nobody knows ..." | | Xorg.conf(5) | From meta at club.kyutech.ac.jp Tue Oct 13 22:40:48 2009 From: meta at club.kyutech.ac.jp (Kouichiro Iwao) Date: Tue Oct 13 22:40:54 2009 Subject: too noisy virtualbox messages on dmesg Message-ID: <4AD4FDC5.7010403@club.kyutech.ac.jp> Hi. I'm using VirtualBox 3.0.51 on 8-RC1 and it is properly working but too many messages are dumped on dmesg like below. The message blows off which I really need. Please give me instructions how to stop it or how to make it to be dumped somewhere else. [meta@trueno ~]$ dmesg | tail VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec2e28dc VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec1c78dc VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec1738dc VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec1738dc VBoxDrvFreeBSDClone: pszName=crypto ppDev=0xec87e8dc VBoxDrvFreeBSDClone: pszName=crypto ppDev=0xec87e8dc VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec87e8dc VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec87e8dc VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec87e8dc VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec87e8dc -- Iwao, Koichiro From bjmccann at gmail.com Tue Oct 13 22:46:42 2009 From: bjmccann at gmail.com (Brian McCann) Date: Tue Oct 13 22:46:49 2009 Subject: Broadcom bce interface problems In-Reply-To: <4AD47563.8050206@ibctech.ca> References: <2b5f066d0910130531w7a7bf6aft81fd3782b7754e27@mail.gmail.com> <4AD47563.8050206@ibctech.ca> Message-ID: <2b5f066d0910131546u44a2db57ve8232c63b8d943d8@mail.gmail.com> On Tue, Oct 13, 2009 at 8:41 AM, Steve Bertrand wrote: > Brian McCann wrote: >> I'm having problems with the bce interface on a FreeBSD 7.2 install, using >> an IBM BladeCenter HS21 machine. ?The machine uses the NetXtreme II card. >> ?The really strange thing here is, the switch shows a link, but the card >> shows no carrier in the setup. ?It started working for a few seconds at one >> point when I reset the switch (at least, I think that's what I did), and it >> detected 1000BaseSX as the media and showed a status of active, but promptly >> went away. ?If I try setting the media type manually, that doesn't appear to >> work. >> Has anyone seen this or have any ideas? > > Try forcing the interface to 'up': > > # ifconfig bce0 up > > If that works, add it to the /etc/rc.conf: > > # echo 'ifconfig_bce0="up"' >> /etc/rc.conf > > Steve > Thanks for the suggestion. I just tried it, but still get "no carrier" for the status. --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann "I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me." -- Bill Murray, "Ghostbusters" From amvandemore at gmail.com Wed Oct 14 01:19:03 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Oct 14 01:19:10 2009 Subject: too noisy virtualbox messages on dmesg In-Reply-To: <4AD4FDC5.7010403@club.kyutech.ac.jp> References: <4AD4FDC5.7010403@club.kyutech.ac.jp> Message-ID: <6201873e0910131819x52854097y2297aae70136a98b@mail.gmail.com> 2009/10/13 Kouichiro Iwao > Hi. > > I'm using VirtualBox 3.0.51 on 8-RC1 and it is properly working > but too many messages are dumped on dmesg like below. > The message blows off which I really need. Please give me instructions > how to stop it or how to make it to be dumped somewhere else. > > [meta@trueno ~]$ dmesg | tail > VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec2e28dc > VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec1c78dc > VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec1738dc > VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec1738dc > VBoxDrvFreeBSDClone: pszName=crypto ppDev=0xec87e8dc > VBoxDrvFreeBSDClone: pszName=crypto ppDev=0xec87e8dc > VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec87e8dc > VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec87e8dc > VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec87e8dc > VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec87e8dc > > -- > Iwao, Koichiro > > Did you compile the port with debug enabled? I don't see those messages unless it is. unload vbox kernel modules cd /usr/ports/emulators/virtualbox && make config deselect debug make && make deinstall install clean reload vbox kernel modules -- Adam Vande More From chrisstankevitz at yahoo.com Tue Oct 13 23:39:57 2009 From: chrisstankevitz at yahoo.com (Chris Stankevitz) Date: Wed Oct 14 01:31:43 2009 Subject: man quits back to the prompt after CTRL-G Message-ID: <521176.60565.qm@web52902.mail.re2.yahoo.com> Please try this: 1. at the prompt type "man man" to get the man manual page. 2. press CTRL-G to to to the bottom of the document 3. press k to scroll up one line You'll notice you cannot perform step 3 because man "quits back to the prompt after CTRL-G". Question: How can I make man not "quit back to the prompt after CTRL-G"? Thank you, Chris From chrisstankevitz at yahoo.com Tue Oct 13 23:45:40 2009 From: chrisstankevitz at yahoo.com (Chris Stankevitz) Date: Wed Oct 14 01:38:17 2009 Subject: View font selection Message-ID: <288486.72733.qm@web52910.mail.re2.yahoo.com> Hello, Question: What command should I issue to see what each of my installed x11 fonts looks like? Thank you, Chris From roberthuff at rcn.com Wed Oct 14 01:44:48 2009 From: roberthuff at rcn.com (Robert Huff) Date: Wed Oct 14 01:44:56 2009 Subject: man quits back to the prompt after CTRL-G In-Reply-To: <521176.60565.qm@web52902.mail.re2.yahoo.com> References: <521176.60565.qm@web52902.mail.re2.yahoo.com> Message-ID: <19157.11479.415746.171606@jerusalem.litteratus.org> Chris Stankevitz writes: > Please try this: > > 1. at the prompt type "man man" to get the man manual page. > 2. press CTRL-G to to to the bottom of the document > 3. press k to scroll up one line > > You'll notice you cannot perform step 3 because man "quits back > to the prompt after CTRL-G". > > Question: How can I make man not "quit back to the prompt after > CTRL-G"? On my system, the result of (1) and (2) is the screen remains at the first page of output and lines 1-34 byte 1821 (press RETURN) appears at the bottom of the screen in reverse video. Robert Huff From illoai at gmail.com Wed Oct 14 01:55:06 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Wed Oct 14 01:55:37 2009 Subject: man quits back to the prompt after CTRL-G In-Reply-To: <521176.60565.qm@web52902.mail.re2.yahoo.com> References: <521176.60565.qm@web52902.mail.re2.yahoo.com> Message-ID: 2009/10/13 Chris Stankevitz : > Please try this: > > 1. at the prompt type "man man" to get the man manual page. > 2. press CTRL-G to to to the bottom of the document > 3. press k to scroll up one line > > You'll notice you cannot perform step 3 because man "quits back to the prompt after CTRL-G". > > Question: How can I make man not "quit back to the prompt after CTRL-G"? > from man 1 more: = or ^G or :f Prints some information about the file being viewed, including its name and the line number and byte offset of the bottom line being displayed. If possible, it also prints the length of the file, the number of lines in the file and the percent of the file above the last displayed line. so if you mean shift-G, then the default behaviour of more(1) is to exit when it reaches the end of the file, & (IIRC, obviously YMMV) the default pager is set to more. -- -- From meta at club.kyutech.ac.jp Wed Oct 14 02:15:11 2009 From: meta at club.kyutech.ac.jp (Kouichiro Iwao) Date: Wed Oct 14 02:15:19 2009 Subject: too noisy virtualbox messages on dmesg In-Reply-To: <6201873e0910131819x52854097y2297aae70136a98b@mail.gmail.com> References: <4AD4FDC5.7010403@club.kyutech.ac.jp> <6201873e0910131819x52854097y2297aae70136a98b@mail.gmail.com> Message-ID: <4AD53429.8070704@club.kyutech.ac.jp> Adam Vande More wrote: > Did you compile the port with debug enabled? I don't see those messages > unless it is. That was just because of debugging option, thanks. -- Iwao, Koichiro From freebsd at celestial.com Wed Oct 14 02:22:21 2009 From: freebsd at celestial.com (Bill Campbell) Date: Wed Oct 14 02:22:54 2009 Subject: man quits back to the prompt after CTRL-G In-Reply-To: <19157.11479.415746.171606@jerusalem.litteratus.org> References: <521176.60565.qm@web52902.mail.re2.yahoo.com> <19157.11479.415746.171606@jerusalem.litteratus.org> Message-ID: <20091014014947.GA13021@ayn.mi.celestial.com> On Tue, Oct 13, 2009, Robert Huff wrote: > >Chris Stankevitz writes: > >> Please try this: >> >> 1. at the prompt type "man man" to get the man manual page. >> 2. press CTRL-G to to to the bottom of the document >> 3. press k to scroll up one line >> >> You'll notice you cannot perform step 3 because man "quits back >> to the prompt after CTRL-G". >> >> Question: How can I make man not "quit back to the prompt after >> CTRL-G"? The -e and -E options to less control this. You want neither of these specified if you don't want to have less automatically exit at end-of-file. The ``-e'' option causes it to exit the second time it hits eof while ``-E'' exits the first time. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Whenever a people entrust the defence of their country to a regular, standing army, composed of mercenaries, the power of that country will remain under the direction of the most wealthy citizens. From abhi_shukla at in.com Wed Oct 14 06:06:29 2009 From: abhi_shukla at in.com (Abhilash Shukla) Date: Wed Oct 14 06:06:38 2009 Subject: Problem regarding free BSD Message-ID: <1255499734.7edccc661418aeb5761dbcdc06ad490c@mail.in.com> Hello,Respected Sir/Madam,Actually i tried to install free BSD on my system, I have 1 TB hard disk of 500GB X 2 in which i made a partition in one of my hard disk which even contains some data. Unfortunately i lost all my data, as i think but its truly very important for me. As after the completion of the installation part when i tried to boot into it, i was unable to do so, now i installed Windows XP into my system and tried to access the other hard disk but still i can't. As when i installed BSD in other partition why i am not able to access the other drive in the same hard drive. Please help me how can i recover my data.Thank You,Abhilash Shukla.Dear questions@FreeBSD.org ! Get Yourself a cool, short @in.com Email ID now! From cstankevitz at toyon.com Wed Oct 14 06:10:07 2009 From: cstankevitz at toyon.com (Chris Stankevitz) Date: Wed Oct 14 06:10:14 2009 Subject: man quits back to the prompt after CTRL-G In-Reply-To: <20091014014947.GA13021@ayn.mi.celestial.com> References: <521176.60565.qm@web52902.mail.re2.yahoo.com><19157.11479.415746.171606@jerusalem.litteratus.org> <20091014014947.GA13021@ayn.mi.celestial.com> Message-ID: <4AD56B3A.4070905@toyon.com> Bill Campbell wrote: > The -e and -E options to less control this. You want neither of > these specified if you don't want to have less automatically exit > at end-of-file. The ``-e'' option causes it to exit the second > time it hits eof while ``-E'' exits the first time. Bill, Thank you for your explanation. I hope to find that my PAGER environment variable is "less -E". If so, I will drop the -E. Chris From j.mckeown at ru.ac.za Wed Oct 14 07:02:37 2009 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Wed Oct 14 07:02:44 2009 Subject: NTP Client synchronization with a Windows 2003/2008 In-Reply-To: <4AD4AE89.6010802@radel.com> References: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> <2345d18f0910130921g17b8d9fdy8fdb99bd5a0e8cf4@mail.gmail.com> <4AD4AE89.6010802@radel.com> Message-ID: <200910140902.27825.j.mckeown@ru.ac.za> On Tuesday 13 October 2009 18:44:57 Jon Radel wrote: > Jacques Henry wrote: > > I commented the commands involved and nothing changed... (with only 10 > > minutes of time difference) > > The 19 minutes between when I sent my suggestions and you responded is > hardly enough time to see if ntpd was slewing the time. Slewing 587 > seconds takes days. > > > I even tried to "force" the sync: > > > > U450XA0A0800650>nstop ntp > > U450XA0A0800650>ntpd -x -n -q -c /var/ntp.conf > > U450XA0A0800650>nstart ntp > > Are you sure that -x in there, telling ntpd to not step unless the > offset is over 600 sec, doesn't override what you're trying to do with > the -q? How about you try simple: > > ntpdate the_windows_server > > and see what that does? After that look in /var/log/messages. > > > In fact I am still quite convinced that the MS implementation isn't > > totally compliant with the client... > > Could be, but ntpq was showing that your ntpd was accepting time data > from the Windows server at least on some level. Alternatively, from the commandline try ntpd -g -q -c /etc/ntp.conf The -g flag allows ntpd to set the clock once regardless of the offset and the -q causes it to quit after setting the time. In /etc/rc.conf, all you should need is ntpd_enable="YES" ntpd_sync_on_start="YES" The second option adds -g to the ntpd flags, allowing it to set the clock at startup and continue running. Jonathan From frank at shute.org.uk Wed Oct 14 08:10:37 2009 From: frank at shute.org.uk (Frank Shute) Date: Wed Oct 14 08:10:44 2009 Subject: man quits back to the prompt after CTRL-G In-Reply-To: <4AD56B3A.4070905@toyon.com> References: <20091014014947.GA13021@ayn.mi.celestial.com> <4AD56B3A.4070905@toyon.com> Message-ID: <20091014081030.GA50437@orange.esperance-linux.co.uk> On Tue, Oct 13, 2009 at 11:10:02PM -0700, Chris Stankevitz wrote: > > Bill Campbell wrote: > >The -e and -E options to less control this. You want neither of > >these specified if you don't want to have less automatically exit > >at end-of-file. The ``-e'' option causes it to exit the second > >time it hits eof while ``-E'' exits the first time. > > Bill, > > Thank you for your explanation. I hope to find that my PAGER > environment variable is "less -E". If so, I will drop the -E. > > Chris > Chris, Set $PAGER to "less" and then set $LESS to something reasonable in your shells rc/profile. E.g On my machine: LESS="-Xrmj3z-3 -Pm?f%f\:\ .?pb%pb\%\ :?lt%lt. .?e(END)" All explained in less(1) Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From ricardo.meb.jesus at gmail.com Wed Oct 14 09:22:12 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Wed Oct 14 09:22:18 2009 Subject: View font selection In-Reply-To: <288486.72733.qm@web52910.mail.re2.yahoo.com> References: <288486.72733.qm@web52910.mail.re2.yahoo.com> Message-ID: <4AD59844.203@gmail.com> Chris Stankevitz wrote: > Hello, > > Question: What command should I issue to see what each of my installed x11 fonts looks like? > > Thank you, > > Chris > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > xfontsel. To install the port: cd /usr/ports/x11-fonts/xfontsel/ && make install clean ; rehash To use it: xfontsel From alexbestms at math.uni-muenster.de Wed Oct 14 11:25:09 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Wed Oct 14 11:25:15 2009 Subject: some issues with 9-CURRENT Message-ID: since my first question got answers, here are answers to questions 2 and 3: 2: there's a problem report here: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/108968 this still exists in CURRENT 3: i believe it takes so long to do fsck on a device in background mode because a snapshot has to be taken first. i decided i'd rather wait for a few minutes instead of running a system for half an hour which is incredibly slow. i simply added the following to /etc/rc.conf: background_fsck="NO" cheers. alex From atmblr at gmail.com Wed Oct 14 11:37:57 2009 From: atmblr at gmail.com (Ashok TM) Date: Wed Oct 14 11:38:04 2009 Subject: man quits back to the prompt after CTRL-G In-Reply-To: <20091014081030.GA50437@orange.esperance-linux.co.uk> References: <20091014014947.GA13021@ayn.mi.celestial.com> <4AD56B3A.4070905@toyon.com> <20091014081030.GA50437@orange.esperance-linux.co.uk> Message-ID: send me ur citiback card no On Wed, Oct 14, 2009 at 1:40 PM, Frank Shute wrote: > On Tue, Oct 13, 2009 at 11:10:02PM -0700, Chris Stankevitz wrote: > > > > Bill Campbell wrote: > > >The -e and -E options to less control this. You want neither of > > >these specified if you don't want to have less automatically exit > > >at end-of-file. The ``-e'' option causes it to exit the second > > >time it hits eof while ``-E'' exits the first time. > > > > Bill, > > > > Thank you for your explanation. I hope to find that my PAGER > > environment variable is "less -E". If so, I will drop the -E. > > > > Chris > > > > Chris, > > Set $PAGER to "less" and then set $LESS to something reasonable in > your shells rc/profile. > > E.g On my machine: > > LESS="-Xrmj3z-3 -Pm?f%f\:\ .?pb%pb\%\ :?lt%lt. .?e(END)" > > All explained in less(1) > > Regards, > > -- > > Frank > > Contact info: http://www.shute.org.uk/misc/contact.html > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From nealhogan at gmail.com Wed Oct 14 11:41:38 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Wed Oct 14 11:41:45 2009 Subject: Problem regarding free BSD In-Reply-To: <1255499734.7edccc661418aeb5761dbcdc06ad490c@mail.in.com> References: <1255499734.7edccc661418aeb5761dbcdc06ad490c@mail.in.com> Message-ID: On Wed, Oct 14, 2009 at 12:55 AM, Abhilash Shukla wrote: > Hello,Respected Sir/Madam,Actually i tried to install free BSD on my >system, I have 1 TB hard disk of 500GB X 2 in which i made a partition in >one of my hard disk which even contains some data. Unfortunately i lost >all my data, as i think but its truly very important for me. As after the >completion of the installation part when i tried to boot into it, i was unable >to do so, now i installed Windows XP into my system and tried to access >the other hard disk but still i can't. As when i installed BSD in other >partition why i am not able to access the other drive in the same hard >drive. Please help me how can i recover my data.Thank You,Abhilash >Shukla.Dear questions@FreeBSD.org ! Get Yourself a cool, short @in.com >Email ID now! As far as I understand, the data on the partition you put freeBSD on is gone. You should have noticed the warning during install that warned of this. Concerning XP and "looking" at other partitions, (as far as I understand) you should install XP first and then install freeBSD with a bootloader that will allow you (easier) access to all of the OS's. MS doesn't like to share disk space. Perhaps I misunderstood your situation concerning the "loss" of data. If so, there is open source data recovery software out there. I can't think of the names right now, but I'm sure you have the necessary searching skills to find them yourself. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From jeronimocalvop at googlemail.com Wed Oct 14 11:59:48 2009 From: jeronimocalvop at googlemail.com (henter2009) Date: Wed Oct 14 11:59:54 2009 Subject: test please ignore Message-ID: <25889720.post@talk.nabble.com> test please ignore -- View this message in context: http://www.nabble.com/test-please-ignore-tp25889720p25889720.html Sent from the freebsd-questions mailing list archive at Nabble.com. From jeronimocalvop at googlemail.com Wed Oct 14 12:08:49 2009 From: jeronimocalvop at googlemail.com (henter2009) Date: Wed Oct 14 12:09:00 2009 Subject: howto install virtualbox In-Reply-To: <4A89248A.6040700@otenet.gr> References: <4A88FA02.30405@mapper.nl> <4A89248A.6040700@otenet.gr> Message-ID: <25889863.post@talk.nabble.com> anyone can give some references of this? any kind how to explanation will be more than welcome :D Manolis Kiagias-2 wrote: > > Mark Stapper wrote: >> Hello, >> >> I'm currently migrating my home desktop from Gentoo linux to FreeBSD >> 8.0(Beta but it'll be "Stable" soon. Using RELENG_8 btw). >> I'm kind of a OS collector/nut/geek/nerd. As such virtualization is >> quite important to me. >> I've been using VMware Server 2.x on Gentoo for quite some time and, >> apart from the new console *barf*, it's been working for me so far. >> So needless to say I was hoping for vmware support. Tough luck... Ow >> well, the handbook spoke of virtualbox support. Only OSE, but still, >> better than nothing. >> After trying virtualbox on windows(at work) I decided to give it a go on >> FreeBSD amd64... >> Issuing make install in the virtualbox directory complained about me not >> having any 32-bit libraries installed. >> My questions are two fold: >> 1. Which options do I have when it comes to vritualization on FreeBSD 8 >> amd64? >> 2. How do I install virtualbox on amd64? >> >> Thanks, >> Mark >> >> > I don't have a suitable amd64 system to test, but apparently virtualbox > on amd64 requires this option to be built into the kernel: > > COMPAT_IA32 > > for latest info check the wiki page, as virtualbox is under heavy > development: > > http://wiki.freebsd.org/VirtualBox > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/howto-install-virtualbox-tp25001665p25889863.html Sent from the freebsd-questions mailing list archive at Nabble.com. From utisoft at googlemail.com Wed Oct 14 12:26:25 2009 From: utisoft at googlemail.com (Chris Rees) Date: Wed Oct 14 12:26:32 2009 Subject: test please ignore In-Reply-To: <25889720.post@talk.nabble.com> References: <25889720.post@talk.nabble.com> Message-ID: 2009/10/14 henter2009 : > > test please ignore > -- > View this message in context: http://www.nabble.com/test-please-ignore-tp25889720p25889720.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > This is not the list to test on. http://lists.freebsd.org/mailman/listinfo/freebsd-test Please use it. 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 a mailing list? From fsilvaleandro at gmail.com Wed Oct 14 13:58:00 2009 From: fsilvaleandro at gmail.com (Leandro F Silva) Date: Wed Oct 14 13:58:08 2009 Subject: Linux compatibility in FreeBSD Message-ID: <28f938b10910140657v71b12287v49ab6d0b29ae4b3f@mail.gmail.com> Dears, Does anyone know or already configured the linux compatibility in FreeBSD to install rpm packages and so on. Actually I'm running the i386 7.2 FreeBSD and the following package. %pkg_info |grep linu linux_base-fc-4_14 Base set of packages needed in Linux mode (for i386/amd64) I already saw the linux compatibility in the hand book of FreeBSD, but I didn't find too much information regarding rpm packages. Is there any way to do it ? any help is really welcome ! Thank you all in advance. From freebsd at celestial.com Wed Oct 14 14:13:01 2009 From: freebsd at celestial.com (Bill Campbell) Date: Wed Oct 14 14:13:08 2009 Subject: man quits back to the prompt after CTRL-G In-Reply-To: <4AD56B3A.4070905@toyon.com> References: <521176.60565.qm@web52902.mail.re2.yahoo.com> <19157.11479.415746.171606@jerusalem.litteratus.org> <20091014014947.GA13021@ayn.mi.celestial.com> <4AD56B3A.4070905@toyon.com> Message-ID: <20091014141259.GA14005@ayn.mi.celestial.com> On Tue, Oct 13, 2009, Chris Stankevitz wrote: > Bill Campbell wrote: >> The -e and -E options to less control this. You want neither of >> these specified if you don't want to have less automatically exit >> at end-of-file. The ``-e'' option causes it to exit the second >> time it hits eof while ``-E'' exits the first time. > > Bill, > > Thank you for your explanation. I hope to find that my PAGER > environment variable is "less -E". If so, I will drop the -E. You probably also want the ``-r'' option which I think gets less to properly highlight the nroff things like bold. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 It is no crime to be ignorant of economics, which is, after all, a specialized discipline and one that most people consider to be a 'dismal science.' But it is totally irresponsible to have a loud and vociferous opinion on economic subjects while remaining in this state of ignorance. -- Murray N. Rothbard From rwmaillists at googlemail.com Wed Oct 14 14:43:44 2009 From: rwmaillists at googlemail.com (RW) Date: Wed Oct 14 14:43:50 2009 Subject: man quits back to the prompt after CTRL-G In-Reply-To: <4AD56B3A.4070905@toyon.com> References: <521176.60565.qm@web52902.mail.re2.yahoo.com> <19157.11479.415746.171606@jerusalem.litteratus.org> <20091014014947.GA13021@ayn.mi.celestial.com> <4AD56B3A.4070905@toyon.com> Message-ID: <20091014154338.7e48aa87@gumby.homeunix.com> On Tue, 13 Oct 2009 23:10:02 -0700 Chris Stankevitz wrote: > Bill Campbell wrote: > > The -e and -E options to less control this. You want neither of > > these specified if you don't want to have less automatically exit > > at end-of-file. The ``-e'' option causes it to exit the second > > time it hits eof while ``-E'' exits the first time. > > Bill, > > Thank you for your explanation. I hope to find that my PAGER > environment variable is "less -E". If so, I will drop the -E. I think it's sufficient simply to change your pager to "less". IIRC it defaults to "more". "more" and "less" are the same binary in FreeBSD, but they work slightly differently according to how they are invoked. From bsam at ipt.ru Wed Oct 14 15:06:42 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Wed Oct 14 15:06:49 2009 Subject: whacky `fc-list` output In-Reply-To: (Alexander Best's message of "Tue\, 13 Oct 2009 21\:21\:16 +0200 \(CEST\)") References: Message-ID: <20900529@bb.ipt.ru> On Tue, 13 Oct 2009 21:21:16 +0200 (CEST) Alexander Best wrote: > hi there, > when i do `fc-list` the output looks rather odd. `fc-cache -f` doesn't help. > the output looks the same using different shells. Those messages seem to be UTF-8 formatted. I use UTF-8 locale and iso10646 font. Here is a head of `fc-list`: ----- CourierNew:style=PSMT-BoldItalic Lucida Console:style=???????,Normal,oby?ejn?,Standard,????????,Regular,Normaali,Norm?l,Normale,Standaard,Normalny,Navadno ,Arrunta AcademyPSCyr:style=Regular Utopia:style=Bold Italic CollegePSCyr:style=Regular DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book Times New Roman:style=???????,Normal,oby?ejn?,Standard,????????,Regular,Normaali,Norm?l,Normale,Standaard,Normalny,Norm? lne,Navadno,th??ng, Arrunta ----- -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From freebsd at t41t.com Wed Oct 14 15:31:04 2009 From: freebsd at t41t.com (freebsd@t41t.com) Date: Wed Oct 14 15:31:11 2009 Subject: Graphics card recommendation Message-ID: <20091014153100.GH22136@ece.pdx.edu> I'm in need of a new graphics card for a new computer, that I hope will run FreeBSD (with a strong preference for AMD64) and compiz-fusion on a dual-monitor, which I believe means the 3D acceleration has to be in good working order. I don't really care whether the graphics driver is binary, or freely-licensed. Has anyone bought a recent graphics card that they know to be working in x64 with 3D acceleration? I've heard Nvidea support is probably better than ATI. Some of the GPU choices I see are like GeForce 9400/9500/9600 GT, GSO, and/or GTX+ series or the GTS/GTX 2** series. Are some of those better-supported than others? I didn't see anything recent on this list or the website, and there wasn't much response on IRC. Recommendations would be appreciated. Thanks! From kraduk at googlemail.com Wed Oct 14 15:47:27 2009 From: kraduk at googlemail.com (krad) Date: Wed Oct 14 15:47:33 2009 Subject: zfs root Message-ID: Hi, I have a quick question about freebsd on zfs root. I have built a few test systems all work fine. I have one question though. Does the loader replay any information when it accesses the pool? Basically im interested in how or what is done on reboot after the kernel panic or power loss. Are there any safe guards with regard to the zpool integrity? From bjmccann at gmail.com Wed Oct 14 15:49:13 2009 From: bjmccann at gmail.com (Brian McCann) Date: Wed Oct 14 15:49:19 2009 Subject: Broadcom bce interface problems In-Reply-To: <4AD5C17B.1000102@sepehrs.com> References: <2b5f066d0910130531w7a7bf6aft81fd3782b7754e27@mail.gmail.com> <4AD5C17B.1000102@sepehrs.com> Message-ID: <2b5f066d0910140849q696fd00bl83e4879a3179c9ec@mail.gmail.com> On Wed, Oct 14, 2009 at 8:18 AM, H.Fazaeli wrote: > what type of blade switch you are using? > Are you using HS21 onboard ports or an expansion card? > > Make sure the corresponding internal ports of > the blade switch are at 'no shutdown' state. > > > Brian McCann wrote: >> >> I'm having problems with the bce interface on a FreeBSD 7.2 install, using >> an IBM BladeCenter HS21 machine. ?The machine uses the NetXtreme II card. >> ?The really strange thing here is, the switch shows a link, but the card >> shows no carrier in the setup. ?It started working for a few seconds at >> one >> point when I reset the switch (at least, I think that's what I did), and >> it >> detected 1000BaseSX as the media and showed a status of active, but >> promptly >> went away. ?If I try setting the media type manually, that doesn't appear >> to >> work. >> Has anyone seen this or have any ideas? >> Thanks! >> --Brian >> >> > > -- > > Best regards. > Hooman Fazaeli > > > > > Yes, I'm using an HS21 onbaord card...the Broadcom. The internal ports show a link (using the Nortel manager...it's got a the Nortel L3-7 switch in it). I found http://www.freebsd.org/cgi/query-pr.cgi?pr=118238 last night...it looks like that change was never commited by anyone...I'm working on recompiling that into 7.1 now and plan on trying it once it's done. I'll post the results up here (and to freebsd-net as well if it works). I'm really hoping that works...since I really would like to avoid installing VMWare ESXi on 14 blades just to run 1 VM in each of them and loose performance. I'll keep y'all posted. --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann "I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me." -- Bill Murray, "Ghostbusters" From bsam at ipt.ru Wed Oct 14 15:50:20 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Wed Oct 14 15:50:26 2009 Subject: Linux compatibility in FreeBSD In-Reply-To: <28f938b10910140657v71b12287v49ab6d0b29ae4b3f@mail.gmail.com> (Leandro F. Silva's message of "Wed\, 14 Oct 2009 10\:57\:58 -0300") References: <28f938b10910140657v71b12287v49ab6d0b29ae4b3f@mail.gmail.com> Message-ID: <99467910@bb.ipt.ru> On Wed, 14 Oct 2009 10:57:58 -0300 Leandro F Silva wrote: > Does anyone know or already configured the linux compatibility in FreeBSD to > install rpm packages and so on. hm, actually (almost) all linux applications are installed using RPM packages. Did you mean using linux RPM database? > Actually I'm running the i386 7.2 FreeBSD and the following package. > %pkg_info |grep linu > linux_base-fc-4_14 Base set of packages needed in Linux mode (for > i386/amd64) FYI: You may use `pkg_info -Ix linux_base` for this. > I already saw the linux compatibility in the hand book of FreeBSD, but I > didn't find too much information regarding rpm packages. > Is there any way to do it ? any help is really welcome ! Using RPM database is not supported since FreeBSD has its own package database for all applications including linux ones. Said that I don't mean it doesn't work. If you need to use RPM database to register applications that does not exist at ports you may give it a try. But the best way is to create ports for those applications and install them from ports. BTW, they really don't need to exist at the official portstree. You may place them, say, to /usr/ports/local. A PR with them will be a good thing though. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From gesbbb at yahoo.com Wed Oct 14 16:00:16 2009 From: gesbbb at yahoo.com (Jerry) Date: Wed Oct 14 16:00:23 2009 Subject: Graphics card recommendation In-Reply-To: <20091014153100.GH22136@ece.pdx.edu> References: <20091014153100.GH22136@ece.pdx.edu> Message-ID: <20091014115949.33b1adb4@scorpio.seibercom.net> On Wed, 14 Oct 2009 08:31:00 -0700 freebsd@t41t.com freebsd@t41t.com (freebsd@t41t.com) replied: >I'm in need of a new graphics card for a new computer, that I hope will >run FreeBSD (with a strong preference for AMD64) and compiz-fusion on a >dual-monitor, which I believe means the 3D acceleration has to be in >good working order. I don't really care whether the graphics driver is >binary, or freely-licensed. > >Has anyone bought a recent graphics card that they know to be working >in x64 with 3D acceleration? > >I've heard Nvidea support is probably better than ATI. Some of the GPU >choices I see are like GeForce 9400/9500/9600 GT, GSO, and/or GTX+ >series or the GTS/GTX 2** series. Are some of those better-supported >than others? > >I didn't see anything recent on this list or the website, and there >wasn't much response on IRC. Recommendations would be appreciated. >Thanks! nVidia (AMD64) is not supported in 7.x versions of FreeBSD as far as I know. There was some talk of it being supported in 8.x, but I have not heard from anyone actually doing so. All my machines use nvidea cards, and the lack of support for it in FBSD, even after an extended period of time, is a real PIA. -- Jerry gesbbb@yahoo.com The bold youth of today is very lonely. Poul Henningsen [1894-1967] From caramba696 at googlemail.com Wed Oct 14 16:04:43 2009 From: caramba696 at googlemail.com (Jacques Henry) Date: Wed Oct 14 16:04:51 2009 Subject: NTP Client synchronization with a Windows 2003/2008 In-Reply-To: <200910140902.27825.j.mckeown@ru.ac.za> References: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> <2345d18f0910130921g17b8d9fdy8fdb99bd5a0e8cf4@mail.gmail.com> <4AD4AE89.6010802@radel.com> <200910140902.27825.j.mckeown@ru.ac.za> Message-ID: <2345d18f0910140904v3e2e9f37hbaabc05cb561a19d@mail.gmail.com> > > The 19 minutes between when I sent my suggestions and you responded is > > hardly enough time to see if ntpd was slewing the time. Slewing 587 > > seconds takes days. > The thing is that ntpd is not slewing the time at all, even after several hours!! > > Are you sure that -x in there, telling ntpd to not step unless the > > offset is over 600 sec, doesn't override what you're trying to do with > > the -q? How about you try simple: > > > > ntpdate the_windows_server > > > > and see what that does? After that look in /var/log/messages. > I don't have that command on my system... > > Alternatively, from the commandline try > > ntpd -g -q -c /etc/ntp.conf > > The -g flag allows ntpd to set the clock once regardless of the offset and > the -q causes it to quit after setting the time. > > I tried this command without success... I can see the NTP packets (client and server) but the clock is never set.... with the debugging option enabled (-D 3), at the end I get: ... ... poll_update: at 15 172.30.1.5 flags 0201 poll 6 burst 1 last 1 next 17 read_network_packet: fd=22 length 48 from ac1e0105 172.30.1.5 receive: at 15 172.30.1.250<-172.30.1.5 flags 19 restrict 080 receive: at 15 172.30.1.250<-172.30.1.5 mode 4 code 1 auth 0 packet: flash header 0040 addto_syslog: no reply; clock not set From axelbsd at ymail.com Wed Oct 14 16:29:01 2009 From: axelbsd at ymail.com (Alexandre) Date: Wed Oct 14 16:29:08 2009 Subject: Upgrade 7.2-RELEASE to 8.0-RC1 problem Message-ID: Hi, I have tried to upgrade my laptop system from 7.2-RELEASE to 8.0-RC1 using the freebsd-update method. I have ran the following commands : # freebsd-update -r 8.0-RC1 upgrade # freebsd-update install # nextboot -k GENERIC # shutdown -r now # freebsd-update install # portmaster -adf Then portmaster program does not recognize by the system. # rehash Does not have effect. Then I have rebooted the machine one more time and I have select the boot option 6 and type boot GENERIC Now the system don't want to boot correctly because it can't do fsck_ufs on /dev/ad0s1a I have download and burn the livefs 8.0-RC1 iso and use the fixit part. fsck_ufs /dev/ad0s1a do the steps correctly then I tried to boot on my GENERIC patched local kernel (using boot option 6 like described above) but I always got the same error. I have noticed that I have got these messages before the boot menu Boot: syntax error on file /boot/device.hints Boot: syntax error on file /boot/loader.conf Also, I tried this : (escape to loader prompt) * *# boot -s >> OK - It boot on 7.2 kernel # adjkerntz -i >> OK # swapon -a >> swapon: not found # fsck -p >> fsck: exec fsck_ufs for /dev/ad0s1a in /sbin:/usr/sbin: no such file or directory # mount -u / >> OK # mount -va >> OK If I rebooted like this method (escape to loader prompt) # boot GENERIC It boot on 8.0-RC1 kernel, but the only command that doesn't passed is # swapon -a >> swapon: not found After the command : # fsck -p I can access to the login prompt. But when I tried to login with root or another user, I got the following error : login: login: could not determine audit condition Can you help me to repair the errors ? Thanks for your help. Alexandre From jgrosch at es.net Wed Oct 14 16:38:39 2009 From: jgrosch at es.net (jgrosch@es.net) Date: Wed Oct 14 16:38:46 2009 Subject: Graphics card recommendation In-Reply-To: <20091014115949.33b1adb4@scorpio.seibercom.net> References: <20091014153100.GH22136@ece.pdx.edu> <20091014115949.33b1adb4@scorpio.seibercom.net> Message-ID: <12173.RF1FTAsCFkY=.1255538317.squirrel@webmail-west.es.net> > On Wed, 14 Oct 2009 08:31:00 -0700 > freebsd@t41t.com freebsd@t41t.com (freebsd@t41t.com) replied: > >>I'm in need of a new graphics card for a new computer, that I hope will >>run FreeBSD (with a strong preference for AMD64) and compiz-fusion on a >>dual-monitor, which I believe means the 3D acceleration has to be in >>good working order. I don't really care whether the graphics driver is >>binary, or freely-licensed. >> >>Has anyone bought a recent graphics card that they know to be working >>in x64 with 3D acceleration? >> >>I've heard Nvidea support is probably better than ATI. Some of the GPU >>choices I see are like GeForce 9400/9500/9600 GT, GSO, and/or GTX+ >>series or the GTS/GTX 2** series. Are some of those better-supported >>than others? >> >>I didn't see anything recent on this list or the website, and there >>wasn't much response on IRC. Recommendations would be appreciated. >>Thanks! > > nVidia (AMD64) is not supported in 7.x versions of FreeBSD as far as I > know. There was some talk of it being supported in 8.x, but I have > not heard from anyone actually doing so. All my machines use nvidea > cards, and the lack of support for it in FBSD, even after an extended > period of time, is a real PIA. nVidia support on i386 FreeBSD is not much better. One can use an nVidia card with 7.1 but under 7.2 one hits the dreaded mtrr error. A Google search finds many posts on how to fix this but none of them seem to work. I could be wrong but nVidia does not seem to be very interested in working with the FreeBSD project to address these problems. ATI also seems to have a problem with mtrr under 7.2. I'm still trying to sort this out. I hope 8.0 will address these problems. Josef From alexbestms at math.uni-muenster.de Wed Oct 14 16:40:09 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Wed Oct 14 16:40:18 2009 Subject: whacky `fc-list` output In-Reply-To: <20900529@bb.ipt.ru> Message-ID: Boris Samorodov schrieb am 2009-10-14: > On Tue, 13 Oct 2009 21:21:16 +0200 (CEST) Alexander Best wrote: > > hi there, > > when i do `fc-list` the output looks rather odd. `fc-cache -f` > > doesn't help. > > the output looks the same using different shells. > Those messages seem to be UTF-8 formatted. I use UTF-8 locale and > iso10646 font. Here is a head of `fc-list`: > ----- > CourierNew:style=PSMT-BoldItalic > Lucida > Console:style=???????,Normal,oby?ejn?,Standard,????????,Regular,Normaali,Norm?l,Normale,Standaard,Normalny,Navadno > ,Arrunta > AcademyPSCyr:style=Regular > Utopia:style=Bold Italic > CollegePSCyr:style=Regular > DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book > Times New > Roman:style=???????,Normal,oby?ejn?,Standard,????????,Regular,Normaali,Norm?l,Normale,Standaard,Normalny,Norm? > lne,Navadno,th??ng, Arrunta > ----- this is the output of `locale` on my box: LANG=C LC_CTYPE=de_DE.ISO8859-15 LC_COLLATE=en_GB.ISO8859-15 LC_TIME=de_DE.ISO8859-15 LC_NUMERIC=de_DE.ISO8859-15 LC_MONETARY=de_DE.ISO8859-15 LC_MESSAGES=en_GB.ISO8859-15 LC_ALL= so why does fc-list output in utf8 if none of the LC_* vars is set to it? cheers. alex From wblock at wonkity.com Wed Oct 14 16:55:09 2009 From: wblock at wonkity.com (Warren Block) Date: Wed Oct 14 16:55:16 2009 Subject: Graphics card recommendation In-Reply-To: <12173.RF1FTAsCFkY=.1255538317.squirrel@webmail-west.es.net> References: <20091014153100.GH22136@ece.pdx.edu> <20091014115949.33b1adb4@scorpio.seibercom.net> <12173.RF1FTAsCFkY=.1255538317.squirrel@webmail-west.es.net> Message-ID: On Wed, 14 Oct 2009, jgrosch@es.net wrote: > nVidia support on i386 FreeBSD is not much better. One can use an nVidia > card with 7.1 but under 7.2 one hits the dreaded mtrr error. A Google > search finds many posts on how to fix this but none of them seem to work. > I could be wrong but nVidia does not seem to be very interested in working > with the FreeBSD project to address these problems. ATI also seems to have > a problem with mtrr under 7.2. I'm still trying to sort this out. I hope > 8.0 will address these problems. All of my cards are ATI and I don't know of the "mtrr" problem you're talking about. This X1650 works fine on i386 with both 7-STABLE and 8-STABLE. -Warren Block * Rapid City, South Dakota USA From dak.col at gmail.com Wed Oct 14 16:57:07 2009 From: dak.col at gmail.com (Diego F. Arias R.) Date: Wed Oct 14 16:57:15 2009 Subject: Broadcom bce interface problems In-Reply-To: <2b5f066d0910140849q696fd00bl83e4879a3179c9ec@mail.gmail.com> References: <2b5f066d0910130531w7a7bf6aft81fd3782b7754e27@mail.gmail.com> <4AD5C17B.1000102@sepehrs.com> <2b5f066d0910140849q696fd00bl83e4879a3179c9ec@mail.gmail.com> Message-ID: <3b93bd110910140924lf006440m63db0ce4ddb9e579@mail.gmail.com> do you double-check the internal por assignement? How many switchs has that blade1 or 2? You can try running a linux live-cd or maybe Windows to discard a FreeBSD trouble with the nic. does Freebsd detects 1 or 2 nics, and how many does the blade have? On Wed, Oct 14, 2009 at 10:49 AM, Brian McCann wrote: > On Wed, Oct 14, 2009 at 8:18 AM, H.Fazaeli wrote: > > what type of blade switch you are using? > > Are you using HS21 onboard ports or an expansion card? > > > > Make sure the corresponding internal ports of > > the blade switch are at 'no shutdown' state. > > > > > > Brian McCann wrote: > >> > >> I'm having problems with the bce interface on a FreeBSD 7.2 install, > using > >> an IBM BladeCenter HS21 machine. The machine uses the NetXtreme II > card. > >> The really strange thing here is, the switch shows a link, but the card > >> shows no carrier in the setup. It started working for a few seconds at > >> one > >> point when I reset the switch (at least, I think that's what I did), and > >> it > >> detected 1000BaseSX as the media and showed a status of active, but > >> promptly > >> went away. If I try setting the media type manually, that doesn't > appear > >> to > >> work. > >> Has anyone seen this or have any ideas? > >> Thanks! > >> --Brian > >> > >> > > > > -- > > > > Best regards. > > Hooman Fazaeli > > > > > > > > > > > > Yes, I'm using an HS21 onbaord card...the Broadcom. The internal > ports show a link (using the Nortel manager...it's got a the Nortel > L3-7 switch in it). > > I found http://www.freebsd.org/cgi/query-pr.cgi?pr=118238 last > night...it looks like that change was never commited by anyone...I'm > working on recompiling that into 7.1 now and plan on trying it once > it's done. I'll post the results up here (and to freebsd-net as well > if it works). > > I'm really hoping that works...since I really would like to avoid > installing VMWare ESXi on 14 blades just to run 1 VM in each of them > and loose performance. I'll keep y'all posted. > > --Brian > > -- > _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ > Brian McCann > > "I don't have to take this abuse from you -- I've got hundreds of > people waiting to abuse me." > -- Bill Murray, "Ghostbusters" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- mmm, interesante..... From bsam at ipt.ru Wed Oct 14 16:58:55 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Wed Oct 14 16:59:03 2009 Subject: whacky `fc-list` output In-Reply-To: (Alexander Best's message of "Wed\, 14 Oct 2009 18\:40\:07 +0200 \(CEST\)") References: Message-ID: <45859329@bb.ipt.ru> On Wed, 14 Oct 2009 18:40:07 +0200 (CEST) Alexander Best wrote: > so why does fc-list output in utf8 if none of the LC_* vars is set to it? If you can reproduce it by rebuilding fontconfig from ports, it may be good to write to the maintainer (gnome@). -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From jgrosch at es.net Wed Oct 14 17:05:55 2009 From: jgrosch at es.net (jgrosch@es.net) Date: Wed Oct 14 17:06:02 2009 Subject: Graphics card recommendation In-Reply-To: References: <20091014153100.GH22136@ece.pdx.edu> <20091014115949.33b1adb4@scorpio.seibercom.net> <12173.RF1FTAsCFkY=.1255538317.squirrel@webmail-west.es.net> Message-ID: <42588.RF1FTAsCFkY=.1255539954.squirrel@webmail-west.es.net> > On Wed, 14 Oct 2009, jgrosch@es.net wrote: >> nVidia support on i386 FreeBSD is not much better. One can use an nVidia >> card with 7.1 but under 7.2 one hits the dreaded mtrr error. A Google >> search finds many posts on how to fix this but none of them seem to >> work. >> I could be wrong but nVidia does not seem to be very interested in >> working >> with the FreeBSD project to address these problems. ATI also seems to >> have >> a problem with mtrr under 7.2. I'm still trying to sort this out. I hope >> 8.0 will address these problems. > > All of my cards are ATI and I don't know of the "mtrr" problem you're > talking about. This X1650 works fine on i386 with both 7-STABLE and > 8-STABLE. > > -Warren Block * Rapid City, South Dakota USA > I am seeing mtrr error using a Diamond Radeon HD4670 on FreeBSD 7.2 Josef From jekillen at prodigy.net Wed Oct 14 17:33:36 2009 From: jekillen at prodigy.net (jeffry killen) Date: Wed Oct 14 17:33:43 2009 Subject: First time for everything Message-ID: Hello; How is a usb device accessed on Freebsd. I installed an SATA drive in a usb enclosure and plugged in into usb port on the machine. Console message indicated detection of the device when the power switch for the usb enclosure was set to on. When I did mount -w /dev/usb (or usbN) I got special device unknown. Or mount -w /dev/usb (or usbN) /mnt needs block device. There is a first time for everything. man usb does not tell me. and Absolute BSD (M. Lucas) does not say anything about usb devices let alone how to access them. Thank you for patience and guidance Jeff K. From nealhogan at gmail.com Wed Oct 14 17:43:44 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Wed Oct 14 17:43:51 2009 Subject: First time for everything In-Reply-To: References: Message-ID: On Wed, Oct 14, 2009 at 12:33 PM, jeffry killen wrote: > Hello; > How is a usb device accessed on Freebsd. > I installed an SATA drive in a usb enclosure > and plugged in into usb port on the machine. > Console message indicated detection of the > device when the power switch for the usb enclosure > ?was set to on. > When I did mount -w /dev/usb (or usbN) I got > special device unknown. > Or mount -w /dev/usb (or usbN) /mnt > needs block device. > > There is a first time for everything. > man usb does not tell me. > and Absolute BSD (M. Lucas) does > not say anything about usb devices > let alone how to access them. try: http://www.freebsd.org/doc/en/books/handbook/usb-disks.html > > Thank you for patience and guidance > Jeff K. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From alexbestms at math.uni-muenster.de Wed Oct 14 17:44:35 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Wed Oct 14 17:44:42 2009 Subject: whacky `fc-list` output In-Reply-To: <45859329@bb.ipt.ru> Message-ID: Boris Samorodov schrieb am 2009-10-14: > On Wed, 14 Oct 2009 18:40:07 +0200 (CEST) Alexander Best wrote: > > so why does fc-list output in utf8 if none of the LC_* vars is set > > to it? > If you can reproduce it by rebuilding fontconfig from ports, it may > be > good to write to the maintainer (gnome@). i rebuilt the port but that didn't help. i informed gnome@ at the problem. thanks for the help. alex From roberthuff at rcn.com Wed Oct 14 17:46:27 2009 From: roberthuff at rcn.com (Robert Huff) Date: Wed Oct 14 17:46:34 2009 Subject: First time for everything In-Reply-To: References: Message-ID: <19158.3696.185282.314230@jerusalem.litteratus.org> jeffry killen writes: > How is a usb device accessed on Freebsd. > I installed an SATA drive in a usb enclosure > and plugged in into usb port on the machine. > Console message indicated detection of the > device when the power switch for the usb enclosure was set to on. > When I did mount -w /dev/usb (or usbN) I got special device > unknown. Look for /dev/da*. Also: I believe there's a section in the handbook that covers this. Robert Huff From roberthuff at rcn.com Wed Oct 14 17:52:29 2009 From: roberthuff at rcn.com (Robert Huff) Date: Wed Oct 14 17:52:35 2009 Subject: Graphics card recommendation In-Reply-To: <12173.RF1FTAsCFkY=.1255538317.squirrel@webmail-west.es.net> References: <20091014153100.GH22136@ece.pdx.edu> <20091014115949.33b1adb4@scorpio.seibercom.net> <12173.RF1FTAsCFkY=.1255538317.squirrel@webmail-west.es.net> Message-ID: <19158.4056.376760.654492@jerusalem.litteratus.org> jgrosch@es.net writes: > I could be wrong but nVidia does not seem to be very interested > in working with the FreeBSD project to address these problems. nVidia has offered what many/most hardware vendors* do not: to write and maintain a driver for their product. However, in order for that driver to be fully functional they want certain improvements in FreeBSD - particularly the virtual memory system. Not an unreasonable request. Some work has been done; there was a post somewhere within the last few months about John Baldwin making improvements. Check the archives of this list for pointers to the list of changes and the status of the work. Robert Huff * - a notable exception being Intel, for their network cards. From jgrosch at es.net Wed Oct 14 17:57:56 2009 From: jgrosch at es.net (jgrosch@es.net) Date: Wed Oct 14 17:58:19 2009 Subject: Graphics card recommendation In-Reply-To: <19158.4056.376760.654492@jerusalem.litteratus.org> References: <20091014153100.GH22136@ece.pdx.edu> <20091014115949.33b1adb4@scorpio.seibercom.net> <12173.RF1FTAsCFkY=.1255538317.squirrel@webmail-west.es.net> <19158.4056.376760.654492@jerusalem.litteratus.org> Message-ID: <45432.RF1FTAsCFkY=.1255543073.squirrel@webmail-west.es.net> > > jgrosch@es.net writes: > >> I could be wrong but nVidia does not seem to be very interested >> in working with the FreeBSD project to address these problems. > > nVidia has offered what many/most hardware vendors* do not: to > write and maintain a driver for their product. > However, in order for that driver to be fully functional they > want certain improvements in FreeBSD - particularly the virtual > memory system. Not an unreasonable request. > Some work has been done; there was a post somewhere within the > last few months about John Baldwin making improvements. > Check the archives of this list for pointers to the list of > changes and the status of the work. > > > Robert Huff > > * - a notable exception being Intel, for their network cards. Thank you. I am happy to be wrong about this. Josef From bjmccann at gmail.com Wed Oct 14 17:58:51 2009 From: bjmccann at gmail.com (Brian McCann) Date: Wed Oct 14 17:58:57 2009 Subject: Broadcom bce interface problems In-Reply-To: <3b93bd110910140924lf006440m63db0ce4ddb9e579@mail.gmail.com> References: <2b5f066d0910130531w7a7bf6aft81fd3782b7754e27@mail.gmail.com> <4AD5C17B.1000102@sepehrs.com> <2b5f066d0910140849q696fd00bl83e4879a3179c9ec@mail.gmail.com> <3b93bd110910140924lf006440m63db0ce4ddb9e579@mail.gmail.com> Message-ID: <2b5f066d0910141058q3b40d5cdh96fa5cf3503a71f1@mail.gmail.com> On Wed, Oct 14, 2009 at 12:24 PM, Diego F. Arias R. wrote: > do you double-check the internal por assignement? How many switchs? has that > blade1 or 2? > > You can try running a linux live-cd or maybe Windows to discard a FreeBSD > trouble with the nic. does Freebsd detects 1 or 2 nics, and how many does > the blade have? > > On Wed, Oct 14, 2009 at 10:49 AM, Brian McCann wrote: >> >> On Wed, Oct 14, 2009 at 8:18 AM, H.Fazaeli wrote: >> > what type of blade switch you are using? >> > Are you using HS21 onboard ports or an expansion card? >> > >> > Make sure the corresponding internal ports of >> > the blade switch are at 'no shutdown' state. >> > >> > >> > Brian McCann wrote: >> >> >> >> I'm having problems with the bce interface on a FreeBSD 7.2 install, >> >> using >> >> an IBM BladeCenter HS21 machine. ?The machine uses the NetXtreme II >> >> card. >> >> ?The really strange thing here is, the switch shows a link, but the >> >> card >> >> shows no carrier in the setup. ?It started working for a few seconds at >> >> one >> >> point when I reset the switch (at least, I think that's what I did), >> >> and >> >> it >> >> detected 1000BaseSX as the media and showed a status of active, but >> >> promptly >> >> went away. ?If I try setting the media type manually, that doesn't >> >> appear >> >> to >> >> work. >> >> Has anyone seen this or have any ideas? >> >> Thanks! >> >> --Brian >> >> >> >> >> > >> > -- >> > >> > Best regards. >> > Hooman Fazaeli >> > >> > >> > >> > >> > >> >> Yes, I'm using an HS21 onbaord card...the Broadcom. ?The internal >> ports show a link (using the Nortel manager...it's got a the Nortel >> L3-7 switch in it). >> >> I found http://www.freebsd.org/cgi/query-pr.cgi?pr=118238 last >> night...it looks like that change was never commited by anyone...I'm >> working on recompiling that into 7.1 now and plan on trying it once >> it's done. ?I'll post the results up here (and to freebsd-net as well >> if it works). >> >> I'm really hoping that works...since I really would like to avoid >> installing VMWare ESXi on 14 blades just to run 1 VM in each of them >> and loose performance. ?I'll keep y'all posted. >> >> --Brian >> >> -- >> _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ >> Brian McCann >> >> "I don't have to take this abuse from you -- I've got hundreds of >> people waiting to abuse me." >> ? ? ? ? ? ? ? ?-- Bill Murray, "Ghostbusters" >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > > > -- > mmm, interesante..... > Windows runs fine on them. I applied the changes mentioned the patch I just posted, and that fixed the problem...no throughput hit as a result. Thanks to all for the help! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann "I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me." -- Bill Murray, "Ghostbusters" From wblock at wonkity.com Wed Oct 14 18:00:15 2009 From: wblock at wonkity.com (Warren Block) Date: Wed Oct 14 18:00:21 2009 Subject: Graphics card recommendation In-Reply-To: <42588.RF1FTAsCFkY=.1255539954.squirrel@webmail-west.es.net> References: <20091014153100.GH22136@ece.pdx.edu> <20091014115949.33b1adb4@scorpio.seibercom.net> <12173.RF1FTAsCFkY=.1255538317.squirrel@webmail-west.es.net> <42588.RF1FTAsCFkY=.1255539954.squirrel@webmail-west.es.net> Message-ID: On Wed, 14 Oct 2009, jgrosch@es.net wrote: >> >> All of my cards are ATI and I don't know of the "mtrr" problem you're >> talking about. This X1650 works fine on i386 with both 7-STABLE and >> 8-STABLE. > > I am seeing mtrr error using a Diamond Radeon HD4670 on FreeBSD 7.2 Really need a lot more specifics. What is the exact error? What doesn't work? Which driver are you using? -Warren Block * Rapid City, South Dakota USA From cpghost at cordula.ws Wed Oct 14 18:38:14 2009 From: cpghost at cordula.ws (cpghost) Date: Wed Oct 14 18:38:22 2009 Subject: Graphics card recommendation In-Reply-To: References: <20091014153100.GH22136@ece.pdx.edu> <20091014115949.33b1adb4@scorpio.seibercom.net> <12173.RF1FTAsCFkY=.1255538317.squirrel@webmail-west.es.net> Message-ID: <20091014183809.GA1519@phenom.cordula.ws> On Wed, Oct 14, 2009 at 10:55:05AM -0600, Warren Block wrote: > On Wed, 14 Oct 2009, jgrosch@es.net wrote: > > nVidia support on i386 FreeBSD is not much better. One can use an nVidia > > card with 7.1 but under 7.2 one hits the dreaded mtrr error. A Google > > search finds many posts on how to fix this but none of them seem to work. > > I could be wrong but nVidia does not seem to be very interested in working > > with the FreeBSD project to address these problems. ATI also seems to have > > a problem with mtrr under 7.2. I'm still trying to sort this out. I hope > > 8.0 will address these problems. > > All of my cards are ATI and I don't know of the "mtrr" problem you're > talking about. This X1650 works fine on i386 with both 7-STABLE and > 8-STABLE. Try starting X with DRI, then quit X, and restart X again. If you don't have DRI anymore, chances are you've hit the ominous MTRR problem. At least, that's what I think it is, from what I've gathered from this list. I seem to have this problem with an ATI HD 3200, using the radeonhd driver under RELENG_7. It's pretty annoying, that if X crashes (or you have to stop it for some reason), you only get DRI support again after rebooting. :-( Having said this, IMHO ATI will probably be better supported in the long run on FreeBSD, because they have released the specs of rather recent chipsets, while nVidia has not (AFAIK). > -Warren Block * Rapid City, South Dakota USA -cpghost. -- Cordula's Web. http://www.cordula.ws/ From wblock at wonkity.com Wed Oct 14 18:54:42 2009 From: wblock at wonkity.com (Warren Block) Date: Wed Oct 14 18:54:49 2009 Subject: Graphics card recommendation In-Reply-To: <20091014183809.GA1519@phenom.cordula.ws> References: <20091014153100.GH22136@ece.pdx.edu> <20091014115949.33b1adb4@scorpio.seibercom.net> <12173.RF1FTAsCFkY=.1255538317.squirrel@webmail-west.es.net> <20091014183809.GA1519@phenom.cordula.ws> Message-ID: On Wed, 14 Oct 2009, cpghost wrote: > On Wed, Oct 14, 2009 at 10:55:05AM -0600, Warren Block wrote: >> On Wed, 14 Oct 2009, jgrosch@es.net wrote: >>> nVidia support on i386 FreeBSD is not much better. One can use an nVidia >>> card with 7.1 but under 7.2 one hits the dreaded mtrr error. A Google >>> search finds many posts on how to fix this but none of them seem to work. >>> I could be wrong but nVidia does not seem to be very interested in working >>> with the FreeBSD project to address these problems. ATI also seems to have >>> a problem with mtrr under 7.2. I'm still trying to sort this out. I hope >>> 8.0 will address these problems. >> >> All of my cards are ATI and I don't know of the "mtrr" problem you're >> talking about. This X1650 works fine on i386 with both 7-STABLE and >> 8-STABLE. > > Try starting X with DRI, then quit X, and restart X again. If you > don't have DRI anymore, chances are you've hit the ominous MTRR > problem. I do that all the time without noticeable problems, but then this particular card is an RV530 or RV560 chipset which has been supported for quite a while. Most or all of the Radeon HD cards are R600 or R700 chipsets, and that's still work in process. > I seem to have this problem with an ATI HD 3200, using the radeonhd > driver under RELENG_7. It's pretty annoying, that if X crashes (or > you have to stop it for some reason), you only get DRI support again > after rebooting. :-( Plain radeon driver from xf86-video-ati works best here, although I haven't tried radeonhd for a while. > Having said this, IMHO ATI will probably be better supported in the > long run on FreeBSD, because they have released the specs of rather > recent chipsets, while nVidia has not (AFAIK). Agreed. -Warren Block * Rapid City, South Dakota USA From tokaev at hotmail.com Wed Oct 14 19:04:52 2009 From: tokaev at hotmail.com (Arkady Tokaev) Date: Wed Oct 14 19:04:59 2009 Subject: Unknown devices Message-ID: While I was trying to update ports I have received message about absence disk space.It's impossible, I thought.But df command said:$ df -hFilesystem Size Used Avail Capacity Mounted on/dev/ad0s1a 23G 3.5G 18G 16% /devfs 1.0K 1.0K 0B 100% /dev/dev/md0 9.4M 2.8M 6.5M 30% /etc/dev/md1 31M 16M 13M 55% /usr/local/etc/dev/md2 19M 18K 19M 0% /root/dev/md3 31M 6.1M 24M 20% /var$What is the md devices?How I can remove them? freebsd-questions@freebsd.org Arkady Tokaev _________________________________________________________________ ????? ?????????, ????????? ?????? ?????? Internet Explorer 8 ?????? ?????? ?? ???. http://www.microsoft.ru/ie8 From lconrad at Go2France.com Wed Oct 14 20:51:20 2009 From: lconrad at Go2France.com (Len Conrad) Date: Wed Oct 14 20:51:33 2009 Subject: is this Intel CPU ok for 7.2 AMD64? Message-ID: <200910142248.AA63898478@mail.Go2France.com> the FreeBSD 6.2 i386 dmesg.boot shows: CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff Features2=0x659d> AMD Features=0x20100000 Logical CPUs per core: 2 real memory = 3220963328 (3071 MB) avail memory = 3150913536 (3004 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic1: WARNING: intbase 32 != expected base 24 ioapic2: Changing APIC ID to 10 ioapic2: WARNING: intbase 64 != expected base 56 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 32-55 on motherboard ioapic2 irqs 64-87 on motherboard thanks, Len From amsibamsi at gmail.com Wed Oct 14 20:54:45 2009 From: amsibamsi at gmail.com (Anselm Strauss) Date: Wed Oct 14 20:54:53 2009 Subject: No serial console input in loader Message-ID: Hi, I have to come back to this problem. When I boot over the serial console, input works all fine until I come to the loader menu. There, input from the serial console is just ignored, I can not interrupt the autoboot and e.g. choose a different kernel. I have partitioned with GPT and installed /boot/pmbr into the MBR and /boot/gptboot into the first partition of type freebsd-boot. The keyboard works in the BIOS, and in gptboot I think, where I can interrupt the boot by pressing a key, and a list like this shows: FreeBSD/i386 boot Default: 0:ad(0p2)/boot/loader boot: Then, in the loader menu the input is dead, when the kernel boots and also afterwards it works again fine. When I use GRUB to start the loader the keyboard also works. Any ideas on what the problem could be or how to track this down? Cheers Anselm > On Jun 28, 2008, at 13:15 , Anselm Strauss wrote: > >> Hi, >> >> I have a small router that has no video output, it only supports a >> serial console. I configured the serial console in /boot/ >> boot.config, /boot/loader.conf and /etc/ttys. It's working in the >> BIOS, on the boot prompt before the loader starts, and when logging >> in on the getty. The only place where it's not working correctly is >> at the loader prompt. I can see the loader menu and the logo, but I >> can't choose the boot entry or interrupt the timeout. I can't make >> any input at all. What could this be? >> >> Cheers, >> Anselm >> > Don't know what this was, but now it works. I use Grub to directly > load /boot/loader as kernel. I set the serial console in the BIOS to > 115200 Baud. In Grub's menu.lst I then use: > > serial --unit=0 --speed=115200 > terminal serial > > and in /boot/loader.conf: > > console="comconsole" > comconsole_speed="115200" > > Seems like this is all that is needed. > > Anselm From jhell at DataIX.net Wed Oct 14 21:08:32 2009 From: jhell at DataIX.net (jhell) Date: Wed Oct 14 21:08:43 2009 Subject: is this Intel CPU ok for 7.2 AMD64? In-Reply-To: <200910142248.AA63898478@mail.Go2France.com> References: <200910142248.AA63898478@mail.Go2France.com> Message-ID: No you want: IA64 not AMD64 ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ISO-IMAGES/7.2/ On Wed, 14 Oct 2009 16:48, lconrad@ wrote: > the FreeBSD 6.2 i386 dmesg.boot shows: > > CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 > Features=0xbfebfbff > Features2=0x659d> > AMD Features=0x20100000 > Logical CPUs per core: 2 > real memory = 3220963328 (3071 MB) > avail memory = 3150913536 (3004 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 6 > cpu3 (AP): APIC ID: 7 > ioapic0: Changing APIC ID to 8 > ioapic1: Changing APIC ID to 9 > ioapic1: WARNING: intbase 32 != expected base 24 > ioapic2: Changing APIC ID to 10 > ioapic2: WARNING: intbase 64 != expected base 56 > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 32-55 on motherboard > ioapic2 irqs 64-87 on motherboard > > thanks, > Len > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E From rsmith at xs4all.nl Wed Oct 14 21:10:57 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Oct 14 21:11:05 2009 Subject: is this Intel CPU ok for 7.2 AMD64? In-Reply-To: <200910142248.AA63898478@mail.Go2France.com> References: <200910142248.AA63898478@mail.Go2France.com> Message-ID: <20091014211055.GD52151@slackbox.xs4all.nl> Yes. On Wed, Oct 14, 2009 at 10:48:26PM +0200, Len Conrad wrote: > the FreeBSD 6.2 i386 dmesg.boot shows: > > CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 > Features=0xbfebfbff > Features2=0x659d> You should be looking at the following line. LM means Long Mode, meaning it can run 64-bit instructions: [http://en.wikipedia.org/wiki/Long_mode]; > AMD Features=0x20100000 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091014/c507fafc/attachment.pgp From dak.col at gmail.com Wed Oct 14 21:13:49 2009 From: dak.col at gmail.com (Diego F. Arias R.) Date: Wed Oct 14 21:13:56 2009 Subject: is this Intel CPU ok for 7.2 AMD64? In-Reply-To: References: <200910142248.AA63898478@mail.Go2France.com> Message-ID: <3b93bd110910141413s7ae157fap2fe43c0cb812e6c5@mail.gmail.com> On Wed, Oct 14, 2009 at 4:08 PM, jhell wrote: > > No you want: IA64 not AMD64 > > ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ISO-IMAGES/7.2/ > > > > On Wed, 14 Oct 2009 16:48, lconrad@ wrote: > >> the FreeBSD 6.2 i386 dmesg.boot shows: >> >> CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU) >> Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 >> >> Features=0xbfebfbff >> Features2=0x659d> >> AMD Features=0x20100000 >> Logical CPUs per core: 2 >> real memory = 3220963328 (3071 MB) >> avail memory = 3150913536 (3004 MB) >> ACPI APIC Table: >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >> cpu0 (BSP): APIC ID: 0 >> cpu1 (AP): APIC ID: 1 >> cpu2 (AP): APIC ID: 6 >> cpu3 (AP): APIC ID: 7 >> ioapic0: Changing APIC ID to 8 >> ioapic1: Changing APIC ID to 9 >> ioapic1: WARNING: intbase 32 != expected base 24 >> ioapic2: Changing APIC ID to 10 >> ioapic2: WARNING: intbase 64 != expected base 56 >> ioapic0 irqs 0-23 on motherboard >> ioapic1 irqs 32-55 on motherboard >> ioapic2 irqs 64-87 on motherboard >> >> thanks, >> Len >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> >> > -- > > ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 > ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 > ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Why ia64 if its a XEON? -- mmm, interesante..... From af.gourmet at videotron.ca Wed Oct 14 21:22:15 2009 From: af.gourmet at videotron.ca (PJ) Date: Wed Oct 14 21:22:23 2009 Subject: clone-dump-restore Message-ID: <4AD640F5.20303@videotron.ca> Gentlemen, I have not had a chance to thank you for your very helpful suggestions. I have tried to follow them as well as possible and I cerainly am grateful for your input. It has taken me some time to prepare for a cloning of an existing 7.2 sytem. Now that I have everything running smoothly with all the proggies & configurations the way I want them, I tried (notice - tried) to clone the system. Here's the setup: FBSD 7.2 on ad4 and same on ad12. First, running on ad4, I tried to dump & restore each partition directly: ad12s1a to da0s1a (usb sata disk). No go. I had set it up originally with livefs, minimal; then redid it all with fdisk, bsdlabel and nwfs; then dump -0af - /dev/ad12s1a | restore -rf - /dev/da0s1a --- got error messages about not being a tape device. Great. Next, I tried with another usb/sata disk on da0... dumped to files (dump went w/out problems) ... mounted da0 partitions 1 x 1 to /mnt, cd'd to /mnt and did restore -rf file. Only the ad12s1f(usr) restore gave long list of "unable to create file or link or something like that". When I then installed the restored disk to another computer (identical except for CPU (3gb instead of 2.4gb), booted from the restored disk and saw that it was trying to boot from ad12s1a which doesn't exist on the new machine. uh...oh... Somehow I think I may not have understood something. Perhaps I should install the disk directly in the dump/restore machine and try again. Oh, yes, another sign from the gods... when restoring to a partition just newfsed there is a warning that .snap is already installed... now what on earth or moon is that? I will try again... and try to document more clearly... :-( TIA From freebsd at edvax.de Wed Oct 14 21:48:29 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Oct 14 21:48:36 2009 Subject: Graphics card recommendation In-Reply-To: References: <20091014153100.GH22136@ece.pdx.edu> <20091014115949.33b1adb4@scorpio.seibercom.net> <12173.RF1FTAsCFkY=.1255538317.squirrel@webmail-west.es.net> Message-ID: <20091014234826.39a42b6d.freebsd@edvax.de> On Wed, 14 Oct 2009 10:55:05 -0600 (MDT), Warren Block wrote: > All of my cards are ATI and I don't know of the "mtrr" problem you're > talking about. This X1650 works fine on i386 with both 7-STABLE and > 8-STABLE. I had an old-fashioned ATI Radeon 9200 RV250 AGP with both a VGA and a VGA-on-DVI monitor. With also old-fashioned XFree86 this setting worked good performance-wise, which was in FreeBSD 5, but I haven't tested this in FreeBSD 7 with Xorg yet because I'm very upset about the speed-loss of "modern" software. :-( Furthermore, I don't have the second 21" CRT anymore, so no dual-head for me at the moment. I am nearly sure that for today's requirements, Intel GPUs seem to be the most fitting ones, but as I don't own any of them, I can't give you clues from a user's point of view. In the past, ATI always was my first choice, but today, I would triple-check anything. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From craig001 at lerwick.hopto.org Wed Oct 14 21:49:22 2009 From: craig001 at lerwick.hopto.org (Craig Butler) Date: Wed Oct 14 21:49:30 2009 Subject: ldap and pam-mkhomedir, anyone know how to set directory ownership to the ldap user logging in ?? Message-ID: <1255556963.1258.4.camel@coyote.lerwick.hopto.org> Hi All Currently I have got pam authenticating against ldap and mkhomedir creating the home directories, but they are created owned as root:wheel and the user can't write to their own home directory -- I have read the man page for pam_mkhomedir, the only way I see it working at the moment is setting an insecure umask in the pam definition.... Any ideas on how I can get them owned by the ldap user signing in ? Thanks Craig B From ertr1013 at student.uu.se Wed Oct 14 22:06:42 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Wed Oct 14 22:06:49 2009 Subject: is this Intel CPU ok for 7.2 AMD64? In-Reply-To: References: <200910142248.AA63898478@mail.Go2France.com> Message-ID: <20091014220617.GA6647@owl.midgard.homeip.net> On Wed, Oct 14, 2009 at 05:08:23PM -0400, jhell wrote: > > No you want: IA64 not AMD64 No, he does not want that. IA64 is for Intel's Itanium CPUs which are only used in a few big servers and just about nowhere else. The below is an ordinary x86 CPU (which the Itanium most certainly is not.) > > ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ISO-IMAGES/7.2/ > > > On Wed, 14 Oct 2009 16:48, lconrad@ wrote: > > the FreeBSD 6.2 i386 dmesg.boot shows: > > > > CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU) > > Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 > > Features=0xbfebfbff > > Features2=0x659d> > > AMD Features=0x20100000 > > Logical CPUs per core: 2 > > real memory = 3220963328 (3071 MB) > > avail memory = 3150913536 (3004 MB) > > ACPI APIC Table: > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > cpu0 (BSP): APIC ID: 0 > > cpu1 (AP): APIC ID: 1 > > cpu2 (AP): APIC ID: 6 > > cpu3 (AP): APIC ID: 7 > > ioapic0: Changing APIC ID to 8 > > ioapic1: Changing APIC ID to 9 > > ioapic1: WARNING: intbase 32 != expected base 24 > > ioapic2: Changing APIC ID to 10 > > ioapic2: WARNING: intbase 64 != expected base 56 > > ioapic0 irqs 0-23 on motherboard > > ioapic1 irqs 32-55 on motherboard > > ioapic2 irqs 64-87 on motherboard > > > > thanks, > > Len > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > -- > > ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 > ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 > ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Erik Trulsson ertr1013@student.uu.se From freebsd at edvax.de Wed Oct 14 22:07:42 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Oct 14 22:07:49 2009 Subject: clone-dump-restore In-Reply-To: <4AD640F5.20303@videotron.ca> References: <4AD640F5.20303@videotron.ca> Message-ID: <20091015000740.53ccdd0a.freebsd@edvax.de> On Wed, 14 Oct 2009 17:21:57 -0400, PJ wrote: > It has taken me some time to prepare for a cloning of an existing 7.2 sytem. > Now that I have everything running smoothly with all the proggies & > configurations the way I want them, I tried (notice - tried) to clone > the system. > Here's the setup: > FBSD 7.2 on ad4 and same on ad12. I do assume that the system on ad6 is your source system, and ad12 should then be the same by the means of cloning? In later lines, you're dumping to a da device (not ad). Do you already have two FreeBSD source systems set up? > First, running on ad4, I tried to dump & restore each partition directly: > ad12s1a to da0s1a (usb sata disk). No go. It would be good to see the command that you issued to do so, including the currend working directory. > I had set it up originally > with livefs, minimal; then redid it all with fdisk, bsdlabel and nwfs; There's no need to do the slicing and partitioning twice. > then > dump -0af - /dev/ad12s1a | restore -rf - /dev/da0s1a The command does not look okay. Keep in mind that a) ad0s1a is mounted, b) you need to be in the mounted / of da0 and c) ad1s2a is mounted ro. You can forget about c) if you're dumping | restoring from a live file CD or DVD. In this case, ad12s1a isn't mounted, which is good. You should end up with a setting like this: # mount /dev/da0s1a /mnt # cd /mnt # dump -0 -f - /dev/ad12s1a | restore -r -f - See the difference? The restore command does NOT require a device name, because the point where to restore is the current working directory, as indicated by the previous cd command. > --- got error messages about not being a tape device. Great. Looks like incorrect command... see above. > Next, I tried with another usb/sata disk on da0... dumped to files (dump > went w/out problems) ... mounted da0 partitions 1 x 1 to /mnt, cd'd to > /mnt and did > restore -rf file. > Only the ad12s1f(usr) restore gave long list of "unable to create file> or link > or something like that". Again, the complete command (including pwd) would have been helpful, so I can only guess. I assume you dumped /usr into a file on a usb disk (da). In order to restore this file to a partition you created on another disk, let's say ad6 (ATTENTION, EXAMPLE!), the command to do so would be: # mount /dev/da0 /mnt # mkdir /mnt2 # mount /dev/ad6s1e /mnt2 # cd /mnt2 # restore -r -f /mnt/usr.dump Keep in mind that (in difference to my previous example) /mnt now refers to the /usr partition, not to /. This of course assumes that you've already sliced and partitioned ad6. It includes formatting (newfs), obviously. > When I then installed the restored disk to another computer (identical > except for CPU (3gb instead of 2.4gb), booted from the restored disk and > saw that it was trying to boot from ad12s1a which doesn't exist on the > new machine. uh...oh... The boot loader tries to boot the first ATA disk. This has been discussed in the questions@ list few days ago. > Somehow I think I may not have understood something. I'm sure about this. Re-read the examples above and you'll notice easily how the dump and especially the restore command have to be invoked for proper operations. > Perhaps I should install the disk directly in the dump/restore machine > and try again. This is possible, but as long as you're using an USB transfer disk which gets its content as data files (.dump files) from the ATA disk (source disk), and which are then restored to another ATA disk (target disk), there shouldn't be a problem. Because I'm a lazy guy, I mostly use a live file system (FreeBSD live fs is completely okay, but FreeSBIE is good, too) in order to run the sysinstall program which I use to slice, partition and format the target disk as intended. I then use a USB stick or a USB disk to make the dump files available (previous example) and restore them to the target disk. Note that things like the boot loader are now independent of my dumps as they get written by sysinstall. > Oh, yes, another sign from the gods... when restoring to a partition > just newfsed there is a warning that .snap is already installed... now > what on earth or moon is that? The .snap directory is used for file system snapshot. As far as I remember, newfs creates this directory, or maybe it's fsck at its first run? Don't mind, it's not important (until you need it for data recovery). > I will try again... and try to document more clearly... :-( Yes, please. Good luck! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From ccowart at rescomp.berkeley.edu Wed Oct 14 22:33:46 2009 From: ccowart at rescomp.berkeley.edu (Chris Cowart) Date: Wed Oct 14 22:33:53 2009 Subject: ldap and pam-mkhomedir, anyone know how to set directory ownership to the ldap user logging in ?? In-Reply-To: <1255556963.1258.4.camel@coyote.lerwick.hopto.org> References: <1255556963.1258.4.camel@coyote.lerwick.hopto.org> Message-ID: <20091014223345.GA11723@hal.rescomp.berkeley.edu> Craig Butler wrote: > Currently I have got pam authenticating against ldap and mkhomedir > creating the home directories, but they are created owned as root:wheel > and the user can't write to their own home directory -- I have read the > man page for pam_mkhomedir, the only way I see it working at the moment > is setting an insecure umask in the pam definition.... > > Any ideas on how I can get them owned by the ldap user signing in ? It should "Just Work". Do you have the accounts properly configured in /etc/nsswitch.conf? If you: getent passwd USER For the account whose home directory isn't being created correctly? Do you see the entry? -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 834 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091014/c9c32554/attachment.pgp From freebsd at edvax.de Wed Oct 14 22:38:05 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Oct 14 22:38:13 2009 Subject: Unknown devices In-Reply-To: References: Message-ID: <20091015003803.f015b721.freebsd@edvax.de> On Wed, 14 Oct 2009 23:04:51 +0400, Arkady Tokaev wrote: > > While I was trying to update ports I have received message > about absence disk space.It's impossible, I thought.But df > command said: > $ df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 23G 3.5G 18G 16% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/md0 9.4M 2.8M 6.5M 30% /etc > /dev/md1 31M 16M 13M 55% /usr/local/etc > /dev/md2 19M 18K 19M 0% /root > /dev/md3 31M 6.1M 24M 20% /var > $ > What is the md devices?How I can remove them? See "man md": The md devices refer to memory disks, RAM that "emulates" a hard disk. Sadly, I don't recognize a reason why your /etc, /usr/local/etc, /root and /var subtrees are mounted onto memory disks... seems that you're not running a default install, do you? Regarding your initial problem - updating ports - this involves writing operations in the ports directory (usually /usr/ports which may be a subtree of /dev/ad0s1a on / in your setting) as well as in /var, especially /var/db/pkg, the installed packages database, and /var/ports. When /var is a memory disk with 30 MB, it may be too small for such a process. Furthermore, if I see this correctly, you're loosing the content of the package database on reboot; is this intended? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From Damien at voipmodem.net Wed Oct 14 22:39:00 2009 From: Damien at voipmodem.net (Damien Ross) Date: Wed Oct 14 22:39:07 2009 Subject: Link exchange with my site voipmodem.net? Message-ID: <200910141710783.SM04584@web002> Hey- I've got a website targeted towards the keyword Voip Modem and I'm looking for link exchanges. Would you be interested? If so, please reply and I'm sure we can work something out. Have a nice day! Damien Ross From chris at monochrome.org Wed Oct 14 23:03:01 2009 From: chris at monochrome.org (Chris Hill) Date: Wed Oct 14 23:03:08 2009 Subject: NTP Client synchronization with a Windows 2003/2008 In-Reply-To: <2345d18f0910140904v3e2e9f37hbaabc05cb561a19d@mail.gmail.com> References: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> <2345d18f0910130921g17b8d9fdy8fdb99bd5a0e8cf4@mail.gmail.com> <4AD4AE89.6010802@radel.com> <200910140902.27825.j.mckeown@ru.ac.za> <2345d18f0910140904v3e2e9f37hbaabc05cb561a19d@mail.gmail.com> Message-ID: On Wed, 14 Oct 2009, Jacques Henry wrote: >>> The 19 minutes between when I sent my suggestions and you responded is >>> hardly enough time to see if ntpd was slewing the time. Slewing 587 >>> seconds takes days. >> > > The thing is that ntpd is not slewing the time at all, even after several > hours!! If I may pipe up... Can you not set the clock manually, then let ntpd take it from there? Seems like your clock would become synced a lot faster if it started out "close". Sorry if I'm being naive, but this seemed like the obvious thing to do. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From vinny-mail-01+f.questions20091014 at palaceofretention.ca Wed Oct 14 23:18:06 2009 From: vinny-mail-01+f.questions20091014 at palaceofretention.ca (Vinny) Date: Wed Oct 14 23:18:14 2009 Subject: Experiencing blank @pkgdep entries Message-ID: <4AD65812.20303@palaceofretention.ca> Hi, I tried to do some port maintenance, specifically, updating python and its ports to 2.6. I used the instructions in UPDATING for portmaster: 20090608: AFFECTS: users of lang/python* and py-* AUTHOR: miwi@FreeBSD.org The default version of Python has been changed from 2.5.x to 2.6.x. ... # portmaster -o lang/python26 lang/python25 I did not retain 2.5 as the default, so I did not create the make.conf variable entry, nor did I run the 'portupgrade -R python' command (I deduced the portupgrade -R command was for those who wish to retain 2.5, was that correct?). Anyway, I ran: # cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER Aside: From memory, I saw some complaints about libtool15/22 pass by. Must one follow the UPDATING's timeline in reverse when doing an upgrade that might touch many files? I.e. should I have run the libtool/libtldl upgrade before python's? To continue: It chugged along (while annoyingly asking me about deleting distfiles) until it hung on a fetch (net issues). I hit CTRL-C and reran the above make command. It continued and ended after a while with a status report of quite a few update failures with 'uninstall errors'. These were due to pkg_delete or 'make deinstall' dumping core on blank @pkgdep lines in various ports' +CONTENTS files. These blank pkgdep entries weren't there before I started the upgrade process, as evidenced by my current backup of the /var/db/pkg database, which has no blank entries in any +CONTENTS files. I got a nice command line from the net somewhere: grep -E '^@(pkgdep|name)[[:space:]]*$' /var/db/pkg/*/+CONTENTS I don't believe hitting CTRL-C during the fetch could have caused ALL these blank @pkgdep lines. There were upwards of 50 ports with this problem after running the make commands. Is this a know problem? I've only seen a couple of threads and they were one-off's (i.e. one port affected only). I restored from backup, but I'd still like to upgrade python. Hopefully, I can achieve this without corrupting my port databases. Anyone have any information or comments? Thanks a lot! Vinny From saber.adavi at gmail.com Wed Oct 14 23:07:22 2009 From: saber.adavi at gmail.com (saber adavi) Date: Wed Oct 14 23:18:59 2009 Subject: persian home page Message-ID: <26fc94150910141539w1b70b31cp6e7e09f368c5e8e@mail.gmail.com> hi, my name is saber adavi and im CS student at tehran polytechnic university. im using freeBsd as my main OS near one year and i like to help ( if there is a chance) to add persian language into your website. cheers From shinjii at maydias.com Wed Oct 14 23:36:46 2009 From: shinjii at maydias.com (Warren Liddell) Date: Wed Oct 14 23:36:52 2009 Subject: Multiple qt4 issues Message-ID: <4AD66105.8040504@maydias.com> im running AMD64 FreeBSD7.2-STABLE latest src//kernel and ports so far as what depends on various QT4 pkgs ... Everything comes down to this 1 port but yet i removed all of them an it still cracks .. what am i missing or havent read... ===> Verifying install for qt4-phonon>=4.5.2 in /usr/ports/multimedia/qt4-phonon ===> qt4-phonon-4.5.2 conflicts with KDE4 phonon. Please, deinstall multimedia/phonon. *** Error code 1 Stop in /usr/ports/multimedia/qt4-phonon. *** Error code 1 Stop in /usr/ports/www/qt4-webkit. enterprise# ls /var/db/pkg | grep phon enterprise# From amvandemore at gmail.com Wed Oct 14 23:53:08 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Oct 14 23:53:16 2009 Subject: persian home page In-Reply-To: <26fc94150910141539w1b70b31cp6e7e09f368c5e8e@mail.gmail.com> References: <26fc94150910141539w1b70b31cp6e7e09f368c5e8e@mail.gmail.com> Message-ID: <6201873e0910141653y745bad94j794779c7415fa9a9@mail.gmail.com> On Wed, Oct 14, 2009 at 5:39 PM, saber adavi wrote: > hi, > my name is saber adavi and im CS student at tehran polytechnic university. > im using freeBsd as my main OS near one year and i like to help ( if there > is a chance) to add persian language into your website. > > cheers > > If you don't find the desired response on this list, you can try info listed here: http://www.freebsd.org/docproj/docproj.html -- Adam Vande More From amvandemore at gmail.com Thu Oct 15 00:05:50 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Thu Oct 15 00:05:57 2009 Subject: Experiencing blank @pkgdep entries In-Reply-To: <4AD65812.20303@palaceofretention.ca> References: <4AD65812.20303@palaceofretention.ca> Message-ID: <6201873e0910141705q43c521b4k90be881f368c2dcc@mail.gmail.com> On Wed, Oct 14, 2009 at 6:00 PM, Vinny < vinny-mail-01+f.questions20091014@palaceofretention.ca > wrote: > Hi, > > I tried to do some port maintenance, specifically, > updating python and its ports to 2.6. I used > the instructions in UPDATING for portmaster: > > 20090608: > AFFECTS: users of lang/python* and py-* > AUTHOR: miwi@FreeBSD.org > > The default version of Python has been changed from 2.5.x to 2.6.x. > ... > > # portmaster -o lang/python26 lang/python25 > > I did not retain 2.5 as the default, so I did not create > the make.conf variable entry, nor did I run the 'portupgrade -R > python' command (I deduced the portupgrade -R command was for > those who wish to retain 2.5, was that correct?). > > Anyway, I ran: > > # cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER > > Aside: From memory, I saw some complaints about libtool15/22 pass by. > Must one follow the UPDATING's timeline in reverse when doing an > upgrade that might touch many files? I.e. should I have run the > libtool/libtldl upgrade before python's? > Yes, but you're more likely to run into these dependencies issues the longer you wait between upgrades. > > To continue: It chugged along (while annoyingly asking me about > deleting distfiles) man portmaster > until it hung on a fetch (net issues). I hit > CTRL-C and reran the above make command. It continued and ended > after a while with a status report of quite a few update failures > with 'uninstall errors'. > > These were due to pkg_delete or 'make deinstall' dumping core > on blank @pkgdep lines in various ports' +CONTENTS files. > > These blank pkgdep entries weren't there before I started the > upgrade process, as evidenced by my current backup of the > /var/db/pkg database, which has no blank entries in any +CONTENTS > files. I got a nice command line from the net somewhere: > > grep -E '^@(pkgdep|name)[[:space:]]*$' /var/db/pkg/*/+CONTENTS > > I don't believe hitting CTRL-C during the fetch could have > caused ALL these blank @pkgdep lines. There were upwards > of 50