new sys/nlm since 6.4
Hi List, some of the highlights of 6.4 (and I cite the announcement): New and much-improved NFS Lock Manager (NLM) client. Sounds great. My old nfs-box serving pxe clients is still at 6.3. Clients run 7.x and 8. On the clients run postfix, but having installed 8.0 on the nfs-server, postfix complains: Apr 18 19:49:45 mostrd postfix/cleanup[805]: fatal: select lock: Permission denied Further testing revealed: as of 6.4 something has changed. Trying to stuff in the old nfs, rpc.statd, etc etc into the 8.0 src proves to be not that simple (hah). Now, what has been changed precisely ? All other things on the client run okay (yeah, well dovecot is in companion of postfix iirc. tested a few months ago). Am I missing some magic knob ? Or are both postfix and dovecot handles to their locking plain wrong (now) and do I need to patch them. Looking for some clue where to go now ;-) Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
syslogd looks up dns only once
Hi, migrating a syslogd server to another box this morning and updated the dns zonefile, all syslog clients continue to use the old box. Is this 'I only resolve at boot' syslogd behaviour intentional ? Now I manually need to HUP them all... quite silly. Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What VM does FreeBSD run well under
Hi, Which of these does FreebSD run well under? It runs okay under virtualbox. Cheers, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
silly Q: any script running before make install /w ports ?
Hi, I have a standard umask of 0077 on a box. I grabbed irssi from ports, but he doesn't connect to any irc server... running it as root will. Now I suspect that umask setting of mine. That leaves me with a silly question: is there any script running before I enter 'make install' ? I cannot find it in the dev. section of the handbook about creating ports. Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: silly Q: any script running before make install /w ports ?
Hi, IRC-ing as root is a bad idea. Yeah, I know. But I really had to doublecheck. As a normal user, does irssi start? It does start, but it's unable to connect. If not, what are the errors? 14:59 -!- Irssi: Looking up irc.xs4all.nl 14:59 -!- Irssi: Connecting to irc.xs4all.nl [194.109.129.219] port 6667 14:59 -!- Irssi: Unable to connect server irc.xs4all.nl port 6667 [Can't assign requested address: 213.161.196.11] part of the ktrace 79841 irssiRET gettimeofday 0 79841 irssiCALL gettimeofday(0xbfbfe028,0) 79841 irssiRET gettimeofday 0 79841 irssiCALL gettimeofday(0xbfbfdfa8,0) 79841 irssiRET gettimeofday 0 79841 irssiCALL gettimeofday(0xbfbfdf48,0) 79841 irssiRET gettimeofday 0 79841 irssiCALL gettimeofday(0xbfbfe088,0) 79841 irssiRET gettimeofday 0 79841 irssiCALL socket(PF_INET,SOCK_STREAM,IPPROTO_IP) 79841 irssiRET socket 4 79841 irssiCALL fcntl(0x4,F_SETFL,O_NONBLOCK) 79841 irssiRET fcntl 0 79841 irssiCALL setsockopt(0x4,SOL_SOCKET,SO_REUSEADDR,0xbfbfe558,0x4) 79841 irssiRET setsockopt 0 79841 irssiCALL setsockopt(0x4,SOL_SOCKET,SO_KEEPALIVE,0xbfbfe558,0x4) 79841 irssiRET setsockopt 0 79841 irssiCALL bind(0x4,0xbfbfe53c,0x10) 79841 irssiSTRU struct sockaddr { AF_INET, 213.161.196.11:0 } 79841 irssiRET bind -1 errno 49 Can't assign requested address 79841 irssiCALL close(0x4) 79841 irssiRET close 0 I'm not clear what you're asking here. setting umask 022 just before make install Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD in VMWare box
Hi, If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for 'install boot manager' is this: Standard MBR ? Yes, or choos not to install a boot manager. Both worked with freebsd 6.x and ESX 2.5x Should one configure Ethernet then. If yes, what static IP parameters must one enter?? The next that's available in your lan. Hth. Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
upcoming version 7.0 live disc
Hi list, a friend visited my place yesterday bringing his HP netserver LH3 with him, 3 9GB's scsi discs in it. Dual pentium II 450. 512 RAM. No hardware raid though. Given the fact 7.0 is near including ZFS. Given the fact, as I understand, freebsd can boot of ZFS I wanna make raid1 on/with ZFS. Now my question: does the version 7 livedisc understands ZFS ootb ? So I can create pools etc, format, label, etc etc. All the things that now are possible with UFS2. And even better: is the installer able to deal with ZFS ? I plan to make this box doing sql and it would be great if, in case of disaster, I can perform a bare metal recovery. Any insights are welcome. Cheers, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with a new port?
Hi, I have a new port which I feel should be included in the FreeBSD accessibility category, if only because I noticed its absence in searching for it. Have you read http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html yet ? I don't use ports myself and never ported anything but I've read that guide a long time ago and to me it seemed quite easy to do. Happy porting. Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Copying binaries to new server
Hi, Is there any reason I shouldn't just copy all of /usr and /var from the old server, or do I really need to compile everything anew and sort out any simlinks to other file systems? why not just a dump/restore of the file systems in question? He could also fire up nfsd, mount /usr/src and /usr/obj from the y'old to the new and make a installworld/kernel; keep an eye on cpu-optimization options though 8-/ Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which FreeBSD version, release shoult i use?
Hi, I tried to find s STABLE release but couldnt find one A stable ? Read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html . I would opt for 6. Hth. Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Small Redundant web/mail setup
Hi, 1- Is this a viable solution, I mean by that, Is it Like this big ISP are set up ? Not quite likely, but it's possible ofcourse. 2- Is there a better way to replicate data than RSYNC (without going to san of expensive hardware) ? If not, is there a hotsync feature (I mean by that as soon as server A modify something, server B knows and replicate)? IMO there's no better solution than rsync, besides somewhat more hardware / not that I'm aware of no. You could also build one fileserver able to serve nfs, store mail in maildir format and put 2 boxes online running mail/http daemons. Return one server get loadbalancer instead and put that online. That would be more my idea of having high-availability. Ofcourse you could also put a layer 3 switch in front of it instead of a loadballancer. Make sure the hardware of the fileserver is at least able to do raid 1 and has a dual powersupply. That will help the keep the thing up. Hth, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP new vulnarabilities
Hi Khaled, Affected package: php5-5.1.6 Type of problem: php -- _ecalloc Integer Overflow Vulnerability. http://www.FreeBSD.org/ports/portaudit/e329550b-54f7-11db-a5ae-00508d6a62df.html how can i fix this Compile php from source after applying http://www.hardened-php.net/files/CVE-2006-4812.patch ? I dodn't deploy 5 yet, but maybe an other fix is underway ? Hth. Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1 and NFS
Hi, That's interesting. Are you getting a could not lock the passwd file: EOPNOTSUPP failure with rpc.lockd not enabled? Negative, I rebuild the kernel on one box today, commented out rpc.lockd=YES in /etc/rc.conf and rebooted into single user mode and remounted / rw. I then ran adduser: [some output deleted] Home : /home/koekoek Shell : /bin/sh Locked : no OK? (yes/no): pw: group update: Operation not supported pwd_mkdb: flock: Operation not supported pw: user 'koekoek' disappeared during update adduser: ERROR: There was an error adding user (koekoek). and uploaded the kdump to http://members.iphouse.com/robertj/ktrace.adduser.no.rpc.lockd.txt, same story with vipw: vipw: could not lock the passwd file: : Operation not supported (http://members.iphouse.com/robertj/ktrace.vipw.no.rpc.lockd.txt). After that, I rebooted once again into the normal multi-user modus with rpc.lockd running and took ktraces for vipw and adduser (http://members.iphouse.com/robertj/ktrace.vipw.rpc.lockd.txt and http://members.iphouse.com/robertj/ktrace.adduser.rpc.lockd.txt respectively) for the record. The pxe box runs 5.4-RELEASE-p11, being served by a 4.11-RELEASE-p19 box. Please feel free to contact me to let me do something else, test or whatswhoever. Regards, Robert PS: koekoek is a bird, dutch for Cuculus Canorus :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1 and NFS
Hi, Hmmm, is there a way to run pxe-boxes without rpc.lockd and then still able to run adduser and so on ? Safely? No. But then, flock() doesn't work via NFS even if rpc.lockd is running, so you aren't any worse off. flock() .. hmm yeah, I discoverd trouble with sendmail as well, it rings my bell. At least I know where to look for digging in the code finding clues about why. You say flock() doesn't work with rpc.lockd running. I observed running a pxe client running fbsd 5.[45] being served by nfs-box running 5 (and 4 nowadays because of asr0 trouble due to geom) having disabled rpc.lockd the box doens't let me run adduser, but with rpc.lockd enabled it's fine with 'em. Is that strange or am I missing (some) insight about this matter ? However, I believe that some systems have actually re-implemented the BSD flock() call in terms of calling the POSIX lockf(), which would attempt to use rpc.lockd and thus have some chance of working over NFS. I believe this was done in Linux by Andy Walker and for MacOS X by Justin Walker (odd naming coincidence, there), IIRC; perhaps some of these changes have made their way back to the other BSDs. Interesting observation. Thx for your reply ! Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1 and NFS
Hi, I observed running a pxe client running fbsd 5.[45] being served by nfs-box running 5 (and 4 nowadays because of asr0 trouble due to geom) having disabled rpc.lockd the box doens't let me run adduser, but with rpc.lockd enabled it's fine with 'em. Is that strange or am I missing (some) insight about this matter? That's interesting. Are you getting a could not lock the passwd file: EOPNOTSUPP failure with rpc.lockd not enabled? I never witnissed any message. After I press enter (adduser) nothing appears on the screen at all. But it has been a long time ago and I'm currently unable to experiment. I hope tomorrow I will. I assume it's a good idea to run a debug kernel ? I also recall there were some occaisions I once run adduser that went ok, but the second (and more) times in a row it just locked. These cases were never reproducable, however I had the idea something called some rpc.lockd procedure before. In all these cases, the box ran the standard sendmail enabled. Maybe in these occasions the box did a 'lock' before, and all subsequent flock() calls stall. Something like that. I'm not sure but at that time I presume I ran a 6.0-rel pxe client served by a 5.3-rel nfs server; I really forget though and didn't take any notes either. Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1 and NFS
Hi, rpc.lockd remains unreliable; avoid using it if practical. Hmmm, is there a way to run pxe-boxes without rpc.lockd and then still able to run adduser and so on ? Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1 and NFS
Hi Kris, rpc.lockd remains unreliable; avoid using it if practical. Hmmm, is there a way to run pxe-boxes without rpc.lockd and then still able to run adduser and so on ? Use the nolockd option to mount_nfs, nolockd, aha. Okay, I'll look at that, thx. Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]