Need Vinum help
I think I have the process of creating a Vinum volume but I'm missing something. My config file (config1) contains: drive a device /dev/ad0 volume root plex org concat sd length 36g drive a When I run /vinum create config1/ I get the error Can't initialize device a: Operation not supported by device I've huffed, and I've puffed, and I've blown over many a page of docs and can't seem to figure out what gives. The FStype in /etc/fstab for / is ufs--as I understand it, Vinum needs an FStype of vinum. I haven't been able to find any docs describing how to make this occur. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
THANKS!!! Re: USB mouse/keyboard causes kernel panic during bootsequence
As of Saturday evening, the kernel no longer panics and boots up fine with USB devices plugged in. THANK YOU! THANK YOU! THANK YOU! to the person who made the last change to USB code! later Michael Mercer On Wed, 2003-07-09 at 21:48, Michael E. Mercer wrote: There is one last thing you can do: put options DDB in your kernel config file. Recompile. Reproduce. ddb trace ... please capture all output ddb continue ... ddb continue Uptime - 0s Rebooting... -- Josh Next time it involves this much typing... don't tell me... :P uhci_idone(0,c2e17180,c2e18000,c2e17180,c0494d6c) at +0xc uhci_waitintr(c2e18000,c2e17180,c2e17180,8,c0494d7c) at +0xb6 uhci_device_ctrl_start(c2e17180,0,c0494da4,c026f219,c2e17180) at +0x2c uhci_device_ctrl_transfer(c2e,17180,0,c2e17180,c0494e0c,c026fc12) at +0x1f usbd_transfer(c2e17180,c0494dd4,c026fc1b,c2e17180,c2e17130) at +0xd1 usbd_sync_transfer(c2e17180,c2e17130,c2e17100,c2e17130,c2e0daf0) at +0x10 usbd_request_flags(c2e17100,c0494e0c,c2e17130,0,0) at +0x5f usbd_do_request(c2e17100,c0494e0c,c2e17130,c2e17100,0) at +0x18 usbd_get_desc(c2e17100,1,0,8,c2e17130) at +0x67 usbd_new_device(c2e17300,c2e18000,1,200,1,c2e17260) at +0x148 uhub_explore(c2e17480,c2e17500,c2e17c00,0,c0494ea0) at +0x2be usb_attach(c2e17500,c0494ebc,c0186f0f,c2e17500,c2e18000) at +0x112 DEVICE_ATTACH(c2e17500,c2e18000,c2e17c00,0,1) at +0x2e device_probe_and_attach(c2e17500) at +0x63 uhci_pci_attach(c2e17c00,c0494f08,c0186f0f,c2e17c00,c2e17c00) at +0x2c6 DEVICE_ATTACH(c2e17c00,c2e17c00,c2e16280,0,0) at +0x2e device_probe_and_attach(c2e17c00) at +0x63 bus_generic_attach(c2e16100,c0494f40,c0186f0f,c2e16100,c2e16100) at +0x16 DEVICE_ATTACH(c2e16100,c2e16100,c2e16400,0,1) at +0x2e device_probe_and_attach(c2e16100) at +0x63 bus_generic_attach(c2e16280,c0494f78,c0186f0f,c2e16280,c2e16280) at +0x16 DEVICE_ATTACH(c2e16280,c2e16280,c1454880,0,1) at +0x2e device_probe_and_attach(c2e16280) at +0x63 bus_generic_attach(c2e16400,c2e16400,c0494fa4,c012dd6e,c2e16400) at +0x16 nexus_attach(c2e16400,c0494fc0,c0186f0f,c2e16400,c2e16400) at +0xd DEVICE_ATTACH(c2e16400,c2e16400,c0386ad0,49c000,1) at +0x2e device_probe_and_attach(c2e16400) at +0x63 root_bus_configure(c1454880,c035e6ec,0) at +0x16 configure(0,491c00,49c00,0,c012d660) at +0x2a mi_startup(0,0,0,0,0) at +0x69 begin() at +0x47 That's it... hope I read my writing correctly :) Michael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Vinum help
On Monday, 25 August 2003 at 18:19:25 -0700, Thomas Smith wrote: I think I have the process of creating a Vinum volume but I'm missing something. My config file (config1) contains: drive a device /dev/ad0 volume root plex org concat sd length 36g drive a When I run /vinum create config1/ I get the error Can't initialize device a: Operation not supported by device I've huffed, and I've puffed, and I've blown over many a page of docs and can't seem to figure out what gives. Try this part of the man page: DRIVE LAYOUT CONSIDERATIONS vinum drives are currently BSD disk partitions. They must be of type vinum in order to avoid overwriting data used for other purposes. Use disklabel -e to edit a partition type definition. The following display shows a typical partition layout as shown by disklabel(8): 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a:81920 3440644.2BSD0 0 0 # (Cyl. 240*- 297*) b: 26214481920 swap# (Cyl. 57*- 240*) c: 42267250unused0 0 # (Cyl.0 - 2955*) e:8192004.2BSD0 0 0 # (Cyl.0 - 57*) f: 190 4259844.2BSD0 0 0 # (Cyl. 297*- 1626*) g: 1900741 2325984 vinum0 0 0 # (Cyl. 1626*- 2955*) In this example, partition ``g'' may be used as a vinum partition. Par- titions ``a'', ``e'' and ``f'' may be used as UFS file systems or ccd partitions. Partition ``b'' is a swap partition, and partition ``c'' represents the whole disk and should not be used for any other purpose. The vinum utility uses the first 265 sectors on each partition for con- figuration information, so the maximum size of a subdisk is 265 sectors smaller than the drive. The FStype in /etc/fstab for / is ufs--as I understand it, Vinum needs an FStype of vinum. No. It requires a partition type 'vinum' Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers pgp0.pgp Description: PGP signature
Re: ports database problems
On Mon, 2003-08-25 at 21:23, Erick Smith wrote: I have a problem building ports on 2 of my machines. This problem is new, and occured on each machine (at different times) following a problem with the ports database. Maybe I screwed up the database? Anyway, here's what I get: === Installing for gettext-0.12.1 === Generating temporary packing list === Checking if devel/gettext already installed *** Error code 1 This happens on any port build on both machines. On one machine I've been able to force installs using: portinstall -f insert port path here This seems to only work on only one machine though. I'd really like to be able to cure this problem on both machines. Any clues? Technically, this shouldn't happen on FreeBSD 5.x. However, I have thought of a few reasons why. First, with which user do you build ports? Can you send me the output of ls -ld /var/db/pkg (or whatever your PKGDB is? Can you send me the output of: pkg_info -q -O devel/gettext Thanks. Joe (Running FreeBSD-5.0 CURRENT on both machines) Thanks, Erick Smith ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
IPFW ICMP
Howdy folks, I've been getting bombarded with ICMP (Cyberkit 2.2 attack) stuff and created a rule in ipfw to firewall it. The rule is working, I am getting measured stats but the problem is snort is seeing them and reporting them. I thought that by firewalling ICMP snort would stop noticing them. If I'm wrong in my asumption I would certainly like to hear it. Here is the fierwall rule I applied. deny log icmp from any to me via ed0 There are some TCP and IP rules above that but I don't see that causing anything to skip over the ICMP rule. And snort is seeing them as I did a quick search through ACID. Thanks in advance. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW ICMP
Hello, Someone correct me if I am wrong, but, snort as with other traffic shapers and dumpers take actual traffic from the network card prior to the firewall/kernel getting it. The rule is in place and as long as you see numbers in the first two columns in the following command: ipfw -a l [INSERT_YOUR_FW_RULE_FOR_ICMP_BLOCKING] # 0 2300 deny icmp from any to me via ed0 then your rule should be fine. If it's zero then the rules above it are stopping any activity that this rule might have on incoming packets. R. On Mon, 25 Aug 2003, K Anderson wrote: Howdy folks, I've been getting bombarded with ICMP (Cyberkit 2.2 attack) stuff and created a rule in ipfw to firewall it. The rule is working, I am getting measured stats but the problem is snort is seeing them and reporting them. I thought that by firewalling ICMP snort would stop noticing them. If I'm wrong in my asumption I would certainly like to hear it. Here is the fierwall rule I applied. deny log icmp from any to me via ed0 There are some TCP and IP rules above that but I don't see that causing anything to skip over the ICMP rule. And snort is seeing them as I did a quick search through ACID. Thanks in advance. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW ICMP
On Mon, 25 Aug 2003, Technical Director wrote: Hello, ipfw -a l [INSERT_YOUR_FW_RULE_FOR_ICMP_BLOCKING] INSERT_YOUR_FW_RULE_FOR_ICMP_BLOCK is the rule ID Number. below is it as well... :) # 0 2300 deny icmp from any to me via ed0 Just to clarify. R. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel compile problem
I just cvsuped my router to 4stable, from 4.6.2. I tried recompile the previous kernel. That did not work. It configed properly, but a make depend did not succeed. I get the same errors trying to compile the generic kernel. The last few lines I get when trying to do a make depend are... make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs mkdep -a -f .newdep -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 make -V SFILES -V SYSTEM_SFILES | xargs env MKDEP_CPP=cc -E mkdep -a -f .newdep -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 rm -f .depend mv -f .newdep .depend cd ../../modules ; env MAKEOBJDIRPREFIX=/usr/src/sys/compile/SV5/modules COPTS=-include /usr/src/sys/compile/SV5/opt_global.h MACHINE=i386 make obj ; env MAKEOBJDIRPREFIX=/usr/src/sys/compile/SV5/modules COPTS=-include /usr/src/sys/compile/SV5/opt_global.h MACHINE=i386 make depend=== accf_data /usr/src/sys/modules/accf_data/../../conf/kmod.mk, line 63: Could not find bsd.init.mk/usr/src/sys/modules/accf_data/../../conf/kmod.mk, line 190: Could not find bsd.links.mk make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/compile/SV5. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW ICMP
Technical Director wrote: On Mon, 25 Aug 2003, Technical Director wrote: Hello, ipfw -a l [INSERT_YOUR_FW_RULE_FOR_ICMP_BLOCKING] INSERT_YOUR_FW_RULE_FOR_ICMP_BLOCK is the rule ID Number. below is it as well... :) # 0 2300 deny icmp from any to me via ed0 Just to clarify. R. Thanks for the response. Yep, that's the rule and it does have counters. In your previous e-mail you were asking about the order of packet processing and that's what I'm trying to figure out as well. I figure that the firewall should block the traffic first so as to prevent ruled traffic from coming in and then, in my thinking, snort shouldn't see it. Hopefully somebody might have an explanation with the why's and how comes one way or the other. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Strange output in pkg_info and missing ports in pkg_version
Hi everyone, i have FreeBSD 4.8 on my machine and everything seems very well with my packages database, but yesterday i realized that some XFree packages where missing in pkg_version, and they apperd in pkg_info but without the new line character, i will show you: [EMAIL PROTECTED]:~$ pkg_info ... ... MuSE-0.8.1_1Multiple Streaming Engine ORBit-0.5.17High-performance CORBA ORB with support for the C language ORBit2-2.6.3High-performance CORBA ORB with support for the C language OpenSSH-askpass-1.2.2.2001.02.24 Graphical password applet for entering SSH pass phrase XFree86-4.3.0,1 X11/XFree86 core distribution (complete, using mini/meta-po XFree86-FontServer-4.3.0_1 XFree86-4 font serverXFree86-Server-4.3.0_8 XFree86-4 X server and related programsXFree86-clients-4.3.0_2 XFree86-4 client programs and related filesXFree86-documents-4.3.0 XFree86-4 documentationXFree86-font100d pi-4.3.0 XFree86-4 bitmap 100 dpi fontsXFree86-font75dpi-4.3.0 XFree86-4 bitmap 75 dpi fontsXFree86-fontCyrillic-4.3.0 XFree86-4 Cyrillic fontsXFree86-fontDefau ltBitmaps-4.3.0 XFree86-4 default bitmap fontsXFree86-fontEncodings-4.3.0 XFree8 6-4 font encoding filesXFree86-fontScalable-4.3.0 XFree86-4 scalable fontsXFree8 6-libraries-4.3.0_5 XFree86-4 libraries and headersXaw3d-1.5 A 3-D Ath ena Widget set that looks like Motif Xft-2.1.2 A client-sided font API for X applications aalib-1.4.r5_1 An ascii art library antiword-0.33 An application to display Microsoft(tm) Word files apache-1.3.28 The extremely popular Apache http server. Very fast, very ... ... [EMAIL PROTECTED]:~$ pkg_version -v ... ... ORBit-0.5.17= up-to-date with port ORBit2-2.6.3= up-to-date with port OpenSSH-askpass-1.2.2.2001.02.24= up-to-date with port XFree86-4.3.0,1 = up-to-date with port XFree86-FontServer-4.3.0_1 = up-to-date with port Xft-2.1.2 = up-to-date with port aalib-1.4.r5_1 = up-to-date with port antiword-0.33 = up-to-date with port apache-1.3.28 = up-to-date with port ... ... As you can see, the pkg_info seems to detect all of my XFree packages, but without the new line character some of them, and pkg_version miss some XFree packages. I usualy use 'cd /usr/ports; make update; pkg_version -v -L =; portupdate -a' to keep up my ports tree update, so i don't see the problem before, so i don't know who could broke the databse. So i try booting in single mode (i have wdm so i don't want to uninstall XFree86 with XFree running :-P) and do a 'pkg_deinstall -vf XFree*' and then 'cd /usr/ports/packages/All' and 'pkg_add -v XFree*' (I create my own packages of XFree, because i have some C flags for my pentium4 in the make.conf, but i dont think that it could be the problem), but this don't fix anything, the same results :-(. Actually i can do everything with pacakges, no operation is broken. I will attach all the output of pkg_info and pkg_version. Thanks a lot guys ! GTKsubtitler-0.2.0.p1 A small GNOME program for editing and converting subtitles Hermes-1.3.3Fast pixel formats conversion library ImageMagick-5.5.6_3 Image processing tools (interactive optional--misc/display Mesa-3.4.2_2A graphics library similar to SGI's OpenGL MuSE-0.8.1_1Multiple Streaming Engine ORBit-0.5.17High-performance CORBA ORB with support for the C language ORBit2-2.6.3High-performance CORBA ORB with support for the C language OpenSSH-askpass-1.2.2.2001.02.24 Graphical password applet for entering SSH passphrase XFree86-4.3.0,1 X11/XFree86 core distribution (complete, using mini/meta-po XFree86-FontServer-4.3.0_1 XFree86-4 font serverXFree86-Server-4.3.0_8 XFree86-4 X server and related programsXFree86-clients-4.3.0_2 XFree86-4 client programs and related filesXFree86-documents-4.3.0 XFree86-4 documentationXFree86-font100dpi-4.3.0 XFree86-4 bitmap 100 dpi fontsXFree86-font75dpi-4.3.0 XFree86-4 bitmap 75 dpi fontsXFree86-fontCyrillic-4.3.0 XFree86-4 Cyrillic fontsXFree86-fontDefaultBitmaps-4.3.0 XFree86-4 default bitmap fontsXFree86-fontEncodings-4.3.0 XFree86-4 font encoding filesXFree86-fontScalable-4.3.0 XFree86-4 scalable fontsXFree86-libraries-4.3.0_5 XFree86-4 libraries and headersXaw3d-1.5 A 3-D Athena Widget set that looks like Motif Xft-2.1.2 A client-sided font API for X applications aalib-1.4.r5_1 An ascii art library antiword-0.33 An application to display Microsoft(tm) Word files apache-1.3.28 The extremely popular Apache http server. Very fast, very arts-1.1.3,1Audio system for the KDE integrated X11 desktop aspell-0.50.3_1 Spelling checker with better suggestion logic than ispell atk-1.2.4 A GNOME accessibility toolkit (ATK) aumix-gtk-2.8 Audio mixer for X11, terminal, or command line
BasiliskII: How to rip a data cd?
Hello! I am trying to use BasiliskII, and I am having some problems in using my cd-drive. I get an error WARNING: Cannot open /dev/cd0c (Permission denied). I have a thought that there is a way to copy an image file from the CD and put it instead of the CD. So, how is it possible to create an image file from a MacOS 7.x CD on FreeBSD 4.8? Cheers, Constantine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
About sony i.LINK
When I boot from my CD-ROM FreeBSD 5.1 Relase tell me sig trap and reboot. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
watch(8) both sides?
Is there something like watch(8) that captures both sides of the terminal data flow? I'm trying to debug an xmodem (lsx via kermit) problem with another (embedded) system, and am looking for some clues as to why it's not working. Thx, -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying prices... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Signal 11's all over the place.
Signal 11's from different programs and near complete instability usually means a fan/heatsink issue, correct? FreeBSD 4.8-release Athlon 2400 XP+ 1 gigabyte of RAM Is anything else really necessary? Occasionally right after a reboot when I run top the thing crashes (the machine is remote) when it does get a little spat of stability for whatever reason it seems to allocate ram fine and run properly. Thanks to anyone who reads this. Nick. /* Try unix. Then ./revolution */ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mounting linux ext3 partition
Hello, I'm trying to mount a linux ext3 partition. I understand that it's possible to do it using the ext2 kernel driver so i've recompiled a kernel with that option in it. When i do: mount_ext2fs /dev/ad1 /mnt this is what i get. ad1: 38166MB WDC WD400AB-32CDB0 [77545/16/63] at ata0-slave UDMA100 ext2fs: ad1: wrong magic number 0 (expected 0xef53) WARNING: mount of ad1s1 denied due to unsupported optional features ext2fs: ad1: wrong magic number 0 (expected 0xef53) WARNING: mount of ad1s1 denied due to unsupported optional features ext2fs: ad1: wrong magic number 0 (expected 0xef53) ext2fs: ad1: wrong magic number 0 (expected 0xef53) ext2fs: ad1: wrong magic number 0 (expected 0xef53) ad1 is a slave drive. Here is the fdisk output. *** Working on device /dev/ad1 *** parameters extracted from in-core disklabel are: cylinders=77545 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=77545 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 131 (0x83),(Linux native) start 63, size 78156162 (38162 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED Any help appreciated. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: watch(8) both sides?
In the last episode (Aug 25), Steve Watt said: Is there something like watch(8) that captures both sides of the terminal data flow? I'm trying to debug an xmodem (lsx via kermit) problem with another (embedded) system, and am looking for some clues as to why it's not working. Try adding multiple -v's to your lsz commandline; I believe that will log a huge amount of debugging info to stderr or /tmp/szlog (depending on which part of the manpage you read). -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Vinum help
Okay, I'm getting closer. I've got the drives relabeled with a FSType of vinum. Now, I can't seem to get them both up. When I run vinum create -f /etc/vinum.conf it creates the a1 drive but shows a2 as State: referenced. The config file is as follows: drive a1 device /dev/ad0a drive a2 device /dev/ad1e volume root setupstate plex org concat sd length 36g drive a1 plex org concat sd length 36g drive a2 The previous error no longer occurs since I'm now setting the FStype to vinum via disklabel. Greg 'groggy' Lehey wrote: On Monday, 25 August 2003 at 18:19:25 -0700, Thomas Smith wrote: I think I have the process of creating a Vinum volume but I'm missing something. My config file (config1) contains: drive a device /dev/ad0 volume root plex org concat sd length 36g drive a When I run /vinum create config1/ I get the error Can't initialize device a: Operation not supported by device I've huffed, and I've puffed, and I've blown over many a page of docs and can't seem to figure out what gives. Try this part of the man page: DRIVE LAYOUT CONSIDERATIONS vinum drives are currently BSD disk partitions. They must be of type vinum in order to avoid overwriting data used for other purposes. Use disklabel -e to edit a partition type definition. The following display shows a typical partition layout as shown by disklabel(8): 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a:81920 3440644.2BSD0 0 0 # (Cyl. 240*- 297*) b: 26214481920 swap# (Cyl. 57*- 240*) c: 42267250unused0 0 # (Cyl.0 - 2955*) e:8192004.2BSD0 0 0 # (Cyl.0 - 57*) f: 190 4259844.2BSD0 0 0 # (Cyl. 297*- 1626*) g: 1900741 2325984 vinum0 0 0 # (Cyl. 1626*- 2955*) In this example, partition ``g'' may be used as a vinum partition. Par- titions ``a'', ``e'' and ``f'' may be used as UFS file systems or ccd partitions. Partition ``b'' is a swap partition, and partition ``c'' represents the whole disk and should not be used for any other purpose. The vinum utility uses the first 265 sectors on each partition for con- figuration information, so the maximum size of a subdisk is 265 sectors smaller than the drive. The FStype in /etc/fstab for / is ufs--as I understand it, Vinum needs an FStype of vinum. No. It requires a partition type 'vinum' Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Vinum help
On Mon, Aug 25, 2003 at 11:26:48PM -0700, Thomas Smith wrote: The config file is as follows: drive a1 device /dev/ad0a drive a2 device /dev/ad1e You are using slice 'a' on ad0 and slice 'e' on ad1. Typo? --Stijn -- MY HATE OF D02 KNOW NO LIMIT -- A Silent Wail, http://forum.rpg.net/showthread.php?s=threadid=31914 pgp0.pgp Description: PGP signature
A DLT unit on /dev/sa0 is really slow
List, I have an external DLT tape (a COMPAQ DLT VS 40/80 5133 according to camcontrol). It seems glacially slow to me. Last night I backed up many gigabytes of files from a remote machine over NFS. It took over five hours to do it. My overworked Sun E-450 will do this in a shade over three hours. What is more, the remote machine and my FreeBSD box have gigabit Ethernet adapters, and both machines, as well as the switch they are connected to all report 1000baseT full duplex. The sun, on the other hand, is running 100baseT. When I run a tar t to list the contents of the archive, the output is really slow. It's taken about half an hour so far to list the first 50 or so files (and none are exceptionally big, 10Mb on average). When I listen to the tape drive, I hear it start and stop frequently, with lots of pauses. I would have expected it to spin continuously. It is, after all, a *streaming* device. All of which makes me think that something is going unspecified somewhere. Something like a preferred block size? 'mt stat' produces the following: Mode Density Blocksize bpi Compression Current: 0x40 variable 0IDRC -available modes- 0:0x40 variable 0IDRC 1:0x40 variable 0IDRC 2:0x40 variable 0IDRC 3:0x40 variable 0IDRC - Current Driver State: at rest. - File Number: 0 Record Number: 0Residual Count 0 Can I manually configure a mode that would have better performance characteristics? Thanks for any tips you might have, David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange output in pkg_info and missing ports in pkg_version
On Mon, Aug 25, 2003 at 10:25:10PM -0500, Manuel Rabade - MiG wrote: Hi everyone, i have FreeBSD 4.8 on my machine and everything seems very well with my packages database, but yesterday i realized that some XFree packages where missing in pkg_version, and they apperd in pkg_info but without the new line character, i will show you: [EMAIL PROTECTED]:~$ pkg_info ... ... MuSE-0.8.1_1Multiple Streaming Engine ORBit-0.5.17High-performance CORBA ORB with support for the C language ORBit2-2.6.3High-performance CORBA ORB with support for the C language OpenSSH-askpass-1.2.2.2001.02.24 Graphical password applet for entering SSH pass phrase XFree86-4.3.0,1 X11/XFree86 core distribution (complete, using mini/meta-po XFree86-FontServer-4.3.0_1 XFree86-4 font serverXFree86-Server-4.3.0_8 XFree86-4 X server and related programsXFree86-clients-4.3.0_2 XFree86-4 client programs and related filesXFree86-documents-4.3.0 XFree86-4 documentationXFree86-font100d pi-4.3.0 XFree86-4 bitmap 100 dpi fontsXFree86-font75dpi-4.3.0 XFree86-4 bitmap 75 dpi fontsXFree86-fontCyrillic-4.3.0 XFree86-4 Cyrillic fontsXFree86-fontDefau ltBitmaps-4.3.0 XFree86-4 default bitmap fontsXFree86-fontEncodings-4.3.0 XFree8 6-4 font encoding filesXFree86-fontScalable-4.3.0 XFree86-4 scalable fontsXFree8 6-libraries-4.3.0_5 XFree86-4 libraries and headersXaw3d-1.5 A 3-D Ath ena Widget set that looks like Motif Xft-2.1.2 A client-sided font API for X applications aalib-1.4.r5_1 An ascii art library antiword-0.33 An application to display Microsoft(tm) Word files apache-1.3.28 The extremely popular Apache http server. Very fast, very This was a bug in the ports system which resulted in newlines being omitted from some of the package labels. If I remember correctly it happened quite soon after 5.0 came out, with the second try at making a switch from a separate pkg_comment file to having a COMMENT= variable in the Makefile. I believe it's quite harmless -- all it does is screw up the output of pkg_info(1), the installed ports themselves work just fine. A very heavy-handed way of fixing this (and profilgate of CPU cycles), would be to simply re-install all of the XFree86 packages: # portupgrade -fvi 'XFree86*' However, I think you might be able to solve the problem a lot more simply, just by adding a newline character at the end of the +COMMENT files in /var/db/pkg/{pkgname} -- eg. for the core XFree86 distribution, that would be: /var/db/pkg/XFree86-4.3.0,1/+COMMENT A quick way of doing that is: # cd /var/db/pkg # perl -ni.bak -e 'chomp; print $_\n;' XFree86-*/+COMMENT Obviously, proceed with caution, make sure you have backups, yadda, yadda. Remember to delete the .bak files when you're done. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
make.conf question
Hi! 1) Can I put any make option into make.conf that can be applied to ports (like inmake WITH_CALENDAR=yes install clean) or is this restricted to system ressources? 2) If yes - would this be advisable? - Or is there a big chance to produce some sort of mess? 3) Is make.conf also applied to gmake (used by many ports)? Thanks, Uli. +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make.conf question
On Tue, 26 Aug 2003 10:41:34 + (UTC) in lucky.freebsd.questions, Peter Ulrich Kruppa [EMAIL PROTECTED] wrote: Hi! 1) Can I put any make option into make.conf that can be applied to ports (like inmake WITH_CALENDAR=yes install clean) or is this restricted to system ressources? 2) If yes - would this be advisable? - Or is there a big chance to produce some sort of mess? I use following in /etc/make.conf: .if ${.CURDIR:N*/ports/news/tin} == WITH_TIN_NNTP_ONLY=yes #WITH_TIN_METAMAIL=yes WITH_TIN_ISPELL=yes .endif ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make.conf question
On Tue, Aug 26, 2003 at 12:54:25PM +0200, Peter Ulrich Kruppa [EMAIL PROTECTED] wrote: 1) Can I put any make option into make.conf that can be applied to ports (like in make WITH_CALENDAR=yes install clean) or is this restricted to system ressources? Yes, you can put ports specific options into /etc/make.conf You can also put a Makefile.inc into a specific port directory which will be read in automatically -- I think there are a few ports that may happen to overwrite that file, but they are few and far between. See also /usr/local/etc/pkgtools.conf if you're a portupgrade(1) user. 2) If yes - would this be advisable? - Or is there a big chance to produce some sort of mess? No, this is what /etc/make.conf is designed to do. Generally it will work well, but occasional problems creep in. Eg. if you put: A4=YES into /etc/make.conf at the moment, then I believe that triggers a bug in the print/ghostscript-gnu port which makes the build fall over at unexpected moments (ports/54848). Slightly inconvenient for the large chunk of the world that uses metric paper sizes. 3) Is make.conf also applied to gmake (used by many ports)? No, /etc/make.conf won't be read in by *any* of the Makefiles (gmake or otherwise) that come with the source code of the port. It's only used by the Makefiles in the port directory, and it's up to them to run the port's configure script with the required options or to apply patches to the source code or do whatever else is required to achive the desired result as indicated by the make options. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Question on CVS Branches
Hi, please forgive me if this is a FAQ, but just what is the meaning of the RELENG_4 branch? Is it more current then RELENG_4_7 or RELENG_4_8 ? What should i use if i want to get security patches for my 4.7-RELEASE-p4 installation? What would happen if i use RELENG_4 ? Thanks for your patience, if this is a FAQ. Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax :-3341 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports question
Hi all, I recently upgraded my ports directory. I created the directory/file /usr/ports/package/INDEX. When I run /stand/sysinstall and configure a package from a existing filesystem (/usr/ports) I can see all the files, but when I try to install a package, I get the error: Unable to fetch package bash-2.05b.007 from selected media. No package add will be done. I'm running Freebsd 5.1. Thank you ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question on CVS Branches
Hi, please forgive me if this is a FAQ, but just what is the meaning of the RELENG_4 branch? Is it more current then RELENG_4_7 or RELENG_4_8 ? What should i use if i want to get security patches for my 4.7-RELEASE-p4 installation? RELENG_4_7 What would happen if i use RELENG_4 ? This is at the moment FreeBSD 4.8-stable Thanks for your patience, if this is a FAQ. Please see also: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html Simon signature.asc Description: Digital signature
Re: IPFW ICMP
K Anderson [EMAIL PROTECTED] writes: I figure that the firewall should block the traffic first so as to prevent ruled traffic from coming in and then, in my thinking, snort shouldn't see it. Hopefully somebody might have an explanation with the why's and how comes one way or the other. Your way would rule out sniffing of third-party traffic. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question on CVS Branches
On Tue, 26 Aug 2003, Heinrich Rebehn wrote: Hi, please forgive me if this is a FAQ, but just what is the meaning of the RELENG_4 branch? Is it more current then RELENG_4_7 or RELENG_4_8 ? What should i use if i want to get security patches for my 4.7-RELEASE-p4 installation? What would happen if i use RELENG_4 ? RELENG_4 is the development branch for FreeBSD-STABLE. RELENG_4_7 and RELENG_4_8 are the security fix branches for those releases. If you want to track the most current code, use RELENG_4. If you just want to ensure your system is updated with the latest security patches for your release use RELENG_4_7, or RELENG_4_8 if you want to upgrade. Cheers, Viktor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Information Free BSD Imagin Utillities
Are there any existing Utilities Available Wihich I could use to create a Complete Image (Backup Image) of a Server Running Free BSD. Does Free BSD Support USB. What would be the best way to go about creating the Image? Bets Regards, Willie Pretorius - Technical Consultant SchlumbergerSema West and South African Geomarket Tel:+27 11 209 9600 GSM:+27 84 620 5229 Fax:+27 11 209 9653 http://www.sema.co.za/ http://www.sema.co.za/ This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of SchlumbergerSema. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error please notify the SchlumbergerSema Southern Africa' Helpdesk by telephone on +27 (11) 209 9700 or mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cyrus IMAP with pam_mysql?
Hi, Has anyone managed to get the Cyrus imapd to authenticate with pam_mysql -authentication? In /usr/local/etc/imapd.conf I have: allowanonymouslogin: no allowplaintext: yes sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN ...among other things. I am running saslauthd with pam authentication: silakka# ps xa |grep saslauthd 258 ?? Is 0:00.01 /usr/local/sbin/saslauthd1 -a pam This is what I have in my /etc/pam.conf: # Mail services imapauth sufficient pam_mysql.so user=mail passwd=uBerSecRETPASS host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1 imapaccount required pam_mysql.so user=mail passwd=uBerSecRETPASS host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1 The problem, I think, is the service column. The authentication is done via PAM since when I change the password for my shell account the mail password is changed too. But saslauthd uses some other service to authenticate, not imap and thus not pam_mysql. Why doesn't it reconize the above lines for Cyrus? I am running FreeBSD 4.8R This is giving me serious headache :) Thanks in advance for any clues!! Regards, Johan Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Signal 11's all over the place.
Signal 11's almost always lead to a memory problem... bad chip for example. Peter Elsner At 05:10 AM 8/26/2003 +, you wrote: Signal 11's from different programs and near complete instability usually means a fan/heatsink issue, correct? FreeBSD 4.8-release Athlon 2400 XP+ 1 gigabyte of RAM Is anything else really necessary? Occasionally right after a reboot when I run top the thing crashes (the machine is remote) when it does get a little spat of stability for whatever reason it seems to allocate ram fine and run properly. Thanks to anyone who reads this. Nick. /* Try unix. Then ./revolution */ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Detect floppy diskette
Hi, Using bash, how can I silently check to see whether there is a floppy diskette in the drive? When I do: # mount /dev/fd0 /mnt dev/null 21 I still get an error msg on screen. Thanks, Charles ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cyrus IMAP with pam_mysql?
Welcome to nightmaresville. I struggled with this for yonks, and found that there were some other files that needed to be setup, e.g.: ajax# cd /usr/local/lib/sasl2 ajax# cat Cyrus.conf pwcheck_method: saslauthd ajax# There is at least one other one, and I'm trying to find it! Are you getting any trace out that you can post? I'd agree with you that it doesn't seem to be contacting the database. If you have a log against mysql, you could check this from the database end. In my view, the docs for Cyrus fall a long way short of what is really needed! Cheers, Jon Mercer Johan Paul wrote: Hi, Has anyone managed to get the Cyrus imapd to authenticate with pam_mysql -authentication? In /usr/local/etc/imapd.conf I have: allowanonymouslogin: no allowplaintext: yes sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN ...among other things. I am running saslauthd with pam authentication: silakka# ps xa |grep saslauthd 258 ?? Is 0:00.01 /usr/local/sbin/saslauthd1 -a pam This is what I have in my /etc/pam.conf: # Mail services imapauth sufficient pam_mysql.so user=mail passwd=uBerSecRETPASS host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1 imapaccount required pam_mysql.so user=mail passwd=uBerSecRETPASS host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1 The problem, I think, is the service column. The authentication is done via PAM since when I change the password for my shell account the mail password is changed too. But saslauthd uses some other service to authenticate, not imap and thus not pam_mysql. Why doesn't it reconize the above lines for Cyrus? I am running FreeBSD 4.8R This is giving me serious headache :) Thanks in advance for any clues!! Regards, Johan Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- ++ | ___ ___ | |/ || / | | / /| |/ /| | / / | | _ / / ___ | | / /__| |/ ___ \ / /__/ __ \/ _ | | /__ | |/ | / / /_/ / ___ \ / /_/ / / / | | / ___ \ | | / /| | / / __ / / \ \ | ___/__ / / / / / / \ \ | | / / | | | |__/ / / // / | \__/ / | |_| | / // / | | /__\/___\ \_/ /__| /__| \_/ \__/|_| /__| /__| | || | www.achean.com | | == | | Jon Mercer [EMAIL PROTECTED] | || | Mobile07973 256496 | || | Tel. 0117 9561211 | || | Fax 0117 9565637 | ++ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to ensure dependency is compiled with some flags?
On Mon, Aug 25, 2003 at 01:33:33PM +0200, Thierry Thomas wrote: Selon Sergey Akifyev [EMAIL PROTECTED]: On Mon, 2003-08-25 at 11:09, Edwin Groothuis wrote: On Mon, Aug 25, 2003 at 09:56:49AM +0400, Sergey Akifyev wrote: See ports/mail/imp3/MAkefile about line 180 where they do ${LDD} ${PHPSO} on how you might want to do it. Very interesting solution, thanks! Remark: with this solution, you have to mark your port as interactive, because it won't build on bento. Which means no package builds, which means your users have to jump through port hoops to use the software. The slave port mechanism is exceedingly preferred. Kris pgp0.pgp Description: PGP signature
FreeBSD-SA-03:11.sendmail
Hi, I just did a cvsup of RELENG_4_8 and noticed a p4 which is for SA-03:11.sendmail. I don't see mention of this on the FreeBSd website. Is the website just a bit behind on this? Thanks Adam Mazza PGP Key:http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x382775D1 Key fingerprint = 5A82 FA7F 459C E805 6C00 3211 48AC 6069 3827 75D1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailman
updated python and mailman but still get these pid 157 (python2.3), uid 91: exited on signal 11 (core dumped) pid 9300 (perl), uid 0: exited on signal 10 (core dumped) pid 151 (python2.3), uid 91: exited on signal 5 (core dumped) - Original Message - From: Chuck Swiger [EMAIL PROTECTED] To: george [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, August 25, 2003 11:00 AM Subject: Re: Mailman george wrote: I am getting these signal 11 core dumps on the mailman (python) helper programs and seen something to do with gcc that might be affecting it. Someone suggested rebuilding gcc to the next rev but I thought i would run it across the list and see if anyone else is having this problem or has the fix. Which version of Python are you running, and is it via the port? Python includes a pretty thorough test-suite; it might be useful to run that and see whether you can get it to crash. Also, see whether you can get a coredump and take a look at the backtrace to see where the error is happening, although random failures in long-running processes could be a sign of hardware problems rather than a software issue. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with XFree86-4.3.0 and TV-OUT
hi there, I'm running a Compaq Armada E500 notebook with FreeBSD 4.8-CURRENT, and installed is XFree-86 suite... This setting was running fine for a long time. Until XFree version 4.2.0 the builtin TV-OUT was running, but since the upgrade to the version 4.3.0 it doesn't anymore. I didn't change anything except installing the new port version (no, even the XF86Config remained the same). Are there any hints on that item? With kind regards, Frank Altpeter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A DLT unit on /dev/sa0 is really slow
In the last episode (Aug 26), David Landgren said: I have an external DLT tape (a COMPAQ DLT VS 40/80 5133 according to camcontrol). It seems glacially slow to me. Last night I backed up many gigabytes of files from a remote machine over NFS. It took over five hours to do it. My overworked Sun E-450 will do this in a shade over three hours. What is more, the remote machine and my FreeBSD box have gigabit Ethernet adapters, and both machines, as well as the switch they are connected to all report 1000baseT full duplex. The sun, on the other hand, is running 100baseT. When I run a tar t to list the contents of the archive, the output is really slow. It's taken about half an hour so far to list the first 50 or so files (and none are exceptionally big, 10Mb on average). When I listen to the tape drive, I hear it start and stop frequently, with lots of pauses. I would have expected it to spin continuously. It is, after all, a *streaming* device. DLTs will only stream if they are fed data at a fast enough rate; otherwise they shoeshine. Try running with a 64k blocksize instead of tar's default 10k ( tar cb 128 ) . -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cyrus IMAP with pam_mysql?
Hi and thanks for you reply! Welcome to nightmaresville. I struggled with this for yonks, and found that there were some other files that needed to be setup, e.g.: F**k! I mean why does it have to be so difficult? In RedHat Linux I got the same configuration up without any problems... ajax# cd /usr/local/lib/sasl2 ajax# cat Cyrus.conf pwcheck_method: saslauthd ajax# Ok, well added that there also. And then I read somewhere that the pwcheck_method -line should be in imapd.conf too. There is at least one other one, and I'm trying to find it! Are you getting any trace out that you can post? I'd agree with you that it doesn't seem to be contacting the database. If you have a log against mysql, you could check this from the database end. This was actually the other thing I was wondering about; a) where is my.cnf in FreeBSD to config MySQL for and b) where does MySQL log the queries? I would love to look into what pam really tries to do with mysql - or doesn't. The only thing I can trace back to is the line I get into /var/log/messages: Aug 26 17:28:27 silakka imapd[3167]: login: my.machine[127.0.0.1] kypeli plaintext Yes, it works but it works dispite it shouldn't since I removed the line from database with my username. In fact I read these postings with this username that shouldn't work :) In my view, the docs for Cyrus fall a long way short of what is really needed! Yep! And this isn't the first time I struggle with Cyrus and notice that the docs are out of date and mailing lists/newsgroups are the only way to get help. Thank god for them :) But the wierdest thing is that I think it in fact does use pam to auth but it uses the wrong service (a one that authenticates from /etc/passwd). Can anyone verify if this is possible? What it the correct service line for pam.conf? Cheers, Jon Mercer Thanks, Johan Paul Johan Paul wrote: Hi, Has anyone managed to get the Cyrus imapd to authenticate with pam_mysql -authentication? In /usr/local/etc/imapd.conf I have: allowanonymouslogin: no allowplaintext: yes sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN ...among other things. I am running saslauthd with pam authentication: silakka# ps xa |grep saslauthd 258 ?? Is 0:00.01 /usr/local/sbin/saslauthd1 -a pam This is what I have in my /etc/pam.conf: # Mail services imapauth sufficient pam_mysql.so user=mail passwd=uBerSecRETPASS host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1 imapaccount required pam_mysql.so user=mail passwd=uBerSecRETPASS host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1 The problem, I think, is the service column. The authentication is done via PAM since when I change the password for my shell account the mail password is changed too. But saslauthd uses some other service to authenticate, not imap and thus not pam_mysql. Why doesn't it reconize the above lines for Cyrus? I am running FreeBSD 4.8R This is giving me serious headache :) Thanks in advance for any clues!! Regards, Johan Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cyrus IMAP with pam_mysql?
This was actually the other thing I was wondering about; a) where is my.cnf in FreeBSD to config MySQL for and b) where does MySQL log the queries? I would love to look into what pam really tries to do with mysql - or doesn't. cp /usr/local/mysql/my-medium.cnf /etc/my.cnf ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache segmentation fault
OS: FreeBSD 4.8 Stable Server: Apache/1.3.28 (Unix) mod_perl/1.27 PHP/4.3.3RC2 PHP/3.0.18 mod_ssl/2.8.15 OpenSSL/0.9.7a mod_fastcgi/2.4.0 Hi, well didnt get a response to the first post. I think I am asking the proper questions. please let me know if I am not and let me know what I need to include to get this situation expressed properly. I keep coming upon a segmentation fault with apache. I dont know what is causing it. I think I have a core file lying around on the machine when this happens. what is a good course of action to figure out what is going on here? how can I analyze the core file to figure out what is going on. from the apache logs [Mon Aug 25 10:02:04 2003] [notice] child pid 2266 exit signal Segmentation faul t (11) a core file search - nothing found shell# find / -name httpd\.core so how can I generate a core file when apache has a segmentatino fault? - Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FastCGI: can't create dynamic directory
OS: FreeBSD 4.8 Stable Server: Apache/1.3.28 (Unix) mod_perl/1.27 PHP/4.3.3RC2 PHP/3.0.18 mod_ssl/2.8.15 OpenSSL/0.9.7a mod_fastcgi/2.4.0 Hi, can somebody point me to the knob which allows me to define the FastCGI dynamic directory location: [Mon Aug 25 17:39:32 2003] [error] (2)No such file or directory: FastCGI: can't create dynamic directory /usr/local/logs/fastcgi/dynamic: doesn't exist and ca n't be created: No such file or directory - Me ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cyrus IMAP with pam_mysql?
Are you getting any trace out that you can post? I'd agree with you that it doesn't seem to be contacting the database. If you have a log against mysql, you could check this from the database end. Started mysqld with loging enabled as debug. And now I can verify that pam doesn't touch MySQL for authentication :-( Damn. Regards, Johan Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
National Security Backdoor in telnetd - all versions.
Hello - This is an invitation to start a war against OS developers. telnetd is infected with a national security backdoor in all non-source compiled versions of FreeBSD, NetBSD and OpenBSD. If you download the source code for telnetd and compile it to compare the file size of the stock or out of the box version of telnetd versus the source-compiled version - you will clearly see a difference - which is the backdoor. This information should be forwarded to CERN and the BSD and Linux development teams. It is to our knowledge that ALL OPERATING SYSTEMS HAVE BACK-DOORS IN THEIR OUT-OF-THE-BOX DAEMONS FOR NATIONAL SECURITY USE! All versions of Linux and SunOS with in.telnetd are also infected. The portmapper and most stock daemons in all OS's are infected if the compilation from direct source code results in a file size that is different from stock. This is a bust courtesy of Matrix 4 located at http://www.matrix4.net Peace! Kevin shampoo Nadeau ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports question
Hi all, I recently upgraded my ports directory. I wanted to install packages using sysin stall, so I created a directory /usr/ports/packages and copied the index file to it. However, when I run sysinstall and choose packages from an existing system (bash) I get an error: Unable to fetch package bash-2.05b.007 from selected media. No package add will be done. I'm running Freebsd 5.1. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD-SA-03:11.sendmail
On Tue, Aug 26, 2003 at 09:43:40AM -0400, Adam Mazza wrote: I just did a cvsup of RELENG_4_8 and noticed a p4 which is for SA-03:11.sendmail. I don't see mention of this on the FreeBSd website. Is the website just a bit behind on this? It's in the works: http://freebsd.rambler.ru/bsdmail/freebsd-security_curr/msg00011.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
ipfilter per rule ttl's not working?
Since ipf doesn't send keep alives to refresh its connections and on our Intranet server that gets modest www traffic, how can I run with reasonably low/sane TTLs for most of our rules, but have a different TTL for ssh traffic? The documentation suggests that I can do this: filter-rule = [ insert ] action in-out [ options ] [ tos ] [ ttl ] [ proto ] [ ip ] [ group ]. ttl = ttl decnumber . But in practice, I think that the feature is unable to correctly identify a valid number when it sees one. From ipf.rules: pass in quick on fxp1 ttl 604800 proto tcp from any to 192.168.1.0/24 port = 22 flags S keep state keep frags # ipf -Fa -f /etc/ipf.rules 693: invalid ttl (604800) :-/ One would think that 604800 would qualify as a decnumber. Am I missing something or is this a documented non-feature? -sc -- Sean Chittenden ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: National Security Backdoor in telnetd - all versions.
On Mon, Aug 25, 2003 at 11:22:12PM -0400 or thereabouts, Kevin shampoo Nadeau wrote: Hello [ ... ] telnetd is infected with a national security backdoor in all non-source compiled versions of FreeBSD, NetBSD and OpenBSD. If you download the source code for telnetd and compile it to compare the file size of the stock or out of the box version of telnetd versus the source-compiled version - you will clearly see a difference - which is the backdoor. This information should be forwarded to CERN and the BSD and Linux development teams. [ ... ] Please don't feed the troll. The size difference is in stripped vs non-stripped, btw. -- Josh [ ... ] Kevin shampoo Nadeau ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting linux ext3 partition
On Tue, Aug 26, 2003 at 01:03:33AM -0400 or thereabouts, dave wrote: Hello, I'm trying to mount a linux ext3 partition. I understand that it's possible to do it using the ext2 kernel driver so i've recompiled a kernel with that option in it. When i do: mount_ext2fs /dev/ad1 /mnt this is what i get. ad1: 38166MB WDC WD400AB-32CDB0 [77545/16/63] at ata0-slave UDMA100 ext2fs: ad1: wrong magic number 0 (expected 0xef53) WARNING: mount of ad1s1 denied due to unsupported optional features ext2fs: ad1: wrong magic number 0 (expected 0xef53) WARNING: mount of ad1s1 denied due to unsupported optional features ext2fs: ad1: wrong magic number 0 (expected 0xef53) ext2fs: ad1: wrong magic number 0 (expected 0xef53) ext2fs: ad1: wrong magic number 0 (expected 0xef53) I think your drive is marked dirty. Please mount/umount it in Linux and try again. BTW: ext3 is compatible w/ext2 *ONLY* when the dirty bit is unset. When it is set, journal rollback is necessary which only ext3 can handle. -- Josh Any help appreciated. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What does the RELENG_4_8_BP represent
I'm familiar with -STABLE, -RELEASE, -CURRENT and the various RELENG_x_x branches, but I'm not familiar with the RELENG_x_x_BP branch. What is the purpose of this? I couldn't find anything in the handbook on it. Once I understand what the purpose is, I'll make a change to the handbook and submit a PR, since I couldn't find it there (I'll also add information on the patch branches, as this seems to be missing as well) If I'm wrong, and this information _is_ in the handbook, please point me at it, as it's very possible that the handbook would benefit from a cross-reference. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Detect floppy diskette
On Tue, Aug 26, 2003 at 08:17:35AM -0500 or thereabouts, Charles Howse wrote: Hi, Using bash, how can I silently check to see whether there is a floppy diskette in the drive? When I do: # mount /dev/fd0 /mnt dev/null 21 I still get an error msg on screen. Probably the message is generated by the kernel and cannot be ignored. Try this: % perl use POSIX qw/:fcntl_h dup2 setsid/; if (fork) { exit; } setsid; my $fd = POSIX::open /dev/null, O_WRONLY or die Can't open /dev/null: $!\n; dup2 $fd, 0; dup2 $fd, 1; dup2 $fd, 2; sleep 5; system sudo mount /dev/fd0 /mnt; %# wait for an error within 5 seconds or so If no error appears, I think you forgot the / on /dev/null up there :-) Make sure to unmount the floppy afterwards. If there is an error, it proves that it was/is a kernel message. -- Josh Thanks, Charles ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Vinum help
Stijn Hoop wrote: On Mon, Aug 25, 2003 at 11:26:48PM -0700, Thomas Smith wrote: The config file is as follows: drive a1 device /dev/ad0a drive a2 device /dev/ad1e You are using slice 'a' on ad0 and slice 'e' on ad1. Typo? No, it's not a typo. When I run disklabel ad0 the 4.2BSD slice shows as a. If I do the same for ad1 the 4.2BSD slice shows as e. (I do, of course change the FStype to vinum.) Is this not typical? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is CIFS available already on FreeBSD?
Hi, well , i am a final year student in my computer engineering course. All i have to ask is IS THERE IS AN IMPLEMENTATION OF CIFS , Common Internet File System AVAILABLE ON FREEBSD? i'll be waiting for your answer,thanking you. anand _ Over 6,70,000 brides and grooms. http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Click here to join for free. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: National Security Backdoor in telnetd - all versions.
Joshua Oreman wrote: On Mon, Aug 25, 2003 at 11:22:12PM -0400 or thereabouts, Kevin shampoo Nadeau wrote: Hello [ ... ] telnetd is infected with a national security backdoor in all non-source compiled versions of FreeBSD, NetBSD and OpenBSD. If you download the source code for telnetd and compile it to compare the file size of the stock or out of the box version of telnetd versus the source-compiled version - you will clearly see a difference - which is the backdoor. This information should be forwarded to CERN and the BSD and Linux development teams. [ ... ] Please don't feed the troll. The size difference is in stripped vs non-stripped, btw. telnetd eh? how... quaint :) David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting linux ext3 partition
dave [EMAIL PROTECTED] writes: mount_ext2fs /dev/ad1 /mnt ad1 means the whole disk. The data for partition 1 is: sysid 131 (0x83),(Linux native) start 63, size 78156162 (38162 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 Then you want ad1s1 I guess. regards, Frank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is CIFS available already on FreeBSD?
Hi, yes, samba is available for freebsd. but i mean whether a CIFS client is available or not? plz reply anand From: Lucas Holt [EMAIL PROTECTED] To: anand vidwansa [EMAIL PROTECTED] Subject: Re: Is CIFS available already on FreeBSD? Date: Tue, 26 Aug 2003 12:23:34 -0400 yes, its called samba. On Tuesday, August 26, 2003, at 12:20 PM, anand vidwansa wrote: Hi, well , i am a final year student in my computer engineering course. All i have to ask is IS THERE IS AN IMPLEMENTATION OF CIFS , Common Internet File System AVAILABLE ON FREEBSD? i'll be waiting for your answer,thanking you. anand _ Over 6,70,000 brides and grooms. http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Click here to join for free. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) _ ICICI's NRI services. They make life easy. http://server1.msn.co.in/msnspecials/nriservices/index.asp Find out more. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD-SA-03:11.sendmail
Thanks for the response. I went ahead and am running P4 but my sendmail version didn't actually change, it's still 8.12.8p1 does the fix not upgrade to 8.12.9 Regards On Tue, 26 Aug 2003, Matthew Seaman wrote: On Tue, Aug 26, 2003 at 09:43:40AM -0400, Adam Mazza wrote: I just did a cvsup of RELENG_4_8 and noticed a p4 which is for SA-03:11.sendmail. I don't see mention of this on the FreeBSd website. Is the website just a bit behind on this? It's in the works: http://freebsd.rambler.ru/bsdmail/freebsd-security_curr/msg00011.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK Adam Mazza PGP Key:http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x382775D1 Key fingerprint = 5A82 FA7F 459C E805 6C00 3211 48AC 6069 3827 75D1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Information Free BSD Imagin Utillities
Willie Pretorius wrote: Are there any existing Utilities Available Wihich I could use to create a Complete Image (Backup Image) of a Server Running Free BSD. Yes, FreeBSD ships with dump, tar, and cpio, which can all be used to take backups of directory trees or even entire filesystems. Does Free BSD Support USB. What would be the best way to go about creating the Image? FreeBSD supports USB. I don't understand how this question relates to the former one, but if you had a USB device like a tape drive (or even a big USB pen drive), you could store the backup image to one, if it fits. :-) -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is CIFS available already on FreeBSD?
anand vidwansa wrote: yes, samba is available for freebsd. but i mean whether a CIFS client is available or not? Samba is a CIFS client. Samba is available for FreeBSD. [ Try 'mount_smbfs' or 'smbclient'... ] -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailman
george wrote: updated python and mailman but still get these pid 157 (python2.3), uid 91: exited on signal 11 (core dumped) pid 9300 (perl), uid 0: exited on signal 10 (core dumped) pid 151 (python2.3), uid 91: exited on signal 5 (core dumped) You've very probably got hardware problems like bad memory or overheating. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD with propolice protection
Hello, Does anybody recommend using this? How to build FreeBSD with propolice protection http://www.trl.ibm.com/projects/security/ssp/buildfreebsd.html After implementing it, how to make sure it's working correctly? Thank you, Alex ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: National Security Backdoor in telnetd - all versions.
Even if this is true, who has telnet open anymore? Thats like saying there is a back door in WOW (the 16bit compatibility mode of Winnt to run win 3.x apps). I'd like to see REAL proof of this. Different file sizes don't prove anything. When I compile freebsd, i have certain optimization flags set for the compiler as well as settings for 6x86 cpus. That makes the file size different too! In order to prove anything, you would have to compile the code in the exact same way it is built for FreeBSD releases. In reality, only the source code changes would prove it. I'm not above conspiracy theories, but this seems far fetched. On Tuesday, August 26, 2003, at 12:18 PM, David Landgren wrote: Joshua Oreman wrote: On Mon, Aug 25, 2003 at 11:22:12PM -0400 or thereabouts, Kevin shampoo Nadeau wrote: Hello [ ... ] telnetd is infected with a national security backdoor in all non-source compiled versions of FreeBSD, NetBSD and OpenBSD. If you download the source code for telnetd and compile it to compare the file size of the stock or out of the box version of telnetd versus the source-compiled version - you will clearly see a difference - which is the backdoor. This information should be forwarded to CERN and the BSD and Linux development teams. [ ... ] Please don't feed the troll. The size difference is in stripped vs non-stripped, btw. telnetd eh? how... quaint :) David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is CIFS available already on FreeBSD?
Or you can use sharity: http://www.obdev.at/ I used it in Mac OS 10.1 and NetBSD Sparc with success in the past. On Tuesday, August 26, 2003, at 12:53 PM, Chuck Swiger wrote: anand vidwansa wrote: yes, samba is available for freebsd. but i mean whether a CIFS client is available or not? Samba is a CIFS client. Samba is available for FreeBSD. [ Try 'mount_smbfs' or 'smbclient'... ] -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: National Security Backdoor in telnetd - all versions.
On 08/26/03 01:04 PM, Lucas Holt sat at the `puter and typed: Even if this is true, who has telnet open anymore? Thats like saying there is a back door in WOW (the 16bit compatibility mode of Winnt to run win 3.x apps). I'd like to see REAL proof of this. Different file sizes don't prove anything. When I compile freebsd, i have certain optimization flags set for the compiler as well as settings for 6x86 cpus. That makes the file size different too! In order to prove anything, you would have to compile the code in the exact same way it is built for FreeBSD releases. In reality, only the source code changes would prove it. I'm not above conspiracy theories, but this seems far fetched. Not to mention the exact same CPU, compiler version, etc.. But even so, none of it would matter unless the hole itself were identified. I can tell you theres a secret door in the back of the White House all I want, but until I show you the door, and how it opens and is hidden, my word means absolutely nothing. And I'd bet a nickel there is no such proof. I'm the last person to believe the government doesn't lie to us, history has told us again and again that governments lie to their people. I just don't credit them with the intelligence and organizational ability to pull something like this off without it being made public with details. Anyone wanting to respond to this thread and keep feeding the troll, I recommend browsing this guys site first. Can you say 'paranoia'? How about 'highly impressionable' or 'overactive imagination' . . . And yeah, who the hell leaves telnetd open anymore? I plain delete the damn thing when I notice it's sneaked back in with an upgrade. L -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ The best diplomat I know is a fully activated phaser bank. -- Scotty ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cyrus IMAP with pam_mysql?
OK, first off, my.cnf doesn't get created in the ports install on FreeBSD, but if you check the startup script, all the parameters are passed to the mysqld process at that time, if you have a play with the mysql stuff you can modify that script so that it does read it. In fact that is necessary if you wan to run with InnoDB tables anyway (you probably don't for pam_mysql). This is what you can modify the script to look like, where it also sets the log directories: #!/bin/sh DB_DIR=/data01/mysql40 PIDFILE=${DB_DIR}/`/bin/hostname -s`.pid case $1 in start) if [ -x /usr/local/bin/mysqld_safe ]; then /usr/bin/limits -U mysql \ /usr/local/bin/mysqld_safe --defaults-file=/usr/local/etc/my.cnf --user=mysql --log-bin-index=${DB_DIR}/logs/ajax-logidx.log --log-error=${DB_DIR}/logs/errlog.log --skip-bdb --pid-file=${PIDFILE} --datadir=${DB_DIR} /dev/null echo -n ' mysqld' fi ;; stop) if [ -f ${PIDFILE} ]; then /bin/kill `cat ${PIDFILE}` /dev/null 21 echo -n ' mysqld' else echo mysql-server isn't running fi ;; *) echo echo Usage: `basename $0` { start | stop } echo exit 64 ;; esac Default log directories are in the default data directory, which is something like /var/db/mysql or somesuch (the location is in the Makefile for mysql) They are changed in the above script prior to starting the db server for the first time. Incidentally, here is my version of the relevant section of pam.conf. # Mail services imapauthsufficient pam_unix.so try_first_pass imapauthoptionalpam_mysql.so user=mail passwd=*** db=mail host=ajax table=mail_users usercolumn=user_col passwdcolumn=pw_col crypt=2 imapaccount requiredpam_mysql.so user=mail passwd=*** db=mail host=ajax table=mail_users usercolumn=user_col passwdcolumn=pw_col crypt=2 imaps authsufficient pam_unix.so try_first_pass imaps authoptionalpam_mysql.so user=mail passwd=*** db=mail host=ajax table=mail_users usercolumn=user_col passwdcolumn=pw_col crypt=2 imaps account requiredpam_mysql.so user=mail passwd=*** db=mail host=ajax table=mail_users usercolumn=user_col passwdcolumn=pw_col crypt=2 pop3authrequiredpam_unix.so try_first_pass sieve authsufficient pam_unix.so try_first_pass sieve authoptionalpam_mysql.so user=mail passwd=*** db=mail host=ajax table=mail_users usercolumn=user_col passwdcolumn=pw_col crypt=2 sieve account requiredpam_mysql.so user=mail passwd=*** db=mail host=ajax table=mail_users usercolumn=user_col passwdcolumn=pw_col crypt=2 It occurrs to me that if you haven't enabled the imap port in /etc/services, that could cause this kink of problem - but seems an unlikely scenario. Lastly _MAY BE IMPORTANT__ From the imapd.conf I have, I can't see the 'sasl_mech_list: PLAIN' line, so this may be affecting it! FWIW, I still get shed loads of errors in the logfiles at auth time - never managed to sort that - and now can't be bothered! Hope some of this helps! :-) Johan Paul wrote: Hi and thanks for you reply! Welcome to nightmaresville. I struggled with this for yonks, and found that there were some other files that needed to be setup, e.g.: F**k! I mean why does it have to be so difficult? In RedHat Linux I got the same configuration up without any problems... ajax# cd /usr/local/lib/sasl2 ajax# cat Cyrus.conf pwcheck_method: saslauthd ajax# Ok, well added that there also. And then I read somewhere that the pwcheck_method -line should be in imapd.conf too. There is at least one other one, and I'm trying to find it! Are you getting any trace out that you can post? I'd agree with you that it doesn't seem to be contacting the database. If you have a log against mysql, you could check this from the database end. This was actually the other thing I was wondering about; a) where is my.cnf in FreeBSD to config MySQL for and b) where does MySQL log the queries? I would love to look into what pam really tries to do with mysql - or doesn't. The only thing I can trace back to is the line I get into /var/log/messages: Aug 26 17:28:27 silakka imapd[3167]: login: my.machine[127.0.0.1] kypeli plaintext Yes, it works but it works dispite it shouldn't since I removed the line from database with my username. In fact I read these postings with this username that shouldn't work :) In my view, the docs for Cyrus fall a long way short of what is really needed! Yep! And this isn't the first time I struggle with Cyrus and notice that the docs are out of date and mailing lists/newsgroups are the only way to get help.
Re: Is CIFS available already on FreeBSD?
well , i am a final year student in my computer engineering course. All i have to ask is IS THERE IS AN IMPLEMENTATION OF CIFS , Common Internet File System AVAILABLE ON FREEBSD? i'll be waiting for your As far as I know, what you want is also called SMB, and you can get that from samba. and smbfs. Ken ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is CIFS available already on FreeBSD?
Hi, yes, samba is available for freebsd. but i mean whether a CIFS client is available or not? plz reply smbclient comes with samba, and you can use smbfs. Ken ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD-SA-03:11.sendmail
I went and looked through the CVS logs, looks like it was just an edit to sm_resolve.c in the sendmail src dir. Thanks Adam Mazza On Tue, 26 Aug 2003, Adam Mazza wrote: Thanks for the response. I went ahead and am running P4 but my sendmail version didn't actually change, it's still 8.12.8p1 does the fix not upgrade to 8.12.9 Regards On Tue, 26 Aug 2003, Matthew Seaman wrote: On Tue, Aug 26, 2003 at 09:43:40AM -0400, Adam Mazza wrote: I just did a cvsup of RELENG_4_8 and noticed a p4 which is for SA-03:11.sendmail. I don't see mention of this on the FreeBSd website. Is the website just a bit behind on this? It's in the works: http://freebsd.rambler.ru/bsdmail/freebsd-security_curr/msg00011.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK Adam Mazza PGP Key:http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x382775D1 Key fingerprint = 5A82 FA7F 459C E805 6C00 3211 48AC 6069 3827 75D1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Adam Mazza PGP Key:http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x382775D1 Key fingerprint = 5A82 FA7F 459C E805 6C00 3211 48AC 6069 3827 75D1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailman
I dont think the memory is bad cause the only core dumps i get are from mailman, no other program crashes and i have uptimes of over 250 days and can successfully compile world and kernels without problems. As for the heat thing it is an EPIA M1000 that uses 16 watts of power and has a fansink. I am wondering if it has to do with the processor not being an AMD or Intel cause it is a C3 VIA. - Original Message - From: Chuck Swiger [EMAIL PROTECTED] To: george [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 9:55 AM Subject: Re: Mailman george wrote: updated python and mailman but still get these pid 157 (python2.3), uid 91: exited on signal 11 (core dumped) pid 9300 (perl), uid 0: exited on signal 10 (core dumped) pid 151 (python2.3), uid 91: exited on signal 5 (core dumped) You've very probably got hardware problems like bad memory or overheating. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD-SA-03:11.sendmail
On Tue, Aug 26, 2003 at 12:39:13PM -0400, Adam Mazza wrote: Thanks for the response. I went ahead and am running P4 but my sendmail version didn't actually change, it's still 8.12.8p1 does the fix not upgrade to 8.12.9 The advisory has since come out on [EMAIL PROTECTED] FreeBSD-SA-03:11.sendmail is on the FTP site at ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-03:11.sendmail.asc and the link on the website front page will appear Real Soon Now. If you look at http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/sendmail/src/?sortby=dateonly_with_tag=RELENG_4_8#dirlist you'll see that the fix requires a minimal patch to the file sm_resolve.c: === RCS file: /usr/local/www/cvsroot/FreeBSD/src/contrib/sendmail/src/sm_resolve.c,v retrieving revision 1.1.1.1.2.2 retrieving revision 1.1.1.1.2.2.4.1 diff -u -p -r1.1.1.1.2.2 -r1.1.1.1.2.2.4.1 --- src/contrib/sendmail/src/sm_resolve.c 2002/06/27 20:43:24 1.1.1.1.2.2 +++ src/contrib/sendmail/src/sm_resolve.c 2003/08/25 22:35:23 1.1.1.1.2.2.4.1 @@ -233,6 +233,7 @@ parse_dns_reply(data, len) dns_free_data(r); return NULL; } + memset(*rr, 0, sizeof(**rr)); (*rr)-rr_domain = sm_strdup(host); if ((*rr)-rr_domain == NULL) { This has been applied to all of the code branches mentioned in the advisory, but only STABLE (RELENG_4) and CURRENT (HEAD) got the full import of sendmail-8.12.9, which contains other, non-security related, fixes as well. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: What does the RELENG_4_8_BP represent
On Tue, Aug 26, 2003 at 11:58:40AM -0400, Bill Moran wrote: I'm familiar with -STABLE, -RELEASE, -CURRENT and the various RELENG_x_x branches, but I'm not familiar with the RELENG_x_x_BP branch. What is the purpose of this? I couldn't find anything in the handbook on it. It's not a branch, per se, but just a tag. All it does is mark the state of the source code at the point that the RELENG_x_y branch was created. Handy if you want to see what has changed along one of the security branches since the original release. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: FreeBSD with propolice protection
On Tue, Aug 26, 2003 at 02:01:48PM -0300, Alex wrote: Hello, Does anybody recommend using this? How to build FreeBSD with propolice protection http://www.trl.ibm.com/projects/security/ssp/buildfreebsd.html If you have a server carrying particularly valuable or sensitive data, then, yes the propolice patches can add an extra layer of security. However, there are certain otherwise harmless software constructs that involve writing to the stack that this software will cause to fail. Certain applications simply will not work. For an ordinary desktop or home machine it's probably overkill, and paying attention to security announcements and keeping your machine properly up to date and not running extraneous daemons and following all of the other standard good security advice should be sufficient. After implementing it, how to make sure it's working correctly? Write a small C program that will let you overflow an array and trample on the stack. By convention, the usage is to overflow the array with a long string of A characters. Analyse the core dump thus obtained. If the EIP has been overwritten with the value 0x41414141 then the patches definitely aren't working. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: firewire vs IDE DVD.
Anyone? The same IDE drive plays back DVDs with mplayer under NetBSD without any problems, however NetBSD seems to be using some IDE-to-SCSI emulation. Is it impossible to get IDE DVD drives to play back DVD videose under FreeBSD? On Mon, 25 Aug 2003, Adam K Kirchhoff wrote: Me again. I've grabbed the output from mplayer and the dump from ktrace/kdump and posted them at: http://memory.visualtech.com/kdump.txt (975 kB) http://memory.visualtech.com/mplayer.txt (1 kB) From mplayer.txt, you see that it's complaing: Couldn't open DVD device: /dev/dvd Now /dev/dvd is a symlink to /dev/acd0: [ [EMAIL PROTECTED] - /usr/home/adamk ]: ls -l /dev/dvd lrwxr-xr-x 1 root wheel 3 Aug 25 15:54 /dev/dvd - /dev/acd0 And /dev/acd0 looks like: [ [EMAIL PROTECTED] - /usr/home/adamk ]: ls -l /dev/acd0 crw-r--r-- 1 root operator 117, 0 Aug 25 15:36 /dev/acd0 Note: user 'adamk' is part of the 'operator' group. In addition, I've tried this as root just in case there's some strange permission thing going on. Still no luck. *Any* ideas? Adam On Mon, 25 Aug 2003, Adam K Kirchhoff wrote: I'm hoping someone can help me out here. I recently moved a firewire card and DVD drive that had been in my FreeBSD box to another computer. I replaced it with an IDE DVD drive. The probelm is that now I can't get mplayer or vlc to play any DVDs that had previously worked with the firewire drive. I have, of course, made sure that /dev/dvd is a symbolic link to /dev/acd0 instead of /dev/cd0 (as it used to be). The only difference that I can think of is that FreeBSD sees the firewire drive as a scsi drive and sees the ide drive as an ide drive. Is DVD playback just not supported on IDE drives on FreeBSD -CURRENT? Adam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Signal 11's all over the place.
That is what I believe is happening, which is why I suspect the cpu and not memory. If I do anything that stresses the server (raises the cpu% even when the server is reporting more than enough ram) it will just completely lock and sometimes reboot on it's own. I mention the sig. 11's because I am seeing them in the logs httpd/perl/hlds/top etc. The box has locked up while _only_ running memtest, ha ha. I suppose I need to take out each dimm and really stress the box. If it does well with one and not the other I suppose my answer is found, if not then it has to be the cpu. Thanks for the help all. Nick On Tue, 26 Aug 2003, Matthew Seaman wrote: Date: Tue, 26 Aug 2003 11:53:45 +0100 From: Matthew Seaman [EMAIL PROTECTED] To: readpunk [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Signal 11's all over the place. On Tue, Aug 26, 2003 at 05:10:20AM +, readpunk wrote: Signal 11's from different programs and near complete instability usually means a fan/heatsink issue, correct? FreeBSD 4.8-release Athlon 2400 XP+ 1 gigabyte of RAM Is anything else really necessary? Occasionally right after a reboot when I run top the thing crashes (the machine is remote) when it does get a little spat of stability for whatever reason it seems to allocate ram fine and run properly. Thanks to anyone who reads this. It might be overheating -- but that generally results in the system simply freezing up when the CPU thermal cutout engages. Instinct tells me that seeing a lot of Sig 11's like you are could very well be due to duff memory -- it's not impossible for the memory sticks to overheat but more likely they've just developed a bad spot. If you have console access to the machine, try running a memtest86 floppy (http://www.memtest86.com/) for a few repetitions (or get the NOC people at your hosting center to do it for you) That will take most of a day probably. Note that when memtest86 does find a problem then it's almost always genuine, but some subtle problems can elude it, so getting the all clear from it doesn't completely discount problems with the memory. Otherwise, try pulling out each half of the memory sticks in turn and see if that can isolate the fault. However, that won't help you if the problem is within the CPU, unless you can lay your hands on a known good spare to swap in and test with. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK /* Try unix. Then ./revolution */ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is CIFS available already on FreeBSD?
On Tue, 26 Aug 2003 16:33:56 + anand vidwansa [EMAIL PROTECTED] wrote: Hi, yes, samba is available for freebsd. but i mean whether a CIFS client is available or not? plz reply anand From: Lucas Holt [EMAIL PROTECTED] To: anand vidwansa [EMAIL PROTECTED] Subject: Re: Is CIFS available already on FreeBSD? Date: Tue, 26 Aug 2003 12:23:34 -0400 yes, its called samba. On Tuesday, August 26, 2003, at 12:20 PM, anand vidwansa wrote: Hi, well , i am a final year student in my computer engineering course. All i have to ask is IS THERE IS AN IMPLEMENTATION OF CIFS , Common Internet File System AVAILABLE ON FREEBSD? i'll be waiting for your answer,thanking you. anand Snipped from /usr/src/sys/i386/conf/LINT for 4-STABLE -snip--- # # SMB/CIFS requester # NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV # options. # NETSMBCRYPTO enables support for encrypted passwords. options NETSMB #SMB/CIFS requester options NETSMBCRYPTO#encrypted password support for SMB # mchain library. It can be either loaded as KLD or compiled into kernel options LIBMCHAIN #mbuf management library # Kernel side iconv library options LIBICONV -snip--- HTH, Stephen Hilton [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Packages in a 'build server' environment
I'm successfully using a dedicated build server for centralized 'make world' and building packages from Ports for a number of production FreeBSD servers. The question I'm running into now is, how do I build different configurations of packages of the same port for different machines or purposes? For example, I have a main web server where I need a highly customized configuration of the Apache port, but I only need a vanilla install of Apache for a mail server. I maintain my packages with portupgrade, by the way, and I imagine the 'way out' is through this utility, but I can't seem to nail down a specific example or instruction set. Cheers, Paul -- Paul Smith [EMAIL PROTECTED] Webmaster/Systems Administrator Center for Neighborhood Technology Chicago, Illinois USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
file size limit
Hello, Wondering if ffs has a file size limit. I've got a rather large tar file that i've got on the slave drive, the ext2 drive that caused me so much grief. I've copied it over to a tmp area and tried to extract it. gzip gives me an unexpected end of file error. When i use tar's -zt option to test it it fails on an .avi file. Said avi file has spaces in it's file name and is on the order of approx 4.5 g in size. Ideally i'd like to extract all the information in this tar file, but failing that i'd like to extract everything around the avi that is not corrupted so i won't loose everything. Thanks. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfilter per rule ttl's not working?
On Tue, Aug 26, 2003 at 08:48:40AM -0700, Sean Chittenden wrote: # ipf -Fa -f /etc/ipf.rules 693: invalid ttl (604800) :-/ One would think that 604800 would qualify as a decnumber. Am I missing something or is this a documented non-feature? ttl here specifies the Time-to-live (i.e., hop count) in the IP packet header, something different altogether. What you want is timeout; from what I understand, this cannot be changed per rule with ipf. -sc -- It is a very sad thing that nowadays there is so little useless information. -- Oscar Wilde ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports question
Monah Baki [EMAIL PROTECTED] writes: I recently upgraded my ports directory. I wanted to install packages using sysin stall, so I created a directory /usr/ports/packages and copied the index file to it. However, when I run sysinstall and choose packages from an existing system (bash) I get an error: Unable to fetch package bash-2.05b.007 from selected media. No package add will be done. I'm running Freebsd 5.1. Why not just call pkg_add(1) by hand? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh not loading after install
I'm using 4.7 and when I do an install ssh doesn't show on port 22 when I did a netstat -an even though it shows it enabled. I got it to work the first time but after I reinstalled numerous times I can't get ssh to be loaded at startup. I freebsd the exact same way each time so I dunno what I'm doing wrong. Please help. Thanks, Kevin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: file size limit
dave [EMAIL PROTECTED] writes: Wondering if ffs has a file size limit. classic UFS on FreeBSD is limited to 4 terabytes but the filesystem itself is limited to a terabyte. [though it can be configured for more]. UFS2 handles larger filesystems. I've got a rather large tar file that i've got on the slave drive, the ext2 drive that caused me so much grief. I've copied it over to a tmp area and tried to extract it. gzip gives me an unexpected end of file error. When i use tar's -zt option to test it it fails on an .avi file. Said avi file has spaces in it's file name and is on the order of approx 4.5 g in size. Ideally i'd like to extract all the information in this tar file, but failing that i'd like to extract everything around the avi that is not corrupted so i won't loose everything. The problem is the compression; I don't think you can recover the data stream after that. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: motd question
On Mon, Aug 25, 2003 at 11:02:55AM -0700 or thereabouts, Joshua Oreman wrote: On Mon, Aug 25, 2003 at 12:37:44PM -0400 or thereabouts, Louis LeBlanc wrote: Probably not possible, but I was wondering (and have for some time, though I can't find any info on it either way) whether /etc/motd is strictly a text in/text out file, or if there is a way to get it to execute a command, the output of which is to be included in the text output? You could make it a FIFO and put a Perl script or something at the other end, if you want dynamically-generated output. [ ... ] Be careful. Really! This approach can come back and bite you in the butt. Basically, be absolutely sure the writer process is started during bootup. Otherwise it'll hang indefinitely when logging in; you need to drop to single-user to fix it. -- Josh TIA Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Make it right before you make it faster. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Detect floppy diskette
Try this: #!/usr/bin/perl use POSIX qw/:fcntl_h dup2 setsid/; if (fork) { exit; } setsid; my $fd = POSIX::open /dev/null, O_WRONLY or die Can't open /dev/null: $!\n; dup2 $fd, 0; dup2 $fd, 1; dup2 $fd, 2; sleep 5; system sudo mount /dev/fd0 /mnt; Maybe I'm doing something wrong, all this script does is run and exit with status 0, whether I have a diskette in the drive or not. No output to screen or anything. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: motd question
On 08/26/03 01:20 PM, Joshua Oreman sat at the `puter and typed: On Mon, Aug 25, 2003 at 11:02:55AM -0700 or thereabouts, Joshua Oreman wrote: On Mon, Aug 25, 2003 at 12:37:44PM -0400 or thereabouts, Louis LeBlanc wrote: Probably not possible, but I was wondering (and have for some time, though I can't find any info on it either way) whether /etc/motd is strictly a text in/text out file, or if there is a way to get it to execute a command, the output of which is to be included in the text output? You could make it a FIFO and put a Perl script or something at the other end, if you want dynamically-generated output. [ ... ] Be careful. Really! This approach can come back and bite you in the butt. Basically, be absolutely sure the writer process is started during bootup. Otherwise it'll hang indefinitely when logging in; you need to drop to single-user to fix it. Yeah, I really just wanted to get the output of an alias, but it's not important enough to go through all that for. I just figured it would be a pretty cool - although quite geeky thing to have the real time printed out with each login: The alias is as follows: $ gtime Right now, the official U.S. time is: 16:20:43 Tuesday, August 26, 2003 and it's expansion is: $ alias gtime alias gtime='lynx -dump http://www.time.gov/timezone.cgi?Eastern/d/-5 | head -5' Pretty interesting, but definitely not worth the hassle that would obviously be required. Thanks for the feedback everyone. Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ QOTD: It's sort of a threat, you see. I've never been very good at them myself, but I'm told they can be very effective. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: file size limit
On Tue, Aug 26, 2003 at 03:08:55PM -0400, dave wrote: Hello, Wondering if ffs has a file size limit. I've got a rather large tar file that i've got on the slave drive, the ext2 drive that caused me so much grief. I've copied it over to a tmp area and tried to extract it. gzip gives me an unexpected end of file error. When i use tar's -zt option to test it it fails on an .avi file. Said avi file has spaces in it's file name and is on the order of approx 4.5 g in size. Ideally i'd like to extract all the information in this tar file, but failing that i'd like to extract everything around the avi that is not corrupted so i won't loose everything. Thanks. Dave. [snip] This is a FAQ. Go to www.freebsd.org and read FAQ 3.29 What are the limits for ffs filesystems?. Francesco Casadei -- You can download my public key from http://digilander.libero.it/fcasadei/ or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...) Key fingerprint is: 1671 9A23 ACB4 520A E7EE 00B0 7EC3 375F 164E B17B pgp0.pgp Description: PGP signature
Re: Detect floppy diskette
On Tue, Aug 26, 2003 at 03:19:57PM -0500 or thereabouts, Charles Howse wrote: Try this: #!/usr/bin/perl use POSIX qw/:fcntl_h dup2 setsid/; if (fork) { exit; } setsid; my $fd = POSIX::open /dev/null, O_WRONLY or die Can't open /dev/null: $!\n; dup2 $fd, 0; dup2 $fd, 1; dup2 $fd, 2; sleep 5; system sudo mount /dev/fd0 /mnt; Maybe I'm doing something wrong, all this script does is run and exit with status 0, whether I have a diskette in the drive or not. No output to screen or anything. Does nothing happen for 5 seconds? Good! That means you can trap the error. (Read my previous email). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup problems
--- Kent Stewart [EMAIL PROTECTED] wrote: ...snip... there's nothing going on with my ISP that is causing this. is there any possiblility that something is wrong with the system itself? every single server i try i get the TreeList failed: Network write failure: Connection closed error. Do you have a firewall that isn't permitting cvsup to talk both ways? Kent -- Kent Stewart Richland, WA no... no firewall either. __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Detect floppy diskette
On Tue, Aug 26, 2003 at 03:00:23PM -0500 or thereabouts, Charles Howse wrote: Try this: % perl use POSIX qw/:fcntl_h dup2 setsid/; if (fork) { exit; } setsid; my $fd = POSIX::open /dev/null, O_WRONLY or die Can't open /dev/null: $!\n; dup2 $fd, 0; dup2 $fd, 1; dup2 $fd, 2; sleep 5; system sudo mount /dev/fd0 /mnt; %# wait for an error within 5 seconds or so If no error appears, I think you forgot the / on /dev/null up there :-) Make sure to unmount the floppy afterwards. If there is an error, it proves that it was/is a kernel message. Looks good, now...I have to insert this perl code into a bash script as a function. This generates a syntax error: #!/usr/local/bin/bash Chkflp(){ /usr/bin/perl add EOF to the end of this line use POSIX qw/:fcntl_h dup2 setsid/; if (fork) { exit; } setsid; my $fd = POSIX::open /dev/null, O_WRONLY or die Can't open /dev/null: $!\n; dup2 $fd, 0; dup2 $fd, 1; dup2 $fd, 2; sleep 5; put EOF on a new line here } remainder of bash script But I think you misunderstood me. This script will check to see whether you *can* trap the error. Run it manually on the command line, wait a few seconds, see if you get an error w/o a floppy in the drive. If no error, great; put this in bash script: FloppyInDrive() { perl 'EOF' use POSIX; my $fd = POSIX::open /dev/null, POSIX::O_WRONLY or die can't open /dev/null; dup2 $fd, $_ for (0, 1, 2); exec dd if=/dev/fd0 of=/dev/null bs=1k count=1; EOF return $? } until FloppyInDrive; do echo please insert floppy and press enter; read key; done -- Something like that. This is how it looks on my Linux box (sorry, no FreeBSD example yet): bash-2.05a# FloppyInDrive() { perl 'EOF' use POSIX; my $fd = POSIX::open /dev/null, POSIX::O_WRONLY or die can't open /dev/null; dup2 $fd, $_ for (0, 1, 2); exec dd if=/dev/floppy/0 of=/dev/null bs=1k count=1; EOF return $? } bash-2.05a# insert floppy bash-2.05a# until FloppyInDrive; do echo please insert floppy and press enter; read key; done eject floppy bash-2.05a# SysRq : Changing Loglevel Loglevel set to 9 until FloppyInDrive; do echo please insert floppy and press enter; read key; done end_request: I/O error, dev 02:00 (floppy), sector 0 please insert floppy and press enter end_request: I/O error, dev 02:00 (floppy), sector 0 please insert floppy and press enter insert floppy eject floppy bash-2.05a# SysRq : Changing Loglevel Loglevel set to 3 until FloppyInDrive; do echo please insert floppy and press enter; read key; done please insert floppy and press enter please insert floppy and press enter insert floppy bash-2.05a# If the original errors, well, maybe the above will work anyway. Maybe it won't. Oh well. -- Josh ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
failed root login with shared ssh key
have several FreeBSD servers around all with varrying installs, 4.3 with a number of patches, up to a 4.7 that is relatively new. Some maintenance on the servers that requires root is run from a master server which connects to run the command(s) via SSH. The public key for [EMAIL PROTECTED] has been distributed out to the ~root/.ssh/authorized_keys file. I am having problems with the 4.7 box in that it will not accept the key authentication, and bounces back to asking for a password to login as root. I cannot log in as root over ssh with a password, but that fine, i don't want or need to. I do need to allow this server to log in using the shared public key to this (and all the servers. Have checked /etc/ssh/sshd_config, and AllowRootLogin yes is present, and it pretty much matches the other 4.3 to 4.5 installs. Have checked /etc/ttys, and while all the ttyps do not specifically state secure, neither doe they on the servers that this works fine on. I am sure I am forgetting something stupid, just have not been able to google anything that is pointing me in the right direction. Thanks Dave debug from SSH session (and no, df -k is not the command that requires root) /// server# ssh -v target df -k SSH Version OpenSSH_2.3.0 [EMAIL PROTECTED] 20010321, protocol versions 1.5/2.0. Compiled with SSL (0x0090600f). debug: Reading configuration data /etc/ssh/ssh_config debug: ssh_connect: getuid 0 geteuid 0 anon 0 debug: Connecting to target.domain.com [123.456.789.2] port 22. debug: Allocated local port 921. debug: Connection established. debug: Remote protocol version 1.99, remote software version OpenSSH_3.4p1 FreeBSD-20020702 debug: no match: OpenSSH_3.4p1 FreeBSD-20020702 debug: Local version string SSH-1.5-OpenSSH_2.3.0 [EMAIL PROTECTED] 20010321 debug: Waiting for server public key. debug: Received server public key (768 bits) and host key (1024 bits). debug: Host 'target' is known and matches the RSA host key. debug: Encryption type: 3des debug: Sent encrypted session key. debug: Installing crc compensation attack detector. debug: Received encrypted confirmation. debug: Trying RSA authentication with key '[EMAIL PROTECTED]' debug: Received RSA challenge from server. debug: Sending response to host key RSA challenge. debug: Remote: RSA authentication accepted. debug: RSA authentication refused. debug: Doing password authentication. [EMAIL PROTECTED]'s password: Permission denied, please try again. [EMAIL PROTECTED]'s password: ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4.8 install on Gateway 920
i am having a problem installing 4.8 on a new Gateway 920. the system boots and asks for mfsroot.flp. almost immediately after, i get the following: Fatal trap 10: trace trap while in vm86 mode ... instruction, stack and frame pointers follow ... trap number = 10 panic: trace trap Uptime: 1s anyone seen this before? any suggestions? thanks. Don Barkley [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]