Re: Mutt & sendmail configuration problems
On Sun, 20 Mar 2005, Ulf Magnusson wrote: > I'm trying to set up sendmail to route outgoing mail to an external SMTP > server. I need this for Mutt, which doesn't have its own means of transfering > mail and relies on whatever MTA the system provides. I found out about > sendmail's SMARTHOST capability and added this line to my .mc > configuration file (built by 'cd /etc/mail && make && make install'): > > define(`SMART_HOST', `smtp.liu.se') Hi, the FEATURE has to be: define(`SMART_HOST',`[smtp.liu.se]')dnl Optional you can use the authinfo-file feature: FEATURE(`authinfo')dnl If so create a file /etc/mail/authinfo wiht something like this: AuthInfo:smtp.liu.se "U:yourusername" "P:yourpassword" Go to /etc/mail and run as root: makemap hash authinfo < authinfo chmod 600 authinfo authinfo.db Oliver > > I then installed the changes with 'make && make install && make restart'. > Now, whenever I try to send mail from Mutt, I get back the following failure > notice: > > > Date: Sun, 20 Mar 2005 13:33:21 +0100 (CET) > From: Mail Delivery Subsystem > To: <[EMAIL PROTECTED]> > Subject: Returned mail: see transcript for details > Auto-Submitted: auto-generated (failure) > > [-- Bilaga #1 --] > [-- Typ: text/plain, Kodning: 7bit, Storlek: 0,5K --] > > The original message was received at Sun, 20 Mar 2005 13:33:20 +0100 (CET) > from localhost [127.0.0.1] > >- The following addresses had permanent fatal errors - > <[EMAIL PROTECTED]> > (reason: 504 <[EMAIL PROTECTED]>: Sender address rejected: need > fully-qualified address) > >- Transcript of session follows - > ... while talking to smtp.liu.se.: > >>> DATA > <<< 504 <[EMAIL PROTECTED]>: Sender address rejected: need fully-qualified > address > 554 5.0.0 Service unavailable > <<< 554 Error: no valid recipients > > [-- Bilaga #2 --] > [-- Typ: message/delivery-status, Kodning: 7bit, Storlek: 0,4K --] > > Reporting-MTA: dns; obygden > Received-From-MTA: DNS; localhost > Arrival-Date: Sun, 20 Mar 2005 13:33:20 +0100 (CET) > > Final-Recipient: RFC822; [EMAIL PROTECTED] > Action: failed > Status: 5.5.4 > Remote-MTA: DNS; smtp.liu.se > Diagnostic-Code: SMTP; 504 <[EMAIL PROTECTED]>: Sender address rejected: need > +fully-qualified address > Last-Attempt-Date: Sun, 20 Mar 2005 13:33:21 +0100 (CET) > > [-- Bilaga #3 --] > [-- Typ: message/rfc822, Kodning: 7bit, Storlek: 0,7K --] > > Date: Sun, 20 Mar 2005 13:33:20 +0100 > From: Ulf Magnusson <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: test > User-Agent: Mutt/1.4.2.1i > > test > > > any ideas? Please be aware that I'm totally new to sendmail when replying :) -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd sendmail smtp auth
On Sun, 27 Feb 2005, Noah wrote: > sendmail 8.13.3 > > I have looked over three different SMTP AUTH tutorials for sendmail and they > dont fully cover the configuration or I am completely misreading them. > > somebody please send me to a really good site to explain how to set up SMTP > AUTH. > > thank you in advance, > > Noah Hi, 1) make sure you are running sendmail with sasl-support. Try sendmail -bt -d0.1 to see if sasl support is enabled. If not recompile sendmail or install the sendmail with sasl support package (sendmail+tls+sasl2-8.13.1) and cyrus-sasl-saslauthd-2.1.19 (see then /usr/local/share/doc/cyrus-sasl2/Sendmail.README) 2) a) Add this from cyrus-sasl documentation to your sendmail.mc: dnl ### dnl # From cyrus-sasl Sendmail-README # dnl ### dnl # The group needs to be mail in order dnl # to read the sasldb2 file define(`confRUN_AS_USER',`root:mail')dnl TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl define(`confAUTH_MECHANISMS',`DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl b) Enable smtp authentication to your sendmail.mc file e.g.: dnl ### dnl # SMTP AUTHENTICATION # dnl ### define(`SMART_HOST',`[me.myself.andI]')dnl FEATURE(`authinfo')dnl The FEATURE(`authinfo') is optional (see herefore the cf.README of sendmail). Create a /etc/mail/authinfo file (they should not be readable by anyone).The authinfo file should contain something like this: AuthInfo:me.myself.andI "U:myusername" "P:mypassword" The cd to /etc/mail and do: makemap hash authinfo < authinfo chmod 600 authinfo authinfo.db 3) Install ypur new sendmail.mc file, restart sendmail and test your configuration. Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How do I get KDM to launch KDE ?
On Thu, 24 Feb 2005, Edward Lichtner wrote: > Hi, > I selected KDM to run at startup by editing /etc/ttys : > ttyv8 ³/usr/local/bin/kdm nodaemon² xterm on secure > I also created a .xsession file both in /root and in my home directory with > the line : > exec startkde > When I reboot, KDM starts up but when I login (correct password), the login > windows disappears, the KDM background remains and KDE doesn¹t start. > However, KDE starts fine when I run startx in a terminal session. > Is there something I didn¹t do properly ? > Thanks, > Edward See the handbook for more informations (5.7.3.1 The KDE Display Manager): [...] To make sure kdm understands what the labels (KDE, GNOME etc) mean, edit the files used by XDM. In a terminal window, as root, edit the file /usr/X11R6/lib/X11/xdm/Xsession. There is a section in the middle like this: case $# in 1) case $1 in failsafe) exec xterm -geometry 80x24-0-0 ;; esac esac A few lines need to be added to this section. Assuming the labels from used were ``KDE'' and ``GNOME'', use the following: case $# in 1) case $1 in kde) exec /usr/local/bin/startkde ;; GNOME) exec /usr/X11R6/bin/gnome-session ;; failsafe) exec xterm -geometry 80x24-0-0 ;; esac esac [...] Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
run all external commands (!bg) as root in ppp.linkup
Hi, on FreeBSD 5.3 I am using ppp in interactive mode with a ppp.linkup script to perform some commands (sendmail and ntpdate): !bg sendmail -L sm-msp-queue -Ac -q !bg ntpdate ptbtime1.ptb.de In man ppp I have seen: [...] All external commands (executed via the "shell" or "!bg" commands) are executed as the user id that invoked ppp. [...] So the only way for a normal user to run this commands successfully in ppp.linkup are per sudo ppp or is there another chance to run these commands? Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD5.2.1 - adduser pw: user 'user' disappeared during update
On Sat, 12 Feb 2005, Louis Harvey wrote: > Hello ! > > For the first time after installing FreeBSD 5.2.1, I am trying to add > a new user, but without success so far. I have tried many times (as > root), with /usr/sbin/adduser and also with /stand/sysinstall > > Configure > User Management > User (Add a new user to the system), but > the operation seems fo fail at the end, when I give the final YES. I > get the following error message: > > pw: user 'user' disappeared during update > > I have checked on the Web giving the error message as input to google, > but got only one highly pertinent message. In the end, the guy says he > re-installed FreeBSD, wihich I cannot do right now. Maybe this will help: http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/034920.html > > I checked with the command vipw, and emacs shows the lines > corresponding the users I attempted to create along with the other > users I created at install time. There is no subdir under /home for my > attempts at creating those users, nor can I log into the system with > those users. > > Please, could someone help me with this message? > > Salutations, Louis Harvey > ___ Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD logo design competition
On Wed, 09 Feb 2005, stheg olloydson wrote: > P.S. Many cultures, such as the Japanese, think that "you get what you > pay for", so having the name FreeBSD is no different from being named > ShiteBSD. I am looking forward to the competition to rename the OS. The name also has to be changed: Free: for free - what are about the people in jail using FreeBSD re: for re - what about all the "contra" and "bock" B: countrycode for Belgium - what do people living in luxemburg think SD: for South Dakota or Sudan - what do the people in North Dakota think? Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with booting freebsd
On Wed, 02 Feb 2005, Adil F. Mamedov wrote: > Hello! > > After my WINDOWS XP crashed, I decided to reinstall it... But I forgot > that during windows installation it overwrites the MBR. So, instead of > prompting me for the OS to load (FreeBSD or Windows), the system loads > Windows. When I found this problem, I have booted my system from the CD, > then entered Fixit menu, booted the Live File System CD and went to the > Console at VTY4. Then I did the following: > Hi, the reinstalling of your boot manager is a FAQ: [...] Hi, the reinstalling of your boot manager is a FAQ: [...] Hi, the reinstalling of your boot manager is a FAQ: [...] Hi, the reinstalling of your boot manager is a FAQ: [...] Hi, the reinstalling of your boot manager is a FAQ: [...] Hi, the reinstalling of your boot manager is a FAQ: [...] Hi, the reinstalling of your boot manager is a FAQ: [...] Hi, the reinstalling of your boot manager is a FAQ: [...] Hi, the reinstalling of your boot manager is a FAQ: [...] Hi, the reinstalling of your boot manager is a FAQ: [...] Hi, the reinstalling of your boot manager is a FAQ: [...] Hi, the reinstalling of your boot manager is a FAQ: [...] Hi, the reinstalling of your boot manager is a FAQ: [...] 3.9 Windows killed my boot manager! How do I get it back? You can reinstall the boot manager FreeBSD comes with in one of three ways: Running DOS, go into the tools/ directory of your FreeBSD distribution and look for bootinst.exe. You run it like so: ...\TOOLS> bootinst.exe boot.bin and the boot manager will be reinstalled. Boot the FreeBSD boot floppy again and go to the Custom installation menu item. Choose Partition. Select the drive which used to contain your boot manager (likely the first one) and when you come to the partition editor for it, as the very first thing (e.g. do not make any changes) select (W)rite. This will ask for confirmation, say yes, and when you get the Boot Manager selection prompt, be sure to select ``Boot Manager''. This will re-write the boot manager to disk. Now quit out of the installation menu and reboot off the hard disk as normal. Boot the FreeBSD boot floppy (or CDROM) and choose the ``Fixit'' menu item. Select either the Fixit floppy or CDROM #2 (the ``live'' filesystem option) as appropriate and enter the fixit shell. Then execute the following command: Fixit# fdisk -B -b /boot/boot0 bootdevice substituting bootdevice for your real boot device such as ad0 (first IDE disk), ad4 (first IDE disk on auxiliary controller), da0 (first SCSI disk), etc. [...] Oliver > > > mount /dev/ad0s3a /mnt - mount root filesystem > > fdisk -B -b /mnt/boot/boot0 /dev/ad0 - recover the MBR > > > > The last command gives me the error: ad0 Permission Denied. > > Note, that my Live File System CD is for the 4.4 Release, but I have 5.3 > Release installed on my system. I don't expect this to be the reason of > my problem, but anyway, who knows > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SUDO
On Tue, 01 Feb 2005, Java Beans wrote: > What do i have to enter in /etc/sudoers in order to give > some user group the permission to start k3b with root > permissions? Hi, what about: ALL ALL = NOPASSWD: /sbin/camcontrol devlist ALL ALL = NOPASSWD: /usr/local/bin/k3b See also pkg-message file of k3b port: [...] 3. k3b has to be started from a root console, which is not recommended. Alternatively do ALL of the following: 3a. set the suid flag on cdrecord and cdrdao. The 'Notes' the chapter of 'man cdrecord' discusses this. 3b. - For every user who should be able to use k3b and for every CD or DVD device add a directory in the users home directory. These directories must be owned by the corresponding user. For each such directory add a line in /ect/fstab (see remark 2), like: /dev/cd0c /usr/home/XXX/cdrom cd9660 ro,noauto,nodev,nosuid 0 0 Furthermore allow user mounts as described in topic 9.22 of the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT Note: If you are using FreeBSD 5.x you might want to edit your /etc/devfs.conf. See http://sig9.com/archive/articles/HOWTO-mount-fs.html for details. - or just give mount and umount the suid flag, which is a security leak. 3c. - Every user who should be able to use k3b must have read and write access to all pass through devices connected with CD and DVD drives and to the /dev/xpt0 device. Run 'camcontrol devlist' to identify those devices (seek string 'passX' at the end of each line and modify the rights of /dev/passX). Note, that this is a security leak as well but that there is no alternative! [...] Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mounted ext2 fs causes bad shutdown
On Mon, 31 Jan 2005, Loren M. Lang wrote: > On a FreeBSD 5.3 system of mine that is dual boot with linux I have my > linux home partition which is ext3fs mounted on freebsd. Anytime I > reboot or halt freebsd while it is mounted, freebsd fails to sync all > it's buffers. The first message Syncing disks, vnodes remaining, starts > out at around 5 or 10 and descreases to 0, then the message Syncing > disks, buffers remaining... starts at 7 and stays at 7 the whole time > untill freebsd gives up and reboots or halts anyways. Whenever I first > unmount the ext2fs, the vnodes remaining message comes up as usually, > but the buffers remains never does and freebsd just reboots normally. I > could modify the shutdown scripts to unmount the fs manually I suppose, > but I'd like to solve the real problem. You first have to umount the linux partition. I have this uncommented in my /etc/rc.shutdown (I have it from the list): # Insert other shutdown procedures here #extfs=`eval mount | grep ext2fs | awk '{print $1 }'` #for _elem in $extfs; do # echo -n "Unmounting ext2/ext3 filesystems: " # umount -a -t ext2fs # echo -n "$_elem " #done # #echo '.' #exit 0 Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xf86config for Toshiba satellite pro laptop
On Tue, 25 Jan 2005, Oliver Fuchs wrote: > On Mon, 24 Jan 2005, Riaan de Klerk wrote: > > > hi there i am stuck i have a older auwa laptop and cant find the s3 savage > > 86c270 video driver for it. > > could you be as kind as to assist me in finding it. > > > > Kind regards. > > Using FreeBSD 5.3 (?) depending on what you want to use try: > > Xorg -configure > Xorg -config xorg.conf.new > cp xorg.conf.new /etc/X11/xorg.conf > > or > > XFree86 -configure > XFree86 -xf86config XF86Config.new > cp XF86Config.new /etc/X11/XF86Config > > The s3 savage video driver is supported. The main part in the config file should look like this: Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [] #Option "HWCursor" # [] #Option "SWCursor" # [] #Option "ShadowFB" # [] #Option "Rotate"# [] #Option "UseBIOS" # [] #Option "LCDClock" # #Option "ShadowStatus" # [] #Option "CrtOnly" # [] #Option "TvOn" # [] #Option "PAL" # [] #Option "ForceInit" # [] Identifier "Card0" Driver "savage" VendorName "S3 Inc." BoardName "86C270-294 Savage/IX-MV" BusID "PCI:1:0:0" EndSection Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xf86config for Toshiba satellite pro laptop
On Mon, 24 Jan 2005, Riaan de Klerk wrote: > hi there i am stuck i have a older auwa laptop and cant find the s3 savage > 86c270 video driver for it. > could you be as kind as to assist me in finding it. > > Kind regards. Using FreeBSD 5.3 (?) depending on what you want to use try: Xorg -configure Xorg -config xorg.conf.new cp xorg.conf.new /etc/X11/xorg.conf or XFree86 -configure XFree86 -xf86config XF86Config.new cp XF86Config.new /etc/X11/XF86Config The s3 savage video driver is supported. Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /var is lack of space!!
On Mon, 24 Jan 2005, heccj wrote: > > My box has Apahce,PureFtp,MySql services, it's hardware:128M memory, > i386 FSB 800Mhz,18G SCSI disk,FreeBSD 5.3.It's slice: > / 256M > /swap 256M > /tmp 256M > /var 300M > /usr others > After installation,the useage is about 20%.But after few days, > it increases 50%,so i moved the http and ftp logs,mysql data to another > slice,but after several days it increases to 70%,now almost 90%.Perhaps > my box will crash serveral days.I checked the /var/log,it only use about > 20M,/var/tmp only 100k.So who and where used the space?How should I do? Hi, run du on /var and find out what log exactly is filling up your directory. If you cannot find anything notable maybe the "/var" slice was not umounted properly so try to run fsck on it. Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10
On Mon, 24 Jan 2005, Emanuel Strobl wrote: > Am Montag, 24. Januar 2005 06:17 schrieb Oliver Fuchs: > > > > In addition, was on OS running a window manager and the other not? Was > > > one running ssh and the other not, was FBSD running Linux emu? ... Was > > > one running (insert program) and the other not... > > > > In addition to this: > > - how often did you run your test > > - what processes/daemons else where running > > - what is the contents of /etc/fstab > > - what is the contents of /etc/login.conf > > - what shell was used > > - what user was used > > - ... . > > Well, these aren't of big interest atm. I posted a question in -current > regarding horrible ftp transfer rates (fwe and em transfer rates). > He was the only one answering and regrettably confirming my experience. > First, tell me why a 866MHz PII machine is full loaded for transfering 22MB/s > (over em0 and ftp, disks can do more that 50MB/s, no switch, just direct > connect, no packet loss/mutilation...)? Hi, that is true but he was not testing the ftp transfer rates but instead "... use Postgresql for our database needs ...". So I think that makes a difference. > There is such a big performance hole that it's really uninteresting if one > runs syslogd on one machine and not on the other... Again he was not complaining about bad FreeBSD performance but he compared two OSes and came to the conclusion that FreeBSD is not his first choice. So his test was quiet good because his result was that FreeBSD is not the operating system he would recommend. So what I do not understand is why he is sending the mail. I mean I do not want to offend/critisize anybody but he did the test and the result was clear - so he can trust in that. He tried to run his test in a standard environment (although if I had done it I would have used an official release of FreeBSD and not current) and I only wanted to point to some "disturbing" variabels ... that was all. Maybe there is a performance problem with FreeBSD - but again that was not his question. Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: change bootloader
On Mon, 24 Jan 2005, dick hoogendijk wrote: > I installed the bootmng and now I have the "F1 FreeBSD" prompt at > boottime. This is not what I want though. > I want my disk to just boot into FreeBSD. I can't find the right option > in boot0cfg to change this behaviour of my harddisk. > Can I still change the F1 prompt into nothing? If so, how can this be > done? Take a look at the FAQs: [...] 3.9. Windows killed my boot manager! How do I get it back? [...] Boot the FreeBSD boot floppy again and go to the Custom installation menu item. Choose Partition. Select the drive which used to contain your boot manager (likely the first one) and when you come to the partition editor for it, as the very first thing (e.g. do not make any changes) select (W)rite. This will ask for confirmation, say yes, and when you get the Boot Manager selection prompt, be sure to select ``Boot Manager''. This will re-write the boot manager to disk. Now quit out of the installation menu and reboot off the hard disk as normal. [...] Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10
On Sun, 23 Jan 2005, Chris wrote: > Oliver Fuchs wrote: > >On Sat, 22 Jan 2005, Nick Pavlica wrote: > > > > > >>All, > >> This post is not about BSD VS. Linux and should not be taken that > >>way. I think that "Flame Wars/Engineer Wars" are waste of time and > >>energy. I was surprised by my test results and didn't want to take > >>FBSD out of the loop just yet. There may be flaws in my testing that > >>have led me to inaccurate results. I didn't share the testing details > >>in the original mail because of time constraints, and the notes are > >>fairly lengthy. I will add my notes to this mail so that there is a > >>better understanding of what tests I performed, and their results. > >>It's important to note that I did not tweak any of the default > >>settings of the OS or DB. The notes should be generally self > >>explanatory, but will be more that happy to clarify any questions that > >>you have. As a side note, I chose the email address linicks because > >>by name is Nick, and thought it was a fun play on words. I appreciate > >>all of your feedback, so that I can better understand the differences > >>in these great operating systems and communities. > >> > >>Thanks Again! > >>--Nick Pavlica > >> > >>"OK, The testing notes already" :) > > > > > >Hi, > >please put your test results on a web page so that everyone who is > >interested can look them up and everyone who is not interested does not > >have > >to pay for receiving such a long mail. > > > >You are using different versions of postgresql? > >Did you set up the three systems with the same partitioning or did you set > >up all three on one harddrive? > >What is the meaning of this email: regarding your test FreeBSD is not as > >fast as the other OSes - so what do you want to know? I do not get it. > > > >Oliver > > In addition, was on OS running a window manager and the other not? Was > one running ssh and the other not, was FBSD running Linux emu? ... Was > one running (insert program) and the other not... In addition to this: - how often did you run your test - what processes/daemons else where running - what is the contents of /etc/fstab - what is the contents of /etc/login.conf - what shell was used - what user was used - ... . > > When you run each side by side, process for process, thread for thread, > version for version - nothing extra on one over the other, then post > your results. > > Funny thing about polls/tests/ etc. the results can be portrayed to > reflect one biased point of view over another. > > I apologize for my cynicism - but I don't put a heck of a lot of faith > in any type of poll (in your case, a test) that can be tainted by the > slightest bit of prejudice. Besides this - the speed is only one aspect when it comes to choose a OS. Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10
On Sat, 22 Jan 2005, Nick Pavlica wrote: > All, > This post is not about BSD VS. Linux and should not be taken that > way. I think that "Flame Wars/Engineer Wars" are waste of time and > energy. I was surprised by my test results and didn't want to take > FBSD out of the loop just yet. There may be flaws in my testing that > have led me to inaccurate results. I didn't share the testing details > in the original mail because of time constraints, and the notes are > fairly lengthy. I will add my notes to this mail so that there is a > better understanding of what tests I performed, and their results. > It's important to note that I did not tweak any of the default > settings of the OS or DB. The notes should be generally self > explanatory, but will be more that happy to clarify any questions that > you have. As a side note, I chose the email address linicks because > by name is Nick, and thought it was a fun play on words. I appreciate > all of your feedback, so that I can better understand the differences > in these great operating systems and communities. > > Thanks Again! > --Nick Pavlica > > "OK, The testing notes already" :) Hi, please put your test results on a web page so that everyone who is interested can look them up and everyone who is not interested does not have to pay for receiving such a long mail. You are using different versions of postgresql? Did you set up the three systems with the same partitioning or did you set up all three on one harddrive? What is the meaning of this email: regarding your test FreeBSD is not as fast as the other OSes - so what do you want to know? I do not get it. Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: X: wrong resolution
On Wed, 19 Jan 2005, [EMAIL PROTECTED] wrote: > Hi everyone, > I have a box with FreeBSD 4.7-RELEASE. > > I'm configuring the X Server and I have some > problems with the resolution. > > When X starts I get the wrong resolution. I run > xvidtune in the console and then I press "Next" in > the window that opens, till I get the right > resolution (1024x768). So, everything looks alright > for a while. The problem is that when I restart the > X server the screen is set back to the wrong > resolution. > > what do i do? Hi, if you get the right solution with xvidtune hit the show button and you get in your term a line like: "1024x768" 94.50 1024 1092 1188 1376768 769 772 808 +hsync +vsync I added this to my /etc/X11/xorg.conf in section monitor (like this): [...] Section "Monitor" ModeLine "[EMAIL PROTECTED]" 94.5 1024 1092 1188 1376 768 769 772 808 +hsync +vsync Identifier "Monitor0" VendorName "NEC" ModelName"NEC FE700" [...] Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Procmail Lockfile
On Tue, 21 Dec 2004, Gardner Bell wrote: > Hi, > I'm trying to setup procmail to deliver my mail but I continuously receive > the following errors in my log file. > procmail: Locking ~/Mail/Lists/FreeBSD-Questions.lock > procmail: Error while writing to "~/Mail/Lists/_YmHxxx.gardnerbell.ca" > I do receive my mail but it always ends up in the default location that I > have specified. > > In my .procmailrc file I have the following environment variables: > MAILDIR=$HOME/Mail > DEFAULT=$HOME/Mail/received > PMDIR=$HOME/.procmailrc > LISTFOLDER=$HOME/Mail/Lists > SENDMAIL=/usr/sbin/sendmail > > This is the recipe that fails to acquire a lock > :0: > * ^(From|To).*freebsd.org > ~/Mail/Lists/FreeBSD-Questions You want the receipe to store emails in /home/you/Mail/Lists/FreeBSD-Questions? So the receipe has to be: :0: * [EMAIL PROTECTED] Lists/FreeBSD-Questions Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Change Bash-3.00 Prompt
On Sun, 19 Dec 2004, Adam wrote: > I installed bash shell and now my prompt says "bash-3.00#" > > How do I change the text before the #? I'd like it to say bash# instead of > bash-3.00#. Hi, I use this in my .bash_profile: PS1='(\[$(tput md)\]\t <\w>\[$(tput me)\]) $(echo $?) \$ ' export PATH PS1 Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what does "rm //" delete?
On Sun, 28 Nov 2004, Parv wrote: > in message <[EMAIL PROTECTED]>, > wrote Parv thusly... > > > > for shell in sh csh tcsh bash ksh93 blah > ^ ^ > ^ ^ > Sorry, that "blah" shell was there only to test for existence of a > shell which i forgot to remove. Of course. > > > do > > shell=$(which $shell) > > [ -z "$shell" ] && continue > ... > > done That looks great and goes to my knowledge folder. Thank you for responding efforts and spending time. Oliver > > > - Parv > > -- > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what does "rm //" delete?
On Sun, 28 Nov 2004, Mark Ovens wrote: > Oliver Fuchs wrote: > >Hi, > > > >I had a directory which contained the following: > > > >ls showed me simple this: "?" with 0 bytes > >ls -axl showed me nothing > > > >So I tried to delete the directory but could not succeed with "rm -R" > >because the "directory is not empty". I changed to the directory and tried > >to delete everything inside with "rm *" but also did not succeed. It seemed > >that the file had no name. So than I did a mistake and wanted to delete the > >file with no name with the operation: > > > >rm -R // > > > >This was a big mistake which I noticed soon enough (some files in /bin were > >deleted). I could repair the damage but what I want to know is what exactly > >is > > > >rm -R // > > > >deleting. It seems that it is deleting everything? > > > > It is, you're recursively deleting / - multiple '/' are treated as one; try > > cd //usr//bin Yes, it was a hurtful expirience but now I know that rm // is the same as rm / > > To delete the rogue file try > > rm -i * > > in the directory the file is in, answering 'n' for all other files. > > If that fails, try copying everything you need in the directory it is in > to somewhere else then recursively deleting the directory > > rm -rf /path/to/dir/with/rogue/file Tried it but had no chance. In any case I had to formate that drive new so I finally made it to disappear. This was a confisung day in the life of my FreeBSD system. So thank you again for helping and answering. Oliver > > HTH > > Mark > > >Thanx in advance > > > >Oliver > > > > > > --- > avast! Antivirus: Outbound message clean. > Virus Database (VPS): 0448-1, 26/11/2004 > Tested on: 28/11/2004 12:58:15 > avast! - copyright (c) 2000-2004 ALWIL Software. > http://www.avast.com > > -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: controlling the default boot drive
On Mon, 29 Nov 2004, Mike Tancsa wrote: > > I have been experimenting with booting from a USB key vs the HD. If I sit > on the console, and hit F1, the next time the machine boots, F1 will be the > default. If I hit F5, the next time it will be F5 (the USB key drive in > this case). How can I do this from the shell on a RELENG_5 box. e.g. I > boot from HD (F1) I want to then without having to sit on the console, make > it boot from USB drive, as if I hit F5. Is this boot0cfg ? If so, I cant > seem to get it to work. > To set the F1 or F5 as default I have added this file /usr/local/etc/rc.d/boot0cfg.sh: #!/bin/sh /usr/sbin/boot0cfg -vs 1 ad0 where "ad0" is the drive you want to boot as default the next time. > Thanks, > > ---Mike > > > > > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications,[EMAIL PROTECTED] > Providing Internet since 1994www.sentex.net > Cambridge, Ontario Canada www.sentex.net/mike > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
what does "rm //" delete?
Hi, I had a directory which contained the following: ls showed me simple this: "?" with 0 bytes ls -axl showed me nothing So I tried to delete the directory but could not succeed with "rm -R" because the "directory is not empty". I changed to the directory and tried to delete everything inside with "rm *" but also did not succeed. It seemed that the file had no name. So than I did a mistake and wanted to delete the file with no name with the operation: rm -R // This was a big mistake which I noticed soon enough (some files in /bin were deleted). I could repair the damage but what I want to know is what exactly is rm -R // deleting. It seems that it is deleting everything? Thanx in advance Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: unsure about /etc/hosts
On Mon, 22 Nov 2004, Nikolas Britton wrote: > Oliver Fuchs wrote: > > >Hi, > > > >I am at the moment unsure about the localhost entries in my /etc/hosts. > >From /usr/src/etc/hosts I have found this one: > > > ># Host Database > ># > ># This file should contain the addresses and aliases for local hosts that > ># share this file. Replace 'my.domain' below with the domainname of your > ># machine. > ># > ># > >::1 localhost localhost.my.domain > >127.0.0.1localhost localhost.my.domain > > > >So my hostname is I.and.I so the /etc/hosts entry must be: > >::1 localhost localhost.and.I > >127.0.0.1localhost localhost.and.I > > > >Now regarding some programs (e.g. mutt) this option is not able to deliver > >mail locally instead putting it in /var/spool/mqueue or > >/var/spool/clientmqueue. > > > >If I use this: > >::1 localhost I.and.I > >127.0.0.1localhost I.and.I > > > >I have no problems with sending the mail locally. So I am a little bit > >confused about what is the correct way to define the localhost in > >/etc/hosts. > > > >Thanx in advance > > > >Oliver > > > > > I'd like to know this too as I have seen meny diffrent ways too layout > the hosts file. here what I got in mine: In the FAQs I finally have found a third one which I am now using: ::1 I.and.I I localhost 127.0.0.1 I.and.I I localhost > > ::1localhost localhost.intranet > 127.0.0.1 localhost localhost.intranet > ::1spectra spectra.intranet > 127.0.0.1 spectra spectra.intranet > > but this same hosts file also says to do it like this: > # Imaginary network. > #10.0.0.2 myname.my.domain myname > #10.0.0.3 myfriend.my.domain myfriend > > So which way do you list them. And say spectra.intranet (me) am I > suppost to list it as localhost or the real ip address? > > > -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: unsure about /etc/hosts
On Mon, 22 Nov 2004, Dick Davies wrote: > * Oliver Fuchs <[EMAIL PROTECTED]> [1107 21:07]: > > > # Host Database > > # > > # This file should contain the addresses and aliases for local hosts that > > # share this file. Replace 'my.domain' below with the domainname of your > > # machine. > > # > > # > > ::1 localhost localhost.my.domain > > 127.0.0.1 localhost localhost.my.domain > > > > So my hostname is I.and.I so the /etc/hosts entry must be: > > ::1 localhost localhost.and.I > > 127.0.0.1 localhost localhost.and.I > > > > Now regarding some programs (e.g. mutt) this option is not able to deliver > > mail locally instead putting it in /var/spool/mqueue or > > /var/spool/clientmqueue. > > > > If I use this: > > ::1 localhost I.and.I > > 127.0.0.1 localhost I.and.I > > This sets your hostname to point to the localhost address - is that what you > want? Normally, you set your hostname to a public IP (or at least a network > connected IP) > > i.e. > > ::1 localhost localhost.and.I > 127.0.0.1 localhost localhost.and.I > 1.2.3.4 I.and.I What I would like to know is the localhost entry. I always thought you absolutely need this entry in /etc/hosts and it is the first entry to be made? But I am not quiet sure about the way how to set the localhost name right in /etc/hosts. From what I have read I found three possibilities: ::1 I.and.I I localhost 127.0.0.1 I.and.I I localhost ::1 localhost localhost.and.I 127.0.0.1 localhost localhost.and.I ::1 localhost I.and.I 127.0.0.1 localhost I.and.I Which one is the correct way to define localhost? Oliver > > Jah love. > > > -- > Oh how awful. Did he at least die peacefully? To shreds you say, tsk tsk > tsk. > Well, how's his wife holding up? To shreds, you say... - Prof. Farnsworth > Rasputin :: Jack of All Trades - Master of Nuns > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
test
please igmore -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
unsure about /etc/hosts
Hi, I am at the moment unsure about the localhost entries in my /etc/hosts. From /usr/src/etc/hosts I have found this one: # Host Database # # This file should contain the addresses and aliases for local hosts that # share this file. Replace 'my.domain' below with the domainname of your # machine. # # ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain So my hostname is I.and.I so the /etc/hosts entry must be: ::1 localhost localhost.and.I 127.0.0.1 localhost localhost.and.I Now regarding some programs (e.g. mutt) this option is not able to deliver mail locally instead putting it in /var/spool/mqueue or /var/spool/clientmqueue. If I use this: ::1 localhost I.and.I 127.0.0.1 localhost I.and.I I have no problems with sending the mail locally. So I am a little bit confused about what is the correct way to define the localhost in /etc/hosts. Thanx in advance Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
unsure about /etc/hosts
Hi, I am at the moment unsure about the localhost entries in my /etc/hosts. From /usr/src/etc/hosts I have found this one: # Host Database # # This file should contain the addresses and aliases for local hosts that # share this file. Replace 'my.domain' below with the domainname of your # machine. # # ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain So my hostname is I.and.I so the /etc/hosts entry must be: ::1 localhost localhost.and.I 127.0.0.1 localhost localhost.and.I Now regarding some programs (e.g. mutt) this option is not able to deliver mail locally instead putting it in /var/spool/mqueue or /var/spool/clientmqueue. If I use this: ::1 localhost I.and.I 127.0.0.1 localhost I.and.I I have no problems with sending the mail locally. So I am a little bit confused about what is the correct way to define the localhost in /etc/hosts. Thanx in advance Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vidcontrol don't work
On Sat, 13 Nov 2004, [EMAIL PROTECTED] wrote: > Hello all. > vidcontrol -g 132x25 VESA_132x25 don't work. > When I run this command, computer is rebooting. I do not believe that 5.2 can do more than 100x37 on VESA_800x600. To enable it you have to recompile your kernel with option SC_PIXEL_MODE enabled (so you can use the raster text mode). options VGA_WIDTH90 # support 90 column modes options SC_PIXEL_MODE # add support for the raster text mode Then load the vesa support with kldload vesa and try "vidconrtol -g 100x37 VESA_800x600". If it is o.k. for you put in your /etc/rc.conf file: allscreens_flags="-g 100x37 VESA_800x600" and add to /boot/loader.conf: vesa_load="YES" to load the vesa module at startup. Regards Oliver > Motherboard Intel > Video GeForce 4 ti 4200 > > dmesg: > FreeBSD 5.2-RELEASE #19: Thu Nov 11 23:17:43 GMT 2004 > [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC > Preloaded elf kernel "/boot/kernel/kernel" at 0xc080e000. > MPTable: < BrkdlPE-ICH4> > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2399.93-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 > Features=0xbfebfbff ,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > real memory = 536084480 (511 MB) > avail memory = 511078400 (487 MB) > ioapic0: Assuming intbase of 0 > ioapic0 irqs 0-23 on motherboard > Pentium Pro MTRR support enabled > > > > VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc076fa22 (122) > VESA: NVIDIA > > > > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > pcibios: BIOS version 2.10 > Using $PIR table, 11 entries at 0xc00f47e0 > pcib0: at pcibus 0 on motherboard > pci0: on pcib0 > agp0: mem 0xf800-0xfbff at device > 0.0 > on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pcib1: slot 0 INTA routed to irq 16 > > > > pci1: at device 0.0 (no driver attached) > > > > atapci0: port > 0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 > ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > > > > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > > > > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > > > > vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 > > What is go on. > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using the boot-easy boot loader..
On Tue, 09 Nov 2004, Nadav Ben-Ami wrote: > Hello.. > > I am currently running FreeBSD 5.2.1, installing of OS'es is really not > a hard task for me, except this one time and it has to do with WINDOWS > XP on my primary hardrive (IDE1). Problem is this: Since I am running > Windows XP on my primary C drive, and I goto install the FreeBSD boot > easy loader(Option 1), there was a time when by doing just that, It > destroyed the MBR of my primary drive! Strange as it may seem, though > why would windows xp be destroyed if I tried to install on a separate > physical hard drive (D:/) the free bsd boot loader? I am some what > "scared" to even bother with a boot loader. Please advise on what I can > do to make windows XP allow another OS like FREEBSD to work though its > on a separate drive. > > Synopsis of problem: XP installed on primary master (ad0), and freebsd > installed taking up whole secondary master drive (ad1), goto install > freebsd boot loader... CAN'T BOOT BACK INTO WINDOWS XP, AND ALL IS > LOST.. I did not choose install standard MBR, I chose option #1 for > install freebsd boot easy loader on drive ad1!!, not ad0!! Hi, I am using WindowsME and FreeBSD on two hard drives. And from what I have seen: a) to get you original boot setup back again I ran the WindowsME start disk and on the dos prompt I did a: fdisk /mbr This restored my original boot configuration. b) see the handbook/faq for multibooting with Windows(XP) c) from FAQ "3.9. Windows 95/98 killed my boot manager! How do I get it back?": [...] You can reinstall the boot manager FreeBSD comes with in one of three ways: 1) Running DOS, go into the tools/ directory of your FreeBSD distribution and look for bootinst.exe. You run it like so: ...\TOOLS> bootinst.exe boot.bin and the boot manager will be reinstalled. 2) Boot the FreeBSD boot floppy again and go to the Custom installation menu item. Choose Partition. Select the drive which used to contain your boot manager (likely the first one) and when you come to the partition editor for it, as the very first thing (e.g. do not make any changes) select (W)rite. This will ask for confirmation, say yes, and when you get the Boot Manager selection prompt, be sure to select ``Boot Manager''. This will re-write the boot manager to disk. Now quit out of the installation menu and reboot off the hard disk as normal. 3) Boot the FreeBSD boot floppy (or CDROM) and choose the ``Fixit'' menu item. Select either the Fixit floppy or CDROM #2 (the ``live'' filesystem option) as appropriate and enter the fixit shell. Then execute the following command: Fixit# fdisk -B -b /boot/boot0 bootdevice substituting bootdevice for your real boot device such as ad0 (first IDE disk), ad4 (first IDE disk on auxiliary controller), da0 (first SCSI disk), etc. [...} d) next time you do your bootloader setup be sure to choose the first drive to put your bootloader to. Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD STABLE, CURRENT and upgrading
Hi All, I am using FreeBSD since 5.2 RELEASE and I am now running 5.2.1 RELEASE. I upgraded between the two versions from scratch that means I backuped the main configuration files and directories (like home), deleted the old version, installed the new one and reconfigured the whole system. As I see 5.3 is now coming up so I want to avoid this procedure. I have read the handbook, the FAQs and Greg Lehey's book 'The complete FreeBSD'.But I am still quite unsure/confused about some aspects of FreeBSD philosophy. 1) CURRENT and STABLE As I read in the FAQS there are two main development branches: STABLE and CURRENT. At the moment the 4-STABLE is the STABLE-branch and the 5-CURRENT is the current brunch up to the point where it gets STABLE (I think it is 5.3). Then the CURRENT branch will change to 6? Is that right. Then FreeBSD would have two STABLE branches (4 and 5) so what will then be the difference between them? Or will the 4 branch be ended? So I am not quiet sure about this terminology. 2) Updating 5.2.1 As far as I understood there are three parts of the system that have to be upgraded: kernel userland ports So to do the first two ones I am going to use sysinstall (I use a slow internet connection so I have to by the CDs with binary collection). After userland and kernel have been upgraded I need to upgrade my prts/packages. Therefore I copy my binary packages (from the CDs) to /usr/ports/packages/All and first run portversion and then portupgrade -P Is this all for now? 3) Get the latest security patches/packages On the FreeBSD security page I have read about three security patches for the 5.2.1 RELAESE. They only affected the kernel. Running freebsd-update gave me a lot more security hints but for the packages. So am I right believing that the security patches only regard kernel and to get the latest package-updates I have to run freebsd-update? Or is there another possibility? Thanx for your patience and help in advance Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tar a complete drive excluding one directory (solved)
On Sun, 17 Oct 2004, Radek Kozlowski wrote: > On Sun, Oct 17, 2004 at 03:24:45PM +0200, Oliver Fuchs wrote: > > Hi, > > > > I want in FreeBSD RELEASE 5.2.1 tar a complete / system except one directory > > e.g. /mnt where I want to store the tar archive. > > In linux I do: > > > > cd / > > tar cvzf /mnt/root.bak-$(date +%Y%m%d).tar.gz . --exclude=proc --exclude=mnt > > > > Trying this in FreeBSD is not accepted because tar is still trying to tar > > the /mnt directory and the to be made archive. > > Try: > > # tar --exclude=proc --exclude=proc -cvzf \ > /mnt/root.bak-$(date +%Y%m%d).tar.gz . > > -Radek Yes, thanx - that did the trick. I only wonder why tar is on one side accepting this order and on the other side it isn't. What I did was: I copied the whole drive via: cd / tar cf - bin | ( cd /mnt/freebsd ; tar xvf) tar cf - boot | ( cd /mnt/freebsd ; tar xvf) ... Until know (I rebooted the new drive with the copied system) no errors occured except one that the file modes/permissions of directories /tmp and /var/tmp seemed to have changed because e.g. kde could not start anymore saying that it has no permissions to use tmp. So thanx again for helping and answering Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
tar a complete drive excluding one directory
Hi, I want in FreeBSD RELEASE 5.2.1 tar a complete / system except one directory e.g. /mnt where I want to store the tar archive. In linux I do: cd / tar cvzf /mnt/root.bak-$(date +%Y%m%d).tar.gz . --exclude=proc --exclude=mnt Trying this in FreeBSD is not accepted because tar is still trying to tar the /mnt directory and the to be made archive. What I am doing wrong? Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ext2fs cannot be umounted
On Tue, 12 Oct 2004, Radek Kozlowski wrote: > On Tue, Oct 12, 2004 at 11:17:41AM +0200, Oliver Fuchs wrote: > > Hi, > > I am using FreeBSD 5.2.1-RELEASE and have compiled my kernel with optinion: > > options EXT2FS > > > > In my /etc/fstab I have added: > > /dev/ad0s6 /mnt/debian ext2fs rw 0 0 > > > > to mount my debian box. > > > > everything works fine except one thing: > > Shutting down via shutdown -p now ends up in the message: > > > > syncing discs, buffer remaining 403938383838383838383 > > .giving up on 38 > > > > This means that FreeBSD is not able to umount/sync the mounted partition > > clearly. > > I have tried in /etc/fstab also the sync option but it ends up with the > > "syncing discs giving up" error message. > > Only if I umount the ext2fs partition gives me a clean shutdown. > > > > What can be done or how can I force the system to umount ext2fs partition > > before shutting down? > > It's a known bug: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/56675 > > There's a workaround suggested in this thread, which you already seem to > know: > http://lists.freebsd.org/pipermail/freebsd-current/2004-August/035316.html > > -Radek Ah ... I missed this one ... but good to know that it is a bug ... my first step/workaround was to set the noauto option in fstab. Now I have to find a way to bring the system to umount my ext2fs partition (it is not only because of the syncing discs error but also my debian box will run later on after rebooting the fsck check for about 10 minutes :-( ). I was trying to bring the kernel automounter amd to mount the debian partition but still did not succeed. My second idea was to run a chron-job to umount my partition every 2 minutes or so ... or set an alias on shutdown (with something like alias shutdown umount /mnt/debian , shutdown -p now) ... I still do not know. But thanx for your help and good advice (pointing me to the bug and the page). Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ext2fs cannot be umounted
Hi, I am using FreeBSD 5.2.1-RELEASE and have compiled my kernel with optinion: options EXT2FS In my /etc/fstab I have added: /dev/ad0s6 /mnt/debian ext2fs rw 0 0 to mount my debian box. everything works fine except one thing: Shutting down via shutdown -p now ends up in the message: syncing discs, buffer remaining 403938383838383838383 .giving up on 38 This means that FreeBSD is not able to umount/sync the mounted partition clearly. I have tried in /etc/fstab also the sync option but it ends up with the "syncing discs giving up" error message. Only if I umount the ext2fs partition gives me a clean shutdown. What can be done or how can I force the system to umount ext2fs partition before shutting down? Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Midi sequencer and sound sample programm
Hi all, I am searching for a good midi sequencer and/or sample audio programm/wave-editor. At the moment I am using on 5.2: aube ecawave sweep Thanx in advance Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: question about /var/spool/clientmqueue
On Thu, 02 Sep 2004, joshua wrote: > Hi, all > I found there is a directory named /var/spool/clientmqueue and many > many file below this directory, what's use of this directory and the > files under it? > thanks. > From SECURITY.gz you get: [...] Mail will end up in the client queue if the daemon doesn't accept connections or if an address is temporarily not resolvable. [...] Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cd and dvd burning program K3b and permissions for non-root users.
On Sat, 14 Aug 2004, edwinculp wrote: > I've installed K3b and it works great for the root user but I can't get it to work > for any non-privileged user even though I have put the user in the wheel group and > have set sysctl vfs.usermount=1, cd0 has permissions set to 666, the same in > devfs.conf (That solves the problem for xmms but not for k3b. I have tried to suid > and kde won't let it start. I'm out of ideas. After this much time, I'm sure that > I'm making a mountain out of a mole hill and I'm missing something very simple. > > Any help would be appreciated. I can't see my users using burncd See /usr/ports/sysutils/k3b/pkg-message: [...] 3. k3b has to be started from a root console, which is not recommended. Alternatively do the following: 3a. set the suid flag on cdrecord and cdrdao. The 'Notes' the chapter of 'man cdrecord' discusses this. 3b. - install sudo (security/sudo) and add the following line or similar to sudoers (usually in /usr/local/etc/sudoers): ALL ALL = NOPASSWD: /sbin/camcontrol devlist - or execute 'camcontrol devlist' For every user who should be able to use k3b. Resolve all errors e.g by giving him/her access rights to /dev/xpt0. 'camcontrol devlist' must run without error for all these users! Note that giving access rights to /dev/xpt* might be a security leak! - or give camcontrol the suid flag, which is a security leak as well. 3c. - For every user who should be able to use k3b and for every CD or DVD device add a directory in the users home directory. These directories must be owned by the corresponding user. For each such directory add a line in /ect/fstab (see remark 2), like: /dev/cd0c /usr/home/XXX/cdrom cd9660 ro,noauto,nodev,nosuid 0 0 Furthermore allow user mounts as described in topic 9.22 of the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT - or just give mount and umount the sudo flag, which is a security leak. 3d. - Every user who should be able to use k3b must have read and write access to all pass through devices connected with CD and DVD drives. Run 'camcontrol devlist' to identify those devices (seek string 'passX' at the end of each line and modify the rights of /dev/passX). Note, that this is a security leak as well but that there is no alternative! [...] Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: no keyboard after boot
On Fri, 13 Aug 2004, Ruben de Groot wrote: > On Fri, Aug 13, 2004 at 08:31:31AM +0200, Oliver Fuchs typed: > > On Thu, 12 Aug 2004, Alex Melkomukov wrote: > > > > > Hello All, > > > > > > I have a strange situation where the PS/2 keyboard stops working after > > > booting to FreeBSD. There is no mouse. > > > > > > It works fine during POST, I can navigate and set BIOS settings, and can > > > even hit the 'enter' key to start booting FreeBSD immediately, but once > > > the machine starts booting the OS, the lights on the keyboard flash, then > > > go away, no more keyboard. > > > > > > > > > running OS is FreeBSD 4.3-RELEASE > > > > > > > > > I don't see anything in the kernel config file that would disable the > > > keyboard, and this is what I see in dmesg: > > > > > > > > > atkbdc0: at port 0x60,0x64 on isa0 > > > atkbd0: flags 0x1 irq 1 on atkbdc0 > > > device_probe_and_attach: atkbd0 attach returned 6 > > > > > > > > > I have not been succesfull in finding any documentation that covers what > > > > > > > > > device_probe_and_attach: atkbd0 attach returned 6 > > > > > > > > > actually means. Anyone on this list know? Any other ideas, suggestions > > > on how to resolve this? what to look for? where to find documentation? > > > > > > any help would be appreciated. > > > > > > Alex M. > > > > > > Hi, > > > > I had the same problem that while booting up I was loosing my keyboard. > > As far as I can remember I changed in /boot/device.hints the entry: > > > > from > > hint.atkbd.0.flags="0x1" > > to > > hint.atkbd.0.flags="0x0" > > That won't help him; he's on 4.3-RELEASE where there's no device.hints file. > To the OP: have you tried google ? > Oh, sorry, I did not know that there is no device.hints in 4.3 (I am using 5.2). Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: no keyboard after boot
On Thu, 12 Aug 2004, Alex Melkomukov wrote: > Hello All, > > I have a strange situation where the PS/2 keyboard stops working after > booting to FreeBSD. There is no mouse. > > It works fine during POST, I can navigate and set BIOS settings, and can > even hit the 'enter' key to start booting FreeBSD immediately, but once > the machine starts booting the OS, the lights on the keyboard flash, then > go away, no more keyboard. > > > running OS is FreeBSD 4.3-RELEASE > > > I don't see anything in the kernel config file that would disable the > keyboard, and this is what I see in dmesg: > > > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > device_probe_and_attach: atkbd0 attach returned 6 > > > I have not been succesfull in finding any documentation that covers what > > > device_probe_and_attach: atkbd0 attach returned 6 > > > actually means. Anyone on this list know? Any other ideas, suggestions > on how to resolve this? what to look for? where to find documentation? > > any help would be appreciated. > > Alex M. Hi, I had the same problem that while booting up I was loosing my keyboard. As far as I can remember I changed in /boot/device.hints the entry: from hint.atkbd.0.flags="0x1" to hint.atkbd.0.flags="0x0" Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Monitor Resolution???
On Tue, 10 Aug 2004, Hakim Z. Singhji wrote: > Hello All, > > I have a question that may be trivial to most however, I don't seem to know how to > modify my monitor resolution. I am using FreeBSD without X windows install. Text > only and the font and overall resolution is 'HUGE'. I recently installed 4.10 (last > night) but I don't know where I went wrong with this? Thanks in advance for your > help. > An acceptable resolution is VESA_800x600 (I do not think that the kernel can do more at the moment?). To enable it you have to recompile your kernel with option SC_PIXEL_MODE enabled (so you can use the raster text mode). Then load the vesa support with kldload vesa and try "vidconrtol -g 100x37 VESA_800x600". If it is o.k. for you put in your /etc/rc.conf file: allscreens_flags="-g 100x37 VESA_800x600" and add to /boot/loader.conf: vesa_load="YES" to load the vesa module at startup. Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: allowing cdrecord non-root
On Sat, 31 Jul 2004, Wojciech Puchar wrote: > how can i allow given group to be able to write cd's? > > in NetBSD doing (assuming group name cdrw) > > chgrp cdrw /dev/rcd0* /dev/cd0* > chmod 660 /dev/rcd0* /dev/cd0* > > > in FreeBSD doing this for /dev/cd0 and /dev/acd0 doesn't work. > > tried to do the same with /dev/xpt0 - doesn't work too. > > is it possible at all? > ___ Hi, from man cdrecord you will get: [...] If you don't want to allow users to become root on your system, cdrecord may safely be installed suid root. This allows all users or a group of users with no root privileges to use cdrecord. Cdrecord in this case checks, if the real user would have been able to read the specified files. To give all user access to use cdrecord, enter: chown root /usr/local/bin/cdrecord chmod 4711 /usr/local/bin/cdrecord To give a restricted group of users access to cdrecord enter: chown root /usr/local/bin/cdrecord chgrp cdburners /usr/local/bin/cdrecord chmod 4710 /usr/local/bin/cdrecord and add a group cdburners on your system. Never give write permissions for non root users to the /dev/scg? devices unless you would allow anybody to read/write/format all your disks. [...] Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: k3b and select single audio track from audio cd (solved)
On Fri, 23 Jul 2004, Oliver Fuchs wrote: > Hi, > > I installed k3b on my FreeBSD 5.2-1 RELEASE. > I do not understand how to select single audio tracks from an audio cd via > drag an drop. I can see the tracks from my audio cd but k3b refuses to > select one and drag it over to my project. > > Do I have to rip the complete audio cd first or am I missing something. > > Thanx in advance > > Oliver I am so sorry for this fast shot ... it is kind of embarrassing. The solution of this problem was given via make showinfo in /usr/ports/sysutils/k3b: I had to change the cdrdao driver settings (Settings/ConfigureK3b...->Devices). So now everything works perfectly as Iam used to from FreeBSD!!! So sorry for this ... but for hours of trying I was not able to find a solution. Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
k3b and select single audio track from audio cd
Hi, I installed k3b on my FreeBSD 5.2-1 RELEASE. I do not understand how to select single audio tracks from an audio cd via drag an drop. I can see the tracks from my audio cd but k3b refuses to select one and drag it over to my project. Do I have to rip the complete audio cd first or am I missing something. Thanx in advance Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
fortune database
Hi, I created a new fortune database containing 12259 german epigrams/adages (Deutsche Sprichwoerter). It is based on the collection of Karl Simmrock " Die deutschen Sprichwoerter". Because I do not know where to put it else so you can get the tar archieve from: http://www.oliverfuchs.onlinehome.de/alterna1/simmrock.tar.gz Thanx Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How do I change the envelope from address in sendmail
On Fri, 09 Jul 2004, BALU G.S wrote: > >Hi, > >What's the proper way to >get sendmail to use [1]user at domain.com instead of [2]user at >machine.domain.com? > >Regards, Hi, add: FEATURE(`genericstable', `hash -o /etc/mail/genericstable')dnl FEATURE(`masquerade_envelope')dnl to your sendmail.mc Add in /etc/mail/genericstable user1.domain.comuser2.machine.domain.com Change to /etc/mail and run make all make install make restart Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Turning off submission (587) port
On Wed, 07 Jul 2004, Chris wrote: > Folks, > I would prefer to shut this port down if I can. I'm unsure if and how it > can/do it. Other then that, would there be an effective ipfw rule that would > block this? > > If the above needs recompiling sendmail, then I would certainly prefer the > latter. > > -- > Best regards, > Chris > From "sendmail Cookbook" I have this example (10.2) for sendmail.mc: FEATURE(`no_default_msa') DAEMON_OPTIONS(`NAME=MSA, Port=587, Addr=127.0.0.1, M=E') DAEMON_OPTIONS(`NAME=MTA, Addr=127.0.0.1') MASQUERADE_AS(`chef.whoareyou.com') The MASQUERAD_AS feature in this example is only used if you want replies to mils sent to a server with a active SMTP port. Change to /etc/mail, run make stop, make all, make install, make start Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tar problem
On Thu, 01 Jul 2004, Bruce Hunter wrote: > I am trying to archive this directory for backup purposes. I am getting > this error when trying to create a new tar file. > > Solisix/ > [EMAIL PROTECTED] su > Password: > [EMAIL PROTECTED] tar -c Solisix/ > tar: /dev/sa0: Cannot open: Operation not supported > tar: Error is not recoverable: exiting now > > What is wrong? Permissions? I am root.. Hi, you have to change the tar -f option: man tar: [...] -f [hostname:]file --file [hostname:]file Read or write the specified file (default is /dev/sa0). If a hostname is specified, tar will use rmt(8) to read or write the specified file on a remote machine. ``-'' may be used as a file- name, for reading or writing to/from stdin/std- out. [...] For example: tar -cvzf /home/me/backup/solisix.baktar.gz /Solasix/files Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sendmail +userdb + Release 4.10p1
On Wed, 30 Jun 2004, [EMAIL PROTECTED] wrote: > Greetings, > > > > hostname.mc > > > ~` > > > dnl define(`confUSERDB_SPEC',/etc/mail/userdb.db) > > > Cwwormhole.pcs > > > MASQUERADE_AS(`bcx.co.za')dnl > > > FEATURE(masquerade_envelope)dnl > > > FEATURE(allmasquerade)dnl > > > FEATURE(nocanonify)dnl > > > FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl > > > GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl > > > dnlFEATURE(nodns)dnl > > > define(`SMART_HOST', `172.21.63.2') > > > Dmwormhole.pcs > > > define(`confDOMAIN_NAME',`wormhole.pcs')dnl > > > define(`confDELIVERY_MODE',`deferred')dnl > > > MAILER(local) > > > MAILER(smtp) > > > > > > ~~ > > > wormhole# cat genericstable > > > vix [EMAIL PROTECTED] > > > vikashb [EMAIL PROTECTED] > > > ~~~ > > > > From cf.README: > > [...] > > genericstable This feature will cause unqualified addresses > > (i.e., without > > a domain) and addresses with a domain listed in > > class {G} > > to be looked up in a map and turned into > > another ("generic") > > form, which can change both the domain name and > > the user name. > > Notice: if you use an MSP (as it is default > > starting with > > 8.12), the MTA will only receive qualified > > addresses from the > > MSP (as required by the RFCs). Hence you need > > to add your > > domain to class {G}. This feature is similar > > to the userdb > > functionality. > > [...] > > > > So in your genericstable try to add qualified addresses: > > > > [EMAIL PROTECTED] [EMAIL PROTECTED] > > > > Tried that, still the same, domain name translates but username does not. > > Thanks > Then correct FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl to FEATURE(`genericstable', `hash -o /etc/mail/genericstable')dnl and dnlFEATURE(nodns)dnl to dnl FEATURE(nodns)dnl Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sendmail +userdb + Release 4.10p1
On Tue, 29 Jun 2004, [EMAIL PROTECTED] wrote: > Greeting, > > How do i translate any outgoing mail from [EMAIL PROTECTED] to > indicate [EMAIL PROTECTED] > > I have tried the genericstable as well as the userdb and > no luck attached is my configs, please assist. > > I've tried the config setups below and the the From address > gets translated to [EMAIL PROTECTED] and not [EMAIL PROTECTED] > > hostname.mc > ~` > dnl define(`confUSERDB_SPEC',/etc/mail/userdb.db) > Cwwormhole.pcs > MASQUERADE_AS(`bcx.co.za')dnl > FEATURE(masquerade_envelope)dnl > FEATURE(allmasquerade)dnl > FEATURE(nocanonify)dnl > FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl > GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl > dnlFEATURE(nodns)dnl > define(`SMART_HOST', `172.21.63.2') > Dmwormhole.pcs > define(`confDOMAIN_NAME',`wormhole.pcs')dnl > define(`confDELIVERY_MODE',`deferred')dnl > MAILER(local) > MAILER(smtp) > > ~~ > wormhole# cat genericstable > vix [EMAIL PROTECTED] > vikashb [EMAIL PROTECTED] > ~~~ From cf.README: [...] genericstable This feature will cause unqualified addresses (i.e., without a domain) and addresses with a domain listed in class {G} to be looked up in a map and turned into another ("generic") form, which can change both the domain name and the user name. Notice: if you use an MSP (as it is default starting with 8.12), the MTA will only receive qualified addresses from the MSP (as required by the RFCs). Hence you need to add your domain to class {G}. This feature is similar to the userdb functionality. [...] So in your genericstable try to add qualified addresses: [EMAIL PROTECTED] [EMAIL PROTECTED] Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail permission problems
On Fri, 25 Jun 2004, Jamie LaPointe wrote: > I am having problems with a Perl based application (Bugzilla 2.16.5) that > uses Sendmail. I recently upgraded from Sendmail version 8.9.3 to 8.12.10 > and am using FreeBSD 5.2.1-Release. I installed this version of Sendmail > from the Ports collection from the FreeBSD FTP site. Ever since I upgraded > to this new version I have been having the following problem when attempting > to send an email via Bugzilla (the following error is from the mailog): > > Jun 25 17:11:42 srv-linbsd01 sm-mta[539]: starting daemon (8.12.10): > SMTP+queuei > > [EMAIL PROTECTED]:30:00 > > Jun 25 17:11:42 srv-linbsd01 sm-msp-queue[542]: starting daemon (8.12.10): > queue > > [EMAIL PROTECTED]:30:00 > > Jun 25 17:11:42 srv-linbsd01 sm-msp-queue[547]: starting daemon (8.12.10): > queue > > [EMAIL PROTECTED]:30:00 > > Jun 25 17:12:04 srv-linbsd01 sendmail[630]: i5Q0C4fA000630: SYSERR(apache): > coll > > ect: Cannot write ./dfi5Q0C4fA000630 (bfcommit, uid=1003, gid=25): > Permission de > > nied > > Jun 25 17:12:04 srv-linbsd01 sendmail[630]: i5Q0C4fA000630: from=apache, > size=46 > > 8, class=0, nrcpts=0, [EMAIL PROTECTED] > > Jun 25 17:12:04 srv-linbsd01 sendmail[630]: i5Q0C4fA000630: i5Q0C4fB000630: > DSN: > > collect: Cannot write ./dfi5Q0C4fA000630 (bfcommit, uid=1003, gid=25): > Permissi > > on denied > > Jun 25 17:12:04 srv-linbsd01 sendmail[630]: i5Q0C4fB000630: SYSERR(apache): > queu > > eup: cannot create queue file ./qfi5Q0C4fB000630, euid=1003: Permission > denied > > Jun 25 17:12:04 srv-linbsd01 sendmail[631]: i5Q0C4K8000631: SYSERR(apache): > coll > > ect: Cannot write ./dfi5Q0C4K8000631 (bfcommit, uid=1003, gid=25): > Permission de > > nied > > Jun 25 17:12:04 srv-linbsd01 sendmail[631]: i5Q0C4K8000631: from=apache, > size=45 > > 9, class=0, nrcpts=0, [EMAIL PROTECTED] > > Jun 25 17:12:04 srv-linbsd01 sendmail[631]: i5Q0C4K8000631: i5Q0C4K9000631: > DSN: > > collect: Cannot write ./dfi5Q0C4K8000631 (bfcommit, uid=1003, gid=25): > Permissi > > on denied > > Jun 25 17:12:04 srv-linbsd01 sendmail[631]: i5Q0C4K9000631: SYSERR(apache): > queu > > eup: cannot create queue file ./qfi5Q0C4K9000631, euid=1003: Permission > denied > > > > It sure appears that something is screwed up with Permissions, yet > /var/spool/clientmqueue has the following permission: > > -bash-2.05b# ls -l > > total 32 > > drwxrwx--- 2 smmsp smmsp 512 Jun 25 12:09 clientmqueue > > drwxr-xr-x 3 root daemon512 Apr 6 08:53 cups > > drwxrwxr-x 2 uucp dialer512 Jun 25 17:11 lock > > drwxr-xr-x 2 root daemon512 Feb 23 12:41 lpd > > drwxr-xr-x 3 root daemon 16384 Jun 25 15:17 mqueue > > drwx-- 2 root daemon512 Feb 23 12:41 opielocks > > drwxr-xr-x 3 root daemon512 Feb 23 12:41 output > > drwxr-xr-x 15 root wheel 512 Jun 25 11:48 postfix > > drwxrwxrwt 2 root wheel 512 Apr 6 08:53 samba > > > > >From everything that I have read this is correct. I also checked the > permission for the sendmail binary and it has the following permission: > > -bash-2.05b# ls -l /usr/libexec/sendmail/sendmail > > -r-xr-sr-x 1 root smmsp 635864 Feb 23 12:42 sendmail A look at SECURITY doc in /usr/local/share/doc/sendmail gives me: -r-xr-sr-x root smmsp... /PATH/TO/sendmail drwxrwx--- smmsp smmsp... /var/spool/clientmqueue drwx-- root wheel... /var/spool/mqueue -r--r--r-- root wheel... /etc/mail/sendmail.cf -r--r--r-- root wheel... /etc/mail/submit.cf Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fetchmail question
On Sun, 27 Jun 2004, Bikrant wrote: > Hi... I am trying to retrive mails using fetchmail and then deleiver it > locally using sendmail. I found that fetchmail adds the following header in > every messages that it retrives from the pop server. > > Received: from localhost (localhost.localdomain [127.0.0.1]) > by localhost.localdomain (8.12.5/8.12.5) with ESMTP id i5QIldIr030563 > for <[EMAIL PROTECTED]>; Sun, 27 Jun 2004 00:32:39 +0545 > > I am running fetchmail as root user so it has modified the recepient to > [EMAIL PROTECTED] Isn't there any way so that fetchmail retains the original > recepient ? I tried -n and --invisible options but they didn't help. Hi, if you count all the RECEIVED: headers you will find that using the --invisible option fetchmail suppresses the fetchmail added RECEIVED: header ... all the others are added by sendmail Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: screen 4.00.01 FREEBSD 5.2.1-RELEASE cannot read .bash_profile (solved)
On Thu, 17 Jun 2004, Andy Harrison wrote: Hi, first of all I have to correct my test results: Not correct: [...] .bash_profile. If the alias is set in .cshrc: alias vi vim screen is running vim when typing vi (although the shell is still bash). [...] Instead: Screen in acting correctly when shell is set to csh (then screen reads the .cshrc). Screen is not reading the .cshrc while bash is the shell > This is a total shot in the dark, but I wonder if this little section > of the manual might apply. And a hit > daemon, usually `rshd'. If Bash determines it is being run by rshd, it > reads and executes commands from `~/.bashrc', if that file exists and > is readable. It will not do this if invoked as `sh'. The `--norc' It is true that screen while bash is the shell is only looking for the .bashrc file in the home directory. I copied .bash_profile to .bashrc and then everything worked (the same effect as "shell -$SHELL" in .screenrc). So thanx for helping. Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
screen 4.00.01 FREEBSD 5.2.1-RELEASE cannot read .bash_profile
Hi, I am using screen 4.00.01 on FREEBSD 5.2.1-RELEASE. Running the csh-shell everything works correctly inside screen. But I have a user who is running the bash-shell. Now this is happening: Screen cannot read the .bash_profile unless I set the option in .screenrc: shell -$SHELL. I recognized this behavior when trying to run vim in screen. In .bash_profile vim is set as alias of vi: alias vi="vim". But screen is not able to read this alias as long as it is set in .bash_profile. If the alias is set in .cshrc: alias vi vim screen is running vim when typing vi (although the shell is still bash). It seems to me that screen is only reading or reacting to the csh-shell-environment and not to the actual given shell. I tried to set in .screenrc: shell $SHELL - but no reaction. The only thing that helped is to set in .screenrc shell -$SHELL then the .bash_profile and the bash-environment is accepted by screen. How can I change this behavior? Thanx in advance Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: archivemail-0.6.1 not working as expected
On Tue, 01 Jun 2004, Simon Barner wrote: > Oliver Fuchs wrote: > > Hi, > > > > I want to use archivemail-0.6.1 (Python 2.3.2) on FreeBSD 5.2.1-RELEASE. > > I have three questions/problems with the proper use: > > > > 1) I get the error message: > > /usr/local/bin/archivemail:760: SyntaxWarning: assignment to None > > (None, last_dir) = os.path.split(os.path.dirname(message.fp.name)) > > I found the answer (Google) and a patch (it is a problem depending > > on Python 2.3). Is there another solution to this problem? > > Update your ports. It's fixed in archivemail-0.6.1_1. Apart from that, > it's only a syntax _warning_ (which of course can be quite annoying if you > rung archivemail from a cron job and receive an error report every > day), i.e. archivemail works despite of that message. Good advice ... thanx for that ... > > > 2) Running > >archivemail -d90 -o $HOME/Mail/Archive $HOME/Mail/* > > [...] I still have no clue about that > > > 3) I want to run it in a cron job but to be honest I am not quiet sure where > > to put my archive script. > > [...] > > You're lucky: > > Several months ago, I did exactly the same thing. You should put the > cron job into your personal cron tab, i.e. as the user who's mail should > be processed by archivemail, run > > crontab -e Ah ... o.k > > (The other stuff you were looking at were system wide cron jobs). So to make it clear: If I want to run a cron job for a special user I use crontab and otherwise to run a system-wide cron-job that is not defined by FreeBSD itself I use /usr/local/etc/periodic? > > Okay, here comes my config: > > From my cron tab (the following line starts my mailexpire script every > day at 19:30) > > 3019 * * * /home/simon/bin/mailexpire.sh > > - > > #!/bin/sh > > # mail boxes to by processed by archive mail > MBOXES="freebsd-ports.box\ > freebsd-questions.box" > > cd /home/simon/Mail; > > # be sure to change the archivemail options to your personal needs > for box in $MBOXES; do > /usr/local/bin/archivemail -d 21 --delete -q $box > done Græat - thanx for the script > > - > > All this works very well for me, although every other day, I get an email > from archivemail that one of my mail boxes changed during its operation. this is only happening on FreeBSD side - I never saw it on Linux before > This shouldn't normally happen, since both archivemail and fetchmail (which > I use to download my email) use several locking mechanisms to insure that > only one of them is operating on particular mail box. IIRC the > archivemail man page elaborates more on this. Yes, a little bit skimped > > > > Since archivemail is designed not to trash/loose your mail boxes under any > circumstances, this was never a problem for me. Anyway, I wouldn't use > archive mail for my personal mail boxes, but only for mailing lists, > where you still have the archives, just in case ... I never saw it from this angle but I am going to consider this > > Cheers, > Simon So thank you again for all your help and work Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
archivemail-0.6.1 not working as expected
Hi, I want to use archivemail-0.6.1 (Python 2.3.2) on FreeBSD 5.2.1-RELEASE. I have three questions/problems with the proper use: 1) I get the error message: /usr/local/bin/archivemail:760: SyntaxWarning: assignment to None (None, last_dir) = os.path.split(os.path.dirname(message.fp.name)) I found the answer (Google) and a patch (it is a problem depending on Python 2.3). Is there another solution to this problem? 2) Running archivemail -d90 -o $HOME/Mail/Archive $HOME/Mail/* like it is explained in the man-pages I have the problem that archivemail will stop archiving mail at that moment it finds a non valid mailbox format file (e.g a mutt's alias or signature file): this file is not being ignored by archivemail but instead archivemail will stop with an nonzero exit indicating "an unexpected error". I also use archivemail on my Debian box and there these files do not matter or stop archivemail from archiving when it finds a non mailbox formated file. 3) I want to run it in a cron job but to be honest I am not quiet sure where to put my archive script. In my /etc/periodic.conf I have two places where to put it: a) local_periodic="/usr/local/etc/periodic" b) monthly_local="/etc/monthly.local" # Local scripts Which one should I usei (do I have to create /usr/local/etc/periodic/monthly) and if I put a cron script to a local place will it be considered by anacron or do I have to change my settings of anacron? Thanx for any help Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How To Copy A Group of Files To Different Name?
On Tue, 18 May 2004, Drew Tomlinson wrote: > How can I copy a group of files to a different name. I want to copy all > files starting with 'bacula*' to 'bacula*.old'. So I have these four files: > > blacklamb# ll bac* > -r--r--r-- 1 root wheel 949 Apr 22 09:13 bacula-barcodes > -rw-r- 1 root wheel 5792 May 17 16:52 bacula-dir.conf > -rw-r- 1 root wheel 763 Apr 22 09:13 bacula-fd.conf > -rw-r- 1 root wheel 1909 May 17 16:31 bacula-sd.conf > > I want to have copies of these files with '.old' appended to their > names. I've tried 'cp -pv bac* bac*.old' but cp complains. Because > it's only 4 files, I'll do each one independently but I'd like to know > how to do this "right" for future reference. > > Thanks, > > Drew Take a look at Krename. Oliver -- heit bin e ned munta wuan wäu ma r unsa bendlua schdeeblim is ... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to update binary-files? (solved)
On Tue, 13 Apr 2004, Matthew Seaman wrote: > On Tue, Apr 13, 2004 at 07:40:10AM +0200, Oliver Fuchs wrote: > > > I would like to know how to upgrade binary-files on my FreeBSD system. > > > > I get them from a vendor on 4 CDs. > > I have read how to upgrade the kernel, the port and the base system but I > > cannot find a documentation how to upgrade these installed binary-packages > > from my new cdroms? > > Upgrading ports/pkgs is handled separately to dealing with the base > system. However a 'pkg' is just the compiled form of a 'port' and the > two are essentially interchangeable. You can use the usual > portupgrade(1) tools to upgrade compiled packages -- see the entry for > the '-P' flag in portupgrade(1). > Ah thanx that was the documentation I have searched env PKG_PATH=/mnt/cdrom/package/ALL portupgrade -anPP Thanx for this. This should be documented in the handbook but as far as I can see there is nothing mentioned how to upgrade the binaries. So thanx to all who have answered. Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to update binary-files? (solved)
On Tue, 13 Apr 2004, Matthew Seaman wrote: > On Tue, Apr 13, 2004 at 07:40:10AM +0200, Oliver Fuchs wrote: > > > I would like to know how to upgrade binary-files on my FreeBSD system. > > > > I get them from a vendor on 4 CDs. > > I have read how to upgrade the kernel, the port and the base system but I > > cannot find a documentation how to upgrade these installed binary-packages > > from my new cdroms? > > Upgrading ports/pkgs is handled separately to dealing with the base > system. However a 'pkg' is just the compiled form of a 'port' and the > two are essentially interchangeable. You can use the usual > portupgrade(1) tools to upgrade compiled packages -- see the entry for > the '-P' flag in portupgrade(1). > Ah thanx that was the documentation I have searched env PKG_PATH=/mnt/cdrom/package/ALL portupgrade -anPP Thanx for this. This should be documented in the handbook but as far as I can see there is nothing mentioned how to upgrade the binaries. So thanx to all who have answered. Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to update binary-files?
On Tue, 13 Apr 2004, [EMAIL PROTECTED] wrote: > Hello Oliver, > > Try: > # cd /cdrom/base; ./install.sh > # cd /cdrom/ports; ./install.sh > and so on. > > Read "INSTALL.HTM->2 Distribution Format" on the CD. Yes but I do not want to upgrade the base system but instead the non-base-system binaries that came along on 4 CDS (and the have not been on the first or the second - the Live-System - CD). For example I have installed a binary from the 6th CD called FreeBSD_for_newbies_1.0. Now I want to upgrade to a new version FreeBSD_for_newbies_2.0 withou doing pkg_delete and pkg_add. Isn't there a possibility like pkg_update that can do an automatic upgrade of binary files? Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to update binary-files?
Hi, I would like to know how to upgrade binary-files on my FreeBSD system. I get them from a vendor on 4 CDs. I have read how to upgrade the kernel, the port and the base system but I cannot find a documentation how to upgrade these installed binary-packages from my new cdroms? Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: keybell off in rc.conf disables my keyboard in 5.1 release (solved)
On Wed, 14 Jan 2004, Oliver Fuchs wrote: > Hi, > > I installed FreeBSD 5.1 with a new kernel (here I only added > options VGA_WIDTH90). > I want do disable the PC's internal beep, so I added from man rc.conf this > to rc.conf: > > keybell="off". > > After rebooting I was not able to type in anything with my keyboard at the > login - there was absolutely no funtionality (it was dead). > Deleting the keybell entry in my rc.conf (via the livesystem CD and the > option FIxIt) made the keyboard work again. > Can someone point me to the solution of this problem or to some > documentation because I am not able to find anything helpfull. I found the reason why my keyboard did not work correctly all the time (most of the time it happend while rebooting or rebooting from WindowsME that is also installed on my PC). I added options BROKEN_KEYBOARD_RESET to my kernel-configuration file and till then it works great. Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cron and anacron
On Tue, 03 Feb 2004, Bjorn Eikeland wrote: > Looks like it (from port collection): > > Port: anacron-2.3 > Path: /usr/ports/sysutils/anacron > Info: Schedules periodic jobs on systems that are not permanently up > Maint: [EMAIL PROTECTED] > Index: sysutils > B-deps: expat-1.95.6_1 gettext-0.12.1 gmake-3.80_1 libiconv-1.9.1_3 > R-deps: Hi, thanx for the hint ... I found and installed it. So thanx again. Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cron and anacron
Hi, I use linux on my laptop and installed FreeBSD on my PC. In linux I used anacron to get all the "lost" cron jobs my laptop was not "on". Is there something similar (or is anacron ported to FreeBSD) on FreeBSD? Thanx for any help. Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: framebuffers?
On Fri, 23 Jan 2004, Geert Hendrickx wrote: > Hello, > > I'm used to having framebuffers in Linux, and I would like to have that in > FreeBSD too. > > I have already reconfigured and recompiled my kernel with "options VESA" > enabled. Then I added this 2 lines to /etc/rc.conf: > font8x8="/usr/share/syscons/fonts/iso-8x8.fnt" > allscreen_flags="132x43" > and rebooted, but it still doesn't work. > > Can anyone help me with this? > > Many thanks, Hi, the same problem was on my side. All (except one) VESA modes did not satisfy me. But I found something: Try the VESA_800x600 mode (see man vidcontrol) - to do so run vidconrtol -g 100x37 VESA_800x600. First you have to recompile your kernel with: - options SC_OIXEL_MODE enabled (so you can use the raster text mode). - compile the vesa support or simply load it with kldload vesa - vidconrtol -g 100x37 VESA_800x600. If it is o.k. for you put in your /etc/rc.conf file: allscreens_flags="-g 100x37 VESA_800x600" and add to /boot/loader.conf: vesa_load="YES" to load the vesa module at startup. Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
keybell off in rc.conf disables my keyboard in 5.1 release
Hi, I installed FreeBSD 5.1 with a new kernel (here I only added options VGA_WIDTH90). I want do disable the PC's internal beep, so I added from man rc.conf this to rc.conf: keybell="off". After rebooting I was not able to type in anything with my keyboard at the login - there was absolutely no funtionality (it was dead). Deleting the keybell entry in my rc.conf (via the livesystem CD and the option FIxIt) made the keyboard work again. Can someone point me to the solution of this problem or to some documentation because I am not able to find anything helpfull. Here is my rc.conf file: font8x8="iso15-8x8" font8x14="iso15-8x14" font8x16="iso15-8x16" hostname="bob.bob.de" ifconfig_rl0="inet 10.100.100.1 netmask 255.255.255.0" inetd_enable="YES" kern_securelevel_enable="NO" allscreens_flags="VGA_90x25" keymap="german.iso" linux_enable="YES" moused_enable="YES" saver="daemon" scrnmap="NO" sendmail_enable="YES" sshd_enable="YES" usbd_enable="YES" keybell="off". P.S.: Do disable the beep I set in my .cshrc this: set nobeep But I want to disable generally. Thanx in advance Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"