Re: firefox can't save file
On 12/23/06, Tsu-Fan Cheng [EMAIL PROTECTED] wrote: HI, my firefox and linux-firefox can't save files, all i got is in the dmesg, that said Warning: pid 87165 used static ldt allocation. See the i386_set_ldt man page for more info what shall i do?? May we see the output of uname -a and pkg_info -rx firefox Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freeBSD network error
Hello Arun, If your network interface presents then its super easy, (I think for Realtek it should) if not then you need to find it out, After your installation is done, What is your motherboard model number? I need to know the ethernet device. what is the output of ifconfig -a ? -Marwan Sultan Xian wrote: On Friday 22 December 2006 06:02, freebsd wrote: Hi all I have installed FreeBSD 6.0 unix recently. But I am not able to configure network (internet). I am having leased line with Realtek gigabit ethernet NIC. When I try to configure it is not showing the interface itself on sysinstall. Whether this freeBSD support this card or else what I have to do. Please help me Expect your earlier response regards arun _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvida driver on amd64
On Fri, 22 Dec 2006 16:08:57 -0700 Modulok [EMAIL PROTECTED] wrote: Basically I'm looking to get an nvidia driver for an FreeBSD system on amd64, that supports openGL 2.0 hardware acceleration. So far, nvidia only supports FreeBSD on the x86. Aside from going to linux (which I really don't want to do) any suggestions on how to accomplish this? Can I use a driver compiled for x86 on an amd64 architecture perhaps? You can run the i386 version of FreeBSD on an AMD 64. On the the whole there's not a lot of difference in performance. The main reason for running amd64 is to access 4GB of memory. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Command-line iridium flare prediction software for Unix/Mac OS X?
I've seen lots of iridium flare prediction software that's graphics-based, but is there any that can be run from the command line? I want to run the predictor as a cron job and pipe the output to a Perl script, for example. I'm running Mac OS X, but if I can get the source of anything that runs on FreeBSD or Linux, I'm pretty sure I can get it to compile on Mac OS X. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firefox can't save file
yeah, sorry... uname -a = FreeBSD 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #6: Sat Dec 9 10:03:38 EST 2006 root@:/usr/src/sys/i386/compile/TFCHENG i386 and pkg_info = Information for firefox-2.0.0.1,1: Depends on: Dependency: expat-2.0.0_1 Dependency: pkg-config-0.21 Dependency: xorg-fonts-encodings-6.9.0_1 Dependency: jpeg-6b_4 Dependency: libiconv-1.9.2_2 Dependency: gettext-0.14.5_2 Dependency: png-1.2.12_1 Dependency: freetype2-2.2.1_1 Dependency: perl-5.8.8 Dependency: fontconfig-2.3.2_6,1 Dependency: nspr-4.6.4 Dependency: nss-3.11.4 Dependency: glib-2.12.6 Dependency: libxml2-2.6.26 Dependency: popt-1.7_2 Dependency: libgpg-error-1.4 Dependency: libdrm-2.0.2 Dependency: xorg-libraries-6.9.0 Dependency: libgcrypt-1.2.3_1 Dependency: tiff-3.8.2_1 Dependency: hicolor-icon-theme-0.9_2 Dependency: shared-mime-info-0.19 Dependency: libIDL-0.8.7 Dependency: bitstream-vera-1.10_2 Dependency: gnutls-1.4.5 Dependency: atk-1.12.4 Dependency: xorg-fonts-truetype-6.9.0 Dependency: libXft-2.1.7_1 Dependency: glitz-0.5.6 Dependency: desktop-file-utils-0.12 Dependency: cups-base-1.2.7_1 Dependency: cairo-1.2.6_1 Dependency: pango-1.14.9 Dependency: gtk-2.10.6_2 Information for linux-firefox-2.0.0.1: Depends on: Dependency: linux_base-fc-4_9 Dependency: linux-expat-1.95.8 Dependency: linux-jpeg-6b.34 Dependency: linux-png-1.2.8_2 Dependency: linux-fontconfig-2.2.3_5 Dependency: linux-tiff-3.7.1 Dependency: hicolor-icon-theme-0.9_2 Dependency: linux-glib2-2.6.6 Dependency: linux-atk-1.9.1 Dependency: linux-xorg-libs-6.8.2_5 Dependency: linux-pango-1.8.1 Dependency: linux-gtk2-2.6.10 Dependency: linux-hicolor-icon-theme-0.5_1 On 12/23/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote: On 12/23/06, Tsu-Fan Cheng [EMAIL PROTECTED] wrote: HI, my firefox and linux-firefox can't save files, all i got is in the dmesg, that said Warning: pid 87165 used static ldt allocation. See the i386_set_ldt man page for more info what shall i do?? May we see the output of uname -a and pkg_info -rx firefox Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Protocol error trying to install ports
I walked someone through setup of a FreeBSD 6.1 install over the phone and now when I try to install any ports, I get the same protocol error. I assume something went wrong with the install, is there something I can check or fix remotely? Sorry for the wrapping below, I can't seem to find how to avoid in my temporary mailer Thunderbird. unix# cd /usr/ports/sysutils/portupgrade/ unix# make all install clean === Installing for portupgrade-2.0.1_1,1 === portupgrade-2.0.1_1,1 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd6/bdb1.so - not found === Verifying install for /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd6/bdb1.so in /usr/ports/databases/ruby-bdb1 === Vulnerability check disabled, database not found = bdb1-0.2.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/ruby. = Attempting to fetch from ftp://moulon.inra.fr/pub/ruby/. fetch: ftp://moulon.inra.fr/pub/ruby/bdb1-0.2.2.tar.gz: Protocol error = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/bdb1-0.2.2.tar.gz: Protocol error = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/ruby and try again. *** Error code 1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firefox can't save file
On 12/23/06, Tsu-Fan Cheng [EMAIL PROTECTED] wrote: HI, my firefox and linux-firefox can't save files, I have the same problem. The funny thing is that for a user in th wheel group, it doesn't save. For a normal user, it does. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: geli load key before rootfs is mounted
Chris wrote: I think you maybe running into a bug in 6.1 where the keyboard wont respond during the boot process. Of course you don't notice because keystrokes have no visual feedback at password input. Try adding this line to /boot/device.hint on your boot media: hint.kbdmux.0.disabled=1 I'm booting an encrypted root file system fine with GELI. Thank's for the tip. After reinitializing the geli device with -b flag, it works. Before, I used an rc script to geli attach, my mistake. Of course, rc scripts are read after boot. It seems loader.conf contents (which are exactly as before) are somehow ignored if the -b flag for that device is missing. I didn't dig for the details. Without the hint for kbdmux, it freezes. Or at least appears so, because it has no reaction to anything pressed. After adding the hint, it will attach the geli device correctly, however, the kernel fault traps right after that. I'm wondering if this is still a kbdmux issue, perhaps removing it from the kernel is better. -- Alin-Adrian Anton GPG keyID 0x183087BA (B129 E8F4 7B34 15A9 0785 2F7C 5823 ABA0 1830 87BA) gpg --keyserver pgp.mit.edu --recv-keys 0x183087BA It is dangerous to be right when the government is wrong. - Voltaire ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FF 2.0 hogging the cpu in FreeBSD 6.2-PRELEASE
Hello, I installed FF 2.0 from the ports. I noticed that FF 2.0 uses alot of CPU power every time I open a new page in the tabs, or refresh an opened page, it's not app startup issue, beside I don't know if Linux has the same issue too. I didn't notice this issue with Konqueror with KDE 3.5.5. Calibrating TSC clock ... TSC clock: 1596012523 Hz CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1596.01-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x40f82 Stepping = 2 Instruction TLB: 32 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 256 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative real memory = 1474887680 (1406 MB) uname -a FreeBSD 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Fri Dec 22 15:02:36 AST 2006 arabian@:/usr/obj/usr/src/sys/ARABIAN i386 PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 886 arabian 6 890 132M 111M CPU1 1 2:55 141.99% firefox-bin Here is my make.conf CPUTYPE=k8 RELEASETAG=RELENG_6 This isn't Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FF 2.0 hogging the cpu in FreeBSD 6.2-PRELEASE
On 12/23/06, Michael P. Soulier [EMAIL PROTECTED] wrote: On 12/23/06, Abdullah Al-Marrie [EMAIL PROTECTED] wrote: Hello, I installed FF 2.0 from the ports. I noticed that FF 2.0 uses alot of CPU power every time I open a new page in the tabs, or refresh an opened page, it's not app startup issue, beside I don't know if Linux has the same issue too. Firefox is a pig on every platform. Plus, more sites are using javascript for AJAX these days, pushing more and more load onto the client. How about Opera, does it have the same issue? What are the specs of the machine? Mike AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1596.01-MHz 686-class CPU) Dual CPU. RAM: 1.5 GB DDR2 533 MHz. -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FF 2.0 hogging the cpu in FreeBSD 6.2-PRELEASE
On 12/23/06, Abdullah Al-Marrie [EMAIL PROTECTED] wrote: Hello, I installed FF 2.0 from the ports. I noticed that FF 2.0 uses alot of CPU power every time I open a new page in the tabs, or refresh an opened page, it's not app startup issue, beside I don't know if Linux has the same issue too. Firefox is a pig on every platform. Plus, more sites are using javascript for AJAX these days, pushing more and more load onto the client. What are the specs of the machine? Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FF 2.0 hogging the cpu in FreeBSD 6.2-PRELEASE
On 12/23/06, Abdullah Al-Marrie [EMAIL PROTECTED] wrote: How about Opera, does it have the same issue? No idea, but using a lot of cpu during activity isn't necessarily a bad thing. It's there to be used. The question is, is your system unacceptably slow when using Firefox? AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1596.01-MHz 686-class CPU) Dual CPU. RAM: 1.5 GB DDR2 533 MHz. Certainly adequate. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
uncalled for reboot
Greetings to all, I am attempting to run cvsup-without-gui on a Dell Inspiron 1501, with amd64x2 processor and 2GbRAM. I am using the ports-supfile modified to suit location and RELENG_6_1. The process begins, and starts deleting the old stuff...no problem. Then, about 10 minutes into it, the system reboots all by itself - no apparent reason. Any ideas? Season's Greetings, Z. Wade Hampton Twin Bridges, Montana ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FF 2.0 hogging the cpu in FreeBSD 6.2-PRELEASE
On 23/12/06, Michael P. Soulier [EMAIL PROTECTED] wrote: [...] Firefox is a pig on every platform. Plus, more sites are using javascript for AJAX these days, pushing more and more load onto the client. I agree. It's painfull to see that you browse a website and it consumes all your cpu cycles eventually. Since most of these scripts are used to power adverts or some graphical stuff that really isn't necessary, I use FF with the Adblock, NoScript, and Flashblock-Extension. Adblock filters known ads, together with Adblock Filter.G Updater you get a decent list of ad placing sites. NoScript is configured to block all JavaScripts by default, and if I think that a website doesn't behave as I would expect (e.g. doesn't react on URL- oder buttonpresses in forms), I temporarily allow scripts for this site. Sites I visit regularly that require JavaScript get general permission. Flashblock teaches embedded Flash-Objects on demand-behaviour by replacing them with a play button. The Animation is only started after this button is being pressed. This puts an end to high CPU load... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Browser Plugins - State of the Art???
Overall, I've gotten the best results with Linux-Opera. It works fine with Acroread, Java and Flash. I've not tried Real Player. The only thing it can't do is use the MPlayer plugin. Opera 9.10 (FreeBSD native) supposedly takes Linux plugins directly, which would be a huge step in the right direction. Flash 9 even works, through it is still a bit unstable. Native Firefox/Epiphany/linuxpluginwrapper works fine for me with Acroread, Flash sites coded for older players (but please see http://www.jail.se/freebsd.html for the appropriate patch) and Java. FWIW, while the Poppler-based PDF viewers like Evince and KPDF work well for many documents, for the really complicated ones there is no replacement for Acroread. Yes, this is on 6.2-RC. Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uncalled for reboot
On Saturday 23 December 2006 11:41, Z. Wade Hampton wrote: Greetings to all, I am attempting to run cvsup-without-gui on a Dell Inspiron 1501, with amd64x2 processor and 2GbRAM. I am using the ports-supfile modified to suit location and RELENG_6_1. The process begins, and starts deleting the old stuff...no problem. Then, about 10 minutes into it, the system reboots all by itself - no apparent reason. Any ideas? Season's Greetings, Z. Wade Hampton Twin Bridges, Montana I don't know about the reboot, but you should always use the head . tag for ports (note that's a period without the quotes). Ports don't follow releases the way the system does and using anything other than the head tag will just delete your entire ports tree. The port itself will determine the proper configs for your system. My /etc/cvsupfile-ports is as follows: *default host=cvsup6.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs *default delete use-rel-suffix *default compress ports-all tag=. Use the head tag. Change the default host to whatever is closest to you. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpysrMVKUXJW.pgp Description: PGP signature
not everything coming up on a reboot
Hello, I had to reboot recently (a truly rare event), and I found that my PPPoE connection didn't come back up automatically. Quite disturbing if I happen to be away from the house and a power failure lasts longer than my UPS. After boot, if I run /etc/rc.d/ppp-user start, it comes up perfectly, using my settings in /etc/rc.conf. So, why wouldn't it come up at boot? I thought that every initscript was passed a start argument. I can't find a log of an attempt at all. Help appreciated. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not everything coming up on a reboot
Hello Mike, do you have ppp_enable=YES in your /etc/rc.conf? If you never configured /etc/rc.conf to start ppp on boot, you should take a look at /etc/defaults/rc.conf to see what options are available, and what options apply to your setup. HTH Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
remote graphical login to a fbsd server
[From the handbook] In order for other clients to connect to the display server, edit the access control rules, and enable the connection listener. By default these are set to conservative values. To make XDM listen for connections, first comment out a line in the xdm-config file: ! SECURITY: do not listen for XDMCP or Chooser requests ! Comment out this line if you want to manage X terminals with xdm DisplayManager.requestPort: 0 This I understand. When I commnent this line out xdm will listen to remote login requests. But I want to make sure that ONLY machines from my *local* network can make a connection. In the Xaccess file I see something like listen * Bff01:0:0:0:0:0:0:12b ff02:0:0:0:0:0:0:12b ff03:0:0:0:0:0:0:12b ff04:0:0:0:0:0:0:12b ff05:0:0:0:0:0:0:12b What do I have to change in this 'LISTEN' line to have connections from other local machines but *not* from outside? -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 ++ Solaris 10 6/06 ++ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uncalled for reboot
On 12/23/06, Z. Wade Hampton [EMAIL PROTECTED] wrote: Greetings to all, I am attempting to run cvsup-without-gui on a Dell Inspiron 1501, with amd64x2 processor and 2GbRAM. I am using the ports-supfile modified to suit location and RELENG_6_1. The process begins, and starts deleting the old stuff...no problem. Then, about 10 minutes into it, the system reboots all by itself - no apparent reason. Any ideas? Season's Greetings, Z. Wade Hampton Twin Bridges, Montana Heat issue? Please do sysctl hw.acpi.thermal Make sure you have hw.acpi.thermal.tz0.passive_cooling: 1 -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
remove suid files question....
Hi all.i installed a freebsd 6 and i am going to use it as a server with apache, ssh, ftp and other servicesit is going to be of free accessu register in my page your account (free) and i create an account for u in the systemso i am trying to make it secure.which setuid files should i take the setuid bit off??? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not everything coming up on a reboot
On 12/23/06, Christian Walther [EMAIL PROTECTED] wrote: Hello Mike, do you have ppp_enable=YES in your /etc/rc.conf? If you never configured /etc/rc.conf to start ppp on boot, you should take a look at /etc/defaults/rc.conf to see what options are available, and what options apply to your setup. As I said, the ppp-user script brings it up fine. It would not if I did not have rc.conf configured properly. [EMAIL PROTECTED] ~]# grep ppp /etc/rc.conf ppp_enable=YES ppp_mode=ddial #ppp_nat=YES # if you want to enable nat for your local network, otherwise NO ppp_profile=storm It still doesn't come up at boot. Thanks, Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uncalled for reboot
On Saturday 23 December 2006 14:10, Bill Moran wrote: Z. Wade Hampton [EMAIL PROTECTED] wrote: Greetings to all, I am attempting to run cvsup-without-gui on a Dell Inspiron 1501, with amd64x2 processor and 2GbRAM. I am using the ports-supfile modified to suit location and RELENG_6_1. The process begins, and starts deleting the old stuff...no problem. Then, about 10 minutes into it, the system reboots all by itself - no apparent reason. You need to gather and provide considerably more information, unless there's someone on list who is psychic. FreeBSD version, hardware data, etc ... Thanks Bill. I'll keep that in mind. I think I have the problem figured out. *base=/var/db was set in the supfile. After changing it to /usr, the problem went away. Regards, ZWH However, spontaneous reboots are almost always hardware problems. Have you verified that your RAM, hard drive, cooling, power, and all other hardware factors are in proper operation? That would be the first logical step in diagnosing this. -Bill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uncalled for reboot
Z. Wade Hampton [EMAIL PROTECTED] wrote: Greetings to all, I am attempting to run cvsup-without-gui on a Dell Inspiron 1501, with amd64x2 processor and 2GbRAM. I am using the ports-supfile modified to suit location and RELENG_6_1. The process begins, and starts deleting the old stuff...no problem. Then, about 10 minutes into it, the system reboots all by itself - no apparent reason. You need to gather and provide considerably more information, unless there's someone on list who is psychic. FreeBSD version, hardware data, etc ... However, spontaneous reboots are almost always hardware problems. Have you verified that your RAM, hard drive, cooling, power, and all other hardware factors are in proper operation? That would be the first logical step in diagnosing this. -Bill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not everything coming up on a reboot
On Saturday 23 December 2006 11:48, Michael P. Soulier wrote: Hello, I had to reboot recently (a truly rare event), and I found that my PPPoE connection didn't come back up automatically. Quite disturbing if I happen to be away from the house and a power failure lasts longer than my UPS. After boot, if I run /etc/rc.d/ppp-user start, it comes up perfectly, using my settings in /etc/rc.conf. So, why wouldn't it come up at boot? I thought that every initscript was passed a start argument. I can't find a log of an attempt at all. Do you have ppp-user_enable=yes in your /etc/rc.conf? Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not everything coming up on a reboot
On 12/23/06, Beech Rintoul [EMAIL PROTECTED] wrote: Do you have ppp-user_enable=yes in your /etc/rc.conf? No, and looking at ppp-user, I don't see why I'd need one. I have ppp_enable=YES. # PROVIDE: ppp-user # REQUIRE: netif isdnd # KEYWORD: nojail . /etc/rc.subr name=ppp rcvar=ppp_enable start_cmd=ppp_start stop_cmd=: Now, I do notice that the stock script comes with a REQUIRE isdnd as well as netif. As I'm not running isdn, would that stop rc from bringing the script up, or are REQUIREs OR'd and not AND'd? Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not everything coming up on a reboot
On Saturday 23 December 2006 12:36, Michael P. Soulier wrote: On 12/23/06, Beech Rintoul [EMAIL PROTECTED] wrote: Do you have ppp-user_enable=yes in your /etc/rc.conf? No, and looking at ppp-user, I don't see why I'd need one. I have ppp_enable=YES. # PROVIDE: ppp-user # REQUIRE: netif isdnd # KEYWORD: nojail . /etc/rc.subr name=ppp rcvar=ppp_enable start_cmd=ppp_start stop_cmd=: Now, I do notice that the stock script comes with a REQUIRE isdnd as well as netif. As I'm not running isdn, would that stop rc from bringing the script up, or are REQUIREs OR'd and not AND'd? I'm not sure. I read the man pages and find them somewhat obscure. I maintain several ports and generally I just go with the stock script that comes with the port. You might want to ask this question on freebsd-ports@ you're more likely to get an answer from someone who understands rc.d scripts. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpptq3fB5tOn.pgp Description: PGP signature
Re: not everything coming up on a reboot
On Saturday 23 December 2006 12:36, Michael P. Soulier wrote: On 12/23/06, Beech Rintoul [EMAIL PROTECTED] wrote: Do you have ppp-user_enable=yes in your /etc/rc.conf? No, and looking at ppp-user, I don't see why I'd need one. I have ppp_enable=YES. # PROVIDE: ppp-user # REQUIRE: netif isdnd # KEYWORD: nojail . /etc/rc.subr name=ppp rcvar=ppp_enable start_cmd=ppp_start stop_cmd=: Now, I do notice that the stock script comes with a REQUIRE isdnd as well as netif. As I'm not running isdn, would that stop rc from bringing the script up, or are REQUIREs OR'd and not AND'd? Mike I forgot to mention, as a workaround if you can't get the rc.d script working you can start it from cron. Just replace the time/day/month variables with @reboot and the path to the exicutable. I use it for a couple of things that don't have start scripts. See man(5) crontab for examples. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kde and gnome/gtk font appearance...
I was wondering if anyone could explain this discrepancy in font appearance. Here is how fonts appear on my desktop apps in gnome/metacity. http://img110.imageshack.us/my.php?image=screenshotkdegfpfa8.jpg Here is how fonts appear by default in kde/kwin. http://img300.imageshack.us/my.php?image=screenshotkdewt9.jpg And here is how fonts appear in kde/kwin after I manually run the gnome-font-properties app. http://img110.imageshack.us/my.php?image=screenshotkdegfpuh0.jpg I've tried kde with and without xfs as well as xfstt. In kde control center, I've configured it to use the same exact fonts and font sizes as gnome-font-properties. I've also set the anti-aliasing options to match up. So basically I'd like to run kde with my fonts appearing like they do in gnome. Does anyone have advice? Is there some gnome program I could have kde automatically launch to get the results I want? I'm running FreeBSD 6.1-RELEASE-p11, xorg-6.9.0_5, kde-3.5.5, gnome2-2.16.2. -- Andy Harrison ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kde and gnome/gtk font appearance...
On 12/23/06, Andy Harrison [EMAIL PROTECTED] wrote: I was wondering if anyone could explain this discrepancy in font appearance. Here is how fonts appear on my desktop apps in gnome/metacity. Oops, first screenshot should be... http://img134.imageshack.us/my.php?image=screenshotgnomebx8.jpg -- Andy Harrison ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not everything coming up on a reboot
On Saturday 23 December 2006 15:36, Michael P. Soulier wrote: On 12/23/06, Beech Rintoul [EMAIL PROTECTED] wrote: Do you have ppp-user_enable=yes in your /etc/rc.conf? No, and looking at ppp-user, I don't see why I'd need one. I have ppp_enable=YES. # PROVIDE: ppp-user # REQUIRE: netif isdnd # KEYWORD: nojail . /etc/rc.subr name=ppp rcvar=ppp_enable start_cmd=ppp_start stop_cmd=: Now, I do notice that the stock script comes with a REQUIRE isdnd as well as netif. As I'm not running isdn, would that stop rc from bringing the script up, or are REQUIREs OR'd and not AND'd? Mike -- Mike, I'm not so much familiar with rcorder and how it works, so I might be out of my depth ... but here goes ... It appeas that /etc/rc uses -s nostart when it arranges scripts in /etc/rc.d for startup (using rcorder). If you are running in a jail it will also use -s nojail Clearly if you are running ppp in a jail you don't get to start via rc It does not appear that rcorder is invoked when you run the script from the command line ... thus it will start when you invoke it manually as long as /etc/rc.conf agrees. Do this: rcorder -s nostart /etc/rc.d/* Does ppp show up? If not then there is the problem. As to WHY .. well you'd have to ask the developer. But If I was trouble-shooting to get it to work until the developer of rcorder got back with me, I this I'd do it this way: 1) copy /etc/rc.d/ppp-user to /usr/local/etc/rc.d/ppp-user (so I can monkey with it without messing things up. 2) change ppp_enable=YES to ppp_enable=NO in /etc/rc.conf 3) make up a new variable (e.g. mikes_ppp_enable) and put it in /etc/rc.conf in place of ppp_enable. Of course, set it to mikes_ppp_enable=YES 4) alter the new /usr/local/etc/rc.d/ppp-user to make it use mikes_ppp_enable 5) reboot If ppp does not start then ... edit /usr/local/etc/rc.d/ppp-user to REMOVE the # REQUIRE line reboot again If ppp STILL does not start ... well ... i don't like my solutions, but ... I'd delete all of the rcorder information from my script and hang on until the developer (or someone else) could help me straighten it out. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not everything coming up on a reboot
On Saturday 23 December 2006 15:36, Michael P. Soulier wrote: On 12/23/06, Beech Rintoul [EMAIL PROTECTED] wrote: Do you have ppp-user_enable=yes in your /etc/rc.conf? No, and looking at ppp-user, I don't see why I'd need one. I have ppp_enable=YES. # PROVIDE: ppp-user # REQUIRE: netif isdnd # KEYWORD: nojail . /etc/rc.subr name=ppp rcvar=ppp_enable start_cmd=ppp_start stop_cmd=: Now, I do notice that the stock script comes with a REQUIRE isdnd as well as netif. As I'm not running isdn, would that stop rc from bringing the script up, or are REQUIREs OR'd and not AND'd? Mike -- Mike, I'm not so much familiar with rcorder and how it works, so I might be out of my depth ... but here goes ... It appeas that /etc/rc uses -s nostart when it arranges scripts in /etc/rc.d for startup (using rcorder). If you are running in a jail it will also use -s nojail Clearly if you are running ppp in a jail you don't get to start via rc It does not appear that rcorder is invoked when you run the script from the command line ... thus it will start when you invoke it manually as long as /etc/rc.conf agrees. Do this: rcorder -s nostart /etc/rc.d/* Does ppp show up? If not then there is the problem. As to WHY .. well you'd have to ask the developer. But If I was trouble-shooting to get it to work until the developer of rcorder got back with me, I this I'd do it this way: 1) copy /etc/rc.d/ppp-user to /usr/local/etc/rc.d/ppp-user (so I can monkey with it without messing things up. 2) change ppp_enable=YES to ppp_enable=NO in /etc/rc.conf 3) make up a new variable (e.g. mikes_ppp_enable) and put it in /etc/rc.conf in place of ppp_enable. Of course, set it to mikes_ppp_enable=YES 4) alter the new /usr/local/etc/rc.d/ppp-user to make it use mikes_ppp_enable 5) reboot If ppp does not start then ... edit /usr/local/etc/rc.d/ppp-user to REMOVE the # REQUIRE line reboot again If ppp STILL does not start ... well ... i don't like my solutions, but ... I'd delete all of the rcorder information from my script and hang on until the developer (or someone else) could help me straighten it out. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kde and gnome/gtk font appearance...
I am not sure if this might help, but it does improve the way fonts are rendered for me in KDE and Gnome. Basically it turns on hinting. Put this in a file called .fonts.conf in your home directory. --8-- ?xml version=1.0? !DOCTYPE fontconfig SYSTEM fonts.dtd fontconfig match target=font edit name=autohint mode=assign booltrue/bool /edit /match /fontconfig --8-- - Pramod On Sat, 2006-12-23 at 17:06 -0500, Andy Harrison wrote: On 12/23/06, Andy Harrison [EMAIL PROTECTED] wrote: I was wondering if anyone could explain this discrepancy in font appearance. Here is how fonts appear on my desktop apps in gnome/metacity. Oops, first screenshot should be... http://img134.imageshack.us/my.php?image=screenshotgnomebx8.jpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not everything coming up on a reboot
On 12/23/06, Beech Rintoul [EMAIL PROTECTED] wrote: I forgot to mention, as a workaround if you can't get the rc.d script working you can start it from cron. Just replace the time/day/month variables with @reboot and the path to the exicutable. I use it for a couple of things that don't have start scripts. See man(5) crontab for examples. Hmm. Thanks. Good to know, that could do as a workaround for now. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not everything coming up on a reboot
On 12/23/06, Lane [EMAIL PROTECTED] wrote: It does not appear that rcorder is invoked when you run the script from the command line ... thus it will start when you invoke it manually as long as /etc/rc.conf agrees. Do this: rcorder -s nostart /etc/rc.d/* [EMAIL PROTECTED] ~]$ rcorder -s nostart /etc/rc.d/* | grep -A1 -B1 ppp-user /etc/rc.d/netif /etc/rc.d/ppp-user /etc/rc.d/ipfw Does ppp show up? If not then there is the problem. As to WHY .. well you'd have to ask the developer. But If I was trouble-shooting to get it to work until the developer of rcorder got back with me, I this I'd do it this way: Thanks. I might take some time to tinker with it. I've opened a bug report for now. Maybe I'll have something to append to it soon. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
where are /usr/local/etc/rc.d init scripts run from?
I was looking in /etc/rc, and it's obvious to see where the /etc/rc.d scripts are run from. skip=-s nostart [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] skip=$skip -s nojail files=`rcorder ${skip} /etc/rc.d/* 2/dev/null` for _rc_elem in ${files}; do run_rc_script ${_rc_elem} ${_boot} done So rcorder is run over /etc/rc.d/*. When is the same done for /usr/local/etc/rc.d/*? Thanks, Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FF 2.0 hogging the cpu in FreeBSD 6.2-PRELEASE
On 12/23/06, Christian Walther [EMAIL PROTECTED] wrote: On 23/12/06, Michael P. Soulier [EMAIL PROTECTED] wrote: [...] Firefox is a pig on every platform. Plus, more sites are using javascript for AJAX these days, pushing more and more load onto the client. I agree. It's painfull to see that you browse a website and it consumes all your cpu cycles eventually. Since most of these scripts are used to power adverts or some graphical stuff that really isn't necessary, I use FF with the Adblock, NoScript, and Flashblock-Extension. Adblock filters known ads, together with Adblock Filter.G Updater you get a decent list of ad placing sites. NoScript is configured to block all JavaScripts by default, and if I think that a website doesn't behave as I would expect (e.g. doesn't react on URL- oder buttonpresses in forms), I temporarily allow scripts for this site. Sites I visit regularly that require JavaScript get general permission. Flashblock teaches embedded Flash-Objects on demand-behaviour by replacing them with a play button. The Animation is only started after this button is being pressed. This puts an end to high CPU load... Thank you for the tips, when I posted this in the list I already have Adblock installed, but I still FF acts like a hungry pig. The question now, is FF-linux runs faster than native FreeBSD FF? -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where are /usr/local/etc/rc.d init scripts run from?
On 12/24/06, Michael P. Soulier [EMAIL PROTECTED] wrote: I was looking in /etc/rc, and it's obvious to see where the /etc/rc.d scripts are run from. skip=-s nostart [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] skip=$skip -s nojail files=`rcorder ${skip} /etc/rc.d/* 2/dev/null` for _rc_elem in ${files}; do run_rc_script ${_rc_elem} ${_boot} done So rcorder is run over /etc/rc.d/*. When is the same done for /usr/local/etc/rc.d/*? 1. grep for rcorder in rc 2. grep for local_rc in rc.subr ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where are /usr/local/etc/rc.d init scripts run from?
On Saturday 23 December 2006 18:15, Michael P. Soulier wrote: I was looking in /etc/rc, and it's obvious to see where the /etc/rc.d scripts are run from. skip=-s nostart [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] skip=$skip -s nojail files=`rcorder ${skip} /etc/rc.d/* 2/dev/null` for _rc_elem in ${files}; do run_rc_script ${_rc_elem} ${_boot} done So rcorder is run over /etc/rc.d/*. When is the same done for /usr/local/etc/rc.d/*? Thanks, Mike They are called from /etc/rc.d/localpkg if they are the old style. The directories searched are defined with local_startup (which defaults to: /usr/local/etc/rc.d /usr/X11R6/etc/rc.d). The new style scripts are found in /etc/rc as well. You may want to look at the find_local_scripts_new() function in /etc/rc.subr to see how some of this functions. There is some trickery here because we have to do this in more than one step. Since /usr/local/etc/rc.d/ may not be on a mounted filesystem until we run through some of the earlier scripts. [/etc/rc:98-118] # Now that disks are mounted, for each dir in $local_startup # search for init scripts that use the new rc.d semantics. # case ${local_startup} in [Nn][Oo] | '') ;; *) find_local_scripts_new ;; esac files=`rcorder ${skip} /etc/rc.d/* ${local_rc} 2/dev/null` _skip_early=1 for _rc_elem in ${files}; do case $_skip_early in 1) case $_rc_elem in */${early_late_divider})_skip_early=0 ;; esac continue ;; esac run_rc_script ${_rc_elem} ${_boot} done ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remove suid files question....
On Sat, Dec 23, 2006 at 05:41:29PM -0300, Agus wrote: Hi all.i installed a freebsd 6 and i am going to use it as a server with apache, ssh, ftp and other servicesit is going to be of free accessu register in my page your account (free) and i create an account for u in the systemso i am trying to make it secure.which setuid files should i take the setuid bit off??? Sounds interesting. Can i get an account? :) btw: do you care for a real email address? (see below) Giving the users shell access without a chroot environment is a potential danger, possible though. A plain BSD installation has several suid- bits set like for the 'passwd' program, 'su' and other. These can't be used to corrupt the system, so you should be safe. Nevertheless, special care has to be taken for all third party software, e.g. via the ports system. On my box i can't afford giving users shell access, because cpu cycles are a rare resource (OSes can be even freeze with naughty users). And then i have no expirience about enforcing resource limits... Another important point is: You may trust your users, but unauthorized access (someone else logs in) can arise if they do something wrong. Restricting them to cryptgraphically authenticated entrance is a good countermeasure. Armin -- PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uncalled for reboot
On Sat, 23 Dec 2006 14:38:43 -0700 Z. Wade Hampton [EMAIL PROTECTED] wrote: Thanks Bill. I'll keep that in mind. I think I have the problem figured out. *base=/var/db was set in the supfile. After changing it to /usr, the problem went away. You can be 99.9% sure that the problem wasn't that. It is, like it is stated, most likely a hardware problem but initialized by using cvsup. My guess is RAM problems. Try using MEMTESTER. Regards, ZWH However, spontaneous reboots are almost always hardware problems. Have you verified that your RAM, hard drive, cooling, power, and all other hardware factors are in proper operation? That would be the first logical step in diagnosing this. -Bill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where are /usr/local/etc/rc.d init scripts run from?
On 12/23/06, Kevin Brunelle [EMAIL PROTECTED] wrote: They are called from /etc/rc.d/localpkg if they are the old style. The directories searched are defined with local_startup (which defaults to: /usr/local/etc/rc.d /usr/X11R6/etc/rc.d). Ok, looking in localpkg, I see this. pkg_start() { # For each dir in $local_startup, search for init scripts matching *.sh # case ${local_startup} in [Nn][Oo] | '') ;; *) echo -n 'Local package initialization:' slist= if [ -z ${script_name_sep} ]; then script_name_sep= fi for dir in ${local_startup}; do if [ -d ${dir} ]; then for script in ${dir}/*.sh; do slist=${slist}${script_name_sep}${script} done fi done script_save_sep=$IFS IFS=${script_name_sep} for script in ${slist}; do if [ -x ${script} ]; then (set -T trap 'exit 1' 2 ${script} start) elif [ -f ${script} -o -L ${script} ]; then echo -n (skipping ${script##*/}, not executable) fi done IFS=${script_save_sep} echo '.' ;; esac } So rcorder is not used for the rc scripts in /usr/local/etc/rc.d? That explains much, since I have a runsvstat.sh script needed to start runit, and a script to start one of its services starts with an 'm' and is executing first, which I don't want. Why is rcorder not used on these files as well? It's such a good system. The new style scripts are found in /etc/rc as well. You may want to look at the find_local_scripts_new() function in /etc/rc.subr to see how some of this functions. There is some trickery here because we have to do this in more than one step. Since /usr/local/etc/rc.d/ may not be on a mounted filesystem until we run through some of the earlier scripts. Ok, thanks. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where are /usr/local/etc/rc.d init scripts run from?
So rcorder is not used for the rc scripts in /usr/local/etc/rc.d? That explains much, since I have a runsvstat.sh script needed to start runit, and a script to start one of its services starts with an 'm' and is executing first, which I don't want. Why is rcorder not used on these files as well? It's such a good system. I was unintentionally confusing in my answer. Sorry about that. If your startup script is in the old style, it will be handled by /etc/rc.d/localpkg when that is called during the boot process. That is ONLY if it's the old style. If it is part of the new style, it will be sorted *correctly* by rcorder with the other scripts in /etc/rc.d/. I have to highlight correctly because for your script to actually be handled correctly it must appear in the order after the $early_late_divider (which is probably mountcritical but could be NETWORKING if you're running a jail or something else if it's redefined by your environment). Typically, as long as your script appears after mountcritical, it will be handled correctly. If you read /etc/rc carefully, you will see that rcorder is run twice. The first time with just the scripts in /etc/rc.d/ and then it starts processing those. This is the bit of code you included. But, if you look, it breaks that look at the $early_late_divider and then goes down to the block I pointed out (starting on line 98 in my system). In this case it finds all the new style scripts in the ${local_startup} directories and then uses rcorder to resort all the scripts in /etc/rc.d/ with the new style scripts from those directories. Then code then loops again (this time ignoring scripts) until it hits the $early_late_divider and then runs all the scripts after that. If your script appears earlier than that, it will be sorted into the section of scripts which won't be run. In practice, this should not be a problem. If your script is not being run correctly... you need to investigate /etc/rc.subr and try and understand why it is not seeing it as a new style script or if some other mistake is being made. find_local_scripts_new is the function that does this (line 1392 on my system) and is where I would look. I hope this is a little more clear. -Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Search Replace Issue
Appreciate a tip on how to search replace hundreds of *.htm files: From this: lia href=http://www.domain.com/tales/wouf.html To this: lia href=tales/wouf.html In other words, I just want the relative path and remove all the extra: http://www.domain.htm/ portions of the lines. Large thanks in advance for help. Happy Holidays! Jack _ Type your favorite song. Get a customized station. Try MSN Radio powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Search Replace Issue
On Saturday 23 December 2006 21:29, Jack Stone wrote: Appreciate a tip on how to search replace hundreds of *.htm files: From this: lia href=http://www.domain.com/tales/wouf.html To this: lia href=tales/wouf.html In other words, I just want the relative path and remove all the extra: http://www.domain.htm/ portions of the lines. Large thanks in advance for help. Happy Holidays! Jack perl -p0777i -e 's/http:\/\/www.domain.com\///g' *.htm -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Search Replace Issue
Don't know anything concrete, but: regexp or wildcards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2006-12-03 - 2006-12-23
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 4-Dec : Putting sshd on a higher port Sometimes port 22 is just not convenient http://freebsddiary.org/ssh-higher-port.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portversion vs. pkg_version
Hi all, What's the difference between `portversion' and `pkg_version -I'? Thanks. Edward ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Search Replace Issue
On Sat, 23 Dec 2006 21:29:40 -0600 Jack Stone [EMAIL PROTECTED] wrote: Appreciate a tip on how to search replace hundreds of *.htm files: From this: lia href=http://www.domain.com/tales/wouf.html To this: lia href=tales/wouf.html In other words, I just want the relative path and remove all the extra: http://www.domain.htm/ portions of the lines. Probably many ways to do this but I typically use sed to edit files in-place: sed -i 's/http:\/\/www.domain.com\///g' *.htm Randy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]