Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Aaron Lewis
Hello BSD hackers, I have a strange problems with user's home directory , if i log in through ssh , everything's fine. But on virtual terminals , it tolds me: no home directory Logging in with home dir / Does anyone has any ideas ? Here's some debug information

Re: sftp server with speed throttling

2010-03-22 Thread Andrei Kolu
2010/3/21 Dan Naumov dan.nau...@gmail.com: What are my options if I want to run an sftp server with speed throttling? My understanding is that openssh (which includes sftp) in base does not support this directly, so I would have to either use a custom kernel with ALTQ (and I would really

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Ruben de Groot
On Sun, Mar 21, 2010 at 04:44:20PM -0700, Randal L. Schwartz typed: Postfix has a readable config file (with comments!) that doesn't require compiling into the proper syntax. Here follows a snippets from /etc/mail/freebsd.mc. It's readable and full of comments. A simple make will compile the

Re: Wireless access point rc.conf syntax in FreeBSD 8?

2010-03-22 Thread Leslie Jensen
On 2010-03-21 22:19, Modulok wrote: I have a wireless network card. But I can't configure it. I read in UPDATING that this had to do with some split up of the wireless drivers into software/hardware interfaces? Something to do with me having to clone the interface before I can configure it?

Re: sftp server with speed throttling

2010-03-22 Thread Nikos Vassiliadis
Dan Naumov wrote: What are my options if I want to run an sftp server with speed throttling? My understanding is that openssh (which includes sftp) in base does not support this directly, so I would have to either use a custom kernel with ALTQ (and I would really rather stick to GENERIC so I can

Re: ezjail

2010-03-22 Thread Aiza
Mark Shroyer wrote: On 3/21/2010 8:21 PM, Aiza wrote: Does the ip address notation for the jail include the port number? Like 10.0.20.2:80 Nat port forwarding is the long way around just to get the correct port number to the jail ip address. Nope, jails are assigned one (or more) specific IP

Re: ezjail

2010-03-22 Thread Ruben de Groot
On Mon, Mar 22, 2010 at 05:47:09PM +0800, Aiza typed: Mark Shroyer wrote: On 3/21/2010 8:21 PM, Aiza wrote: Does the ip address notation for the jail include the port number? Like 10.0.20.2:80 Nat port forwarding is the long way around just to get the correct port number to the jail ip

Re: ezjail

2010-03-22 Thread Dhénin Jean-Jacques
2010/3/22 Ruben de Groot mai...@bzerk.org My host 8.0 system is the gateway to the public internet. I have ipfilter running blocking all inbound request for service. I only allow out bound request from the LAN behind the gateway and use keep state to allow the packet conversation to

Re: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Matthew Seaman
On 22/03/2010 07:11:23, Aaron Lewis wrote: Hello BSD hackers, I have a strange problems with user's home directory , if i log in through ssh , everything's fine. But on virtual terminals , it tolds me: no home directory Logging in with home dir / Does anyone has any ideas

Re: ezjail

2010-03-22 Thread Ruben de Groot
On Mon, Mar 22, 2010 at 11:23:54AM +0100, Dh?nin Jean-Jacques typed: on the lan gives me no sockets mesg. And ftp from 10.0.10.6 to 10.0.20.30 the ftp jail gives me no connection error. add sysctl security.jail.allow_raw_sockets=1 or in /etc/sysctl.conf on the host (not in in the

how to compare permissions between two dirs

2010-03-22 Thread Aryeh M. Friedman
In switching to a new make file for a personal project I have run into the problem of under the old makefile everything works (web site) and under the new one it does not... when manually looking at the two dirs they appear identical in layout, sizes and perms (dir and file level) but I want

Re: how to compare permissions between two dirs

2010-03-22 Thread Matthew Seaman
On 22/03/2010 11:33:28, Aryeh M. Friedman wrote: In switching to a new make file for a personal project I have run into the problem of under the old makefile everything works (web site) and under the new one it does not... when manually looking at the two dirs they appear identical in layout,

Re: sftp server with speed throttling

2010-03-22 Thread Ghirai
On Sun, 21 Mar 2010 19:55:00 + Vincent Hoffman vi...@unsane.co.uk wrote: On 21/03/2010 13:53, Dan Naumov wrote: What are my options if I want to run an sftp server with speed throttling? My understanding is that openssh (which includes sftp) in base does not support this directly, so I

Re: sftp server with speed throttling

2010-03-22 Thread Vincent Hoffman
On 22/03/2010 11:53, Ghirai wrote: On Sun, 21 Mar 2010 19:55:00 + Vincent Hoffman vi...@unsane.co.uk wrote: On 21/03/2010 13:53, Dan Naumov wrote: What are my options if I want to run an sftp server with speed throttling? My understanding is that openssh (which includes sftp)

Re: how to compare permissions between two dirs

2010-03-22 Thread Chad Kellerman
On Mon, Mar 22, 2010 at 7:33 AM, Aryeh M. Friedman aryeh.fried...@gmail.com wrote: In switching to a new make file for a personal project I have run into the problem of under the old makefile everything works (web site) and under the new one it does not... when manually looking at the two

panic: sleeping thread

2010-03-22 Thread Paul Halliday
I have a couple VM's that randomly halt with this error: Sleeping thread (tid 10018, pid 1058) owns a non-sleepable lock panic: sleeping thread cpuid = 0 Uptime 11h14m31s Cannot dump. Device not defined or unavailable. FreeBSD 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009

Re: ezjail

2010-03-22 Thread Aiza
Ruben de Groot wrote: On Mon, Mar 22, 2010 at 11:23:54AM +0100, Dh?nin Jean-Jacques typed: on the lan gives me no sockets mesg. And ftp from 10.0.10.6 to 10.0.20.30 the ftp jail gives me no connection error. add sysctl security.jail.allow_raw_sockets=1 or in /etc/sysctl.conf on the host

Re: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Aaron Lewis
Matthew Seaman wrote: On 22/03/2010 07:11:23, Aaron Lewis wrote: Hello BSD hackers, I have a strange problems with user's home directory , if i log in through ssh , everything's fine. But on virtual terminals , it tolds me: no home directory Logging in with home dir / Does

Re : OT: dead box

2010-03-22 Thread Alexandre L.
My brother has got the same case : Antec Sonata II. It has been delivred with the power supply. The power supply has exploded capacitors on the mobo (Asus A7N8X-E Deluxe). The LED on the mobo was lightening up but we can't power up the workstation. For your problem, I suggest you to see if this

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Randal L. Schwartz
Ruben == Ruben de Groot mai...@bzerk.org writes: Ruben And sendmail does not? You obviously are biased. I had at least a decade of experience with sendmail before discovering postfix. And now I use postfix, and you can't *make* me use sendmail again. Of course I'm biased. I prefer postfix

12 TB Disk In freebsd AMD 64 ?

2010-03-22 Thread Ian Lord
Hi, I am planning to build a 12x 1TB array RAID 6 on a hardware controller... I will use it as a nfs server for archiving files (we need to keep legal files for 6 years)... Raid 6 will give me a 10 TB drive approx... Reading these pages:

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Alejandro Imass
On Mon, Mar 22, 2010 at 9:30 AM, Randal L. Schwartz mer...@stonehenge.com wrote: Ruben == Ruben de Groot mai...@bzerk.org writes: Ruben And sendmail does not? You obviously are biased. I had at least a decade of experience with sendmail before discovering postfix.  And now I use postfix, and

Re: ezjail

2010-03-22 Thread Boris Samorodov
Aiza aiz...@comclark.com writes: Now I would like to play with jails. One for postfix, apache, and ftp. My reading of EZJAIL and the jails section of the handbook lead me to believe I need a unique IP address for each jail. Is that correct? No. As long as you use different ports for different

Re: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Warren Block
On Mon, 22 Mar 2010, Aaron Lewis wrote: Hello BSD hackers, I have a strange problems with user's home directory , if i log in through ssh , everything's fine. But on virtual terminals , it tolds me: no home directory Logging in with home dir / Does anyone has any ideas ?

Re: how to compare permissions between two dirs

2010-03-22 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh M. Friedman wrote: In switching to a new make file for a personal project I have run into the problem of under the old makefile everything works (web site) and under the new one it does not... when manually looking at the two dirs they

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-22 Thread John Baldwin
On Friday 19 March 2010 11:27:13 pm Rick Macklem wrote: On Fri, 19 Mar 2010, Steve Polyack wrote: [good stuff snipped] This makes sense. According to wireshark, the server is indeed transmitting Status: NFS3ERR_IO (5). Perhaps this should be STALE instead; it sounds more

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-22 Thread Steve Polyack
On 3/19/2010 11:27 PM, Rick Macklem wrote: On Fri, 19 Mar 2010, Steve Polyack wrote: [good stuff snipped] This makes sense. According to wireshark, the server is indeed transmitting Status: NFS3ERR_IO (5). Perhaps this should be STALE instead; it sounds more correct than marking it a

Re: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/03/2010 12:46:06, Aaron Lewis wrote: Matthew Seaman wrote: On 22/03/2010 07:11:23, Aaron Lewis wrote: Hello BSD hackers, I have a strange problems with user's home directory , if i log in through ssh , everything's fine. But on

Re: 12 TB Disk In freebsd AMD 64 ?

2010-03-22 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/03/2010 14:03:53, Ian Lord wrote: I kinda understand freebsd is not well suited for that. I can read between the lines that we shouldn't go over 2TB. Is this information still exact or outdated ? Outdated. The 2TB limit comes from the

Unable to boot FreeBSD 8.0

2010-03-22 Thread Christopher Key
Hello, I'm using FreeBSD 7.2, and am attempting to update to 8.0. I've been through the standard, make buildworld make buildkernel make installkernel but cannot get the newly installed kernel to boot. The system freezes as soon as the loader tries to boot the kernel. It doesn't even get as

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-22 Thread Steve Polyack
On 03/22/10 10:52, Steve Polyack wrote: On 3/19/2010 11:27 PM, Rick Macklem wrote: On Fri, 19 Mar 2010, Steve Polyack wrote: [good stuff snipped] This makes sense. According to wireshark, the server is indeed transmitting Status: NFS3ERR_IO (5). Perhaps this should be STALE instead; it

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-22 Thread John Baldwin
On Monday 22 March 2010 11:47:43 am Steve Polyack wrote: On 03/22/10 10:52, Steve Polyack wrote: On 3/19/2010 11:27 PM, Rick Macklem wrote: On Fri, 19 Mar 2010, Steve Polyack wrote: [good stuff snipped] This makes sense. According to wireshark, the server is indeed transmitting

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-22 Thread Steve Polyack
On 03/22/10 12:00, John Baldwin wrote: On Monday 22 March 2010 11:47:43 am Steve Polyack wrote: On 03/22/10 10:52, Steve Polyack wrote: On 3/19/2010 11:27 PM, Rick Macklem wrote: On Fri, 19 Mar 2010, Steve Polyack wrote: [good stuff snipped] This makes sense.

Re: ezjail

2010-03-22 Thread Ruben de Groot
On Mon, Mar 22, 2010 at 08:40:58PM +0800, Aiza typed: This will enable him to ping another host from within the jail. I won't do anything for ftp. OP: what exact error do you get? And does ftp work *within* the jail (ftp localhost)? with sysctl security.jail.allow_raw_sockets=1 done

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-22 Thread John Baldwin
On Monday 22 March 2010 12:44:04 pm Steve Polyack wrote: On 03/22/10 12:00, John Baldwin wrote: On Monday 22 March 2010 11:47:43 am Steve Polyack wrote: On 03/22/10 10:52, Steve Polyack wrote: On 3/19/2010 11:27 PM, Rick Macklem wrote: On Fri, 19 Mar 2010, Steve

RE: 12 TB Disk In freebsd AMD 64 ?

2010-03-22 Thread Dan Naumov
MBR can only work with 2TB volumes, however, we are no longer limited to MBR. With GPT, we can have really really big volumes. That being said, I really don't think you should be using a single 12TB volume with UFS, even if you have underlying redundancy provided by a hardware raid device. Have

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Ruben de Groot
On Mon, Mar 22, 2010 at 06:30:21AM -0700, Randal L. Schwartz typed: Ruben == Ruben de Groot mai...@bzerk.org writes: Ruben And sendmail does not? You obviously are biased. I had at least a decade of experience with sendmail before discovering postfix. And now I use postfix, and you can't

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Randal L. Schwartz
Ruben == Ruben de Groot mai...@bzerk.org writes: Ruben I'm not making you use anything. Just commenting on your assessment that Ruben sendmail cannot do something, while I know it can. I never said it couldn't. So let's not be making something up here. -- Randal L. Schwartz - Stonehenge

Setting ucastrate in /etc/rc.conf

2010-03-22 Thread Christopher Theodore; RHODES
Hello; $ uname -rs FreeBSD 8.0-RELEASE-p2 I have setup ral0/wlan0 in /etc/rc.conf thusly: wlans_ral0=wlan0 create_args_wlan0=wlanmode sta mcastrate 54 ssid linksys channel 6 ifconfig_wlan0=inet 10.0.0.10 netmask 255.255.255.0 This provides a working interface but ucastrate is not

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Alejandro Imass
On Mon, Mar 22, 2010 at 3:33 PM, Ruben de Groot mai...@bzerk.org wrote: On Mon, Mar 22, 2010 at 06:30:21AM -0700, Randal L. Schwartz typed: Ruben == Ruben de Groot mai...@bzerk.org writes: Ruben And sendmail does not? You obviously are biased. I had at least a decade of experience with

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Alberto Mijares
Anyway, my point is that an Operating System should not impose a specific MTA by default, and let the installer chose their favorite MTA. From what I understand you can't even remove Sendmail from standard FBSD and must only be de-activated. I personally think that sucks (if it's true

diskless dhclient

2010-03-22 Thread Mats Lindberg
Hi all, I've tried to get my freebsd diskless system to get hold of some of the dhcp-options. E.g. my dhcp-server will always be the nfs-server as well. So I was hoping to create the /etc/fstab with the the dhcpd's ip as the nfs server. Thus not needing to have the hard coded

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Jerry
On Mon, 22 Mar 2010 16:00:17 -0430 Alberto Mijares amijar...@gmail.com articulated: As I see it, FreeBSD is, in fact, a DNS server or a mail server by default, between others and if I want. And since Postfix has some limitations vs. Sendmail, I'm glad that is sendmail the choice of FreeBSD.

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Alejandro Imass
On Mon, Mar 22, 2010 at 5:22 PM, Jerry freebsd.u...@seibercom.net wrote: On Mon, 22 Mar 2010 16:00:17 -0430 Alberto Mijares amijar...@gmail.com articulated: As I see it, FreeBSD is, in fact, a DNS server or a mail server by default, between others and if I want. And since Postfix has some

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-22 Thread Steve Polyack
On 03/22/10 13:39, John Baldwin wrote: On Monday 22 March 2010 12:44:04 pm Steve Polyack wrote: On 03/22/10 12:00, John Baldwin wrote: On Monday 22 March 2010 11:47:43 am Steve Polyack wrote: On 03/22/10 10:52, Steve Polyack wrote: On 3/19/2010 11:27 PM, Rick

Patch Submission to a Port

2010-03-22 Thread Alejandro Imass
Hi, I have finally tested and verified a patch for /usr/ports/graphics/sane-backends To whon or where should I submit it? Thanks in advance, Alejandro Imass ___ freebsd-questions@freebsd.org mailing list

Re: Patch Submission to a Port

2010-03-22 Thread Alberto Mijares
I have finally tested and verified a patch for /usr/ports/graphics/sane-backends To whon or where should I submit it? There's no specific maintainer for this port. Write to po...@freebsd.org and submit the patch. Regards Alberto Mijares ___

Re: Patch Submission to a Port

2010-03-22 Thread Charlie Kester
On Mon 22 Mar 2010 at 14:50:03 PDT Alejandro Imass wrote: Hi, I have finally tested and verified a patch for /usr/ports/graphics/sane-backends To whon or where should I submit it? http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-submitting.html

Re: diskless dhclient

2010-03-22 Thread Erik Norgaard
On 22/03/10 21:35, Mats Lindberg wrote: I've tried to get my freebsd diskless system to get hold of some of the dhcp-options. E.g. my dhcp-server will always be the nfs-server as well. So I was hoping to create the /etc/fstab with the the dhcpd's ip as the nfs server. Thus not needing to have

Re: Patch Submission to a Port

2010-03-22 Thread Charlie Kester
On Mon 22 Mar 2010 at 15:08:43 PDT Charlie Kester wrote: On Mon 22 Mar 2010 at 14:50:03 PDT Alejandro Imass wrote: Hi, I have finally tested and verified a patch for /usr/ports/graphics/sane-backends To whon or where should I submit it?

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Dan Busarow
On Mar 22, 2010, at 3:22 PM, Jerry wrote: On Mon, 22 Mar 2010 16:00:17 -0430 Alberto Mijares amijar...@gmail.com articulated: As I see it, FreeBSD is, in fact, a DNS server or a mail server by default, between others and if I want. And since Postfix has some limitations vs. Sendmail, I'm

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Jerry
On Mon, 22 Mar 2010 15:51:01 -0600 Dan Busarow d...@buildingonline.com articulated: On Mar 22, 2010, at 3:22 PM, Jerry wrote: On Mon, 22 Mar 2010 16:00:17 -0430 Alberto Mijares amijar...@gmail.com articulated: As I see it, FreeBSD is, in fact, a DNS server or a mail server by

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Dan Busarow
On Mar 22, 2010, at 4:39 PM, Jerry wrote: On Mon, 22 Mar 2010 15:51:01 -0600 Dan Busarow d...@buildingonline.com articulated: On Mar 22, 2010, at 3:22 PM, Jerry wrote: On Mon, 22 Mar 2010 16:00:17 -0430 Alberto Mijares amijar...@gmail.com articulated: As I see it, FreeBSD is, in fact, a

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Gary Gatten
Holy $hit! I think someone just admitted they weren't all knowing! This is yet another sign of the pending apocolypse! - Original Message - From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent:

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-22 Thread Rick Macklem
On Mon, 22 Mar 2010, John Baldwin wrote: It looks like it also returns ESTALE when the inode is invalid ( ROOTINO || max inodes?) - would an unlinked file in FFS referenced at a later time report an invalid inode? I'm no ufs guy, but the only way I can think of is if the file system on

Re: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Aaron Lewis
Looks like i found the problem , i thought i've made a mistake. I shouldn't use `pw user add aaron' right ? That won't create user home directory , when i found i've got no home directory. So at that time , i created it and change the owner to my user. $ sudo tail -f /var/log/auth.log login:

Re: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Adam Vande More
On Mon, Mar 22, 2010 at 6:47 PM, Aaron Lewis aaron.lewis1...@gmail.comwrote: Looks like i found the problem , i thought i've made a mistake. I shouldn't use `pw user add aaron' right ? That won't create user home directory , when i found i've got no home directory. So at that time , i

Re: Flash sometimes freezes firefox, also many npviewer.bin processes left running around

2010-03-22 Thread Steve Franks
/usr/ports/www/xpi-noscript is another option, not without caveats... Steve On Thu, Mar 18, 2010 at 6:47 PM, Yuri y...@rawbw.com wrote: Sometimes after some flash object is displayed firefox gets frozen for many few seconds,maybe ~20sec. Do you see the same? Is there anyfix for this? In

Re: Spamassasin, sendmail, Postfix

2010-03-22 Thread Alberto Mijares
On Mon, Mar 22, 2010 at 4:52 PM, Jerry freebsd.u...@seibercom.net wrote: On Mon, 22 Mar 2010 16:00:17 -0430 Alberto Mijares amijar...@gmail.com articulated: As I see it, FreeBSD is, in fact, a DNS server or a mail server by default, between others and if I want. And since Postfix has some

Re: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Aaron Lewis
Oh , thanks Adam , i shouldn't be so lazy , I'll check that page. Adam Vande More wrote: On Mon, Mar 22, 2010 at 6:47 PM, Aaron Lewis aaron.lewis1...@gmail.com mailto:aaron.lewis1...@gmail.com wrote: Looks like i found the problem , i thought i've made a mistake. I shouldn't use `pw

FreeBSD 8, serial console problem

2010-03-22 Thread Brian Wolman
FreeBSD 8 uses the uart system to handle serial consoles, I changed mine over and I've been running into problems since. I have serial console access during the loader and boot process, but it freezes right after boot and posting of the date: Mon Mar 22 22:18:08 EDT 2010 Well, the kernel still