lang/gcc43 and lang/gcc44 installation procedures broken after updates
On Thursday about two and a half weeks ago, updates came through for lang/gcc43 and lang/gcc44 that resulted in broken installation procedures, although both ports appeared to build correctly. Here are the relevant messages from lang/gcc43. (lang/gcc44 appeared to fail installation in exactly the same way, except for gcc44 appearing where gcc43 appears in the output shown here. I noticed that a day or two later lang/gcc45 was also updated, but because I did not have that port installed, I do not know whether it may also have been broken. I see also that a new update for lang/gcc45 has come out in the last couple of days. === Starting check for runtime dependencies === Gathering dependency list for lang/gcc43 from ports === Starting dependency check === Checking dependency: converters/libiconv === Checking dependency: math/libgmp4 === Checking dependency: math/mpfr === Dependency check complete for lang/gcc43 /bin/rm -f /usr/local/man/man7/fsf-funding.7 /usr/local/man/man7/gfdl.7 /usr/local/man/man7/gpl.7 install-info --quiet /usr/local/info/gcc43/cpp.info /usr/local/info/dir install-info: No such file or directory for /usr/local/info/gcc43/cpp.info *** Error code 1 /bin/rm -f /usr/local/lib/gcc43/*.la # Add target libraries and include files to packaging list. /bin/rm -f /usr/ports/lang/gcc43/work/PLIST.lib cd /usr/local ; if [ -d lib/gcc43 ]; then /usr/bin/find lib/gcc43 -type f -o -type l /usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find lib/gcc43 -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' /usr/ports/lang/gcc43/work/PLIST.lib ; fi cd /usr/local ; if [ -d libexec/gcc43 ]; then /usr/bin/find libexec/gcc43 -type f -o -type l /usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find libexec/gcc43 -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' /usr/ports/lang/gcc43/work/PLIST.lib ; fi cd /usr/local ; if [ -d include/gcj ]; then /usr/bin/find include/gcj -type f -o -type l /usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find include/gcj -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' /usr/ports/lang/gcc43/work/PLIST.lib ; fi cd /usr/local ; if [ -d include/gnu ]; then /usr/bin/find include/gnu -type f -o -type l /usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find include/gnu -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' /usr/ports/lang/gcc43/work/PLIST.lib ; fi cd /usr/local ; if [ -d include/java ]; then /usr/bin/find include/java -type f -o -type l /usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find include/java -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' /usr/ports/lang/gcc43/work/PLIST.lib ; fi cd /usr/local ; if [ -d include/javax ]; then /usr/bin/find include/javax -type f -o -type l /usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find include/javax -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' /usr/ports/lang/gcc43/work/PLIST.lib ; fi cd /usr/ports/lang/gcc43/work ; /usr/bin/sed -i -e /PLIST.lib/ r PLIST.lib /usr/ports/lang/gcc43/work/.PLIST.mktmp sed: /usr/ports/lang/gcc43/work/.PLIST.mktmp: No such file or directory *** Error code 1 gmake[1]: Entering directory `/usr/ports/lang/gcc43/work/build' /bin/sh ./../gcc-4.3-20091004/mkinstalldirs /usr/local /usr/local gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/libdecnumber' gmake[2]: Nothing to be done for `install'. gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/libdecnumber' gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/intl' gmake[2]: Nothing to be done for `install'. gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/intl' gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/fixincludes' rm -rf /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools /bin/sh .././../gcc-4.3-20091004/fixincludes/../mkinstalldirs /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools mkdir /usr/local/libexec/gcc43 mkdir /usr/local/libexec/gcc43/gcc mkdir /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2 mkdir /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5 mkdir /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools /bin/sh .././../gcc-4.3-20091004/fixincludes/../mkinstalldirs /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools/include mkdir /usr/local/lib/gcc43 mkdir /usr/local/lib/gcc43/gcc gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd7.2/libstdc++-v3' Making install in include mkdir /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2 mkdir /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5 mkdir /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools mkdir /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools/include install -o root -g wheel -m 444 .././../gcc-4.3-20091004/fixincludes/README-fixinc \ /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools/include/README install -o
Re: Disk vs Disc (was: WD External Disc Drive)
On Tue, 27 Oct 2009 05:29 am, Chris Rees wrote: I have always considered hard disk, floppy diskette, and compact disc (and digital versatile disc) to be the terminology; but then again the official British spelling is disc, whereas AFAICR the US spelling is disk. What organisation defines official British Spelling. I beleive there is no official in this context but perhaps the closest is the Oxford Disctionary. My Concise Oxford Dictionary gives both spellings as alternatives but states that disk is the better. My Webster's (American) Dictionary makes no distinction. Chris Malcolm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
gcc -pg and ld error, cannot find -lgcc_p
On 7.2-RELEASE-p4, I have a very complicated C program: int main(int argc, char** argv) { return 5; } I can compile this program (cc example.c -o example) and it compiles and runs fine. However, if I try to enable profiling of this program by compiling it as cc example.c -pg -o example I get an error: /usr/bin/ld: cannot find -lgcc_p Is there some port/package that I'm missing? A configuration somewhere? Why is ld stumbling on the profiling flag? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Monday 26 October 2009 21:29:27 Yuri wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? What is this anti-sendmail obsession people have? Almost everyone I've ever spoken to about why they dislike sendmail trots out a bunch of cliches based on sendmail 8.8. People, we're up to sendmail 8.14 now. Get over it! Just as a matter of interest, if you want to rip sendmail out of the base system, which MTA would you like to replace it with? Or are you suggesting the system ship with no way to handle mail? Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, 27 Oct 2009, Jonathan McKeown wrote: On Monday 26 October 2009 21:29:27 Yuri wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? What is this anti-sendmail obsession people have? The configuration is opaque, to put it kindly. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Bad sectors: how bad can it be
Dear list, after an incorrect power-off of my FreeBSD system, it does not boot any more, BTX stops even before showing the cute beastie menu. Starting the machine by other means, I found that the hard-drive is installed on has bad sectors. I am looking for advices on how to recover from this, if possible. Basically the question is: shall I discard my hard-drive with bad- sectors, or can I continue using it? The Linux system I use to diagnose this says: hdb: media error (bad sector): status=0x51 { DriveReady SeekComplete Error } hdb: media error (bad sector): error=0x30 { LastFailedSense=0x03 } ... Buffer I/O error on device hdb, logical block 1663200 etc. Since I use computers (1992) these are my first bad sectors :) (on hard drives, taking floppies into account is no fun!). I hence have several questions: -- is it possible to let these sectors? -- to which extents a hard-drive with bad sectors is usable? -- while the apparition of these bad sectors coincide with an incorrect power-off, are the two events related? The machine suffered plenty improper power-offs (or many), in the last years and did not react so badly! -- Thank you in advance for your advices, Michaël___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: WD External Disc Drive
... If you are refering to a kind of hard disk, use disk with k. Think like diskette. If you are refering to optical media, use disc with c. Think like CD = compact disc. An arbitrary convention adopted by you and a few other people does not invalidate the dictionary spellings and usage. Am I the only one who is finding the longevity of this bikeshed a bit disk-gusting? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: howto use https in favour of http
On Mon, 26 Oct 2009 23:40:48 -0400 Michael Powell nightre...@hotmail.com wrote: Steve Bertrand wrote: Alexander Best wrote: Olivier Nicole schrieb am 2009-10-27: Hi, i've added the following line to my /etc/hosts: permail.uni-muenster.de:25 permail.uni-muenster.de:443 so what i want is for freebsd to never use http, but https for that address. unfortunately hosts doesn't seem to support this syntax. [snip] i'm not using a webserver or anything. i'm just a regular user. the point is: i often forget to specify https://... for that specific address in apps like lynx or firefox. that's why the non-ssl version of that site is being loaded. i'd like freebsd to take care of this so even if the app is trying to access the non-ssl version it should in fact be redirected to the ssl version by freebsd. I thought that this is what you were originally after. FreeBSD, in itself, can't do this... much like Mac OS or Windows can't do this. Most applications such as Firefox can't even do this (inherently). If you are trying to enforce this as a personal/company policy, you will need to write a 'wrapper' around your application (lynx/firefox) to do this. Note that your example was :25-:443, which implied SMTP over SSL... Nonetheless, FreeBSD can't make these decisions inherently (thankfully). Steve I think the OP does not have a clear grasp on how the various protocols operate. Evidenced by confusing http with mail services. Yes, I know there is 'web mail', but even web based mail is still a web server. It is up to the server operator to configure the services on the server end of things. Whether its SMTP with SSL/TLS, HTTP/HTTPS, pop3 or imap with SSL, etc., all of these things are made to work at the server end. True enough a client may need to be configured to talk on port 995 for pop3/SSL or port 993 for IMAP/SSL but for the web a client shouldn't need to do anything. The web server operator configures which locations in his URI space should be served up on port 443, and the client's browser should automatically switch to HTTPS based upon this. The OP doesn't seem to understand that he doesn't need to make this happen on his end, at least as far as HTTP/HTTPS goes. All of this is true, but it is also true that many web sites offer part or all of their content pages by both protocols, which allows a client to fetch such pages by his/her choice of protocol. For such sites, it can be quite helpful to have a way to tell the browser to prefer, or even require, one or the other. If he is actually trying to configure a mail client to talk TLS or SSL to an SMTP server, then he needs to tell the email client software this. E.g., This connection requires encryption and whether it is SSL or TLS. Mail servers on port 25 do not use HTTP or HTTPS, but rather SMTP. So it seems as if he is just very confused. Definitely the case. However, this list is intended to provide help to users at all levels of experience and understanding. What has been overlooked in all of the above discussion is that there *is* some help available for the OP. A plug-in is available for Firefox that should *always* be installed ASAP after Firefox has been installed unless you don't give a rat's ass about browser security. The plug-in is called NoScript. (Other highly recommended Firefox security plug-ins include QuickJava, SafeCache, Torbutton, Better Privacy, etc.) Directions for the OP: after installing NoScript and restarting Firefox, bring up the NoScript Options panel. You can do this either by clicking on Tools in the Firefox menu bar at the top of the window and then on Add-ons or Plug-ins or some such, depending upon the Firefox version. This will bring up a panel listing all installed plug-ins. Find the entry for NoScript, click on the entry (not a button, though) to select it, then click on its Preferences button. Two alternative methods of getting to the same NoScript Options panel depend upon what you see at the bottom of the main Firefox window. If you see a bar inside the window at the bottom that says something about scripts with an Options... button at the right, clock on the Options button and then on the Options... line at the top of the resulting menu. The other alternative method is available when there is a capital letter S in a circle in the bottom Firefox status bar. Right-click on this S, which may have a slash through it or other decorations, to get a slightly differently ordered menu. Click on the Options... line of this menu to get the NoScript Options panel. Once the NoScript Options panel is visible, click on the Advanced tab at the righthand end of the sequence of tabs. This will display some subtabs below the main tabs. Click again on the righthandmost tab, which says, HTTPS. A third line of tabs should appear, containing just two tabs: Behavior and Cookies. The Behavior tab is the one you want. You should
Re: gcc -pg and ld error, cannot find -lgcc_p
Use sysinstall to add the proflibs distribution. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Bad sectors: how bad can it be
Grünewald Michaël wrote: Dear list, after an incorrect power-off of my FreeBSD system, it does not boot any more, BTX stops even before showing the cute beastie menu. Starting the machine by other means, I found that the hard-drive is installed on has bad sectors. I am looking for advices on how to recover from this, if possible. Basically the question is: shall I discard my hard-drive with bad-sectors, or can I continue using it? The Linux system I use to diagnose this says: hdb: media error (bad sector): status=0x51 { DriveReady SeekComplete Error } hdb: media error (bad sector): error=0x30 { LastFailedSense=0x03 } ... Buffer I/O error on device hdb, logical block 1663200 etc. Since I use computers (1992) these are my first bad sectors :) (on hard drives, taking floppies into account is no fun!). I hence have several questions: -- is it possible to let these sectors? -- to which extents a hard-drive with bad sectors is usable? -- while the apparition of these bad sectors coincide with an incorrect power-off, are the two events related? The machine suffered plenty improper power-offs (or many), in the last years and did not react so badly! Yes. Back up your data and replace that disk ASAP. It's toast. All disks come with a built-in set of spare sectors, which the firmware will automatically substitute for any sectors that go bad. If you get to the state where the OS is seeing bad blocks, it means the disk has run out of spare sectors. It's worn out. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Disk vs Disc (was: WD External Disc Drive)
2009/10/26 Matthew Seaman m.sea...@infracaninophile.co.uk: Chris Rees wrote: I have always considered hard disk, floppy diskette, and compact disc (and digital versatile disc) to be the terminology; but then again the official British spelling is disc, whereas AFAICR the US spelling is disk. The official British spelling is whichever one of disc or disk takes your fancy at the time. Very few people actually care one way or the other. On 26 Oct 2009 20:41, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Chris Rees wrote: I have always considered hard disk, floppy diskette, and compact disc (and digital versatile disc) to be the terminology; but then again the official British spelling is disc, whereas AFAICR the US spelling is disk. The official British spelling is whichever one of disc or disk takes your fancy at the time. Very few people actually care one way or the other. I was just reading what I saw in Wiktionary in the entry for disc: disk mainly US, or for magnetic media So disk refers to hard drive and floppy (magnetic), but vinyl (grooves) and CDs / DVDs (optical) are discs. From the entry for Disk: In International English, disk is the correct spelling for magnetic disks. If the medium is optical, the variant disc is usually preferred, although computing is a peculiar field for the term. For instance hard disk and other disk drives are always thusly spelled, yet so are terms like compact discs. Thus, if referring to a physical drive or older media (3 or 5.25 diskettes) the k is used, but c is used for newer (optical based) media. Depends how authoritative you consider wiktionary, really. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: flashplugin
On Mon, 26 Oct 2009 20:06:30 -0400 PJ PJ af.gour...@videotron.ca replied: Thank you very much Herbert, I appreciate your input. As I wrote in my original query, I had auccessfully installed the lilnux-flashplugin9 on FreeBSD 7.2 both on a 64 bit portable _ Acer Travelmate 4400 - and on a couple of disks on the same machine (i386). I followed the instructions from http://crnl.org/blog/2008/11/01/flash-9-for-freebsd-71#comment-form upgrade FreeBSD. Once that's done the rest is straight forward. Step 1: Enable Linux compatibility and linprocfs Add linux_enable=YES to /etc/rc.conf. Add compat.linux.osrelease=2.6.16 to /etc/sysctl.conf. Add OVERRIDE_LINUX_BASE_PORT=f8 to /etc/make.conf. Add this line to /etc/fstab: linproc /usr/compat/linux/proc linprocfs rw 0 0 Then run these commands: mkdir -p /usr/compat/linux/proc mount /usr/compat/linux/proc /etc/rc.d/abi start /etc/rc.d/sysctl start Step 2: Update ports and install all the needed software You will now need to install the following ports and their dependencies: cd /usr/ports/emulators/linux_base-f8 make install clean cd /usr/ports/www/linux-flashplugin9 make install clean cd /usr/ports/www/nspluginwrapper make install clean Follow the nspluginwrapper instructions to enable all available plugins: # nspluginwrapper -v -a -i Auto-install plugins from /usr/X11R6/lib/browser_plugins Looking for plugins in /usr/X11R6/lib/browser_plugins Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin Looking for plugins in /usr/local/lib/npapi/linux-flashplugin Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so Auto-install plugins from /root/.mozilla/plugins Looking for plugins in /root/.mozilla/plugins Restart or open Firefox 3 and enter about:plugins into your address bar. You should see something like the following: And that's it! Open your favourite Flash site and all should work. If your browser doesn't register the Shockwave Flash plugin as pictured above, you might need to do a bit of extra work as I had to do on one of my machines: cd /usr/local/lib/firefox3/plugins ln -s /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so npwrapper.libflashplayer.so I'm not sure why one of my machines needed this, but it might happen to you so this is just a heads up. Update: I have learned that the change with the plugin directory is due to a change in FreeBSD's Firefox 3 port. If you're running port version 3.0.1_1 or later you will need to use the new plugin directory as shown above. CVS change history can be seen here. Enjoy! That is precisely why I keep an XP box nearby. There is no way in hell that I would want to personally, or expect a colleague for that matter, to waste valuable time getting a simple plug-in to work; especially since I can do it in a matter of seconds on a Microsoft product. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | Nuclear war would really set back cable. Ted Turner ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
2009/10/27 Lars Eighner luvbeas...@larseighner.com: On Tue, 27 Oct 2009, Jonathan McKeown wrote: On Monday 26 October 2009 21:29:27 Yuri wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? What is this anti-sendmail obsession people have? The configuration is opaque, to put it kindly. Are you talking about sendmail.m4 or sendmail.cf? Because we stopped editing sendmail.cf by hand years ago. I really don't think configuring it properly is difficult. As you kindly cut out of Jonathan's post when you replied to it, Almost everyone I've ever spoken to about why they dislike sendmail trots out a bunch of cliches based on sendmail 8.8. People, we're up to sendmail 8.14 now. Get over it! [1] Chris [1] http://www.mail-archive.com/freebsd-questions@freebsd.org/msg223489.html -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Bad sectors: how bad can it be
On Tue, 27 Oct 2009 08:16:07 + Matthew Seaman m.sea...@infracaninophile.co.uk replied: Gr_newald Micha_l wrote: Dear list, after an incorrect power-off of my FreeBSD system, it does not boot any more, BTX stops even before showing the cute beastie menu. Starting the machine by other means, I found that the hard-drive is installed on has bad sectors. I am looking for advices on how to recover from this, if possible. Basically the question is: shall I discard my hard-drive with bad-sectors, or can I continue using it? The Linux system I use to diagnose this says: hdb: media error (bad sector): status=0x51 { DriveReady SeekComplete Error } hdb: media error (bad sector): error=0x30 { LastFailedSense=0x03 } ... Buffer I/O error on device hdb, logical block 1663200 etc. Since I use computers (1992) these are my first bad sectors :) (on hard drives, taking floppies into account is no fun!). I hence have several questions: -- is it possible to let these sectors? -- to which extents a hard-drive with bad sectors is usable? -- while the apparition of these bad sectors coincide with an incorrect power-off, are the two events related? The machine suffered plenty improper power-offs (or many), in the last years and did not react so badly! Yes. Back up your data and replace that disk ASAP. It's toast. All disks come with a built-in set of spare sectors, which the firmware will automatically substitute for any sectors that go bad. If you get to the state where the OS is seeing bad blocks, it means the disk has run out of spare sectors. It's worn out. A friend of mine had a lap-top that exhibited similar behavior. After trying the usual methods, he used SpinRite http://www.grc.com/intro.htm at its highest level on the disk. It ran for 97 hours; however, when completed, the disk worked like new. While replacing the drive is certainly a good idea, if you need information on it that you cannot otherwise extract, you might want to try another method. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | Never pay a compliment as if expecting a receipt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? Obviously, not everyone wants or needs sendmail in the base system. But quite a few people do use it, and many FreeBSD developers are happy with the status quo, so it is unlikely that sendmail will be removed soon. But there's nothing to prevent you from disabling it in rc.conf(5): sendmail_enable=NONE and replacing it's administrative use with local logs in periodic.conf(5), by adding, for example: daily_output=/var/log/daily.log daily_clean_hoststat_enable=NO daily_status_mailq_enable=NO daily_status_include_submit_mailq=NO daily_status_mail_rejects_enable=NO daily_queuerun_enable=NO daily_submit_queuerun=NO daily_status_security_output=/var/log/daily.log weekly_output=/var/log/weekly.log monthly_output=/var/log/monthly.log . (Or you can use another MTA instead.) You can also go one step farther: if you have the system sources available, you can rip sendmail out of the base system and avoid building and installing it again by using either WITHOUT_SENDMAIL=yes or WITHOUT_MAIL=yes in src.conf(5), then running 'make delete-old' and 'make delete-old-libs' in /usr/src, and finally removing any leftover associated files by hand. (find(1) can be used with the appropriate flags to check for stale files or empty directories in the base system directories immediately after a fresh install in order to help locate such leftover files. A warning: use of the more drastic WITHOUT_MAIL option can remove /usr/bin/fmt, which is used unconditionally by some src targets. So you may need to install fmt by hand, or patch the src Makefiles so that fmt isn't used.) All this doesn't take very long, and doesn't need to be done all that often on an existing system, so the presence of sendmail in the base system shouldn't worry you too much, even if you don't want to use it on your system(s). b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: lang/gcc43 and lang/gcc44 installation procedures broken after updates
Scott Bennet wrote: There haven't been much changes in the infrastructure of these two ports recently, so any problems are probably arising from changes in the distfiles, or problems in your base system or the ports that are used to build and install lang/gcc4X. === Starting check for runtime dependencies === Gathering dependency list for lang/gcc43 from ports === Starting dependency check === Checking dependency: converters/libiconv === Checking dependency: math/libgmp4 === Checking dependency: math/mpfr === Dependency check complete for lang/gcc43 /bin/rm -f /usr/local/man/man7/fsf-funding.7 /usr/local/man/man7/gfdl.7 /usr/local/man/man7/gpl.7 Something is very wrong here. portmaster should now be running 'make install', but the build transcript shows messages of the post-install target first, and then messages of the do-install target afterwards. Obviously this is going to lead to problems if it represents the true order in which commands were executed. Did you mangle the transcript, or does it faithfully represent the order in which things occurred? If the latter, are you running a parallel build? If so, don't. Try starting from scratch, using only a single make job at any given time. Start from a clean WRKDIR, and remove portmaster from consideration, by using a simple 'make deinstall clean install' (backup your existing lang/gcc4X installation first if you so desire with 'pkg_create -b'.) What happens? b. install-info --quiet /usr/local/info/gcc43/cpp.info /usr/local/info/dir install-info: No such file or directory for /usr/local/info/gcc43/cpp.info *** Error code 1 /bin/rm -f /usr/local/lib/gcc43/*.la # Add target libraries and include files to packaging list. /bin/rm -f /usr/ports/lang/gcc43/work/PLIST.lib cd /usr/local ; if [ -d lib/gcc43 ]; then /usr/bin/find lib/gcc43 -type f -o -type l /usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find lib/gcc43 -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' /usr/ports/lang/gcc43/work/PLIST.lib ; fi cd /usr/local ; if [ -d libexec/gcc43 ]; then /usr/bin/find libexec/gcc43 -type f -o -type l /usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find libexec/gcc43 -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' /usr/ports/lang/gcc43/work/PLIST.lib ; fi cd /usr/local ; if [ -d include/gcj ]; then /usr/bin/find include/gcj -type f -o -type l /usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find include/gcj -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' /usr/ports/lang/gcc43/work/PLIST.lib ; fi cd /usr/local ; if [ -d include/gnu ]; then /usr/bin/find include/gnu -type f -o -type l /usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find include/gnu -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' /usr/ports/lang/gcc43/work/PLIST.lib ; fi cd /usr/local ; if [ -d include/java ]; then /usr/bin/find include/java -type f -o -type l /usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find include/java -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' /usr/ports/lang/gcc43/work/PLIST.lib ; fi cd /usr/local ; if [ -d include/javax ]; then /usr/bin/find include/javax -type f -o -type l /usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find include/javax -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' /usr/ports/lang/gcc43/work/PLIST.lib ; fi cd /usr/ports/lang/gcc43/work ; /usr/bin/sed -i -e /PLIST.lib/ r PLIST.lib /usr/ports/lang/gcc43/work/.PLIST.mktmp sed: /usr/ports/lang/gcc43/work/.PLIST.mktmp: No such file or directory *** Error code 1 gmake[1]: Entering directory `/usr/ports/lang/gcc43/work/build' /bin/sh ./../gcc-4.3-20091004/mkinstalldirs /usr/local /usr/local gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/libdecnumber' gmake[2]: Nothing to be done for `install'. gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/libdecnumber' gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/intl' gmake[2]: Nothing to be done for `install'. gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/intl' gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/fixincludes' rm -rf /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools /bin/sh .././../gcc-4.3-20091004/fixincludes/../mkinstalldirs /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools mkdir /usr/local/libexec/gcc43 mkdir /usr/local/libexec/gcc43/gcc mkdir /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2 mkdir /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5 mkdir /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools /bin/sh .././../gcc-4.3-20091004/fixincludes/../mkinstalldirs /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools/include mkdir /usr/local/lib/gcc43 mkdir /usr/local/lib/gcc43/gcc gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd7.2/libstdc++-v3' Making install in include mkdir /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2
Re: gcc -pg and ld error, cannot find -lgcc_p
Vaibhav Gavane writes: Use sysinstall to add the proflibs distribution. Or one could rebuild/install world (and kernel if necessary) after investigating the NO_PROFILE option in /etc/make.conf. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: howto use https in favour of http
Scott Bennett wrote: Alexander Best wrote: Hi, i've added the following line to my /etc/hosts: permail.uni-muenster.de:25 permail.uni-muenster.de:443 so what i want is for freebsd to never use http, but https for that address. [snip] Perhaps the easiest direct solution is to bookmark https://permail.uni-muenster.de/ in the browser bookmarks instead of http://permail.uni-muenster.de/ -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: WD External Disc Drive
On Tue, Oct 27, 2009 at 12:55:51AM -0700, per...@pluto.rain.com wrote: ... If you are refering to a kind of hard disk, use disk with k. Think like diskette. If you are refering to optical media, use disc with c. Think like CD = compact disc. An arbitrary convention adopted by you and a few other people does not invalidate the dictionary spellings and usage. Am I the only one who is finding the longevity of this bikeshed a bit disk-gusting? Ah, in the throes of a bad economy, so we can't afford an over-priced movie or exhorbitant concert tickets, we need some sort of entertainment. Bikesheds are cheap. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
PPPoE client+pf+nat
Hello, I am looking to configure my FreeBSD 8.0 machine for the purpose specified in the subject. Let's say I have two NICs in my PC: ext_if (for wan/pppoe connection) and int_if for my LAN. How would you manage to get work NAT with pf using PPPoE from my ISP; I'd like to use DHCP on my LAN. Thank you for you ideas! Laci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Looking for troubleshooting tips.
I shift deleted my inbox and lost all of the original replies :( anyway... I have another sensor that just started to exhibit this same behavior. This time though, I have some more info: swap_pager_getswapspace(4): failed swap_pager_getswapspace(16): failed swap_pager_getswapspace(16): failed swap_pager_getswapspace(2): failed pid 75157 (flow-report), uid 1001, was killed: out of swap space What made me notice this time was the zabbix (http://www.zabbix.com/) agent on this host kept bumping online/offline. So it looks like we are loaded enough to affect other processes as well. Is this just a matter of adding more ram? Or do I increase the swap space? Or is there another issue here; I have never ran out of swap space before? Thanks. On Wed, Oct 21, 2009 at 9:58 AM, Paul Halliday paul.halli...@gmail.comwrote: I use Freebsd as the base for my network monitoring sensors. These machines run a netflow probe, act as a netflow collector and spool full content data from a snort process FIFO that is bound to a span port. During peak hours this can be 100MB saturated, its connected to a GB intel NIC on the box (there is a separate uplink). In the background numerous little scripts run to produce summary data. The basic template for these systems has been the same for the past 4 years and things have worked great. Recently, one of these machines started to become a little laggy and I can't seem to identify the issue. This system has always seen a lot of packet loss, I expect this though as it is a busy site but this has never affected its performance. Can an overloaded NIC cause serious performance issues like those I am seeing? This is a recent top: last pid: 98870; load averages: 1.54, 1.41, 1.31 up 1+01:57:10 11:50:24 142 processes: 2 running, 139 sleeping, 1 zombie CPU states: 30.9% user, 0.0% nice, 15.0% system, 1.7% interrupt, 52.4% idle Mem: 450M Active, 328M Inact, 168M Wired, 33M Cache, 110M Buf, 3700K Free Swap: 2048M Total, 5112K Used, 2043M Free 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 To be honest, I don't know which counters are important. Is there anything specific I should be concentrating on to determine the cause? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: WD External Disc Drive
On Tue, 27 Oct 2009 15:27:23 +1030, Malcolm Kay malcolm@internode.on.net wrote: An arbitrary convention adopted by you and a few other people does not invalidate the dictionary spellings and usage. As I mentioned before, the (hard) disk vs. (optical) disc differentiation seems to be quite german-specific, allthough older IBM material of the mainframe era refers to disks when talking about DASD, and disk packs in general. The topic External Disc Drive would, according to what I have learned, usually refer to an external CD or DVD drive, while an external disk drive, or more precise an external hard disk drive would describe a hard disk. My Australian (Macquarie) dictionary gives the spelling in all cases as disc but recognises disk as a chiefly US variant. My Conscise Oxford (English) dictionary simply gives the two spellings as alternatives but states that disk is the better. My Webster's (American) gives the two forms as alternatives without suggesting any preference. Of course different editions of the dictionaries may give slightly different slants but are most unlikely to actually contradict these possibly earlier views. That's interesting to know. I like to learn new things from this list, even when it's about correct spelling. I find your distinctions arbitrary and quite inappropriate; again not meaning to sound impolite. I have to apologize that I grew up in my IT career with exactly the interpretation I mentioned. Furthermore, it seems to be very common in Germany, as well as the usage of disk for any kind of hard disk, as illustrated by the FreeBSD handbook. So, each to his/her own usage but please do not be critical of those of us not conforming to your arbirary conventions. Malcolm, I will keep this in mind. As soon as someone asks questions about /etc folders and IDE controllers, I will be back. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: WD External Disc Drive
On Tue, 27 Oct 2009 16:21:37 +1030, Malcolm Kay malcolm@internode.on.net wrote: Further, If we look at some acronyms associated with optical media we have: CD - Compact Disc DVD - Digital Video Disc but: UDF - Universal Disk Format (The file system frequently used on CDs and DVDs) So there is no consistency here! Again, you're correct, there seems to be some preferred, but not generally standardized use of disk and disc. Maybe we need fdisc someday. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
binary upgrade 6.1 - 7.2/8.0
Is it feasible to upgrade a system from 6.1 to 7.2 or 8.0-RC1 and if yes what sequence of upgrades should I actually carry out ie is it feasible to do 6.1-6.2 and then 6.2 - 7.2 or should it be done in small steps? -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Bad sectors: how bad can it be
On Tue, Oct 27, 2009 at 08:31:18AM +0100, Grünewald Michaël wrote: Dear list, after an incorrect power-off of my FreeBSD system, it does not boot any more, BTX stops even before showing the cute beastie menu. Starting the machine by other means, I found that the hard-drive is installed on has bad sectors. I am looking for advices on how to recover from this, if possible. Basically the question is: shall I discard my hard-drive with bad- sectors, or can I continue using it? The Linux system I use to diagnose this says: hdb: media error (bad sector): status=0x51 { DriveReady SeekComplete Error } hdb: media error (bad sector): error=0x30 { LastFailedSense=0x03 } ... Buffer I/O error on device hdb, logical block 1663200 etc. Since I use computers (1992) these are my first bad sectors :) (on hard drives, taking floppies into account is no fun!). I hence have several questions: -- is it possible to let these sectors? -- to which extents a hard-drive with bad sectors is usable? -- while the apparition of these bad sectors coincide with an incorrect power-off, are the two events related? The machine suffered plenty improper power-offs (or many), in the last years and did not react so badly! If a disk begins to have actual bad sectors - ones that cannot be written and/or read then it is likely that the problem will progress and soon the disk will be unusable. All modern disk drives have built in remapping of bad sectors and you will normally not see any error messages until so many sectors go bad that it runs out of spare ones. So, it should replaced. But your situation makes it just a little more difficult to make this broad generalization. In this case, it might just be that the power outage came at a bad time and in a bad place so it caused a couple of essential sectors to be incorrectly written. If it was in an inode or a superblock it could make it unusuable, but possible to recover, at least everything but the bad ones. You can use an alternate superblock. This incorrect writing due to a power loss is actually not very likely, but could happen. Anyway, in that case, if you could get what you need off the disk, you could then just reformat/renewfs it, load stuff back up and go back to using it. So, study up on recovering data by using an alternate superblock and see what you can find out. If you rebuild it and it continues to put out bad sector messages, then discard it. Since disk is relatively cheap nowdays, it might be more worth your time to just get another one and start over anyway. Probably able to get a much larger capacity disk that way too. Good luck and have fun, jerry -- Thank you in advance for your advices, Michaël___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Bad sectors: how bad can it be
On Tue, 27 Oct 2009 08:31:18 +0100, Grünewald Michaël michaelgrunew...@yahoo.fr wrote: Starting the machine by other means, I found that the hard-drive is installed on has bad sectors. I am looking for advices on how to recover from this, if possible. If there's data on the disk you want to get back, first make a dd copy of the drive or the partition in question. Use an accurately working disk as the target. In case of bad sectors, you should maybe try dd_rescue and ddrescue because they can handle bad sectors often better than the common dd. You'll find them in the ports. After you got your dd copy, work with that for recovery. Do not use the defective disk anymore, only if you messed up the dd copy. A command would look like this: # ddrescue -d -r 3 -n /dev/ad1s1f ads1f.dd ddrescue.log The result is an image of the partition that you can then mount again. # mdconfig -a -t vnode -u 10 -f ad1s1f.dd # mount -o ro /dev/md10 /mnt If the file system isn't intact anymore, there are other tools that may be able to help you, such as recoverdisk, ffs2recov, magicrescue, testdisk, scan_ffs, recoverjpeg, photorec and finally + ultimately, The Sleuth Kit (fls, dls, ils etc.). Basically the question is: shall I discard my hard-drive with bad- sectors, or can I continue using it? Discard it. Hard disks are cheap today, and bad sectors may have the habit to multiply. Don't take that risk. BUT: Discard it when you got all your important data off the disk. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Looking for troubleshooting tips.
On Tue, Oct 27, 2009 at 8:54 AM, Paul Halliday paul.halli...@gmail.comwrote: I shift deleted my inbox and lost all of the original replies :( anyway... I have another sensor that just started to exhibit this same behavior. This time though, I have some more info: swap_pager_getswapspace(4): failed swap_pager_getswapspace(16): failed swap_pager_getswapspace(16): failed swap_pager_getswapspace(2): failed pid 75157 (flow-report), uid 1001, was killed: out of swap space What made me notice this time was the zabbix (http://www.zabbix.com/) agent on this host kept bumping online/offline. So it looks like we are loaded enough to affect other processes as well. Is this just a matter of adding more ram? 1. This is what I would do provided 3 is explored appropriately Or do I increase the swap space? 2. This works too, but keep in mind swap space is orders of magnitude slower than RAM. Or is there another issue here; I have never ran out of swap space before? 3. Could be a runaway process/memory leaking consuming all available resources. If that is the case 1 and 2 won't help so check this out first. Thanks. Please don't top-post. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: howto use https in favour of http
On Tue, 27 Oct 2009 03:29:13 +0100 (CET) Alexander Best alexbes...@math.uni-muenster.de wrote: i'm not using a webserver or anything. i'm just a regular user. the point is: i often forget to specify https://... for that specific address in apps like lynx or firefox. that's why the non-ssl version of that site is being loaded. That's internal to the application. i'd like freebsd to take care of this so even if the app is trying to access the non-ssl version it should in fact be redirected to the ssl version by freebsd. Why not just use bookmarks? If you want to avoid unsecure connections to specific sites, you can do it with a firewall, or you can install a proxy (such as squid) and use ACLs. However some sites may not look quite the same due to insecure links to graphics etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PPPoE client+pf+nat
On Tue, 27 Oct 2009 06:51:26 -0700 (PDT), Dánielisz László laszlo_daniel...@yahoo.com wrote: Hello, I am looking to configure my FreeBSD 8.0 machine for the purpose specified in the subject. Let's say I have two NICs in my PC: ext_if (for wan/pppoe connection) and int_if for my LAN. How would you manage to get work NAT with pf using PPPoE from my ISP; I'd like to use DHCP on my LAN. It's quite easy, I did this in the past with FreeBSD 5. 1. PPPoE Setup /etc/ppp/ppp.conf with the correct data for your ISP. It woule be like this: pppoe provider name, arbitrary: set device PPPoE:external interface set authname username for PPPoE connection set authkey password set dial set login add default HISADDR In /etc/rc.conf, enter ifconfig_external_interface=up ppp_enable=YES ppp_profile=pppoe provider name as in /etc/ppp/ppp.conf ppp_mode=ddial ppp_nat=YES for the external interface, and for the internal one: ifconfig_internal_interface=inet 192.168.100.1 netmask 0xff00 (or any other subnet definition you like) dhcpd_enable=YES dhcpd_conf=/usr/local/etc/dhcpd.conf dhcpd_ifaces=internal_interface dhcpd_flags=-q Keep in mind that you have to load netgraph_load=YES ng_ether_load=YES ng_pppoe_load=YES ng_socket_load=YES per /boot/loader.conf in order to enable the Netgraph subsystem. I think tho 2. PF - Sorry, I'm not familiar with PF, I always used IPFW. So I had the rule add divert natd ip from any to any via external interface prior to the other rules that formed a setting to be described as: Only allow those (named) ports for connections, disallow anything else. 3. DHCP --- Install the ISC DHCP server from ports and configure the settings for the local network as intended. THis is usually done in /usr/local/etc/dhcpd.conf with a content like this: option domain-name-servers your ISP's name servers; ddns-update-style none; subnet 192.168.100.0 netmask 255.255.255.0 { range 192.168.100.2 192.168.100.250; option routers 192.168.100.1; } You can add host entries for well-known so they always get the same IP according to their MAC, and deny unknown-clients; to force MAC knowledge. Since I ran this setting in v5, kernel configuration required to have options DUMMYNET options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT in the file. I'm sure this is not needed anymore, because there are modules for this. Of course, you can include the options for NETGRAPH here, too. IMPORTANT NOTE: I'm not using such a setting anymore, so I'm not sure if this is still recommended or even working on v8. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PPPoE client+pf+nat
On Tue, 27 Oct 2009 06:51:26 -0700 (PDT) Dánielisz László laszlo_daniel...@yahoo.com wrote: Let's say I have two NICs in my PC: ext_if (for wan/pppoe connection) and int_if for my LAN. How would you manage to get work NAT with pf using PPPoE from my ISP As a start your pf.conf could look a bit like this: # ext_if = tun0 int_if = em1 localnet = $int_if:network set block-policy return set skip on lo0 scrub in all nat on $ext_if from $localnet to any - ($ext_if) antispoof for ($ext_if) antispoof for $int_if block in log all pass inet from { lo0, $localnet } to any pass out on $ext_if all # Andreas -- GnuPG key : 0x2A573565|http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 pgpxqmJCP5t4d.pgp Description: PGP signature
Re: auto format and partion p.s.
On Tue, 27 Oct 2009 05:29:16 +1000 da...@hushmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ps. is there a step by step document somwhere??? On Tue, 27 Oct 2009 02:50:16 +1000 Robert travelin...@cox.net wrote: On Fri, 23 Oct 2009 09:23:35 +1000 da...@hushmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 got the latest version of your os for 64 bit systems from osdisc.com do you think you could throw in an auto install feauture that like every other os on the market i dropped out of devry and i still cant figure out what the installer is asking me to do. Perhaps you need to read the handbook found at freebsd.org or you can try pcbsd at http://www.pcbsd.org/ or you can wait until some one creates an auto install feature. That could be a very long time and you would be missing out on the best OS available. Please keep the list in all of your replies as there are many, many people who have a lot more knowledge that I do. I have added the list back in. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html This is about as step-by-step as you can get. It even has pictures of the screens you encounter. It is reached by clicking on documentation and then handbook. It is also suggested that you read the entire handbook before starting the install. I started with FreeBSD about 5 or 6 years ago. I, too, had problems at first but instead of whining on the questions list, I read the manual and lurked on the mailing list. I have found that the people on this list are more than willing to help anyone as long as that person gives their best effort at learning. Those that choose to complain and compare FreeBSD to other OS's usually are ignored or told to go back to the OS that they feel is better. FreeBSD takes some time to get the feel of. If you choose to spend the time to become familiar with it you will be rewarded with an OS that allows you to do what you want. If you have specific questions when trying to install FreeBSD, then by all means ask on this list. Be sure to document what you have done, where the failure occurred and what you have tried. It is also recommended to include the information about the version of FreeBSD you are trying to install and some of your hardware specs. I sincerely hope this helps. I would like to welcome you to FreeBSD and I hope you find it as satisfying as I have. If you have more questions, feel free to ask. Just remember to include the list because I am wrong as often as I am right. :-) Robert P.S. The normal format for all of the FreeBSD list is to not top post. That is to either place all of you replies at the bottom or within the text where you are responding to a specific paragraph or statement. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PPPoE client+pf+nat
On Tue, 27 Oct 2009 06:51:26 -0700 (PDT) Dánielisz László laszlo_daniel...@yahoo.com wrote: Hello, I am looking to configure my FreeBSD 8.0 machine for the purpose specified in the subject. Let's say I have two NICs in my PC: ext_if (for wan/pppoe connection) and int_if for my LAN. How would you manage to get work NAT with pf using PPPoE from my ISP; I'd like to use DHCP on my LAN. PPPoE is documented in the handbook, I'd suggest you set that up first together with a simple pf firewall to secure the system. There are plenty of howtos for PF+NAT+DHCP. I would suggest you also run a DNS cache so dhcp clients can be given a fixed private IP address instead of the ISP servers. FWIW you may not actually need two NICs, if you have a modem/router with multiple ports you may be able to get away with PPPoE and your lan sharing the same NIC (your wan interface being tun0). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Using bash with MySQL
I am in the process of writting a script that will use MySQL as a back end. For the most part, I have gotten things to work correctly. I am having one problem though. Assume a data base: database: MyDataBase table: MyTable field: defaults Now, I have populated the 'defaults' fields with the declare statements that I will use in the script. They are entered similar to this: declare -a MSRBL_LIST Now, I issue this from my bash script: SQL_USER=user # MySQL user SQL_PASSWORD=secret # MySQL password DB=MyDataBase # MySQL data base name HOST=127.0.0.1 # Server to connect to NO_COLUMN_NAME=--skip-column-names COM_LINE=-u${SQL_USER} -p${SQL_PASSWORD} -h ${HOST} ${NO_COLUMN_NAME} table=MyTable DECLARE_STATEMENTS=($(mysql ${COM_LINE} -i -euse ${DB}; SELECT defaults FROM ${table} WHERE 1;)) for (( i=0;i${#DECLARE_STATEMENTS[*]};i++)); do echo ${DECLARE_STATEMENTS[i]} done This output is produced: declare -a MSRBL_LIST Obviously, I want the output on one line for each field. I have tried enclosing the variables with both single and double quote marks; however, that does not work. Fields that do not contain spaces are displayed correctly. Obviously, I am doing something really stupid here. I hope someone can assist me. I probably should ask this on the MySQL forum; however, I was hoping that someone here might be able to supply a remedy. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Fraud is the homage that force pays to reason. Charles Curtis, A Commonplace Book ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: flashplugin
--On Tuesday, October 27, 2009 04:13:52 -0500 Jerry ges...@yahoo.com wrote: That is precisely why I keep an XP box nearby. There is no way in hell that I would want to personally, or expect a colleague for that matter, to waste valuable time getting a simple plug-in to work; especially since I can do it in a matter of seconds on a Microsoft product. The problem is, it's not a simple plugin. It is on Windows. On FreeBSD it requires manipulation precisely because *there is no plugin* for FreeBSD. It's a Linux plugin being adapted to FreeBSD using linux emulation, which adds a layer of complexity that Windows doesn't have to deal with. Imagine trying to get a Mac executable to run on Windows, and maybe you can understand why flash has always been problematic on FreeBSD (although great progress has been made.) -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead. Thomas Jefferson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Using bash with MySQL
carmel_ny wrote: I am in the process of writting a script that will use MySQL as a back end. For the most part, I have gotten things to work correctly. I am having one problem though. Assume a data base: database: MyDataBase table: MyTable field: defaults Now, I have populated the 'defaults' fields with the declare statements that I will use in the script. They are entered similar to this: declare -a MSRBL_LIST Now, I issue this from my bash script: SQL_USER=user # MySQL user SQL_PASSWORD=secret # MySQL password DB=MyDataBase # MySQL data base name HOST=127.0.0.1 # Server to connect to NO_COLUMN_NAME=--skip-column-names COM_LINE=-u${SQL_USER} -p${SQL_PASSWORD} -h ${HOST} ${NO_COLUMN_NAME} table=MyTable DECLARE_STATEMENTS=($(mysql ${COM_LINE} -i -euse ${DB}; SELECT defaults FROM ${table} WHERE 1;)) for (( i=0;i${#DECLARE_STATEMENTS[*]};i++)); do echo ${DECLARE_STATEMENTS[i]} done This output is produced: declare -a MSRBL_LIST Obviously, I want the output on one line for each field. I have tried enclosing the variables with both single and double quote marks; however, that does not work. Fields that do not contain spaces are displayed correctly. Obviously, I am doing something really stupid here. I hope someone can assist me. I probably should ask this on the MySQL forum; however, I was hoping that someone here might be able to supply a remedy. This loop is where it all goes horribly wrong: for (( i=0;i${#DECLARE_STATEMENTS[*]};i++)); do echo ${DECLARE_STATEMENTS[i]} done In Posix shell, the intended functionality would be more usually coded like this: IFS=$( echo ) for ds in $DECLARE_STATEMENTS ; do echo $ds done where $DECLARE_STATEMENTS is split on any characters present in $IFS -- the input field separators, here set to be just a newline character. (You don't have to use echo to do that; you can just put a literal newline between single quotes, but it's hard to tell all the different forms of whitespace apart if you're reading code snippets in an e-mail...) I suspect similar IFS trickery would work with bash, but I'm not familiar with the array syntax stuff it uses. /bin/sh is perfectly capable for shell programming and positively svelte when compared to bash and it's on every FreeBSD machine ever installed, so why bother with anything else? Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Why is sendmail is part of the system and not a package?
On Tuesday 27 October 2009 7:32:14 am b. f. wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? Obviously, not everyone wants or needs sendmail in the base system. But quite a few people do use it, and many FreeBSD developers are happy with the status quo, so it is unlikely that sendmail will be removed soon. But there's nothing to prevent you from disabling it in rc.conf(5): Or from switching to other BSDs in which the last word over an issue stands in the hands of reason .. and not in the hands of status quo ... which, by the way, never took any science a single step forwar, and on the contrary ... did everything it could to stop it ... because otherwise, there would be no status quo anymore or it will fall in the hands of others. sendmail_enable=NONE and replacing it's administrative use with local logs in periodic.conf(5), by adding, for example: daily_output=/var/log/daily.log daily_clean_hoststat_enable=NO daily_status_mailq_enable=NO daily_status_include_submit_mailq=NO daily_status_mail_rejects_enable=NO daily_queuerun_enable=NO daily_submit_queuerun=NO daily_status_security_output=/var/log/daily.log weekly_output=/var/log/weekly.log monthly_output=/var/log/monthly.log . (Or you can use another MTA instead.) You can also go one step farther: if you have the system sources available, you can rip sendmail out of the base system and avoid building and installing it again by using either WITHOUT_SENDMAIL=yes or WITHOUT_MAIL=yes in src.conf(5), then running 'make delete-old' and 'make delete-old-libs' in /usr/src, and finally removing any leftover associated files by hand. (find(1) can be used with the appropriate flags to check for stale files or empty directories in the base system directories immediately after a fresh install in order to help locate such leftover files. A warning: use of the more drastic WITHOUT_MAIL option can remove /usr/bin/fmt, which is used unconditionally by some src targets. So you may need to install fmt by hand, or patch the src Makefiles so that fmt isn't used.) All this doesn't take very long, and doesn't need to be done all that often on an existing system, so the presence of sendmail in the base system shouldn't worry you too much, even if you don't want to use it on your system(s). b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Best Regards Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Monday 26 October 2009 11:06:47 pm Olivier Nicole wrote: How many people actually use it? Very few. Out of the 12 or 15 servers I run, only one do not use stock sendmail: the mail server. So one out of twelve is rather quite a lot... Let me get this .. are you saying that out of 12 server, 11 run sendmail as a local mailer and that the only server that runs a mail server (the one that conects to the outside world) uses other MTA? I'm asking honestly .. see, the OP question is really hard to answer ... It is a fact that every default install, and only a default install .. because sysinstall gives you the chance to install other MTAs, of FreeBSD install uses Sendmail .. but there's absolutely no relation between that and number of people who actually uses it as their mail server of choice to face the internet ... Of course every FreeBSD default install uses Sendmail as a local mailer, but that doesn't account for How many people actually use it? .. It only says that every FreeBSD default install uses Sendmail as a local mailer but no more than that :s Best Regards Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tuesday 27 October 2009 5:16:30 am Jonathan McKeown wrote: On Monday 26 October 2009 21:29:27 Yuri wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? What is this anti-sendmail obsession people have? Hard to tell .. and, personaly I wouldn't so hastly conclude that this concerns anti-sendmail obsession, are but it seems to be spreading as a disease ... Linux distributions where the first to get it out of their default install in favor of Postfix, and the other BSDs .. well NetBSD uses Postfix, DragonflyBSD is working on moving to DMA and OpenBSD is working steadily and hard on OpenSMTPD ... Maybe they can tell .. Almost everyone I've ever spoken to about why they dislike sendmail trots out a bunch of cliches based on sendmail 8.8. People, we're up to sendmail 8.14 now. Get over it! Just as a matter of interest, if you want to rip sendmail out of the base system, which MTA would you like to replace it with? Or are you suggesting the system ship with no way to handle mail? No .. I think he is just asking Why isn't it moved to ports? and replaced by another mailer ... Best Regards Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, 27 Oct 2009 15:43:39 -0200, Gonzalo Nemmi gne...@gmail.com wrote: On Tuesday 27 October 2009 7:32:14 am b. f. wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? Obviously, not everyone wants or needs sendmail in the base system. But quite a few people do use it, and many FreeBSD developers are happy with the status quo, so it is unlikely that sendmail will be removed soon. But there's nothing to prevent you from disabling it in rc.conf(5): Or from switching to other BSDs in which the last word over an issue stands in the hands of reason .. and not in the hands of status quo... which, by the way, never took any science a single step forwar, and on the contrary ... did everything it could to stop it ... because otherwise, there would be no status quo anymore or it will fall in the hands of others. This is precisely the reason why the `status quo' exists. Because people tend to get all political about this sort of thing, and that's exactly the point where the entire discussion goes downhill. First of all, there are ways to build a base system _WITHOUT_ any trace of Sendmail (the WITHOUT_SENDMAIL, WITHOUT_MAILWRAPPER and WITHOUT_MAIL) knobs. So it's not like FreeBSD stops anyone from removing Sendmail. Now, the rest of the comments about 'science' and 'moving forward' are not productive at all. If someone wants to move the particular thing forward there is a well-known _technical_ way of resolving this: - Import your MTA of choice in a local branch. - Integrate the $NEWMTA with the base system of FreeBSD. - Update the manpages and documentation for $NEWMTA. - Submit the patches to the FreeBSD team for review. - Keep updating them as FreeBSD changes. - Maintain and keep the $NEWMTA in shape, by: + reimporting new releases + fixing any bugs that creep up + answering questions of the people who are in a (painful) transitional phase while the dust from $NEWMTA import settles + showing that you have a genuine interest to keep $NEWMTA in a functional, up to date, working condition This is a *lot* of work. Don't be fooled into thinking that I am ever implying it's going to be easy. It will take time, patience, a _lot_ of effort on the part of the submitter, and a sizable amount of _time_. But it is not impossible. So, anyone who really _wants_ to do it, is really both welcome to go ahead and certainly free to do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
PAM and xdm woes
Hi, Every time I start xdm I get the following message on ttyv0, xdm: pam_sm_close_session(): no utmp record for :0 Everything seems to work just fine. I can log in, and everything runs as expected, so it's basically just an annoyance, especially since I don't know whether I should be concerned about security. The only things I've changed from the default xdm config are the size and position of the xconsole window xdm launches and the background (instead of the standard vanilla one, I run an xscreensaver hack), and those are changes I've had for about 10 years without any problems. This error message started showing up quite recently. I believe it happened when upgrading to 8.0, but I'm not sure exactly at what point. I've been running 8.0 since BETA1 and I'm now on RC1, and the message, I believe, started appearing some time at or after upgrading from 7.2-RELEASE-p? to 8.0-BETA1. I've run amd64 for about 2 years, but last week I moved back to i386, because I got tired of waiting for a decent 64 bit nVidia driver. The message has been there in the amd64 version and is still there after moving back to i386, so no change there. I've not changed anything in the PAM configuration; I simply don't know how. So, my questions are: 1. Should I be concerned about it? 2. How do I fix it? If you need any more info, please let me know. I'll be happy to post any config files, e.g. xorg.conf or my KERNCONF file (perhaps I've missed something important in the kernel?) Any help appreciated. Sincerely, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
Jonathan McKeown wrote: Just as a matter of interest, if you want to rip sendmail out of the base system, which MTA would you like to replace it with? Or are you suggesting the system ship with no way to handle mail? This thread moving of topic from OP, but it is always fair to debate what should be considered a base system. Is an MTA a requirement or a remnant from history? And if an MTA is a requirement then asking which one is the best choice is also a fair question. An equally fair answer could be whichever change requires the least work. No different than asking, why is NIS still in the base? Why no ldap? why BIND, but no http? Why NFS? etc... I think the only void answer is because of tradition, that just seems to show that noone really remembers why some choice was made. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: changing cron's From: address in emails
On Sun, Oct 25, 2009 at 11:19 AM, krad kra...@googlemail.com wrote: On Sat, 24 Oct 2009 01:08:21 -0600 Kelly Martin kellymar...@gmail.com wrote: Greetings, here's a simple question for the FreeBSD gurus out there. I have several servers running cron scripts daily for me, and they all send me e-mail with their output. Regardless of which server it is, each of these e-mails have the From: address looking exactly the same. They all say they are from the Cron Daemon. Fine, but I'd like to know more clearly which server the cron output is from. How can I change the From: address of these emails to Myserver Cron Daemon instead? I know cron runs as the user, so it's not immediately obvious to me how to change the From: field. Already the subject line says something like Cron r...@myserver ... but this doesn't stand out enough for my tired eyes. The simplist way to do it is get you scripts to print out a to, from and subject line at the top of their output containing the information you want. eg To: y...@mailbox.com From: scriptn...@hostname.com Subject: scriptname, hostname other script output Then in the cron pipe the output into sendmail with the t flag eg 1 1 * * * somescript 21 | /usr/sbin/sendmail -t you will then get the loverly named emails That is very cool, thank-you! It works beautifully. And as a bonus I've learned something new about how to e-mail the output from my scripts, which can be useful for all sorts of things. Kelly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tuesday 27 October 2009 4:00:07 pm Giorgos Keramidas wrote: On Tue, 27 Oct 2009 15:43:39 -0200, Gonzalo Nemmi gne...@gmail.com wrote: On Tuesday 27 October 2009 7:32:14 am b. f. wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? Obviously, not everyone wants or needs sendmail in the base system. But quite a few people do use it, and many FreeBSD developers are happy with the status quo, so it is unlikely that sendmail will be removed soon. But there's nothing to prevent you from disabling it in rc.conf(5): Or from switching to other BSDs in which the last word over an issue stands in the hands of reason .. and not in the hands of status quo... which, by the way, never took any science a single step forwar, and on the contrary ... did everything it could to stop it ... because otherwise, there would be no status quo anymore or it will fall in the hands of others. This is precisely the reason why the `status quo' exists. Because people tend to get all political about this sort of thing, and that's exactly the point where the entire discussion goes downhill. So .. status quo is a good thing ... First of all, there are ways to build a base system _WITHOUT_ any trace of Sendmail (the WITHOUT_SENDMAIL, WITHOUT_MAILWRAPPER and WITHOUT_MAIL) knobs. So it's not like FreeBSD stops anyone from removing Sendmail. That was never the OP's concern and it's a point that has already been clear for ages and then some more. Now, the rest of the comments about 'science' and 'moving forward' are not productive at all. If someone wants to move the particular thing forward there is a well-known _technical_ way of resolving this: Yet, CS development takes place on BSD fields .. so ... I beg to disagree but, AFAIC the only thing that's not productive at all is not discussing issues and let them be handled by status quo, which .. yet again, never took and any science a single step forward. Feel free to read any history book that accounts from Galileo to today. - Import your MTA of choice in a local branch. - Integrate the $NEWMTA with the base system of FreeBSD. - Update the manpages and documentation for $NEWMTA. - Submit the patches to the FreeBSD team for review. - Keep updating them as FreeBSD changes. - Maintain and keep the $NEWMTA in shape, by: + reimporting new releases + fixing any bugs that creep up + answering questions of the people who are in a (painful) transitional phase while the dust from $NEWMTA import settles + showing that you have a genuine interest to keep $NEWMTA in a functional, up to date, working condition This is a *lot* of work. Don't be fooled into thinking that I am ever implying it's going to be easy. It will take time, patience, a _lot_ of effort on the part of the submitter, and a sizable amount of _time_. That's way outside of the scope of the OP question .. yet still: Wasn't ZFS (and isn't) a lot of work? Aren't DMA, OpenSMTP, OpenCVS, ULE a lot of work? Weren't OpenSSH, OpenSSL, SMP support a lot of work? Actually, I really have a hard time looking for something that wasn't, isn't, or will be a *lot* of work. Maybe we could ask Ed Schouten if his xterm-style emulator will or will not be a *lot* of work .. like to have an authoritative answer ... And since we are at it, wasn't translating the whole FreeBSD documentation into greek a *lot* of work Giorgos. Maybe you could provide us with an authoritative answer too. What wasn't that didn't stop you from doing it?? But it is not impossible. So, anyone who really _wants_ to do it, is really both welcome to go ahead and certainly free to do it. Given the state of the status quo .. I really doubt anyone will stand up to take that task into his hands .. even if as a GSOC. Best Regards Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Mon, Oct 26, 2009 at 12:32, Bill Moran wmo...@potentialtech.com wrote: In response to Yuri y...@rawbw.com: Besides, if it's not there, how are you going to send mail from things like cron? Postfix. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, Oct 27, 2009 at 00:16, Jonathan McKeown j.mcke...@ru.ac.za wrote: On Monday 26 October 2009 21:29:27 Yuri wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? What is this anti-sendmail obsession people have? Almost everyone I've ever spoken to about why they dislike sendmail trots out a bunch of cliches based on sendmail 8.8. People, we're up to sendmail 8.14 now. Get over it! Just as a matter of interest, if you want to rip sendmail out of the base system, which MTA would you like to replace it with? Or are you suggesting the system ship with no way to handle mail? I tried sendmail about 8 years ago. Don't know what the version was. Found it opaque and obscure. Went to Postfix, and have never looked back. Can't comment on sendmail's current state or practice, but postfix Just Works(tm) for me. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
Green! No, no, Blue! AA -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tuesday 27 October 2009 4:32:45 pm Erik Norgaard wrote: Jonathan McKeown wrote: Just as a matter of interest, if you want to rip sendmail out of the base system, which MTA would you like to replace it with? Or are you suggesting the system ship with no way to handle mail? This thread moving of topic from OP, but it is always fair to debate what should be considered a base system. Is an MTA a requirement or a remnant from history? Dear Erik: Contrary to your belief the thread isn't moving of topic from OP, it's just taking the same default route it has been taking for ages: 1) telling the OP the OS needs an MTA 2) telling the OP he can replace the default MTA 3) telling the OP he can remove given MTA from base 4) telling the OP about historical reason 5) Not telling the OP why has FreeBSD has left so many historical reason behind to persuit new goals but retained Sendmail as the default MTA for historical reasons. Sorry .. but that's the way it goes every time someone asks the same question. And if an MTA is a requirement then asking which one is the best choice is also a fair question. An equally fair answer could be whichever change requires the least work. Indeed No different than asking, why is NIS still in the base? Why no ldap? why BIND, but no http? Why NFS? etc... Let me save you the trouble; the answer to mot of that questions will be: historical reasons and that other solutions can can only dream of enjoying a fraction of the respect that BIND and Sendmail command in the industry Believe it or not ... I think the only void answer is because of tradition, that just seems to show that noone really remembers why some choice was made. BR, Erik Best Regards Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tuesday 27 October 2009 7:16:14 am Chris Rees wrote: 2009/10/27 Lars Eighner luvbeas...@larseighner.com: On Tue, 27 Oct 2009, Jonathan McKeown wrote: On Monday 26 October 2009 21:29:27 Yuri wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? What is this anti-sendmail obsession people have? The configuration is opaque, to put it kindly. Are you talking about sendmail.m4 or sendmail.cf? Because we stopped editing sendmail.cf by hand years ago. I really don't think configuring it properly is difficult. Im holding Sendmail, 3rd edition by O'reilly in my hands right now .. the Bat book .. I covers up to Sendmail 8.12 (massive changes took place between 8.9 and 8.12), and I'm still looking at a massive 1207 pages book that deals with a single piece of software ... In my other hand, I'm holding Postfix, The definitive guide by O'Reilly too ... 206 pages to get a fully functional MTA working. The Senmail book is even bigger than the Lucas book on FreeBSD ... the whole Operative System As you kindly cut out of Jonathan's post when you replied to it, Almost everyone I've ever spoken to about why they dislike sendmail trots out a bunch of cliches based on sendmail 8.8. People, we're up to sendmail 8.14 now. Get over it! No .. it didn't get any easier. Best Regards Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, 27 Oct 2009 16:47:12 -0200, Gonzalo Nemmi gne...@gmail.com wrote: On Tuesday 27 October 2009 4:00:07 pm Giorgos Keramidas wrote: - Import your MTA of choice in a local branch. - Integrate the $NEWMTA with the base system of FreeBSD. - Update the manpages and documentation for $NEWMTA. - Submit the patches to the FreeBSD team for review. - Keep updating them as FreeBSD changes. - Maintain and keep the $NEWMTA in shape, by: + reimporting new releases + fixing any bugs that creep up + answering questions of the people who are in a (painful) transitional phase while the dust from $NEWMTA import settles + showing that you have a genuine interest to keep $NEWMTA in a functional, up to date, working condition This is a *lot* of work. Don't be fooled into thinking that I am ever implying it's going to be easy. It will take time, patience, a _lot_ of effort on the part of the submitter, and a sizable amount of _time_. That's way outside of the scope of the OP question .. yet still: Wasn't ZFS (and isn't) a lot of work? Aren't DMA, OpenSMTP, OpenCVS, ULE a lot of work? Weren't OpenSSH, OpenSSL, SMP support a lot of work? Actually, I really have a hard time looking for something that wasn't, isn't, or will be a *lot* of work. Maybe we could ask Ed Schouten if his xterm-style emulator will or will not be a *lot* of work .. like to have an authoritative answer ... And since we are at it, wasn't translating the whole FreeBSD documentation into greek a *lot* of work Giorgos. Maybe you could provide us with an authoritative answer too. What wasn't that didn't stop you from doing it?? Yes, all this was a lot of work and it still is. What I wrote is not in the spirit of silencing anyone who wants to see Sendmail go. It was a description of how it _can_ be done. But it is not impossible. So, anyone who really _wants_ to do it, is really both welcome to go ahead and certainly free to do it. Given the state of the status quo .. I really doubt anyone will stand up to take that task into his hands .. even if as a GSOC. Back when we started to translate the Handbook to Greek, it seemed like an impossibly huge task. A humongous and scary task. Something that would probably *never* be complete and 'done'. Ask our translators now. After almost 8 years of chipping at the bits here and there, we have a loosely organized team of people who actually _like_ doing this sort of stuff. So, anyone who is interested to see Sendmail go, should know that it is going to be a large and time-consuming undertaking. But they should also know that it is not _impossible_. All the projects you described above, including the ones I'm affiliated with, were actually _made_ possible by sitting down and doing the work. What I don't really like is arguing this way and that way, without any intention of actually putting one's code where one's mouth is. If we can reduce _that_ and work on actual patches then the status quo can change. Until then, the status quo is here because it works, it has been stable for a very long time, and it serves its current purpose well enough. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
bind configuration issues
Hello, I am adding a redundant Internet connection to my current hosting setup and I need to figure out how to set up the DNS to make this work. Current setup: freebsd 7.0 machine, one local IP address, runs web, mail, and name server. static ip address in router. I have two DNS servers registered, but they both point to the same ip address an the same machine. (Yes, I should have my fingers slapped.) Desired setup same machine, one local IP address, runs web, mail, and name server. different router (Linksys RV082) with 2 static ip address. How do I set up bind so that 1) bandwidth is shared between the two connections, and 2) if one goes down, the other keeps working. I had a few ideas, but they all seem to have flaws. feel free to answer with links or search keywords. Thanks Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
bind configuration issues
Hello, I am adding a redundant Internet connection to my current hosting setup and I need to figure out how to set up the DNS to make this work. Current setup: freebsd 7.0 machine, one local IP address, runs web, mail, and name server. static ip address in router. I have two DNS servers registered, but they both point to the same ip address an the same machine. (Yes, I should have my fingers slapped.) Desired setup same machine, one local IP address, runs web, mail, and name server. different router (Linksys RV082) with 2 static ip address. How do I set up bind so that 1) bandwidth is shared between the two connections, and 2) if one goes down, the other keeps working. I had a few ideas, but they all seem to have flaws. feel free to answer with links or search keywords. Thanks Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, 27 Oct 2009, Chris Rees wrote: 2009/10/27 Lars Eighner luvbeas...@larseighner.com: On Tue, 27 Oct 2009, Jonathan McKeown wrote: On Monday 26 October 2009 21:29:27 Yuri wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? What is this anti-sendmail obsession people have? The configuration is opaque, to put it kindly. Are you talking about sendmail.m4 or sendmail.cf? Because we stopped editing sendmail.cf by hand years ago. Then what are we using to edit sendmail.cf? The man page doesn't seem to be et up with verbosity on the subject. Let me guess: a gnome GUI? -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Using bash with MySQL
On Tue, 27 Oct 2009 16:17:55 + Matthew Seaman m.sea...@infracaninophile.co.uk replied: carmel_ny wrote: I am in the process of writting a script that will use MySQL as a back end. For the most part, I have gotten things to work correctly. I am having one problem though. Assume a data base: database: MyDataBase table: MyTable field: defaults Now, I have populated the 'defaults' fields with the declare statements that I will use in the script. They are entered similar to this: declare -a MSRBL_LIST Now, I issue this from my bash script: SQL_USER=user# MySQL user SQL_PASSWORD=secret # MySQL password DB=MyDataBase# MySQL data base name HOST=127.0.0.1 # Server to connect to NO_COLUMN_NAME=--skip-column-names COM_LINE=-u${SQL_USER} -p${SQL_PASSWORD} -h ${HOST} ${NO_COLUMN_NAME} table=MyTable DECLARE_STATEMENTS=($(mysql ${COM_LINE} -i -euse ${DB}; SELECT defaults FROM ${table} WHERE 1;)) for (( i=0;i${#DECLARE_STATEMENTS[*]};i++)); do echo ${DECLARE_STATEMENTS[i]} done This output is produced: declare -a MSRBL_LIST Obviously, I want the output on one line for each field. I have tried enclosing the variables with both single and double quote marks; however, that does not work. Fields that do not contain spaces are displayed correctly. Obviously, I am doing something really stupid here. I hope someone can assist me. I probably should ask this on the MySQL forum; however, I was hoping that someone here might be able to supply a remedy. This loop is where it all goes horribly wrong: for (( i=0;i${#DECLARE_STATEMENTS[*]};i++)); do echo ${DECLARE_STATEMENTS[i]} done In Posix shell, the intended functionality would be more usually coded like this: IFS=$( echo ) for ds in $DECLARE_STATEMENTS ; do echo $ds done where $DECLARE_STATEMENTS is split on any characters present in $IFS -- the input field separators, here set to be just a newline character. (You don't have to use echo to do that; you can just put a literal newline between single quotes, but it's hard to tell all the different forms of whitespace apart if you're reading code snippets in an e-mail...) I suspect similar IFS trickery would work with bash, but I'm not familiar with the array syntax stuff it uses. /bin/sh is perfectly capable for shell programming and positively svelte when compared to bash and it's on every FreeBSD machine ever installed, so why bother with anything else? Matthew, unfortunately, that is not the problem. However, you post pointed me in the right direction. Notice this line: (should all be on one line) DECLARE_STATEMENTS=($(mysql ${COM_LINE} -i -euse ${DB}; SELECT defaults FROM ${table} WHERE 1;)) I am saving the output of the MySQL search in an array. Unfortunately, the array is assuming that each space in the returned search is a new element. I have not found out a way to prevent this. If you have any suggestions, I would appreciate them. I have tried putting: IFS=$( echo ) before the 'DECLARE_STATEMENTS' call; however, that produces this error: ./scamp-sql: line 128: syntax error near unexpected token `)' ./scamp-sql: line 128: `DECLARE_STATEMENTS=$(mysql ${COM_LINE} -i -euse ${DB}; SELECT defaults FROM ${table} WHERE '1';))' I know the principal is correct because I tried this code snippet: IFS=$( echo ) a=1 2 3 b=($a) echo ${b[0]} 1 2 3 CONCAT would not benefit me either since the 'space' would still exist in the returned search query. I might have to devise some hack to combine the three elements into one. Fortunately, there are three parts to every element. Unfortunately, there are a lot of them. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | Sweater, n.: A garment worn by a child when its mother feels chilly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tuesday 27 October 2009 5:24:58 pm Giorgos Keramidas wrote: On Tue, 27 Oct 2009 16:47:12 -0200, Gonzalo Nemmi gne...@gmail.com wrote: On Tuesday 27 October 2009 4:00:07 pm Giorgos Keramidas wrote: - Import your MTA of choice in a local branch. - Integrate the $NEWMTA with the base system of FreeBSD. - Update the manpages and documentation for $NEWMTA. - Submit the patches to the FreeBSD team for review. - Keep updating them as FreeBSD changes. - Maintain and keep the $NEWMTA in shape, by: + reimporting new releases + fixing any bugs that creep up + answering questions of the people who are in a (painful) transitional phase while the dust from $NEWMTA import settles + showing that you have a genuine interest to keep $NEWMTA in a functional, up to date, working condition This is a *lot* of work. Don't be fooled into thinking that I am ever implying it's going to be easy. It will take time, patience, a _lot_ of effort on the part of the submitter, and a sizable amount of _time_. That's way outside of the scope of the OP question .. yet still: Wasn't ZFS (and isn't) a lot of work? Aren't DMA, OpenSMTP, OpenCVS, ULE a lot of work? Weren't OpenSSH, OpenSSL, SMP support a lot of work? Actually, I really have a hard time looking for something that wasn't, isn't, or will be a *lot* of work. Maybe we could ask Ed Schouten if his xterm-style emulator will or will not be a *lot* of work .. like to have an authoritative answer ... And since we are at it, wasn't translating the whole FreeBSD documentation into greek a *lot* of work Giorgos. Maybe you could provide us with an authoritative answer too. What wasn't that didn't stop you from doing it?? Yes, all this was a lot of work and it still is. What I wrote is not in the spirit of silencing anyone who wants to see Sendmail go. It was a description of how it _can_ be done. I know Giorgios .. you are a good guy and you do _a_lot_ for FreeBSD, specially: advocacy work ... I've seen it in you flickr ;) I know you never meant to silence anyone. But it is not impossible. So, anyone who really _wants_ to do it, is really both welcome to go ahead and certainly free to do it. Given the state of the status quo .. I really doubt anyone will stand up to take that task into his hands .. even if as a GSOC. Back when we started to translate the Handbook to Greek, it seemed like an impossibly huge task. A humongous and scary task. Something that would probably *never* be complete and 'done'. Ask our translators now. After almost 8 years of chipping at the bits here and there, we have a loosely organized team of people who actually _like_ doing this sort of stuff. So, anyone who is interested to see Sendmail go, should know that it is going to be a large and time-consuming undertaking. But they should also know that it is not _impossible_. All the projects you described above, including the ones I'm affiliated with, were actually _made_ possible by sitting down and doing the work. That was exactly my point. Im glad you understood it the right way. What I don't really like is arguing this way and that way, without any intention of actually putting one's code where one's mouth is. If we can reduce _that_ and work on actual patches then the status quo can change. Personally, I don't like arguing either .. but I can't help but seeing it as the only possible kickstart when positions on a subject are so radically taken. Now, regarding the putting one's code where one's mouth is., that's not only an ideal but also likely scenario ... but look back in time on what happened with other such projects (Constantine Murenin as an example .. and just because I don't want to name other projects/ideas that ended up giving birth to new BSD systems ...) and wonder what would the scenario be knowing in advanced that status quo is not on your side .. and that even worse .. it's in the other. What I'm basically trying to say is that history accounts for the fact that no matter how much you put your code where your mouth is, status quo will remain status quo .. and that is what facts have showned so far. So, in view of those facts, I can hardly see anyone writing a single line of code to change the present situation unless status quo takes the first step .. and even in that case .. I can understand a lot of reluctancy on sitting down and doing the work Until then, the status quo is here because it works, it has been stable for a very long time, and it serves its current purpose well enough. Beg to disagree ... Best Regards and thanks for such a polite, reasonable and sensible reply. Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Bad sectors: how bad can it be
Many thanks to the contributors of the list for their input on this question! I always got quick and detailed answer to my questions on this list, which is very appreciable in this time of (small) trouble. (I feel sorry for the very poor english I demonstrated in the message I wrote this morning: I was in a hurry!) Polytropon wrote: On Tue, 27 Oct 2009 08:31:18 +0100, Grünewald Michaël michaelgrunew...@yahoo.fr wrote: Starting the machine by other means, I found that the hard-drive is installed on has bad sectors. I am looking for advices on how to recover from this, if possible. If there's data on the disk you want to get back, first make a dd copy of the drive or the partition in question. Use an accurately working disk as the target. I have backups of the data contained in the broken, so the data on this disc are not a concern. I have however a question: How do I verify that a hard-drive is accurately working if its firmware will hide the bad sectors as long as possible? Basically the question is: shall I discard my hard-drive with bad- sectors, or can I continue using it? Discard it. Hard disks are cheap today, and bad sectors may have the habit to multiply. Don't take that risk. As the other contributors join their voices to yours, I will replace the faulty disk ASAP. -- Thank you a lot, Michaël ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
2009/10/27 Gonzalo Nemmi gne...@gmail.com: On Tuesday 27 October 2009 7:32:14 am b. f. wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? Obviously, not everyone wants or needs sendmail in the base system. But quite a few people do use it, and many FreeBSD developers are happy with the status quo, so it is unlikely that sendmail will be removed soon. But there's nothing to prevent you from disabling it in rc.conf(5): Or from switching to other BSDs in which the last word over an issue stands in the hands of reason .. and not in the hands of status quo ... which, by the way, never took any science a single step forwar, and on the contrary ... did everything it could to stop it ... because otherwise, there would be no status quo anymore or it will fall in the hands of others. What programs to include by default in a particular operating system ain't science, buddy, no matter how thin you slice that bologna. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, Oct 27, 2009 at 09:24:58PM +0200, Giorgos Keramidas wrote: [big snip] Until then, the status quo is here because it works, it has been stable for a very long time, and it serves its current purpose well enough. I don't use sendmail but it's easy enough to build a different MTA out of ports (at least Postfix is easy) and turn off sendmail, as others have pointed out. I can imagine that a lot of people do use sendmail - it's documented in the handbook for starters. If it was taken out and replaced with another MTA then there would be complaints that sendmail has been taken out or replacement MTA is the wrong one. If somebody's insane enough to write the patches to replace sendmail (will they be accepted?), then they are also going to have to replace all the hooks for removing the MTA, like sendmail currently has; and they're going to have to document the MTA in the handbook. They'll also need a thick skin to handle all the brickbats that come their way ;) I can think of many ways to more fruitfully spend the time that it would take to remove sendmail from base. Removing it from base would also mean that others have to spend time reconfiguring their system(s): not good. I vote for sendmail, even though I'm a postfix user! I don't like change for no good reason and nobody's supplied a good reason yet. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tuesday 27 October 2009 6:18:33 pm ill...@gmail.com wrote: 2009/10/27 Gonzalo Nemmi gne...@gmail.com: On Tuesday 27 October 2009 7:32:14 am b. f. wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? Obviously, not everyone wants or needs sendmail in the base system. But quite a few people do use it, and many FreeBSD developers are happy with the status quo, so it is unlikely that sendmail will be removed soon. But there's nothing to prevent you from disabling it in rc.conf(5): Or from switching to other BSDs in which the last word over an issue stands in the hands of reason .. and not in the hands of status quo ... which, by the way, never took any science a single step forwar, and on the contrary ... did everything it could to stop it ... because otherwise, there would be no status quo anymore or it will fall in the hands of others. What programs to include by default in a particular operating system ain't science, buddy, no matter how thin you slice that bologna. Developing new technologies to improve the state of any given situation or problem in any given point in time is science. This thread is not about What programs to include by default in a particular operating system. Keep slicing your bologna. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
2009/10/27 Lars Eighner luvbeas...@larseighner.com: On Tue, 27 Oct 2009, Chris Rees wrote: 2009/10/27 Lars Eighner luvbeas...@larseighner.com: On Tue, 27 Oct 2009, Jonathan McKeown wrote: On Monday 26 October 2009 21:29:27 Yuri wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? What is this anti-sendmail obsession people have? The configuration is opaque, to put it kindly. Are you talking about sendmail.m4 or sendmail.cf? Because we stopped editing sendmail.cf by hand years ago. Then what are we using to edit sendmail.cf? The man page doesn't seem to be et up with verbosity on the subject. Let me guess: a gnome GUI? You guessed wrong. We use m4, which cuts out most of the crap that you had to write into sendmail.cf. You write sendmail.mc and compile it. Sendmail.mc on my system is less than 50 lines long, including comments. http://www.sendmail.org/m4/intro.html Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tuesday 27 October 2009 6:20:35 pm Frank Shute wrote: On Tue, Oct 27, 2009 at 09:24:58PM +0200, Giorgos Keramidas wrote: [big snip] Until then, the status quo is here because it works, it has been stable for a very long time, and it serves its current purpose well enough. I don't use sendmail but it's easy enough to build a different MTA out of ports (at least Postfix is easy) and turn off sendmail, as others have pointed out. Indeed Frank ... that has been well stablished for a long time .. not only in this thread but also on every faq on Freebsd and MTAs, handbook and other assorted texts. I can imagine that a lot of people do use sendmail - it's documented in the handbook for starters. If it was taken out and replaced with another MTA then there would be complaints that sendmail has been taken out or replacement MTA is the wrong one. Well .. someday UFS will be replaced by ZFS .. and one day Perl just dissapeard from base .. yet the worl kept turning, and even better .. no one got hurt ;) in the other hand, those not complaining, will probably be really happy .. so ... If somebody's insane enough to write the patches to replace sendmail (will they be accepted?), then they are also going to have to replace all the hooks for removing the MTA, like sendmail currently has; and they're going to have to document the MTA in the handbook. Regarding your question about the patches, well .. that's what I was discussing with Giorgios ... Now for the rest of the paragraph .. uhm .. yes .. that's the way it goes .. and that's the path every Linux distro and NetBSD took ... and the same path OpenBSD and DragonFlyBSD will take when the time comes ... They'll also need a thick skin to handle all the brickbats that come their way ;) And who didn't need them ;) I can think of many ways to more fruitfully spend the time that it would take to remove sendmail from base. Removing it from base would also mean that others have to spend time reconfiguring their system(s): not good. I wouldn't be so sure about that without thinking on the mid/long term consecuences first. Doesn't ZFS mean that you have to reconfigure (or even reinstall) your system? I vote for sendmail, even though I'm a postfix user! There's no voting going on .. OP just asked a question .. ;) I don't like change for no good reason and nobody's supplied a good reason yet. Well .. to some there are .. to some others, there aren't .. This is a discussion that winds back through time from a lot of threads ... Regards, Regards Gonzalo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: flashplugin
That is precisely why I keep an XP box nearby. There is no way in hell that I would want to personally, or expect a colleague for that matter, to waste valuable time getting a simple plug-in to work; especially since I can do it in a matter of seconds on a Microsoft product. Strange.. it has been a long time since I used a windows box... our computers here at home and in the offices are all freebsd... and flash works like a charm in 64 and 32 bits using R7.2 and 8.0... it is faster than windows, no problem with the browser We use gnome 2.26 and epiphany with the libxul backend libxine as multimedia, and pulseaudio as audio driver... we have several notebooks running R7.2 and some acer notebooks running Linux too all with gnome 2.26.. no problem at all only At home, sometimes I use a windows box (ancient XP)... for a game (IL2 1946)... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [freebsd-questions] in subject line
Chuck Swiger wrote: Hi, Chris-- On Oct 26, 2009, at 3:43 PM, Chris Whitehouse wrote: Some mailing lists I am on automatically insert the mailing list name in square brackets into the subject line. I find this quite useful for setting up filters in thunderbird to drop different lists into different 'folders' I couldn't see anything in my freebsd questions list account settings to add that behaviour. Is it possible somehow? Or is it seen as undesirable? It's a per-list option in Mailman, not a per-user option. In order to filter list mail, you can key off of the List-Id: header instead Regards, Thanks, List-Id sounds good. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
I probably should move this bikeshed to freebsd-chat... Gonzalo Nemmi gne...@gmail.com writes: On Tuesday 27 October 2009 6:20:35 pm Frank Shute wrote: On Tue, Oct 27, 2009 at 09:24:58PM +0200, Giorgos Keramidas wrote: I can imagine that a lot of people do use sendmail - it's documented in the handbook for starters. If it was taken out and replaced with another MTA then there would be complaints that sendmail has been taken out or replacement MTA is the wrong one. Well .. someday UFS will be replaced by ZFS .. Maybe. That's still quite a way out, and who knows what else will come along in the meantime? .. and one day Perl just dissapeard from base .. yet the worl kept turning, and even better .. no one got hurt ;) I remember quite a bit of pain. It was worth it, because maintaining perl in the base was causing pain on an ongoing basis, but it was a problem for users in a number of different ways. in the other hand, those not complaining, will probably be really happy .. so ... So you keep saying, but I don't think there's any solid evidence. Your experience is one thing, but although I consider myself a postfix user, I have machines that run sendmail because it just worked for their purpose with no configuration at all. Doesn't ZFS mean that you have to reconfigure (or even reinstall) your system? No. Your old configuration works just fine if you still want to keep using it. You won't get the advantages of ZFS, but having it in FreeBSD didn't bre -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, Oct 27, 2009 at 05:03:12PM -0200, Gonzalo Nemmi wrote: On Tuesday 27 October 2009 4:32:45 pm Erik Norgaard wrote: Jonathan McKeown wrote: Just as a matter of interest, if you want to rip sendmail out of the base system, which MTA would you like to replace it with? Or are you suggesting the system ship with no way to handle mail? This thread moving of topic from OP, but it is always fair to debate what should be considered a base system. Is an MTA a requirement or a remnant from history? Dear Erik: Contrary to your belief the thread isn't moving of topic from OP, it's just taking the same default route it has been taking for ages: 1) telling the OP the OS needs an MTA 2) telling the OP he can replace the default MTA 3) telling the OP he can remove given MTA from base 4) telling the OP about historical reason 5) Not telling the OP why has FreeBSD has left so many historical reason behind to persuit new goals but retained Sendmail as the default MTA for historical reasons. Sorry .. but that's the way it goes every time someone asks the same question. I will add one more that covers it best. Sendmail works just fine and there is no ACTUAL CURRENT reason to get rid of it.Years ago it had some weaknesses which have been fixed. So, that leaves personal preference as the only real reason for wanting to replace it. In that case, if your personal preference is to replace it, go ahead. There are several candidates and an earlier post described well how to do it. As for putting it in ports and taking it out of base, well, some message system is often needed before ports are installed. Sendmail fills the bill.Some other could also, but since Sendmail works just fine and is already there, then it is. jerry And if an MTA is a requirement then asking which one is the best choice is also a fair question. An equally fair answer could be whichever change requires the least work. Indeed No different than asking, why is NIS still in the base? Why no ldap? why BIND, but no http? Why NFS? etc... Let me save you the trouble; the answer to mot of that questions will be: historical reasons and that other solutions can can only dream of enjoying a fraction of the respect that BIND and Sendmail command in the industry Believe it or not ... I think the only void answer is because of tradition, that just seems to show that noone really remembers why some choice was made. BR, Erik Best Regards Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: flashplugin
Sergio de Almeida Lenzi wrote: That is precisely why I keep an XP box nearby. There is no way in hell that I would want to personally, or expect a colleague for that matter, to waste valuable time getting a simple plug-in to work; especially since I can do it in a matter of seconds on a Microsoft product. Strange.. it has been a long time since I used a windows box... our computers here at home and in the offices are all freebsd... and flash works like a charm in 64 and 32 bits using R7.2 and 8.0... it is faster than windows, no problem with the browser We use gnome 2.26 and epiphany with the libxul backend libxine as multimedia, and pulseaudio as audio driver... we have several notebooks running R7.2 and some acer notebooks running Linux too all with gnome 2.26.. no problem at all only At home, sometimes I use a windows box (ancient XP)... for a game (IL2 1946)... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I wish someone could explain to me why I am no longer able to install flashplugin ... none of the methods work for me on amy version... I have literally tried them all.. the latest was linux-f10 - I cleaned out all the linux stuff, umounted the proc sytem cleaned out everything I could find related (?) to linux and reinstalled. No go, no way, José! I did catch some kind of warning that flashed by on the screen about Glib - seems to be gstreamer related...??? and the only thing I can find is the error message that flashplugin.so (or whatever the file is) could not be loaded because shared file libfreetype.so.6 could not be found... and the only libfreetype.so.6 file on the s;ystem is ...so.6.something.something... If the system is smart enought to not find the right file, it ought to be smart enought to know where this file should be and to what it is related... duh ! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, 27 Oct 2009 14:54:44 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Green! No, no, Blue! AA I think it should be disque shaped. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tuesday 27 October 2009 7:22:22 pm Lowell Gilbert wrote: I probably should move this bikeshed to freebsd-chat... Gonzalo Nemmi gne...@gmail.com writes: On Tuesday 27 October 2009 6:20:35 pm Frank Shute wrote: On Tue, Oct 27, 2009 at 09:24:58PM +0200, Giorgos Keramidas wrote: I can imagine that a lot of people do use sendmail - it's documented in the handbook for starters. If it was taken out and replaced with another MTA then there would be complaints that sendmail has been taken out or replacement MTA is the wrong one. Well .. someday UFS will be replaced by ZFS .. Maybe. That's still quite a way out, and who knows what else will come along in the meantime? HammerFS? A heavily armed Oracle lawyers squad team with 9mm. and willing to use them without a second thught?? Just a joke =P .. and one day Perl just dissapeard from base .. yet the worl kept turning, and even better .. no one got hurt ;) I remember quite a bit of pain. It was worth it, because maintaining perl in the base was causing pain on an ongoing basis, but it was a problem for users in a number of different ways. See what I mean? It actually paid off for most people .. but do you remember all the complaining that went on back then? What makes it any different now? And what would you say ... removing perl was more daunting that replacing Senmail? Honest question. in the other hand, those not complaining, will probably be really happy .. so ... So you keep saying, but I don't think there's any solid evidence. Your experience is one thing, but although I consider myself a postfix user, I have machines that run sendmail because it just worked for their purpose with no configuration at all. Didn't the same thing happen when perl was removed? Some complaining, some cheering ... Doesn't ZFS mean that you have to reconfigure (or even reinstall) your system? No. Your old configuration works just fine if you still want to keep using it. You won't get the advantages of ZFS, but having it in FreeBSD didn't bre Oh, sorry Lowell, I mean you had to reconfigure (or even reinstall) if you want to make use of it :) Sorry, I should've been more clear about that. Best Regards Gonzalo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: flashplugin
Ok... supose you use FreeBSD 7.2 P3 (last version) but the RELEASE should work too.. supose you use AMD64 1) compile a custom kernel with SEM (semaphore enable) (sem_enable=YES) in the loader.conf 2) deinstall all linux stuff, remove the /compat/linux from the system, deinstall all pkg with linux 3) supose you will choose the basics... that is linux fc4 4) mount the /proc and linprocfs in fstab linproc /compat/linux/proc linprocfsrw,noauto 0 0 proc/proc procfs rw 0 0 5) install portmaster (recomended) 6) portmaster -Bdg www/linuxpluginwrapper 7) portmaster -Bdg www/linux-flashplugin9 8) mount -a (this will mount the /proc and linprocfs 9) nspluginwapper -v -a -i 10 ) if you are using epiphany. cd /usr/local/lib/epiphany/2.26/plugins;ln -s /usr/local/lib/browser_plugins/*.so . 11) make sure linux module is on the kernel.. 12) run browserand type about:plugins(this will show you the plugin running) This sure works... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tuesday 27 October 2009 7:31:34 pm Jerry McAllister wrote: On Tue, Oct 27, 2009 at 05:03:12PM -0200, Gonzalo Nemmi wrote: On Tuesday 27 October 2009 4:32:45 pm Erik Norgaard wrote: Jonathan McKeown wrote: Just as a matter of interest, if you want to rip sendmail out of the base system, which MTA would you like to replace it with? Or are you suggesting the system ship with no way to handle mail? This thread moving of topic from OP, but it is always fair to debate what should be considered a base system. Is an MTA a requirement or a remnant from history? Dear Erik: Contrary to your belief the thread isn't moving of topic from OP, it's just taking the same default route it has been taking for ages: 1) telling the OP the OS needs an MTA 2) telling the OP he can replace the default MTA 3) telling the OP he can remove given MTA from base 4) telling the OP about historical reason 5) Not telling the OP why has FreeBSD has left so many historical reason behind to persuit new goals but retained Sendmail as the default MTA for historical reasons. Sorry .. but that's the way it goes every time someone asks the same question. I will add one more that covers it best. Sendmail works just fine and there is no ACTUAL CURRENT reason to get rid of it.Years ago it had some weaknesses which have been fixed. I wonder what would have happened if Sir Isaac Newton followed the same line of though ... Or maybe there was an ACTUAL CURRENT reason to develop infinitesimal calculus ... which .. of course, by that time, nobody knew it even existed. Or maybe there was an ACTUAL CURRENT reason to discover the law of universal gravitation ... Or maybe .. not ... So, that leaves personal preference as the only real reason for wanting to replace it. Let me get this straight .. that means that every Linux distro, NetBSD, OpenBSD and DragonFlyBSD are all doing it just out of personal preference? In that case, if your personal preference is to replace it, go ahead. There are several candidates and an earlier post described well how to do it. Yes, that has already been pointed out quite a few times. As for putting it in ports and taking it out of base, well, some message system is often needed before ports are installed. Sendmail fills the bill.Some other could also, but since Sendmail works just fine and is already there, then it is. Fit the bill ... well.. so did the Geocentric model .. and it actually did work just as fine .. and even better yet since it also mantained the status quo ! ... but then Galileo came and you know the rest of the story ... jerry Best Regards Gonzalo Nemmi And if an MTA is a requirement then asking which one is the best choice is also a fair question. An equally fair answer could be whichever change requires the least work. Indeed No different than asking, why is NIS still in the base? Why no ldap? why BIND, but no http? Why NFS? etc... Let me save you the trouble; the answer to mot of that questions will be: historical reasons and that other solutions can can only dream of enjoying a fraction of the respect that BIND and Sendmail command in the industry Believe it or not ... I think the only void answer is because of tradition, that just seems to show that noone really remembers why some choice was made. BR, Erik alo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, Oct 27, 2009 at 08:45:59PM -0200, Gonzalo Nemmi wrote: On Tuesday 27 October 2009 7:31:34 pm Jerry McAllister wrote: On Tue, Oct 27, 2009 at 05:03:12PM -0200, Gonzalo Nemmi wrote: On Tuesday 27 October 2009 4:32:45 pm Erik Norgaard wrote: Jonathan McKeown wrote: Just as a matter of interest, if you want to rip sendmail out of the base system, which MTA would you like to replace it with? Or are you suggesting the system ship with no way to handle mail? This thread moving of topic from OP, but it is always fair to debate what should be considered a base system. Is an MTA a requirement or a remnant from history? Dear Erik: Contrary to your belief the thread isn't moving of topic from OP, it's just taking the same default route it has been taking for ages: 1) telling the OP the OS needs an MTA 2) telling the OP he can replace the default MTA 3) telling the OP he can remove given MTA from base 4) telling the OP about historical reason 5) Not telling the OP why has FreeBSD has left so many historical reason behind to persuit new goals but retained Sendmail as the default MTA for historical reasons. Sorry .. but that's the way it goes every time someone asks the same question. I will add one more that covers it best. Sendmail works just fine and there is no ACTUAL CURRENT reason to get rid of it.Years ago it had some weaknesses which have been fixed. I wonder what would have happened if Sir Isaac Newton followed the same line of though ... Or maybe there was an ACTUAL CURRENT reason to develop infinitesimal calculus ... which .. of course, by that time, nobody knew it even existed. Or maybe there was an ACTUAL CURRENT reason to discover the law of universal gravitation ... Weird.Try cutting down on caffeine. Or maybe .. not ... So, that leaves personal preference as the only real reason for wanting to replace it. Let me get this straight .. that means that every Linux distro, NetBSD, OpenBSD and DragonFlyBSD are all doing it just out of personal preference? Yup. In that case, if your personal preference is to replace it, go ahead. There are several candidates and an earlier post described well how to do it. Yes, that has already been pointed out quite a few times. As for putting it in ports and taking it out of base, well, some message system is often needed before ports are installed. Sendmail fills the bill.Some other could also, but since Sendmail works just fine and is already there, then it is. Fit the bill ... well.. so did the Geocentric model .. and it actually did work just as fine .. and even better yet since it also mantained the status quo ! ... but then Galileo came and you know the rest of the story ... Actually it didn't. It didn't describe observable conditions and events. jerry jerry Best Regards Gonzalo Nemmi And if an MTA is a requirement then asking which one is the best choice is also a fair question. An equally fair answer could be whichever change requires the least work. Indeed No different than asking, why is NIS still in the base? Why no ldap? why BIND, but no http? Why NFS? etc... Let me save you the trouble; the answer to mot of that questions will be: historical reasons and that other solutions can can only dream of enjoying a fraction of the respect that BIND and Sendmail command in the industry Believe it or not ... I think the only void answer is because of tradition, that just seems to show that noone really remembers why some choice was made. BR, Erik alo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gcc -pg and ld error, cannot find -lgcc_p
Use sysinstall to add the proflibs distribution. Or one could rebuild/install world (and kernel if necessary) after investigating the NO_PROFILE option in /etc/make.conf. There's only a PERL_VERSION in make.conf. Since sysinstall doesn't work (this is -p4, not a base media install), how does one go about installing proflibs? I didn't see anything related to proflibs in the csup files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
Gonzalo Nemmi wrote: On Tuesday 27 October 2009 7:22:22 pm Lowell Gilbert wrote: I probably should move this bikeshed to freebsd-chat... I'd like the bikeshed blue, please. Also, since Sendmail has reached maturity, let's baptize it now instead of during infancy, and add a knob FEATURE(require_calvinism). Also, I'm attending the annual meeting of my Sendmail Users Anonymous Group (SMAUG) tomorrow (it's annual because there are SO FEW of us we had to scour the world to find a quorum and it makes economic sense to to meet just once a year), where I'll ask Pope Eric to call up troops to end this holy war on this list once and for all. I'm sharpening blades in the shop even as I write this! DEUS VULT 'Nuff ... please? Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Partitions per slice limitation removed?
Hi, No, you were not dreaming. When in doubt, check the source. From head/sbin/bsdlabel/bsdlabel.c [1]: Allow bsdlabel to operate on labels that have at most 26 partitions by virtue of there not being any (lower-case) letters avaliable for more partitions. [1] http://svn.freebsd.org/viewvc/base?view=revisionrevision=174501 Has anyone actually got that working? I just tried adding a 9th label on 8.0-RC2 with no luck. I tried both gpart and bsdlabel. silver% gpart show ad4s1 = 0 62914257 ad4s1 BSD (30G) 0 1048576 1 freebsd-ufs (512M) 1048576 2097152 2 freebsd-swap (1.0G) 3145728 14680064 4 freebsd-ufs (7.0G) 17825792 3145728 5 freebsd-ufs (1.5G) 20971520 1048576 6 freebsd-ufs (512M) 22020096 4194304 7 freebsd-ufs (2.0G) 26214400 4194304 8 freebsd-ufs (2.0G) 30408704 32505553 - free - (15G) silver% sudo gpart add -b 30408704 -s 32505553 -t freebsd-ufs ad4s1 gpart: index '9': No space left on device ...and if I specify the index manually I get this: silver% sudo gpart add -b 30408704 -s 32505553 -t freebsd-ufs -i 9 ad4s1 gpart: index '9': Invalid argument silver% uname -r 8.0-RC2 Perhaps this isn't going to make into 8.0-RELEASE after all or am I doing something wrong? Cheers, Andrew./ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
What causes random disk access slow down
A 6-7 years old Xeon dual 2.4MHz CPU machine runs FreeBSD 6.4-Release suddenly becomes slow on some tasks requiring disk access. Typical things like ls, objdump etc. Be more specific, a couple of minutes objdump became a several hours job. A several seconds ls -RC became a 15-minute task (see output below). It sounds like a hard drive problem, but run sequential disk test on all drives, their throughput meet the original disk spec and disks run very quite, at random disk access, disks generate some rigid noise, so it looks like a random disk access problem. This machine has two IDE PATA drives (ignore da0 -- a USB stick), but No error message has been recorded in dmesg for any dirve a couple of weeks after the problem happened. Machine has been rebooted a few times after slowness occurred, but it won't help. Is there anyway/any tool to find out what is going wrong in the system? -Jin [165] bsd-ms: ls -RC Dir 3.756u 19.402s 15:29.37 2.4%30+2938k 49120+76io 0pf+0w monitored from the other terms -- [138] bsd-ms: ll ~/Dir -rw-r--r-- 1 src wheel 6152192 Oct 27 14:53 /home/users/src/Dir [139] bsd-ms: ll ~/Dir -rw-r--r-- 1 src wheel 8019968 Oct 27 14:56 /home/users/src/Dir [140] bsd-ms: ll ~/Dir -rw-r--r-- 1 src wheel 9915957 Oct 27 14:58 /home/users/src/Dir tty ad0 ad1 da0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 9 365 9.14 6 0.05 12.08 6 0.07 121.91 0 0.00 2 0 1 0 97 0 1020 11.75 87 0.99 17.82 7 0.13 0.00 0 0.00 76 0 14 0 10 0 1005 8.54 262 2.19 52.94 23 1.21 0.00 0 0.00 61 0 29 1 9 0 893 7.54 184 1.36 85.76 34 2.82 0.00 0 0.00 53 0 32 1 14 0 551 3.35 265 0.87 9.38 4 0.04 0.00 0 0.00 47 0 33 1 19 0 594 6.81 201 1.33 37.82 4 0.14 0.00 0 0.00 54 0 16 0 30 0 1106 3.54 252 0.87 55.19 17 0.93 0.00 0 0.00 39 0 33 1 27 0 393 2.88 223 0.63 11.43 2 0.03 0.00 0 0.00 67 0 31 1 1 0 644 4.81 165 0.77 16.00 0 0.01 0.00 0 0.00 87 0 12 1 1 27 339 10.39 180 1.82 15.18 11 0.17 0.00 0 0.00 86 0 13 0 0 32 130 5.06 146 0.72 23.40 46 1.04 0.00 0 0.00 86 0 8 1 5 32 267 8.39 138 1.13 61.09 4 0.22 0.00 0 0.00 73 0 26 1 0 33 340 8.75 222 1.90 61.54 4 0.26 0.00 0 0.00 78 0 21 1 0 32 595 5.85 154 0.88 12.20 3 0.04 0.00 0 0.00 87 0 12 1 0 32 288 5.28 147 0.76 6.00 1 0.01 0.00 0 0.00 86 0 13 1 0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What causes random disk access slow down
How full are the disks? Jin Guojun wrote: A 6-7 years old Xeon dual 2.4MHz CPU machine runs FreeBSD 6.4-Release suddenly becomes slow on some tasks requiring disk access. Typical things like ls, objdump etc. Be more specific, a couple of minutes objdump became a several hours job. A several seconds ls -RC became a 15-minute task (see output below). It sounds like a hard drive problem, but run sequential disk test on all drives, their throughput meet the original disk spec and disks run very quite, at random disk access, disks generate some rigid noise, so it looks like a random disk access problem. This machine has two IDE PATA drives (ignore da0 -- a USB stick), but No error message has been recorded in dmesg for any dirve a couple of weeks after the problem happened. Machine has been rebooted a few times after slowness occurred, but it won't help. Is there anyway/any tool to find out what is going wrong in the system? -Jin [165] bsd-ms: ls -RC Dir 3.756u 19.402s 15:29.37 2.4%30+2938k 49120+76io 0pf+0w monitored from the other terms -- [138] bsd-ms: ll ~/Dir -rw-r--r-- 1 src wheel 6152192 Oct 27 14:53 /home/users/src/Dir [139] bsd-ms: ll ~/Dir -rw-r--r-- 1 src wheel 8019968 Oct 27 14:56 /home/users/src/Dir [140] bsd-ms: ll ~/Dir -rw-r--r-- 1 src wheel 9915957 Oct 27 14:58 /home/users/src/Dir tty ad0 ad1 da0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 9 365 9.14 6 0.05 12.08 6 0.07 121.91 0 0.00 2 0 1 0 97 0 1020 11.75 87 0.99 17.82 7 0.13 0.00 0 0.00 76 0 14 0 10 0 1005 8.54 262 2.19 52.94 23 1.21 0.00 0 0.00 61 0 29 1 9 0 893 7.54 184 1.36 85.76 34 2.82 0.00 0 0.00 53 0 32 1 14 0 551 3.35 265 0.87 9.38 4 0.04 0.00 0 0.00 47 0 33 1 19 0 594 6.81 201 1.33 37.82 4 0.14 0.00 0 0.00 54 0 16 0 30 0 1106 3.54 252 0.87 55.19 17 0.93 0.00 0 0.00 39 0 33 1 27 0 393 2.88 223 0.63 11.43 2 0.03 0.00 0 0.00 67 0 31 1 1 0 644 4.81 165 0.77 16.00 0 0.01 0.00 0 0.00 87 0 12 1 1 27 339 10.39 180 1.82 15.18 11 0.17 0.00 0 0.00 86 0 13 0 0 32 130 5.06 146 0.72 23.40 46 1.04 0.00 0 0.00 86 0 8 1 5 32 267 8.39 138 1.13 61.09 4 0.22 0.00 0 0.00 73 0 26 1 0 33 340 8.75 222 1.90 61.54 4 0.26 0.00 0 0.00 78 0 21 1 0 32 595 5.85 154 0.88 12.20 3 0.04 0.00 0 0.00 87 0 12 1 0 32 288 5.28 147 0.76 6.00 1 0.01 0.00 0 0.00 86 0 13 1 0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, 27 Oct 2009 19:00:25 -0400 Jerry McAllister jerr...@msu.edu wrote: Fit the bill ... well.. so did the Geocentric model .. and it actually did work just as fine .. and even better yet since it also mantained the status quo ! ... but then Galileo came and you know the rest of the story ... Actually it didn't. It didn't describe observable conditions and events. It appears that Copernicus built his bike shed 100 years before Galileo. http://en.wikipedia.org/wiki/Copernicus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, 27 Oct 2009, Chris Rees wrote: 2009/10/27 Lars Eighner luvbeas...@larseighner.com: On Tue, 27 Oct 2009, Chris Rees wrote: 2009/10/27 Lars Eighner luvbeas...@larseighner.com: On Tue, 27 Oct 2009, Jonathan McKeown wrote: On Monday 26 October 2009 21:29:27 Yuri wrote: It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? What is this anti-sendmail obsession people have? The configuration is opaque, to put it kindly. Are you talking about sendmail.m4 or sendmail.cf? Because we stopped editing sendmail.cf by hand years ago. Then what are we using to edit sendmail.cf? The man page doesn't seem to be et up with verbosity on the subject. Let me guess: a gnome GUI? You guessed wrong. We use m4, which cuts out most of the crap that you had to write into sendmail.cf. You write sendmail.mc and compile it. Sendmail.mc on my system is less than 50 lines long, including comments. http://www.sendmail.org/m4/intro.html That's as poorly documented and incomprehensible as .cf by hand. What is your interest in sendmail? Are you connected with it in someway? Surely, yours could not be the opinion of someone who doesn't get a piece of O'Reilly's royalties. It's the same old crap, give the software away, sell the documentation. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, Oct 27, 2009 at 5:16 PM, Lars Eighner luvbeas...@larseighner.com wrote: You guessed wrong. We use m4, which cuts out most of the crap that you had to write into sendmail.cf. You write sendmail.mc and compile it. Sendmail.mc on my system is less than 50 lines long, including comments. http://www.sendmail.org/m4/intro.html That's as poorly documented and incomprehensible as .cf by hand. What is your interest in sendmail? Are you connected with it in someway? Surely, yours could not be the opinion of someone who doesn't get a piece of O'Reilly's royalties. It's the same old crap, give the software away, sell the documentation. well shit man - Eric's actually a super nice guy and has made some major contributions to computing so I reckon he deserves *some* respect for the work he's done on sendmail. and frankly I find it easier to setup a SMART_HOST in my .m4 and dist out my resulting configs to my servers in my production clusters. I also have the added benefit that i know sendmail is being tracked as part of the base system so it makes it easier for me to monitor patches w/o having to track ports. For more complex systems (my relay for example) - sure I use postfix, and freebsd makes this quite easy to do as well. if you don't want to use sendmail on your machines it's easy - just don't use it. -pete -- pete wright www.nycbug.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, 27 Oct 2009, pete wright wrote: On Tue, Oct 27, 2009 at 5:16 PM, Lars Eighner luvbeas...@larseighner.com wrote: You guessed wrong. We use m4, which cuts out most of the crap that you had to write into sendmail.cf. You write sendmail.mc and compile it. Sendmail.mc on my system is less than 50 lines long, including comments. http://www.sendmail.org/m4/intro.html That's as poorly documented and incomprehensible as .cf by hand. What is your interest in sendmail? Are you connected with it in someway? Surely, yours could not be the opinion of someone who doesn't get a piece of O'Reilly's royalties. It's the same old crap, give the software away, sell the documentation. well shit man - Eric's actually a super nice guy and has made some major contributions to computing so I reckon he deserves *some* respect for the work he's done on sendmail. Evidently by making it necessary to learn yet another scripting language to configure it. Other than personal profit I cannot see why people are clinging like grim death to something this fubar. Really, let's go past this one more time: Sure, sendmail.cf is hard to work with so the solution is you learn m4! Did you look at the link he offered? How helpful is that? Beside which, m4 is a PORT. So if sendmail is not configurable without a port, why isn't it a port? -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, Oct 27, 2009 at 6:24 PM, Lars Eighner luvbeas...@larseighner.com wrote: On Tue, 27 Oct 2009, pete wright wrote: On Tue, Oct 27, 2009 at 5:16 PM, Lars Eighner luvbeas...@larseighner.com wrote: You guessed wrong. We use m4, which cuts out most of the crap that you had to write into sendmail.cf. You write sendmail.mc and compile it. Sendmail.mc on my system is less than 50 lines long, including comments. http://www.sendmail.org/m4/intro.html That's as poorly documented and incomprehensible as .cf by hand. What is your interest in sendmail? Are you connected with it in someway? Surely, yours could not be the opinion of someone who doesn't get a piece of O'Reilly's royalties. It's the same old crap, give the software away, sell the documentation. well shit man - Eric's actually a super nice guy and has made some major contributions to computing so I reckon he deserves *some* respect for the work he's done on sendmail. Evidently by making it necessary to learn yet another scripting language to configure it. Other than personal profit I cannot see why people are clinging like grim death to something this fubar. Really, let's go past this one more time: ok i'm just gonna suggest you read up on the history of sendmail to gain some perspective on why/when it was written. i'm not saying that there are no issues with it - but i think some historical perspective would do you a world of good. regarding having to learn a new language i'm not sure about that as i wouldn't say i know m4 - but I can rtfm, and the default .mc files are actually well documented. so yea... Sure, sendmail.cf is hard to work with so the solution is you learn m4! Did you look at the link he offered? How helpful is that? Beside which, m4 is a PORT. So if sendmail is not configurable without a port, why isn't it a port? sure it's a port, sendmail is a port too. but that does not mean you need to install the port to compile custom .mc files for your server. in fact if you check out /etc/mail/Makefile you might notice that m4 is actually part of the base system: /usr/bin/m4 anywho i should stop feeding the troll. -p -- pete wright www.nycbug.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
what is special about the 'git' Makefile ?
I've been doing this dance: ../configure ; make ; make install for about ten years now. Sometimes there are some little issues, but nothing too crazy. I tried to build 'git' from source today, however, and it doesn't behave like anything I've ever seen... I do the ./configure and it completes without errors: checking for mkstemps... yes checking for library containing mkstemps... none required checking Checking for POSIX Threads with '-pthread'... yes configure: creating ./config.status config.status: creating config.mak.autogen and then run 'make' ... Makefile, line 206: Need an operator Makefile, line 244: Missing dependency operator Makefile, line 247: Need an operator Makefile, line 250: Need an operator Makefile, line 273: Need an operator Makefile, line 286: Need an operator Makefile, line 395: Need an operator (snip about 8 or 10 PAGES of the above) Makefile, line 1293: Need an operator Makefile, line 1294: warning: duplicate script for target ifdef ignored Makefile, line 1295: warning: duplicate script for target ifdef ignored Makefile, line 1296: Need an operator Makefile, line 1298: Need an operator Makefile, line 1301: Need an operator Makefile, line 1303: Missing dependency operator Makefile, line 1305: Need an operator Makefile, line 1307: Missing dependency operator Makefile, line 1309: Need an operator Error expanding embedded variable. So ... what in the world is going on here ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, 27 Oct 2009 20:24:38 -0500 (CDT), Lars Eighner luvbeas...@larseighner.com wrote: Evidently by making it necessary to learn yet another scripting language to configure it. Other than personal profit I cannot see why people are clinging like grim death to something this fubar. Really, let's go past this one more time: Sure, sendmail.cf is hard to work with so the solution is you learn m4! Did you look at the link he offered? How helpful is that? Beside which, m4 is a PORT. So if sendmail is not configurable without a port, why isn't it a port? Can we go back to our regular hacking, please? m4 is not a port: $ which m4 /usr/bin/m4 and the thread is quickly spiraling down to the level of personal attacks. I use both Postfix and Sendmail. I'd probably prefer Postfix in the base system, but the only way this can happen is to sit down and actually _do_ the work it takes. Any takers are more than welcome... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: what is special about the 'git' Makefile ?
On Tue, 27 Oct 2009 18:33:03 -0700 (PDT), George Sanders gosand1...@yahoo.com wrote: I've been doing this dance: ../configure ; make ; make install for about ten years now. Sometimes there are some little issues, but nothing too crazy. I tried to build 'git' from source today, however, and it doesn't behave like anything I've ever seen... I do the ./configure and it completes without errors: checking for mkstemps... yes checking for library containing mkstemps... none required checking Checking for POSIX Threads with '-pthread'... yes configure: creating ./config.status config.status: creating config.mak.autogen and then run 'make' ... Makefile, line 206: Need an operator Makefile, line 244: Missing dependency operator ... So ... what in the world is going on here ? Try using GNU make: ./configure gmake The devel/git port includes `USE_GMAKE=yes', so I'm guessing the port maintainer discovered that the makefiles of Git use gmake-specific constructs and added it to the port makefile for a good reason. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: what is special about the 'git' Makefile ?
On Tue, Oct 27, 2009 at 8:33 PM, George Sanders gosand1...@yahoo.comwrote: I've been doing this dance: ../configure ; make ; make install for about ten years now. Sometimes there are some little issues, but nothing too crazy. I tried to build 'git' from source today, however, and it doesn't behave like anything I've ever seen... I do the ./configure and it completes without errors: checking for mkstemps... yes checking for library containing mkstemps... none required checking Checking for POSIX Threads with '-pthread'... yes configure: creating ./config.status config.status: creating config.mak.autogen and then run 'make' ... Makefile, line 206: Need an operator Makefile, line 244: Missing dependency operator Makefile, line 247: Need an operator Makefile, line 250: Need an operator Makefile, line 273: Need an operator Makefile, line 286: Need an operator Makefile, line 395: Need an operator (snip about 8 or 10 PAGES of the above) Makefile, line 1293: Need an operator Makefile, line 1294: warning: duplicate script for target ifdef ignored Makefile, line 1295: warning: duplicate script for target ifdef ignored Makefile, line 1296: Need an operator Makefile, line 1298: Need an operator Makefile, line 1301: Need an operator Makefile, line 1303: Missing dependency operator Makefile, line 1305: Need an operator Makefile, line 1307: Missing dependency operator Makefile, line 1309: Need an operator Error expanding embedded variable. So ... what in the world is going on here ? Maybe gmake? -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: what is special about the 'git' Makefile ?
George Sanders wrote: I've been doing this dance: You haven't been out on the floor nearly often enough, it seems. Better dust off those blue suede shoes. :) ../configure ; make ; make install for about ten years now. Sometimes there are some little issues, but nothing too crazy. I tried to build 'git' from source today, however, and it doesn't behave like anything I've ever seen... I do the ./configure and it completes without errors: ... and then run 'make' ... Makefile, line 206: Need an operator Makefile, line 244: Missing dependency operator ... So ... what in the world is going on here ? Er, you're using FreeBSD make(1) when you should be using GNU gmake? There is a FreeBSD Port for this software in devel/git, and even if you don't want to use it, the Makefiles and patches usually provide a good guide to modifications that you may need to make to get it to work on FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
win 7 dual boot
I am about to go out and buy windows 7 to replace my vista partition... when I installed vista I had to do some boot manager tricks (both before and after install)... namely I had to allow windows to nuke my mbr then use EasyBCD to remake it in such a way that vista would still find it's magic bytes in the mbr... does anyone know if win 7 has any similar issues and/or any other weirdness in reguards to dual booting? Completely side question I use sysutils/fusefs-ntfs to mount my vista partition do I need to change anything in my /etc/rc.d/* hierachy and/or /etc/fstab after installing win 7 (I use a direct call to ntfs-3g instead of via the mount patch [which doesn't work on 8.0-XXX it seems {I am on RC2 right now}]? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, Oct 27, 2009 at 08:45:59PM -0200, Gonzalo Nemmi wrote: On Tuesday 27 October 2009 7:31:34 pm Jerry McAllister wrote: [snippage] So, that leaves personal preference as the only real reason for wanting to replace it. Let me get this straight .. that means that every Linux distro, NetBSD, OpenBSD and DragonFlyBSD are all doing it just out of personal preference? I'll speculate as to the reasons: NetBSD: probably wanted something smaller footprint-wise. OpenBSD: wanted something more secure. Dragonfly: started afresh, so could replace it without many headaches. RedHat: poor package management made it a pain to upgrade. FreeBSD: ? I can't think of a good reason why FreeBSD should get rid of it. Saying that, it would be neat if it was taken out of base and replaced with something minimal that could cope with the demands of cron and not much else. Then the user is expected to install a MTA of their choice out of ports. That would mean less code in base and fewer security advisories. jerry Best Regards Gonzalo Nemmi Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: win 7 dual boot
Jack L. wrote: I was able to dual boot win7 and freebsd 8 without any problem, just installed windows first and installed freebsd with the freebsd boot manager and it said F1 windows and the rest are FreeBSD I am attempting to avoid having to reinstall the fb side of things ;-) On Tue, Oct 27, 2009 at 7:11 PM, Aryeh M. Friedman aryeh.fried...@gmail.com wrote: I am about to go out and buy windows 7 to replace my vista partition... when I installed vista I had to do some boot manager tricks (both before and after install)... namely I had to allow windows to nuke my mbr then use EasyBCD to remake it in such a way that vista would still find it's magic bytes in the mbr... does anyone know if win 7 has any similar issues and/or any other weirdness in reguards to dual booting? Completely side question I use sysutils/fusefs-ntfs to mount my vista partition do I need to change anything in my /etc/rc.d/* hierachy and/or /etc/fstab after installing win 7 (I use a direct call to ntfs-3g instead of via the mount patch [which doesn't work on 8.0-XXX it seems {I am on RC2 right now}]? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: win 7 dual boot
On Tue, Oct 27, 2009 at 7:16 PM, Aryeh M. Friedman aryeh.fried...@gmail.com wrote: Jack L. wrote: I was able to dual boot win7 and freebsd 8 without any problem, just installed windows first and installed freebsd with the freebsd boot manager and it said F1 windows and the rest are FreeBSD I am attempting to avoid having to reinstall the fb side of things ;-) Oh, then you can just boot up the freebsd cd and then just install the freebsd boot manager after installing windows 7. On Tue, Oct 27, 2009 at 7:11 PM, Aryeh M. Friedman aryeh.fried...@gmail.com wrote: I am about to go out and buy windows 7 to replace my vista partition... when I installed vista I had to do some boot manager tricks (both before and after install)... namely I had to allow windows to nuke my mbr then use EasyBCD to remake it in such a way that vista would still find it's magic bytes in the mbr... does anyone know if win 7 has any similar issues and/or any other weirdness in reguards to dual booting? Completely side question I use sysutils/fusefs-ntfs to mount my vista partition do I need to change anything in my /etc/rc.d/* hierachy and/or /etc/fstab after installing win 7 (I use a direct call to ntfs-3g instead of via the mount patch [which doesn't work on 8.0-XXX it seems {I am on RC2 right now}]? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Tue, Oct 27, 2009 at 7:14 PM, Frank Shute fr...@shute.org.uk wrote: On Tue, Oct 27, 2009 at 08:45:59PM -0200, Gonzalo Nemmi wrote: On Tuesday 27 October 2009 7:31:34 pm Jerry McAllister wrote: [snippage] So, that leaves personal preference as the only real reason for wanting to replace it. Let me get this straight .. that means that every Linux distro, NetBSD, OpenBSD and DragonFlyBSD are all doing it just out of personal preference? I'll speculate as to the reasons: NetBSD: probably wanted something smaller footprint-wise. OpenBSD: wanted something more secure. Dragonfly: started afresh, so could replace it without many headaches. RedHat: poor package management made it a pain to upgrade. FreeBSD: ? I can't think of a good reason why FreeBSD should get rid of it. Saying that, it would be neat if it was taken out of base and replaced with something minimal that could cope with the demands of cron and not much else. Then the user is expected to install a MTA of their choice out of ports. That would mean less code in base and fewer security advisories. yea i like where you are going with this frank - perhaps when opensmtpd is done we'll be in the position to import this into the freebsd tree? it sounds like it might fit the bill :) -pete -- pete wright www.nycbug.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: win 7 dual boot
I was able to dual boot win7 and freebsd 8 without any problem, just installed windows first and installed freebsd with the freebsd boot manager and it said F1 windows and the rest are FreeBSD On Tue, Oct 27, 2009 at 7:11 PM, Aryeh M. Friedman aryeh.fried...@gmail.com wrote: I am about to go out and buy windows 7 to replace my vista partition... when I installed vista I had to do some boot manager tricks (both before and after install)... namely I had to allow windows to nuke my mbr then use EasyBCD to remake it in such a way that vista would still find it's magic bytes in the mbr... does anyone know if win 7 has any similar issues and/or any other weirdness in reguards to dual booting? Completely side question I use sysutils/fusefs-ntfs to mount my vista partition do I need to change anything in my /etc/rc.d/* hierachy and/or /etc/fstab after installing win 7 (I use a direct call to ntfs-3g instead of via the mount patch [which doesn't work on 8.0-XXX it seems {I am on RC2 right now}]? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: flashplugin
Sergio de Almeida Lenzi wrote: Ok... supose you use FreeBSD 7.2 P3 (last version) but the RELEASE should work too.. supose you use AMD64 1) compile a custom kernel with SEM (semaphore enable) (sem_enable=YES) in the loader.conf 2) deinstall all linux stuff, remove the /compat/linux from the system, deinstall all pkg with linux 3) supose you will choose the basics... that is linux fc4 4) mount the /proc and linprocfs in fstab linproc /compat/linux/proc linprocfs rw,noauto 0 0 proc /proc procfs rw 0 0 5) install portmaster (recomended) 6) portmaster -Bdg www/linuxpluginwrapper 7) portmaster -Bdg www/linux-flashplugin9 8) mount -a (this will mount the /proc and linprocfs 9) nspluginwapper -v -a -i 10 ) if you are using epiphany. cd /usr/local/lib/epiphany/2.26/plugins;ln -s /usr/local/lib/browser_plugins/*.so . 11) make sure linux module is on the kernel.. 12) run browserand type about:plugins(this will show you the plugin running) This sure works... The installation on the Acer travelmate 4400 turion 64bid was quite simple - just following instructions I found for installing flashplayer9 ... it went without a problem The problem is on 7.2 p4 if I'm not mistaken on i386 - as I said, I was able to install flashplayer9 and all went well, but the something happened and I don't know what... now it is impossible to install any flashplayer... I have tried them all... now I have linux-f10 with flashplayer10 installed and all I get is an error that flashplugin.so cannot be started because a shared file freetype.so.6 cannot be found... It's there allright and is linked to fretype.so.6.13 or some number like that... the fine name may not be correct as I don't have it in front of me... but then, where is this shared file supposed to be? The setups for the flashplayer are such a ridiculous mess that I can only laugh...There are obviously conflicts or something screwing things up from other programs like gimp or ImageMagic or gstreamers or some such stuff... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to display back trace automatically after seg fault?
Hi, How can I make FreeBSD to display automatically the backtrace of an executable after a segmentation fault (the same way Linux does it)? I prefer this option by default rather than a core dump. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
On Wed, 28 Oct 2009, Giorgos Keramidas wrote: On Tue, 27 Oct 2009 20:24:38 -0500 (CDT), Lars Eighner luvbeas...@larseighner.com wrote: Evidently by making it necessary to learn yet another scripting language to configure it. Other than personal profit I cannot see why people are clinging like grim death to something this fubar. Really, let's go past this one more time: Sure, sendmail.cf is hard to work with so the solution is you learn m4! Did you look at the link he offered? How helpful is that? Beside which, m4 is a PORT. So if sendmail is not configurable without a port, why isn't it a port? Can we go back to our regular hacking, please? m4 is not a port: $ which m4 /usr/bin/m4 Evidently my package database is corrupt in some way, because it shows m4 as an installed port. I wonder how that happened, how to fix it, and if it will bite if I leave it alone. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why is sendmail is part of the system and not a package?
Lars Eighner wrote: Evidently my package database is corrupt in some way, because it shows m4 as an installed port. I wonder how that happened, how to fix it, and if it will bite if I leave it alone. The GNU version of m4 is a FreeBSD Port, devel/m4. The base system m4(1) was originally based on BSD 4.4 Lite m4, and then on a modified version from OpenBSD. It is supposed to be standards-compliant, but it does not support all GNU m4 extensions, so it is not used as often as devel/m4 is in Ports. So your package database is probably okay in this regard. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org