kern.ipc.shm_allow_removed
The latest version of Opera claims to be faster by taking advantage of shared X memory if I set the sysctl kern.ipc.shm_allow_removed. I don't like to change sysctls from their default settings unless I understand the consequences. I've been unable to find a manpage that describes this setting. The description Enable/Disable attachment to attached segments marked for removal sounds a bit frightening to me. Would anyone care to comment on the effects and risks of changing this setting on a private desktop machine? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Syslog not logging remote host
On Apr 13, 2007, at 22:44, [EMAIL PROTECTED] wrote: At 08:48 PM 4/13/2007, you wrote: Janos Dohanics [EMAIL PROTECTED] wrote: I'm trying capture logs from m0n0wall, but the log file is empty. Here is my configuration: On the logging machine, in /etc/rc.conf: syslogd_flags=-a 10.61.70.1 In /etc/syslog.conf: +10.61.70.1 *.* /var/log/ m0n0wall.log /var/log/m0n0wall.log exists and writable: -rw-rw-r-- 1 root network 0 Apr 13 00:32 /var/log/m0n0wall.log The m0n0wall is configured to send logs to 10.61.70.100, which is the logging machine. What am I missing? Start with tcpdump on the receiving machine: tcpdump 'port 514' to see if you're even receiving messages from the monowall machine. If not, then double-check your config on the monowall machine. If so, check the receiving machine. Bill, looks like 10.61.70.100 is receiving packets: 00:58:07.203800 IP gww.floco.com.syslog 10.61.70.100.syslog: UDP, length: 126 00:58:33.295297 IP gww.floco.com.syslog 10.61.70.100.syslog: UDP, length: 44 00:58:33.340779 IP gww.floco.com.syslog 10.61.70.100.syslog: UDP, length: 49 00:59:21.436782 IP gww.floco.com.syslog 10.61.70.100.syslog: UDP, length: 55 00:59:21.438125 IP gww.floco.com.syslog 10.61.70.100.syslog: UDP, length: 71 00:59:21.439305 IP gww.floco.com.syslog 10.61.70.100.syslog: UDP, length: 99 00:59:21.440458 IP gww.floco.com.syslog 10.61.70.100.syslog: UDP, length: 92 Did you restart syslogd on both systems after making config changes? I have... Janos You might try running ktrace on the syslogd process while log messages are being sent. If you see syslogd receive the messages but not writing to a file, then there is an issue with the syslog.conf settings. It could also be logging somewhere you are not expecting. If you don't see syslogd receiving the messages then there is something blocking it or syslogd is just not listening to that host/ port. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mysql Hogging all system resources
In the last episode (Apr 13), Don O'Neil said: Nevermind on the badly formatted number... I specified the full path /usr/bin/nice and it worked ok this time :-) However, I still want to know if there is a way to specify a nice level for an entire users processes. If you create a login class in /etc/login.conf and set the priority capability, then assign a user to that class in /etc/master.passwd (the class field is the 5th one, it's usually empty), then their priority (aka niceness) should get set then they log in. Remember to use the 'vipw' command to edit the passwd file, and to run 'cap_mkdb /etc/login.conf' to rebuild login.conf.db. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
[EMAIL PROTECTED] writes: First my experience with [Free]BSD as a server completely mirrors Dag-Erling's observation, it [mostly] just works. I started with BSDI switching to FreeBSD around 3.5. I think it is also true that depending on your hardware a FreeBSD workstation or laptop can be a bit of a challenge. My issues with FreeBSD as a desktop mostly come from the difficulty of installing software and keeping it up-to-date: 'pkg_add -r' and 'portupgrade -aP' simply can't hold a candle to 'apt-get install' and 'apt-get dist-upgrade'. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Given this evidence, should I be worried that I may have been hacked
Once I opened up SSH to the outside world, my machine has been hammered once or twice a day most days, with username failures. None of the usernames would fit a username on my system (except root), and I have ssh set to deny root logins, and only use SSH2. Additionally, I have the following in my login.access (only active entry, the name have been changed on this, but the three names would appear as 3 and four character random alphabetical strings): -:ALL EXCEPT wrbc crr aqp:ALL EXCEPT local As of the 9th, I've only seen one set of blatant/brute-force attempt at my ssh server. It's interesting, but the major drop in attempts has me more worried than the attempts (could this drop off be because they no longer need to hack me? Could they have hacked me an that be the reason why?) How worried should I be, and what's the best recourse for this? Thanks, -Jim Stapleton ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Given this evidence, should I be worried that I may have been hacked
Jim Stapleton schrieb: Once I opened up SSH to the outside world, my machine has been hammered once or twice a day most days, with username failures. None of the usernames would fit a username on my system (except root), and I have ssh set to deny root logins, and only use SSH2. Additionally, I have the following in my login.access (only active entry, the name have been changed on this, but the three names would appear as 3 and four character random alphabetical strings): -:ALL EXCEPT wrbc crr aqp:ALL EXCEPT local As of the 9th, I've only seen one set of blatant/brute-force attempt at my ssh server. It's interesting, but the major drop in attempts has me more worried than the attempts (could this drop off be because they no longer need to hack me? Could they have hacked me an that be the reason why?) How worried should I be, and what's the best recourse for this? On a system I administer I put SSH to a non-standard port (in this case 1234) and the brute force attempts has gone away since then. I suggest you trying that. Besides, you can change to RSA/DSA auth, which is more secure. Regards, Gabor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
On 4/13/07, Claude Menski [EMAIL PROTECTED] wrote: Why is freebsd better then ubuntu? More useful documentation (the Handbook is great) and easier to debug than any Linux distribution I've ever tried (including Mandrake, Ubuntu, Kubuntu, SUSE 6.3, SLED, Debian, SLC, and MEPIS). There's also a good chance an answer, tutorial, or howto from 1999 is still applicable, unlike for Linux. -- Victor Engmark Quidquid latine dictum sit, altum videtur - What is said in Latin, sounds profound ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mysql Hogging all system resources
In response to Don O'Neil [EMAIL PROTECTED]: I did this: In my login.conf file (assuming that all you have to do is change whatever you don't want to be the default): nice:\ :priority=5: In the user entry I put 'nice' in field 5. When I rebuilt the login.conf db, nothing seems to have changed for th user... A 'top' still shows his processes (old and new) with a nice of 0. Is there something else I'm missing? Did you log the user out/restart all his processes? I expect the priority is applied at login time and isn't going to be re-evaluated on a continual basis. -Original Message- From: Dan Nelson [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 2:57 PM To: Don O'Neil Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Mysql Hogging all system resources In the last episode (Apr 13), Don O'Neil said: Nevermind on the badly formatted number... I specified the full path /usr/bin/nice and it worked ok this time :-) However, I still want to know if there is a way to specify a nice level for an entire users processes. If you create a login class in /etc/login.conf and set the priority capability, then assign a user to that class in /etc/master.passwd (the class field is the 5th one, it's usually empty), then their priority (aka niceness) should get set then they log in. Remember to use the 'vipw' command to edit the passwd file, and to run 'cap_mkdb /etc/login.conf' to rebuild login.conf.db. -- Dan Nelson [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Given this evidence, should I be worried that I may have been hacked
I have DSA. I will change it to a nonstandard port, but I was wondering what your oppinion on a good way to check if this is the result of me being hacked, or just someone loosing interest. On 4/14/07, Gabor Kovesdan [EMAIL PROTECTED] wrote: Jim Stapleton schrieb: Once I opened up SSH to the outside world, my machine has been hammered once or twice a day most days, with username failures. None of the usernames would fit a username on my system (except root), and I have ssh set to deny root logins, and only use SSH2. Additionally, I have the following in my login.access (only active entry, the name have been changed on this, but the three names would appear as 3 and four character random alphabetical strings): -:ALL EXCEPT wrbc crr aqp:ALL EXCEPT local As of the 9th, I've only seen one set of blatant/brute-force attempt at my ssh server. It's interesting, but the major drop in attempts has me more worried than the attempts (could this drop off be because they no longer need to hack me? Could they have hacked me an that be the reason why?) How worried should I be, and what's the best recourse for this? On a system I administer I put SSH to a non-standard port (in this case 1234) and the brute force attempts has gone away since then. I suggest you trying that. Besides, you can change to RSA/DSA auth, which is more secure. Regards, Gabor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: test
In response to Hangmn [EMAIL PROTECTED]: GET ME OFF THIS FUCKING LIST That's a powerfully effective method of getting things done. First off, the use of the word FUCKING is a well-known method to convince people to come to your aid. I believe it was Napoleon who stated, By inserting 'FUCKING' in front of every FUCKING noun in every FUCKING sentence, I have managed to motivate my FUCKING soldiers more so than any other FUCKING method I have tried. Secondly, the use of all caps is known to be an efficient method of getting your point across. Internet experts agree that mailing lists are very loud, and the only way you're guaranteed to be heard is to SHOUT all the time. I'm glad you've caught on to this fine point of netiquette. Thirdly, replying to an arbitrary message instead of taking the time to contact the right people is a fabulously effective method of getting things done. Obviously, the guy who sent this test message, as well as others who read it are most likely to be the people who can actually _do_ anything about your problem. And lastly, leaving out all the details of your problem is guaranteed to expedite the fix of your problem. Obviously those details, such as a copy of an offending message with fully headers, or a list of the steps you've tried to take in resolution of the problem, would only confused the technically adept people who could actually research and fix your problem. Leaving them out is good practice. On 4/11/07, Bill Moran [EMAIL PROTECTED] wrote: Please use the [EMAIL PROTECTED] mailing list for testing. It avoids spamming 1000s of inboxes with test messages. In response to Bill Hall [EMAIL PROTECTED]: -- Bill Hall Manager, Occupant Protection Program UNC Highway Safety Research Center 730 Martin Luther King Jr. Blvd., Suite 300 CB# 3430 Chapel Hill, NC 27599 919-962-8721 (Voice) 800-672-4527 (toll-free in NC) 919-962-8710 (fax) [EMAIL PROTECTED] http://www.hsrc.unc.edu http://www.buckleupnc.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Given this evidence, should I be worried that I may have been hacked
In response to Jim Stapleton [EMAIL PROTECTED]: Once I opened up SSH to the outside world, my machine has been hammered once or twice a day most days, with username failures. None of the usernames would fit a username on my system (except root), and I have ssh set to deny root logins, and only use SSH2. Additionally, I have the following in my login.access (only active entry, the name have been changed on this, but the three names would appear as 3 and four character random alphabetical strings): -:ALL EXCEPT wrbc crr aqp:ALL EXCEPT local As of the 9th, I've only seen one set of blatant/brute-force attempt at my ssh server. It's interesting, but the major drop in attempts has me more worried than the attempts (could this drop off be because they no longer need to hack me? Could they have hacked me an that be the reason why?) How worried should I be, and what's the best recourse for this? The drop is more likely coincidence than anything else, although you may have blocked things to the point where they don't get logged anymore. These breakin attempts are bots. While I don't know for sure, I seriously doubt that botnet gathering crooks discuss with each other which machines they've already broken and thus don't attempt to break them a second time. I don't expect the drop off is related. Personally, I just had 3 such attempts last night, compared to none over the course of several days. It's just a matter of how busy the botnet people are on any given day. You should install/run samhain or something similar to monitor activity so you know if something unauthorized has changed. That's the only real way to know if you've successfully been broken or not. -- Bill Moran http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
Message: 17 Date: Fri, 13 Apr 2007 12:21:43 -0500 From: Claude Menski [EMAIL PROTECTED] Subject: I like Ubuntu To: [EMAIL PROTECTED] [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Why is freebsd better then ubuntu? I find Ubuntu to be a great distro if your goal is to get a great open-source desktop system up and running quickly, that is easy to update (albeit not with the latest available applications) and relatively bug-free. If you yourself are not able to spend hands-on time maintaining the system (i.e. for aging parents, in-laws, non-techie friends) it is a good choice. Their use of Debian's apt technology is brilliant. Their user/developer community is wonderful. If, however, heart-stopping speed appeals to you, you want intelligently planned technology with the latest stable applications, you are operating web servers, or you just plain want to get expertise in real Unix then there is nothing like FreeBSD. Merely by living with FreeBSD for a year or two on your desktop or laptop, you will really deepen your understanding of unix-derived systems in a way which is not possible with Linux. This may be very helpful if you either have or contemplate a career in IT. Paul Butler ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Given this evidence, should I be worried that I may have been hacked
Jim Stapleton schrieb: I have DSA. I will change it to a nonstandard port, but I was wondering what your oppinion on a good way to check if this is the result of me being hacked, or just someone loosing interest. Well, I think the latter. If you have an up-to-date system with up-to-date packages, you should not be too much worried, I think brute-force is useless if one uses strong passwords. I'd check auth-log and the output of last(1) if that says something, but you can never be sure. So I'd say just be happy, that they stopped trying, but don't give up the regular maintainence so that your system be as secure as it can be. :) Oh, and you can try port-knocking as well to secure the sshd port. If you don't know what it is, just google for it. Gabor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Given this evidence, should I be worried that I may have been hacked
Jim Stapleton wrote: I have DSA. I will change it to a nonstandard port, but I was wondering what your oppinion on a good way to check if this is the result of me being hacked, or just someone loosing interest. If you are hacked, then something might or might not be going on your system (check for unusual stuff, like rise in number of processes, or disk usage, or network traffic, and think about it). You know how your system behave on day to day, do you? Nevertheless generally speaking, 99.99% of these brute attempts to get ssh access is coming from various zombies, blindly trying out port 22, that's why the port change is usual advice. There are easier ways on how to get inside than just bruteforcing via login credentials wild guessing. For example take unsecured web server with some full-of-bugs content management system. Exploiting a vulnerability will allow someone (this time definitely not a zombie) to get into the system and go forward with any dark actions he/she might have in the mind. nice sunny weekend, Martin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: test
On Sat, 14 Apr 2007 16:28:29 +1200 Juha Saarinen [EMAIL PROTECTED] wrote: On 4/14/07, Hangmn [EMAIL PROTECTED] wrote: GET ME OFF THIS FUCKING LIST No, no, this is the FreeBSD Questions list. The Fucking List is down the hall, third door to your right. Just ignore the funny noises there. If you don't want to receive mail from the FreeBSD list in question, try this which is found at the end of every message to it: To unsubscribe, send any mail to [EMAIL PROTECTED] Has anyone but me noticed that the morons who request to be removed from a list are inevitably 'TOP POSTERS'. They never read to the end of a post and therefore are not likely to see the easy to follow directions plainly stated there for their perusal. -- Gerard I used to be an agnostic, but now I'm not so sure. signature.asc Description: PGP signature
astro/google-earth
Greetings, On 2007-04-13 astro/google-earth was updated. See: URL: http://www.freebsd.org/cgi/query-pr.cgi?pr=108864 The Makefile now says nothing about FORBIDDEN, but 'make' still gives the following output: , | # make | === google-earth-4.0.2735 has known vulnerabilities: | = google-earth -- heap overflow in the KML engine. |Reference: http://www.FreeBSD.org/ports/portaudit/5c9a2769-5ade-11db-a5ae-00508d6a62df.html | = Please update your ports tree and try again. | *** Error code 1 | | Stop in /usr/ports/astro/google-earth. ` Needless to say I've updated the ports tree twice today, and Makefile, distinfo and pkg-plist have been updated. What I really don't understand is where this message quoted above is coming from. It's not included in any of the four files in /usr/ports/astro/google-earth, so it must be stored somewhere else. Any pointers on how to proceed from here are appreciated. -- SB When in doubt, use brute force. -- Ken Thompson ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Complete loss of network on 6_STABLE
Thank you. I don't know if there was a change to the driver, or if something suddenly changed on my end, but the sis0 interface is now configured in the place of the nve0 interface, and we'll go from there and figure things out. I'm going to stick my neck out and say I've got a cable problem though. On 4/13/07, Bill Moran [EMAIL PROTECTED] wrote: Drew [EMAIL PROTECTED] wrote: On 4/14/07, Bill Moran [EMAIL PROTECTED] wrote: Drew [EMAIL PROTECTED] wrote: A little more on this, because now I am really stumped. I have taken known good source, and moved it via CD to this machine. I rebuilt, and it exhibits exactly the same behavior, with both my kernel, and GENERIC. Pinging an IP on my lan results in ping: sendto: host is down. There are no active firewalls on this machine. When I ping another IP on the network, activity happens on the switch. I have swapped NIC's to a known working one from another machine, and it behaves identically. I have changed ports on the switch. About the only thing I haven't done is reinstall (which reminds me, I have a Freesbie disc around here somewhere to try) - but I'd rather that was a last resort. Meaning I'm open to any suggestions anyone might have about this. I'm coming to this thread a little late, so I apologize if this information has already been passed around. Can you provide ifconfig -a, netstat -m, netstat -s, netstat -rn output on the troubled system. ifconfig -a: sis0: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU ether 00:a0:cc:73:64:69 media: Ethernet autoselect (100baseTX) status: active nve0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.6 netmask 0xff00 broadcast 192.168.1.255 ether 00:15:f2:7f:80:86 media: Ethernet autoselect (100baseTX half-duplex) Right off the bat I can tell you that this is wrong. There is no such thing as 100baseTX half-duplex. It would appear as if the card is not properly auto-negotiating with the switch. I've never seen this problem cause the total failure you're reporting, but I've seen it cause lots of other problems, and it's possibly related. If the switch is managed, make sure that it's set to auto-negotiate. Otherwise, you might have to play some games with manually setting the speed on the card. Unfortunately, I've seen this make it worse sometimes: manually set the duplex on the card, and the switch picks the wrong duplex setting. As a result, unmanaged switches are generally bad for networks. status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 (note the sis0 has no configuration in the system we are talking about, that's the working test card I installed, and what I'm using with Freesbie, as it doesn't seem to know about the nve0) netstat -m: 130/395/525 mbufs in use (current/cache/total) 128/146/274/25600 mbuf clusters in use (current/cache/total/max) 128/128 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 288K/390K/679K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/5/6656 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines netstat -s: tcp: 0 packets sent 0 data packets (0 bytes) 0 data packets (0 bytes) retransmitted 0 data packets unnecessarily retransmitted 0 resends initiated by MTU discovery 0 ack-only packets (0 delayed) 0 URG only packets 0 window probe packets 0 window update packets 0 control packets 3 packets received 0 acks (for 0 bytes) 0 duplicate acks 0 acks for unsent data 0 packets (0 bytes) received in-sequence 0 completely duplicate packets (0 bytes) 0 old duplicate packets 0 packets with some dup. data (0 bytes duped) 0 out-of-order packets (0 bytes) 0 packets (0 bytes) of data after window 0 window probes 0 window update packets 0 packets received after close 0 discarded for bad checksums 0 discarded for bad header offset fields 0 discarded because
Re: Virally licensed code in FreeBSD kernel
Brett Glass wrote: I just read with some concern the announcement that Sun's ZFS has been integrated into the FreeBSD kernel. This would mean, unfortunately, that FreeBSD is now covered by the CDDL, which is a viral license similar to the GPL. Has FreeBSD abandoned its longstanding practice of keeping the kernel truly free? Maybe this blog entry brings some light: http://blogs.sun.com/chandan/entry/copyrights_licenses_and_cddl_illustrated I don't see a problem. If you use CDDL licensed stuff like ZFS, you need to provide the source, thats it. greetigns, philipp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: astro/google-earth
Steinar Bormer wrote: Greetings, On 2007-04-13 astro/google-earth was updated. See: URL: http://www.freebsd.org/cgi/query-pr.cgi?pr=108864 The Makefile now says nothing about FORBIDDEN, but 'make' still gives the following output: , | # make | === google-earth-4.0.2735 has known vulnerabilities: | = google-earth -- heap overflow in the KML engine. |Reference: http://www.FreeBSD.org/ports/portaudit/5c9a2769-5ade-11db-a5ae-00508d6a62df.html | = Please update your ports tree and try again. | *** Error code 1 | | Stop in /usr/ports/astro/google-earth. ` Needless to say I've updated the ports tree twice today, and Makefile, distinfo and pkg-plist have been updated. You question boils down to: why does the ports system still think Google Earth v. 4.0.2735 is still vulnerable when portaudit and VuXML say that only versions earlier than 4.0.2414 are vulnerable? Ports certainly shouldn't do that given this: happy-idiot-talk:~:% pkg_version -t 4.0.2414 4.0.2735 Looks like a bug to me. What I really don't understand is where this message quoted above is coming from. It's not included in any of the four files in /usr/ports/astro/google-earth, so it must be stored somewhere else. Any pointers on how to proceed from here are appreciated. This message comes from portaudit(1). There's a steaming great clue to that effect in the URL you quote. A good thing to try is downloading a new portaudit database: portaudit -F Then retry the update. Perhaps there was an error in the version numbering in the version of the portaudit database you had originally, which has since been fixed. This would have fixed it for me, if I had Google Earth installed: happy-idiot-talk:...ports/astro/google-earth:% portaudit -C Affected package: google-earth-4.0.2735 Type of problem: google-earth -- heap overflow in the KML engine. Reference: http://www.FreeBSD.org/ports/portaudit/5c9a2769-5ade-11db-a5ae-00508d6a62df.html happy-idiot-talk:...ports/astro/google-earth:% sudo portaudit -F Password: auditfile.tbz 100% of 41 kB 49 kBps New database installed. happy-idiot-talk:...ports/astro/google-earth:% portaudit -C If you absolutely have to upgrade straight away and cannot, for some unimaginable reason, download a fresh portaudit database, then you can define the somewhat misnamed 'DISABLE_VUNERABILITIES' variable in your make environment. It doesn't disable any vulnerabilities per se -- much as we might desire that it should -- rather it disables all the warnings and lock-outs of installing ports with known vulnerabilities. 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
gimp: install conflicts
FreeBSD-6.2 I have a question regarding gimp-devel, the meta-port for Gimp. This port installs both: graphics/gimp-app which has this in its Makefile: CONFLICTS= gimp-1.* gimpshop-[0-9]* gimp-app-devel-[0-9]* And graphics/gimp-app-devel Whose Makefile contains this notation: CONFLICTS= gimp-1.* gimp-app-[0-9]* Using portmanager to install gimp-devel results in the following files being installed: === gimp-app-2.3.15,1 /graphics/gimp-app-devel MISSING dependency of gimp-devel-2.3,2 /graphics/gimp-devel gutenprint-base-5.1.0_1 /print/gutenprint-base MISSING dependency of gimp-gutenprint-5.1.0 /print/gimp-gutenprint gimp-app-2.2.13_2,1 /graphics/gimp-app MISSING dependency of gimp-gutenprint-5.1.0 /print/gimp-gutenprint gutenprint-ijs-5.1.0/print/gutenprint-ijs MISSING dependency of gutenprint-5.1_1 /print/gutenprint gutenprint-5.1_1/print/gutenprint MISSING dependency of gimp-gutenprint-5.1.0 /print/gimp-gutenprint gimp-gutenprint-5.1.0 /print/gimp-gutenprint MISSING dependency of gimp-devel-2.3,2 /graphics/gimp-devel gimp-devel-2.3,2/graphics/gimp-devel MISSING gimp-devel-2.3,2 /graphics/gimp-devel The problem is that there appears to be a conflict between the two versions of gimp-app being installed. Is this correct, or am I reading this incorrectly? If I try to update these files, portmanager will complain about the conflict, although it does not do so on the initial installation. I can supply a copy of the build log if anyone wants it. -- White Hat [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
There is a huge problem in that the CDDL is viral. It infects products with which it is combined. You can read the text of the CDDL at http://www.opensource.org/licenses/cddl1.php Section 3.1 of the CDDL is the portion which is essentially equivalent to the GPL. This is part of the nastiness of viral licenses. --Brett Glass At 07:06 AM 4/14/2007, Philipp Wuensche wrote: Brett Glass wrote: I just read with some concern the announcement that Sun's ZFS has been integrated into the FreeBSD kernel. This would mean, unfortunately, that FreeBSD is now covered by the CDDL, which is a viral license similar to the GPL. Has FreeBSD abandoned its longstanding practice of keeping the kernel truly free? Maybe this blog entry brings some light: http://blogs.sun.com/chandan/entry/copyrights_licenses_and_cddl_illustrated I don't see a problem. If you use CDDL licensed stuff like ZFS, you need to provide the source, thats it. greetigns, philipp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
On Sat, 14 Apr 2007 09:51:23 -0600 Brett Glass [EMAIL PROTECTED] wrote: There is a huge problem in that the CDDL is viral. It infects products with which it is combined. You can read the text of the CDDL at http://www.opensource.org/licenses/cddl1.php Section 3.1 of the CDDL is the portion which is essentially equivalent to the GPL. This is part of the nastiness of viral licenses. How is this any worse than the GPLed stuff in /usr/src/contrib? I agree that the CDDL has a viral nature, but the BSD community has been able to work within that framework for years with the GPL without having it infect anything else. A kernel module is no different. --Brett Glass At 07:06 AM 4/14/2007, Philipp Wuensche wrote: Brett Glass wrote: I just read with some concern the announcement that Sun's ZFS has been integrated into the FreeBSD kernel. This would mean, unfortunately, that FreeBSD is now covered by the CDDL, which is a viral license similar to the GPL. Has FreeBSD abandoned its longstanding practice of keeping the kernel truly free? Maybe this blog entry brings some light: http://blogs.sun.com/chandan/entry/copyrights_licenses_and_cddl_illustrated I don't see a problem. If you use CDDL licensed stuff like ZFS, you need to provide the source, thats it. greetigns, philipp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Samba and mountd spin
I recently removed a lot (!!!) of packages from my 6.2-STABLE system as I no longer wanted to use it for a desktop, but still wanted it to be my home server. When I rebooted it yesterday for nonrelated reasons, it hung on the Samba startup. Further testing shows that whenever I try to run it's rc.d script, smbd and mountd fight for 100% of the CPU. Honestly, I don't have any idea where to even start looking for this problem. I'm currently running portupgrade -Rf samba just in case I inadvertently removed some critical library, but is there anything else I might look for?Î Kirk Strauser ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
At 10:12 AM 4/14/2007, Bill Moran wrote: How is this any worse than the GPLed stuff in /usr/src/contrib? It's in the kernel. And the announcement went as far as to say that it is part of FreeBSD. --Brett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
Brett Glass wrote: There is a huge problem in that the CDDL is viral. It infects products with which it is combined. You can read the text of the CDDL at http://www.opensource.org/licenses/cddl1.php Section 3.1 of the CDDL is the portion which is essentially equivalent to the GPL. It basically states that you have to provide the source code for the stuff that already is under CDDL license if you distribute binaries and you have to keep the CDDL license for all the code that is already under CDDL license. I'm no lawyer but I don't see where this is as viral as GPL. The viral part is limited to the already CDDL licensed source. Example: You create a binary from two source files. 1. one BSD one CDDL. If you distribute this binary, you have to provide the CDDL part (and all modifications to it) as source under CDDL license. You are not required to provide the source of the BSD part. 2. one BSD one GPL. If you distribute the binary, you have to provide the source of both files (and I think you even have to do that under GPL). That is because GPL requires that all work descended from it falls under GPL too and all binaries that include GPL code require the distribution of the source. Thats why it is called viral. So CDDL does not require to license add-ons under CDDL, GPL does. In this terms, FreeBSD is basically an add-on to the ZFS module ;-). greetings, philipp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
Brett Glass wrote: There is a huge problem in that the CDDL is viral. It infects products with which it is combined. This is why zfs isn't part of GENERIC. We've distributed tainted kernel modules for a long time, and there's nothing wrong with that -- GPL/CDDL taint doesn't cross dynamic linking. Colin Percival ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: test
You group of elitist fucks...the unsub link is FUCKING USELESS On 4/14/07, Bill Moran [EMAIL PROTECTED] wrote: In response to Hangmn [EMAIL PROTECTED]: GET ME OFF THIS FUCKING LIST That's a powerfully effective method of getting things done. First off, the use of the word FUCKING is a well-known method to convince people to come to your aid. I believe it was Napoleon who stated, By inserting 'FUCKING' in front of every FUCKING noun in every FUCKING sentence, I have managed to motivate my FUCKING soldiers more so than any other FUCKING method I have tried. Secondly, the use of all caps is known to be an efficient method of getting your point across. Internet experts agree that mailing lists are very loud, and the only way you're guaranteed to be heard is to SHOUT all the time. I'm glad you've caught on to this fine point of netiquette. Thirdly, replying to an arbitrary message instead of taking the time to contact the right people is a fabulously effective method of getting things done. Obviously, the guy who sent this test message, as well as others who read it are most likely to be the people who can actually _do_ anything about your problem. And lastly, leaving out all the details of your problem is guaranteed to expedite the fix of your problem. Obviously those details, such as a copy of an offending message with fully headers, or a list of the steps you've tried to take in resolution of the problem, would only confused the technically adept people who could actually research and fix your problem. Leaving them out is good practice. On 4/11/07, Bill Moran [EMAIL PROTECTED] wrote: Please use the [EMAIL PROTECTED] mailing list for testing. It avoids spamming 1000s of inboxes with test messages. In response to Bill Hall [EMAIL PROTECTED]: -- Bill Hall Manager, Occupant Protection Program UNC Highway Safety Research Center 730 Martin Luther King Jr. Blvd., Suite 300 CB# 3430 Chapel Hill, NC 27599 919-962-8721 (Voice) 800-672-4527 (toll-free in NC) 919-962-8710 (fax) [EMAIL PROTECTED] http://www.hsrc.unc.edu http://www.buckleupnc.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: test
On Sat, Apr 14, 2007 at 01:18:46PM -0400, Hangmn wrote: You group of elitist fucks...the unsub link is FUCKING USELESS Sounds like you are the elitist jerk. A couple of days ago I wrote a long explanation about how a person could have trouble getting off a list and also how some useless idiot could manipulate the system to abusively get people stuck on the list. I suggest you go find that posting and then if you really want off the list and aren't just hanging here to exploit the opportunity to run your foul mouth and trash people who are trying to get work done, then you will try to work with the list administrators and help them help you get this taken care of. Abusive language will not help. It just makes more of us ignore you. jerry On 4/14/07, Bill Moran [EMAIL PROTECTED] wrote: In response to Hangmn [EMAIL PROTECTED]: GET ME OFF THIS FUCKING LIST That's a powerfully effective method of getting things done. First off, the use of the word FUCKING is a well-known method to convince people to come to your aid. I believe it was Napoleon who stated, By inserting 'FUCKING' in front of every FUCKING noun in every FUCKING sentence, I have managed to motivate my FUCKING soldiers more so than any other FUCKING method I have tried. Secondly, the use of all caps is known to be an efficient method of getting your point across. Internet experts agree that mailing lists are very loud, and the only way you're guaranteed to be heard is to SHOUT all the time. I'm glad you've caught on to this fine point of netiquette. Thirdly, replying to an arbitrary message instead of taking the time to contact the right people is a fabulously effective method of getting things done. Obviously, the guy who sent this test message, as well as others who read it are most likely to be the people who can actually _do_ anything about your problem. And lastly, leaving out all the details of your problem is guaranteed to expedite the fix of your problem. Obviously those details, such as a copy of an offending message with fully headers, or a list of the steps you've tried to take in resolution of the problem, would only confused the technically adept people who could actually research and fix your problem. Leaving them out is good practice. On 4/11/07, Bill Moran [EMAIL PROTECTED] wrote: Please use the [EMAIL PROTECTED] mailing list for testing. It avoids spamming 1000s of inboxes with test messages. In response to Bill Hall [EMAIL PROTECTED]: -- Bill Hall Manager, Occupant Protection Program UNC Highway Safety Research Center 730 Martin Luther King Jr. Blvd., Suite 300 CB# 3430 Chapel Hill, NC 27599 919-962-8721 (Voice) 800-672-4527 (toll-free in NC) 919-962-8710 (fax) [EMAIL PROTECTED] http://www.hsrc.unc.edu http://www.buckleupnc.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
At 10:55 AM 4/14/2007, Philipp Wuensche wrote: Example: You create a binary from two source files. 1. one BSD one CDDL. If you distribute this binary, you have to provide the CDDL part (and all modifications to it) as source under CDDL license. You are not required to provide the source of the BSD part. Yes, you are. Because it appears that the whole thing is now covered by the CDDL. --Brett Glass ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
Brett Glass wrote: At 10:55 AM 4/14/2007, Philipp Wuensche wrote: Example: You create a binary from two source files. 1. one BSD one CDDL. If you distribute this binary, you have to provide the CDDL part (and all modifications to it) as source under CDDL license. You are not required to provide the source of the BSD part. Yes, you are. Because it appears that the whole thing is now covered by the CDDL. I can't see any signs for that in the CDDL license, not if you read 3.1 with the Definitions in point 1. greetings, philipp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: test
On Sat, Apr 14, 2007 at 08:22:53AM -0400, Gerard Seibert wrote: On Sat, 14 Apr 2007 16:28:29 +1200 Juha Saarinen [EMAIL PROTECTED] wrote: On 4/14/07, Hangmn [EMAIL PROTECTED] wrote: GET ME OFF THIS FUCKING LIST No, no, this is the FreeBSD Questions list. The Fucking List is down the hall, third door to your right. Just ignore the funny noises there. If you don't want to receive mail from the FreeBSD list in question, try this which is found at the end of every message to it: To unsubscribe, send any mail to [EMAIL PROTECTED] Has anyone but me noticed that the morons who request to be removed from a list are inevitably 'TOP POSTERS'. They never read to the end of a post and therefore are not likely to see the easy to follow directions plainly stated there for their perusal. I've noticed that a lot of unpleasant or inconvenient behavior tends to go along with top posting, and TOFU in particular. I've also noticed that this is not universal -- it's just a trend. There are a few people whose only offense is top posting. They seem to be the exception, however, rather than the rule. I used to be an agnostic, but now I'm not so sure. I used to think I was indecisive, but now I'm reconsidering that position. I plan to stop procrastinating on making a decision about that tomorrow. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] print substr(Just another Perl hacker, 0, -2); ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
Dag-Erling Smørgrav wrote: [EMAIL PROTECTED] writes: First my experience with [Free]BSD as a server completely mirrors Dag-Erling's observation, it [mostly] just works. I started with BSDI switching to FreeBSD around 3.5. I think it is also true that depending on your hardware a FreeBSD workstation or laptop can be a bit of a challenge. My issues with FreeBSD as a desktop mostly come from the difficulty of installing software and keeping it up-to-date: 'pkg_add -r' and 'portupgrade -aP' simply can't hold a candle to 'apt-get install' and 'apt-get dist-upgrade'. DES My aim is to improve that as part of my SoC project that I'm working on. -Garrett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
On Sat, Apr 14, 2007 at 12:17:20PM +0200, Dag-Erling Sm?rgrav wrote: [EMAIL PROTECTED] writes: First my experience with [Free]BSD as a server completely mirrors Dag-Erling's observation, it [mostly] just works. I started with BSDI switching to FreeBSD around 3.5. I think it is also true that depending on your hardware a FreeBSD workstation or laptop can be a bit of a challenge. My issues with FreeBSD as a desktop mostly come from the difficulty of installing software and keeping it up-to-date: 'pkg_add -r' and 'portupgrade -aP' simply can't hold a candle to 'apt-get install' and 'apt-get dist-upgrade'. What do you find lacking in the FreeBSD approach? I'm a relatively recent transplant from Debian, and my experience is that FreeBSD provides better, more predictable, and more customizable results, without increasing the difficulty or reducing the convenience at all. Granted, I haven't really tried the package-based software management options for FreeBSD in any depth -- I'm mostly installing from source at this point -- but thus far I haven't any reason to expect package-based installation to be any less easily managed than source-based installs. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Amazon.com interview candidate: When C++ is your hammer, everything starts to look like your thumb. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
On 14/04/07, Brett Glass [EMAIL PROTECTED] wrote: At 10:55 AM 4/14/2007, Philipp Wuensche wrote: Example: You create a binary from two source files. 1. one BSD one CDDL. If you distribute this binary, you have to provide the CDDL part (and all modifications to it) as source under CDDL license. You are not required to provide the source of the BSD part. Yes, you are. Because it appears that the whole thing is now covered by the CDDL. No, you are not. Because it appears that the whole thing is not covered by the CDDL. -- -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Errors running UNIX-System V ELF executables [I've been hacked!]
On Fri, 13 Apr 2007 14:51:18 -0600 Dan S. wrote: Hello to all, Hopefully someone can help me progress past a pair of ELF Binary Type 0 not known ELF Interpreter /compat/linux/lib/ld-linux.so.2 not found errors. Some steps may help you: 1. load linux.ko -- kernel part of linuxulator. 2. install linux base port (don't remember which one was with 4.6.x, but try linux_base-8 then linux_base) -- user land part of linuxulator; 3. brand the binary file (not a library or else!). Here is the background problem, bullet point style: - I unfortunately had a hosted jailed virtual server running FreeBSD 4.6.2 get broken into via a user account with a weak password. The intruder installed at least two binaries: /tmp/ /miro (almost certainly a rootkit/backdoor) and /home/$hackeduser/ /psybnc/psybnc (an IRC proxy). (Yes, this is a creaky old OS; I've been letting it sit dormant/mostly-unused and this is the price I pay for my lax sysadminning.) - The hosts were kind enough to provide me with a dump of the jailed server; I've now got a fairly minimal install of 4.6.2-RELEASE running under QEMU and, inside that, a jail for the image from the hosting providers. - The 'psybnc' binary definitely ran on the hosted virtual server; it creates a log file and its timestamp contents were recent. I don't know if the 'miro' rootkit was successful or not. I'm crossing my fingers that it wasn't, and trying to investigate a bit what it does. kldstat on the hosted server didn't show any compatibility files up. (In particular, no ' linux.ko'; I have loaded that module on the qemu version to see if I could get further.) - In my qemu freeBSD, under the jail, neither program runs either as root or as the hacked user: - $HOME/ /psybnc/psybnc 'ELF binary type 0 not known.' (note: this is with 'linux.ko' loaded) That means that this (linux?) file is not branded. You may test it with 'brandelf the_file'. The (binary!) file should be branded as 'Linux' to let the FreeBSD system run the file with linuxulator: # brandelf -t Linux the_file - /tmp/ /miro--- ELF interpreter /compat/linux/lib/ld- linux.so.2 not found That means that userland (linux base port from ports is not installed). - /tmp/ /miro, If I unload linux.ko : 'ELF binary type 0 not known. - Oddly, both have the exact same (except for offsets) elf headers: - readelf -h /tmp/ /miro - ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI:UNIX - System V Should be 'UNIX - Linux' so that FreeBSD recognises it and run with the linuxulator. ABI Version: 0 Type: EXEC (Executable file) Machine: Intel 80386 Version: 0x1 Entry point address: 0x8048b10 Start of program headers: 52 (bytes into file) Start of section headers: 16944 (bytes into file) Flags: 0x0 Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 6 Size of section headers: 40 (bytes) Number of section headers: 30 Section header string table index: 27 - readelf -h $HOME/ /psybnc/psybnc -- ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI:UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: Intel 80386 Version: 0x1 Entry point address: 0x8048100 Start of program headers: 52 (bytes into file) Start of section headers: 1295400 (bytes into file) Flags: 0x0 Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 4 Size of section headers: 40 (bytes) Number of section headers: 22 Section header string table index: 21 === Any advice on how to try and get these to run? I'm really hoping to find out if the system as a whole was compromised by the rootkit. The user-acount breakin isn't a huge deal but if more was compromised it will be quite bad. I'm also happy to send the rootkit/backdoor to anyone who wants to poke at it. It contains the string: .-= Backdoor made by Mironov =-. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power
Re: Given this evidence, should I be worried that I may have been hacked
--On April 14, 2007 7:25:46 AM -0400 Jim Stapleton [EMAIL PROTECTED] wrote: Once I opened up SSH to the outside world, my machine has been hammered once or twice a day most days, with username failures. None of the usernames would fit a username on my system (except root), and I have ssh set to deny root logins, and only use SSH2. Additionally, I have the following in my login.access (only active entry, the name have been changed on this, but the three names would appear as 3 and four character random alphabetical strings): -:ALL EXCEPT wrbc crr aqp:ALL EXCEPT local As of the 9th, I've only seen one set of blatant/brute-force attempt at my ssh server. It's interesting, but the major drop in attempts has me more worried than the attempts (could this drop off be because they no longer need to hack me? Could they have hacked me an that be the reason why?) How worried should I be, and what's the best recourse for this? I have a *lot* of experience with hacked boxes. They all share at least one of three things in common: 1) Not patched up to date 2) Incorrectly (or not at all) configured 3) Weak or default passwords Those three things are the cause of almost every breakin I've seen. The first is by far the greatest reason for breakins. The second and third are less frequently but still often the case. It is not at all uncommon to find a box running unpatched and unconfigured services that its owner had no idea were running. If you have any of the above conditions, then you have something to be concerned about. If you don't, then the reduction in attacks is most likely pure coincidence. If you don't want your computer broken into: 1) Keep it patched and up to date at *all* times. Eternal vigilance is the watchword. 2) Disable *and* remove all services you do not intend to run. Don't install a program if you aren't going to be using it. 3) If you want to play around with something, configure it to respond to localhost *only* or restrict access to known IP addresses. 4) *Always* change default passwords and *never* use weak passwords. A weak password is defined as a password that does not use special characters. Period. Alphanumeric passwords can resist brute force attacks for approximately one week using modern computers. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: I like Ubuntu
Paul Butler wrote: Message: 17 Date: Fri, 13 Apr 2007 12:21:43 -0500 From: Claude Menski [EMAIL PROTECTED] Subject: I like Ubuntu To: [EMAIL PROTECTED] [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Why is freebsd better then ubuntu? I find Ubuntu to be a great distro if your goal is to get a great open-source desktop system up and running quickly, that is easy to update (albeit not with the latest available applications) and relatively bug-free. If you yourself are not able to spend hands-on time maintaining the system (i.e. for aging parents, in-laws, non-techie friends) it is a good choice. Their use of Debian's apt technology is brilliant. Their user/developer community is wonderful. If, however, heart-stopping speed appeals to you, you want intelligently planned technology with the latest stable applications, you are operating web servers, or you just plain want to get expertise in real Unix then there is nothing like FreeBSD. Merely by living with FreeBSD for a year or two on your desktop or laptop, you will really deepen your understanding of unix-derived systems in a way which is not possible with Linux. This may be very helpful if you either have or contemplate a career in IT. Paul Butler My personal take on Ubuntu is that it was a wise decision by some to market the Linux distro to disenchanted Windows users -- by having KDE be the default DE it makes people feel more at home than having to choose something like, say, Enlightenment, Fluxbox, FVWM2, or good old TWM. The problem is that it's aimed primarily at people trying to test out Linux and transition from Windows, and in many cases tends to choose the best option for you, in terms of partitioning your disk, running certain apps, etc from what I've heard and read from others, which is bad for power users. Also, it's Linux-based so documentation in terms of manpages are most likely non-existent, like with Gentoo Linux. Just as a followup to the subject line: I like FreeBSD because of its solid nature and good system architecture. Cheers, -Garrett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
Chad Perrin wrote: On Sat, Apr 14, 2007 at 12:17:20PM +0200, Dag-Erling Sm?rgrav wrote: [EMAIL PROTECTED] writes: First my experience with [Free]BSD as a server completely mirrors Dag-Erling's observation, it [mostly] just works. I started with BSDI switching to FreeBSD around 3.5. I think it is also true that depending on your hardware a FreeBSD workstation or laptop can be a bit of a challenge. My issues with FreeBSD as a desktop mostly come from the difficulty of installing software and keeping it up-to-date: 'pkg_add -r' and 'portupgrade -aP' simply can't hold a candle to 'apt-get install' and 'apt-get dist-upgrade'. What do you find lacking in the FreeBSD approach? I'm a relatively recent transplant from Debian, and my experience is that FreeBSD provides better, more predictable, and more customizable results, without increasing the difficulty or reducing the convenience at all. Granted, I haven't really tried the package-based software management options for FreeBSD in any depth -- I'm mostly installing from source at this point -- but thus far I haven't any reason to expect package-based installation to be any less easily managed than source-based installs. Well, we have some problems sometimes with cyclic dependencies (portinstall / portupgrade and friends), and people aren't really happy when names of categories / packages get changed (like what's happened recently with the revision of some of the port names), because there's a bit more work involved 'fixing' everything back to the same state that there was before. People also complain that there aren't enough offerings in terms of packages, but that's a resources issue from what I understand. Overall though, I do like FreeBSD's ports system better than I do debian's apt-get system :). Having to shuffle through all of those menus and pages package listings to install stuff was a pain. -Garrett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
Garrett Cooper wrote: Paul Butler wrote: Message: 17 Date: Fri, 13 Apr 2007 12:21:43 -0500 From: Claude Menski [EMAIL PROTECTED] Subject: I like Ubuntu To: [EMAIL PROTECTED] [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Why is freebsd better then ubuntu? I find Ubuntu to be a great distro if your goal is to get a great open-source desktop system up and running quickly, that is easy to update (albeit not with the latest available applications) and relatively bug-free. If you yourself are not able to spend hands-on time maintaining the system (i.e. for aging parents, in-laws, non-techie friends) it is a good choice. Their use of Debian's apt technology is brilliant. Their user/developer community is wonderful. If, however, heart-stopping speed appeals to you, you want intelligently planned technology with the latest stable applications, you are operating web servers, or you just plain want to get expertise in real Unix then there is nothing like FreeBSD. Merely by living with FreeBSD for a year or two on your desktop or laptop, you will really deepen your understanding of unix-derived systems in a way which is not possible with Linux. This may be very helpful if you either have or contemplate a career in IT. Paul Butler My personal take on Ubuntu is that it was a wise decision by some to market the Linux distro to disenchanted Windows users -- by having KDE be the default DE it makes people feel more at home than having to choose something like, say, Enlightenment, Fluxbox, FVWM2, or good old TWM. The problem is that it's aimed primarily at people trying to test out Linux and transition from Windows, and in many cases tends to choose the best option for you, in terms of partitioning your disk, running certain apps, etc from what I've heard and read from others, which is bad for power users. Also, it's Linux-based so documentation in terms of manpages are most likely non-existent, like with Gentoo Linux. Just as a followup to the subject line: I like FreeBSD because of its solid nature and good system architecture. Cheers, -Garrett Actually - Ubuntu's default isn't KDE, it's Gnome. Kubuntu is what you want if you prefer the K environment - however, that's not to say that if you install Ubuntu, you can't install KDE (or XFCE4 - that happens to be Xubuntu). -- Best regards, Chris BOFH excuse #158: Defunct processes ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Server Load
Hi all, Last week I enabled DEFLATE in apache. I have since disabled it, due to it (I think), sotting the serever load sky high. Since disableing it, the server load has not decreased by much, but I have narrowed it down to Apache (2.2) or mysqld that is shooting the load up. The high server loads started last Monday morning, and continued all week.(up and down through the days and nights). I was wondering if anyone knows of a way (or a utility) that can monitor apache and mysql at the domain level to help troublshoot where the root problem lies. FreeBSD 6.2 Mysql 4.1.21 php 4.4.4 -Grant ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
On Sat, Apr 14, 2007 at 10:47:09AM -0600, Brett Glass wrote: At 10:12 AM 4/14/2007, Bill Moran wrote: How is this any worse than the GPLed stuff in /usr/src/contrib? It's in the kernel. And the announcement went as far as to say that it is part of FreeBSD. From what I've seen thus far, it seems that it's not part of the standard kernel. It's just something that *can be* part of the kernel. If you don't want to use it, don't. I don't have a problem with it being offered in the ports tree, as long as it's not part of the default install. I do share your wariness of licenses like the CDDL. One of the reasons I looked into FreeBSD in the first place was a decision to look for ways to escape the GPL's ubiquity in Linux-land. I just don't think it's being included with FreeBSD in an inappropriate manner. I'd like to know about it if you have some evidence to the contrary. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] A script is what you give the actors. A program is what you give the audience. - Larry Wall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
On Sat, 14 Apr 2007, Dag-Erling Smørgrav wrote: [EMAIL PROTECTED] writes: First my experience with [Free]BSD as a server completely mirrors Dag-Erling's observation, it [mostly] just works. I started with BSDI switching to FreeBSD around 3.5. I think it is also true that depending on your hardware a FreeBSD workstation or laptop can be a bit of a challenge. My issues with FreeBSD as a desktop mostly come from the difficulty of installing software and keeping it up-to-date: 'pkg_add -r' and 'portupgrade -aP' simply can't hold a candle to 'apt-get install' and 'apt-get dist-upgrade'. Because of my background, the things that were/are wrong with packages and ports led me to learn much more about FreeBSD. I chose to answer your email not because of any disagreement with what you said, but to offer up the idea that at least in selected instances there might be something to learn from doing this. In my case this included leaning to think in 'Unix', and reaching an understanding with (rather than of) regular expressions, sed, and awk. My workstation/laptop hardware does not really allow the option of building things like KDE and OpenOffice, so I upgrade basically by starting over with packages. I usually can do this in an hour or so. When I first started, I found the differences between BSDI, FreeBSD, and Linux confusing. Now mostly its more of an irritant than having to use my son's mac to watch ESPN videos.___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
Chad Perrin wrote: On Sat, Apr 14, 2007 at 11:57:44AM -0700, Garrett Cooper wrote: Well, we have some problems sometimes with cyclic dependencies (portinstall / portupgrade and friends), and people aren't really happy when names of categories / packages get changed (like what's happened recently with the revision of some of the port names), because there's a bit more work involved 'fixing' everything back to the same state that there was before. People also complain that there aren't enough offerings in terms of packages, but that's a resources issue from what I understand. As for enough packages . . . if you mean software in general, in the ports tree, I'd find it pretty difficult to complain. There's only one Linux distribution with more software in its archives than in the FreeBSD ports tree (Debian, of course), and it's only about a fifteen percent increase in available software last I checked. Considering FreeBSD offers something more like a 500% increase over Fedora (again, last I checked), I don't have a lot of problems of software availability with FreeBSD. Is there a significant difference in available software between ports and packages? Is that the problem? True. That's the one reason why I had no problem completely leaving Redhat 2 years back :). As for the complaints about packages, it's probably just the compile times and the fact that many users like the fact that they could install and setup a complete system in the approximately same amount of time as a Redhat based system (15mins ~ 1.5 hours, depending on the options and computing resources available -- assuming you have a decent internet connection :)..). In fact, despite the greater number of packages in Debian's archives, I find that in practice I find what I actually want/need more often in FreeBSD's ports tree. That is, of course, highly subjective. Well, yes and that's subjective, like you've said. Overall though, I do like FreeBSD's ports system better than I do debian's apt-get system :). Having to shuffle through all of those menus and pages package listings to install stuff was a pain. One thing I prefer about APT over FreeBSD's ports tree is the greater ease and flexibility of searching for what I need. The apt-cache search command is great. I'm also a little confused by the failure of whereis to return expected results when I'm looking for a specific port. These are things I can work around, however -- unlike some of the things that have blown up in my face when using APT. Most likely because you're still using (t)csh and (t)csh needs to run rehash in order to see newly installed ports / applications. There's always (a)sh in the base system, and bash available in ports (shells/bash). I personally prefer bash to tcsh, but that's my deal. -Garrett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
Chad Perrin wrote: On Sat, Apr 14, 2007 at 11:52:18AM -0700, Garrett Cooper wrote: Also, it's Linux-based so documentation in terms of manpages are most likely non-existent, like with Gentoo Linux. That's by no means universal among Linux distributions. Debian actually provides better manpage coverage than FreeBSD, for instance. But some of the manpages are out of date, like for the coreutils (I think mv/cp was one of them?). I like the comment in there about Stallman liking infopages but Debian-ites having to create a manpage :). I personally hate infopages, but that's me. -Garrett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
[EMAIL PROTECTED] wrote: On Sat, 14 Apr 2007, Dag-Erling Smørgrav wrote: [EMAIL PROTECTED] writes: First my experience with [Free]BSD as a server completely mirrors Dag-Erling's observation, it [mostly] just works. I started with BSDI switching to FreeBSD around 3.5. I think it is also true that depending on your hardware a FreeBSD workstation or laptop can be a bit of a challenge. My issues with FreeBSD as a desktop mostly come from the difficulty of installing software and keeping it up-to-date: 'pkg_add -r' and 'portupgrade -aP' simply can't hold a candle to 'apt-get install' and 'apt-get dist-upgrade'. Because of my background, the things that were/are wrong with packages and ports led me to learn much more about FreeBSD. I chose to answer your email not because of any disagreement with what you said, but to offer up the idea that at least in selected instances there might be something to learn from doing this. In my case this included leaning to think in 'Unix', and reaching an understanding with (rather than of) regular expressions, sed, and awk. My workstation/laptop hardware does not really allow the option of building things like KDE and OpenOffice, so I upgrade basically by starting over with packages. I usually can do this in an hour or so. When I first started, I found the differences between BSDI, FreeBSD, and Linux confusing. Now mostly its more of an irritant than having to use my son's mac to watch ESPN videos. To me, this is where Ubuntu (I can't speak for other Linux distros) is the clear winner over FreeBSD on the desktop. Ubuntu is near out-of-the-box when it comes to media (audio/video/etc) of any sort. Sure, there are a few steps to get it all to gel - but once you enter a few lines (or if you prefer point-n-click) - you never have to worry about media working again (trust me, I used to keep a Windows box just to do the things I mentioned). Again - I'm talking about a desktop use. I have used Ubuntu server (both i386 and sparc) and FreeBSD is still my fav. however, Ubuntu (for installing LAMP) is nearly even w/FreeBSD. To me, apt-get is certainly cleaner and superior to portupgrade/portmanager. Perhaps someday either or will be as reliable as apt-get. Just my opinions of course. -- Best regards, Chris If not completely satisfied, return for full refund of purchase price. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
Chad Perrin wrote: On Sat, Apr 14, 2007 at 06:55:39PM +0200, Philipp Wuensche wrote: Brett Glass wrote: So CDDL does not require to license add-ons under CDDL, GPL does. In this terms, FreeBSD is basically an add-on to the ZFS module ;-). The most relevant part of the CDDL seems to be section 3.6, Larger Works: You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software. The term Covered Software is defined in a sufficiently ambiguous manner that a court battle over whether or not a Larger Work would be subject, in full, to the terms of the CDDL would probably be decided in favor of the guy with more money: Covered Software means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof. But the rest of the BSD system does not fall under Original Software, Modifications or combination of both as they are defined in this licsense. As I see it, it just states that everything under CDDL in the Larger Work has to be handled like that, this does not include the rest of the Larger Work which would be code not governed by the terms of this License. They explicitly state: In such a case, You must make sure the requirements of this License are fulfilled for the _Covered Software_. So the requirements must be fullfilled for software under CDDL, and not for code not governed by the terms of this License (code under BSD in our case). greetings, philipp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
On Sat, 14 Apr 2007, Chad Perrin wrote: On Sat, Apr 14, 2007 at 12:17:20PM +0200, Dag-Erling Sm?rgrav wrote: [EMAIL PROTECTED] writes: First my experience with [Free]BSD as a server completely mirrors Dag-Erling's observation, it [mostly] just works. I started with BSDI switching to FreeBSD around 3.5. I think it is also true that depending on your hardware a FreeBSD workstation or laptop can be a bit of a challenge. My issues with FreeBSD as a desktop mostly come from the difficulty of installing software and keeping it up-to-date: 'pkg_add -r' and 'portupgrade -aP' simply can't hold a candle to 'apt-get install' and 'apt-get dist-upgrade'. What do you find lacking in the FreeBSD approach? I'm a relatively recent transplant from Debian, and my experience is that FreeBSD provides better, more predictable, and more customizable results, without increasing the difficulty or reducing the convenience at all. As far as this goes nothing. I use FreeBSD exclusively on production servers, and workstations. My laptop I dual boot with windows which I only use to duplicate costomer problems and keep up with the latest (and greatest?) changes to the Outlooks. Granted, I haven't really tried the package-based software management options for FreeBSD in any depth -- I'm mostly installing from source at this point -- but thus far I haven't any reason to expect package-based installation to be any less easily managed than source-based installs. Here (I think) there are some things that could be better. The installation can be tricky depending on one's background, but I did not follow the maxum, if you don't like it, make it better. Portupgrade does not work for me because all my desktops are too small, too slow. In a (my) perfect world portmanager would allow the use of packages. For some the fact that flash, java, and openoffice can be difficult to install are issues. I am an advocate for the FreeBSD desktop. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server Load
Grant Peel wrote: Last week I enabled DEFLATE in apache. I have since disabled it, due to it (I think), sotting the serever load sky high. Since disableing it, the server load has not decreased by much, but I have narrowed it down to Apache (2.2) or mysqld that is shooting the load up. The high server loads started last Monday morning, and continued all week.(up and down through the days and nights). I was wondering if anyone knows of a way (or a utility) that can monitor apache and mysql at the domain level to help troublshoot where the root problem lies. FreeBSD 6.2 Mysql 4.1.21 php 4.4.4 As for mysql, you can use databases/mytop for monitoring the performance of mysql database. Also you can use mysql logging options to check (like log-slow-queries etc.). As for apache, there is pretty ExtendedStatus option and server-status location (see httpd.conf). Also sysutils/apachetop for monitoring the performance of apache server. Note that both utilities are not for unattended use. kind regards, Martin Hudec ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
At 12:27 PM 4/14/2007, [EMAIL PROTECTED] wrote: No, you are not. Because it appears that the whole thing is not covered by the CDDL. Read the license. If you distribute a product that includes the code, you are bound by the obligations listed in the license (to distribute source code, not ever to patent anything, to give up firstborn children, etc.). So, FreeBSD is covered by the license. You can't use it freely. It is no longer free. --Brett Glass ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Native JDK/JRE
You could also just install the pre-built, Sun-sanctioned build: http://www.freebsdfoundation.org/downloads/java.shtml On 3/3/07, Chris Bowlby [EMAIL PROTECTED] wrote: Hi, As luck would have it, 2 minutes after posting this message, I managed to find this URL: http://lists.freebsd.org/pipermail/freebsd-questions/2006-August/129252.html Which addresses most of my issues, now I just have to work past a compiler error (I think due to sun-jdk-1.4 having been installed).. Thanks. Chris Bowlby wrote: Hi, I've been attempting to install java/jdk15 into a jail under FreeBSD 6.2 and have been running into some issues. I have appended a trimmed out version of the output I get during an installation to the end of the message. From what I can tell, it's attempting to install some Linux emulation components and this is where I get stuck. I've not been able to find any information that would help me either manually mount the partitions so they are visible inside a jail (I am not sure if this is even possible anymore), or to work around this particular issue and just do a native installation. Can anyone offer up any help? mail# portinstall java/jdk15 --- Installing 'jdk-1.5.0p4' from a port (java/jdk15) --- Building '/usr/ports/java/jdk15' === Cleaning for unzip-5.52_2 === Cleaning for m4-1.4.8_1 === Cleaning for zip-2.32 === Cleaning for open-motif-2.2.3_2 === Cleaning for linux-sun-jdk-1.4.2.13 === Cleaning for gmake-3.81_1 === Cleaning for libiconv-1.9.2_2 === Cleaning for javavmwrapper-2.3 === Cleaning for libtool-1.5.22_3 === Cleaning for xorg-libraries-6.9.0_1 === Cleaning for imake-6.9.0_1 === Cleaning for linux_base-fc-4_9 === Cleaning for linux-xorg-libs-6.8.2_5 === Cleaning for gettext-0.14.5_2 === Cleaning for libdrm-2.0.2 === Cleaning for freetype2-2.2.1_1 === Cleaning for fontconfig-2.3.2_6,1 === Cleaning for perl-5.8.8 === Cleaning for rpm-3.0.6_13 === Cleaning for linux-fontconfig-2.2.3_5 === Cleaning for pkg-config-0.21 === Cleaning for expat-2.0.0_1 === Cleaning for automake-1.4.6_2 === Cleaning for autoconf-2.13.000227_5 === Cleaning for popt-1.7_2 === Cleaning for linux-expat-1.95.8 === Cleaning for jdk-1.5.0p4 === Vulnerability check disabled, database not found === Found saved configuration for jdk-1.5.0p4 IMPORTANT: To build JDK 1.5.0 port, you should have at least 2.5Gb of free disk space in build area! IMPORTANT: To build JDK 1.5.0 port, you should have linux emulation enabled in the kernel and linux procfs (linprocfs) filesystem mounted. === Extracting for jdk-1.5.0p4 = MD5 Checksum OK for jdk-1_5_0-src-scsl.zip. = SHA256 Checksum OK for jdk-1_5_0-src-scsl.zip. = MD5 Checksum OK for jdk-1_5_0-bin-scsl.zip. = SHA256 Checksum OK for jdk-1_5_0-bin-scsl.zip. = MD5 Checksum OK for bsd-jdk15-patches-4.tar.bz2. = SHA256 Checksum OK for bsd-jdk15-patches-4.tar.bz2. === jdk-1.5.0p4 depends on executable in : unzip - found === Patching for jdk-1.5.0p4 Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Index: control/make/Makefile |=== |RCS file: /var/jcvs/javasrc_1_5_scsl/control/make/Makefile,v |retrieving revision 1.1.1.1 |retrieving revision 1.3 |diff -u -r1.1.1.1 -r1.3 |--- control/make/Makefile 8 Nov 2004 22:26:52 - 1.1.1.1 |+++ control/make/Makefile 23 Dec 2004 19:28:25 - 1.3 -- Patching file control/make/Makefile using Plan A... Hunk #1 succeeded at 12. Hunk #2 succeeded at 69. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: ... SNIP ... done === Applying FreeBSD patches for jdk-1.5.0p4 /usr/bin/sed -i.bak -e s:%%PREFIX%%:/usr/local:g -e s:%%JDK_VERSION%%:1.5.0:g /usr/ports/java/jdk15/work/control/make/../../deploy/src/plugin/solaris/controlpanel/sun_java.desktop === jdk-1.5.0p4 depends on executable in : gm4 - found === jdk-1.5.0p4 depends on executable in : zip - found === jdk-1.5.0p4 depends on file: /usr/X11R6/lib/libXm.so - found === jdk-1.5.0p4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - found === jdk-1.5.0p4 depends on executable in : gmake - found === jdk-1.5.0p4 depends on shared library: iconv.3 - found === Configuring for jdk-1.5.0p4 === Building for jdk-1.5.0p4 ERROR: You must have LINPROCFS mounted before starting to build the native JDK 1.5.0. You may do it with the following commands: # kldload linprocfs and # mount -t linprocfs linprocfs /compat/linux/proc *** Error code 1 Stop in /usr/ports/java/jdk15. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.7259.0 env make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! java/jdk15(unknown build error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1
Re: I like Ubuntu
in message [EMAIL PROTECTED], wrote Paul Butler thusly... If, however, heart-stopping speed appeals to you, you want intelligently planned technology with the latest stable applications, you are operating web servers, or you just plain want to get expertise in real Unix then there is nothing like FreeBSD. Merely by living with FreeBSD for a year or two on your desktop or laptop, you will really deepen your understanding of unix-derived systems in a way which is not possible with Linux. This may be very helpful if you either have or contemplate a career in IT. I note that Paul mentioned IT not a Unix System Administration. So consider the following as my rant. There seems to be no entity which offers *entry level* Unix System Administration position to those not already living in immediate surrounding area (even if one is willing to relocate (at one's own expense)). And Junior positions require near 3 years of Unix or Linux *paid* experience. In my experience, the Unix knowledge experience gained by using FreeBSD (despite the number of years using it) on a machine connected to Internet -- but not actively taking part in LAN-y things like internal DNS, file- and backup/restore server, heterogeneous computing environment, etc. -- can help only for non-system administration positions. - Parv -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Native JDK/JRE
patrick wrote: You could also just install the pre-built, Sun-sanctioned build: http://www.freebsdfoundation.org/downloads/java.shtml On 3/3/07, Chris Bowlby [EMAIL PROTECTED] wrote: Hi, As luck would have it, 2 minutes after posting this message, I managed to find this URL: http://lists.freebsd.org/pipermail/freebsd-questions/2006-August/129252.html Which addresses most of my issues, now I just have to work past a compiler error (I think due to sun-jdk-1.4 having been installed).. Thanks. Chris Bowlby wrote: Hi, I've been attempting to install java/jdk15 into a jail under FreeBSD 6.2 and have been running into some issues. I have appended a trimmed out version of the output I get during an installation to the end of the message. From what I can tell, it's attempting to install some Linux emulation components and this is where I get stuck. I've not been able to find any information that would help me either manually mount the partitions so they are visible inside a jail (I am not sure if this is even possible anymore), or to work around this particular issue and just do a native installation. Can anyone offer up any help? mail# portinstall java/jdk15 --- Installing 'jdk-1.5.0p4' from a port (java/jdk15) --- Building '/usr/ports/java/jdk15' === Cleaning for unzip-5.52_2 === Cleaning for m4-1.4.8_1 === Cleaning for zip-2.32 === Cleaning for open-motif-2.2.3_2 === Cleaning for linux-sun-jdk-1.4.2.13 === Cleaning for gmake-3.81_1 === Cleaning for libiconv-1.9.2_2 === Cleaning for javavmwrapper-2.3 === Cleaning for libtool-1.5.22_3 === Cleaning for xorg-libraries-6.9.0_1 === Cleaning for imake-6.9.0_1 === Cleaning for linux_base-fc-4_9 === Cleaning for linux-xorg-libs-6.8.2_5 === Cleaning for gettext-0.14.5_2 === Cleaning for libdrm-2.0.2 === Cleaning for freetype2-2.2.1_1 === Cleaning for fontconfig-2.3.2_6,1 === Cleaning for perl-5.8.8 === Cleaning for rpm-3.0.6_13 === Cleaning for linux-fontconfig-2.2.3_5 === Cleaning for pkg-config-0.21 === Cleaning for expat-2.0.0_1 === Cleaning for automake-1.4.6_2 === Cleaning for autoconf-2.13.000227_5 === Cleaning for popt-1.7_2 === Cleaning for linux-expat-1.95.8 === Cleaning for jdk-1.5.0p4 === Vulnerability check disabled, database not found === Found saved configuration for jdk-1.5.0p4 IMPORTANT: To build JDK 1.5.0 port, you should have at least 2.5Gb of free disk space in build area! IMPORTANT: To build JDK 1.5.0 port, you should have linux emulation enabled in the kernel and linux procfs (linprocfs) filesystem mounted. === Extracting for jdk-1.5.0p4 = MD5 Checksum OK for jdk-1_5_0-src-scsl.zip. = SHA256 Checksum OK for jdk-1_5_0-src-scsl.zip. = MD5 Checksum OK for jdk-1_5_0-bin-scsl.zip. = SHA256 Checksum OK for jdk-1_5_0-bin-scsl.zip. = MD5 Checksum OK for bsd-jdk15-patches-4.tar.bz2. = SHA256 Checksum OK for bsd-jdk15-patches-4.tar.bz2. === jdk-1.5.0p4 depends on executable in : unzip - found === Patching for jdk-1.5.0p4 Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Index: control/make/Makefile |=== |RCS file: /var/jcvs/javasrc_1_5_scsl/control/make/Makefile,v |retrieving revision 1.1.1.1 |retrieving revision 1.3 |diff -u -r1.1.1.1 -r1.3 |--- control/make/Makefile 8 Nov 2004 22:26:52 - 1.1.1.1 |+++ control/make/Makefile 23 Dec 2004 19:28:25 - 1.3 -- Patching file control/make/Makefile using Plan A... Hunk #1 succeeded at 12. Hunk #2 succeeded at 69. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: ... SNIP ... done === Applying FreeBSD patches for jdk-1.5.0p4 /usr/bin/sed -i.bak -e s:%%PREFIX%%:/usr/local:g -e s:%%JDK_VERSION%%:1.5.0:g /usr/ports/java/jdk15/work/control/make/../../deploy/src/plugin/solaris/controlpanel/sun_java.desktop === jdk-1.5.0p4 depends on executable in : gm4 - found === jdk-1.5.0p4 depends on executable in : zip - found === jdk-1.5.0p4 depends on file: /usr/X11R6/lib/libXm.so - found === jdk-1.5.0p4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - found === jdk-1.5.0p4 depends on executable in : gmake - found === jdk-1.5.0p4 depends on shared library: iconv.3 - found === Configuring for jdk-1.5.0p4 === Building for jdk-1.5.0p4 ERROR: You must have LINPROCFS mounted before starting to build the native JDK 1.5.0. You may do it with the following commands: # kldload linprocfs and # mount -t linprocfs linprocfs /compat/linux/proc *** Error code 1 Stop in /usr/ports/java/jdk15. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.7259.0 env make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! java/jdk15(unknown build error) --- Packages processed: 0 done, 0
Re: I like Ubuntu
On Sat, Apr 14, 2007 at 02:34:29PM -0500, Chris wrote: To me, apt-get is certainly cleaner and superior to portupgrade/portmanager. Perhaps someday either or will be as reliable as apt-get. Just my opinions of course. In my experience, portupgrade is more reliable than apt-get. I have seen a number of packages fail to upgrade cleanly in Debian over the last year -- more often than with portupgrade -- and when there's a failure of the APT system it can be much more difficult to fix the problem than it is with the ports tree. Could you provide some specific details about your experiences with APT and the ports tree that provide a clearer picture of why you have arrived at these conclusions? I'm curious, and would like to know if there are problems ahead of which I should be aware. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] The measure of a man's real character is what he would do if he knew he would never be found out. - Thomas McCauley ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
On Sat, Apr 14, 2007 at 12:34:46PM -0700, Garrett Cooper wrote: But some of the manpages are out of date, like for the coreutils (I think mv/cp was one of them?). I like the comment in there about Stallman liking infopages but Debian-ites having to create a manpage :). I personally hate infopages, but that's me. It's not just you. I loathe the damned things. That's really the only problem I've ever had with Debian documentation -- for current and complete documentation, once in a while you have to look at the infopage instead of a manpage. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] unix virus: If you're using a unixlike OS, please forward this to 20 others and erase your system partition. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
On Sat, Apr 14, 2007 at 04:15:43PM -0400, Parv wrote: in message [EMAIL PROTECTED], wrote Paul Butler thusly... If, however, heart-stopping speed appeals to you, you want intelligently planned technology with the latest stable applications, you are operating web servers, or you just plain want to get expertise in real Unix then there is nothing like FreeBSD. Merely by living with FreeBSD for a year or two on your desktop or laptop, you will really deepen your understanding of unix-derived systems in a way which is not possible with Linux. This may be very helpful if you either have or contemplate a career in IT. I note that Paul mentioned IT not a Unix System Administration. So consider the following as my rant. There seems to be no entity which offers *entry level* Unix System Administration position to those not already living in immediate surrounding area (even if one is willing to relocate (at one's own expense)). And Junior positions require near 3 years of Unix or Linux *paid* experience. In my experience, the Unix knowledge experience gained by using FreeBSD (despite the number of years using it) on a machine connected to Internet -- but not actively taking part in LAN-y things like internal DNS, file- and backup/restore server, heterogeneous computing environment, etc. -- can help only for non-system administration positions. If by help you mean help you get hired, I agree -- unfortunately. Speaking in terms of skills, on the other hand, I have to disagree. For instance, my first year of using Debian as my primary desktop OS made me a far better MS Windows admin than I ever had been before, despite my certifications, education, and experience with MS Windows networks prior to that point. I suppose that learning more OSes can make one a far better admin in the OSes one already knew, in a manner similar to the way learning Haskell, Lisp, or Smalltalk can make one a better C, Java, or Perl programmer. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Ben Franklin: As we enjoy great Advantages from the Inventions of others we should be glad of an Opportunity to serve others by any Invention of ours, and this we should do freely and generously. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
On Sat, Apr 14, 2007 at 09:09:46PM +0200, Philipp Wuensche wrote: Chad Perrin wrote: On Sat, Apr 14, 2007 at 06:55:39PM +0200, Philipp Wuensche wrote: Brett Glass wrote: So CDDL does not require to license add-ons under CDDL, GPL does. In this terms, FreeBSD is basically an add-on to the ZFS module ;-). The most relevant part of the CDDL seems to be section 3.6, Larger Works: You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software. The term Covered Software is defined in a sufficiently ambiguous manner that a court battle over whether or not a Larger Work would be subject, in full, to the terms of the CDDL would probably be decided in favor of the guy with more money: Covered Software means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof. But the rest of the BSD system does not fall under Original Software, Modifications or combination of both as they are defined in this licsense. As I see it, it just states that everything under CDDL in the Larger Work has to be handled like that, this does not include the rest of the Larger Work which would be code not governed by the terms of this License. We're discussing what constitutes code not goverened by the terms of this license, so until that's settled you can't really use that phrase as justification for your argument. Note, for instance, that it makes no reference to code that was not already governed by this license. Thus, we don't know from that statement whether additional code as part of a Larger Work is excluded by that statement. They explicitly state: In such a case, You must make sure the requirements of this License are fulfilled for the _Covered Software_. So the requirements must be fullfilled for software under CDDL, and not for code not governed by the terms of this License (code under BSD in our case). The question here is whether code previously not governed by the terms of this license is now governed by the terms of this license. As things currently stand, and with the ambiguous phrasing of the license, it appears to me that this issue cannot be definitively settled without a judicial decision (or alteration of the CDDL to clarify the matter). -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] print substr(Just another Perl hacker, 0, -2); ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
linux-flashplugin9 with Mozilla Firefox
Hello, I'm running FreeBSD 6.2 with Mozilla Firefox |2.0.0.3,1 and i tried to install linux-flashplugin9. First step, i installed |linuxpluginwrapper : |cd /usr/ports/www/linuxpluginwrapper make install clean| Step two, linux flash plugin: |cd /usr/ports/www/linux-flashplugin9 make install clean Step tree, i made 2 symbolic links : |cd /usr/local/lib/browser_plugins/ ln -s /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt |ln -s /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so| and i copied the libmap.conf file in /etc directory : cp /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 /etc/libmap.conf When i open my browser, i have nothing with about:plugins. I think flash9.so doesnt exist no ? Can you help me please ? Thank you :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
On Sat, Apr 14, 2007 at 01:27:15PM -0600, Brett Glass wrote: At 12:27 PM 4/14/2007, [EMAIL PROTECTED] wrote: No, you are not. Because it appears that the whole thing is not covered by the CDDL. Read the license. If you distribute a product that includes the code, you are bound by the obligations listed in the license (to distribute source code, not ever to patent anything, to give up firstborn children, etc.). So, FreeBSD is covered by the license. You can't use it freely. It is no longer free. If the CDDL code is distributed separately (as in: not mixed with, or compiled together with, other software in FreeBSD), the other code is in no way at risk of being made less free. As long as the CDDL code is not part of the default install in a manner that affects the licensing of other code, the statement it is no longer free is inaccurate, regardless of the terms of the CDDL (within limits of reason). -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] unix virus: If you're using a unixlike OS, please forward this to 20 others and erase your system partition. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
On Sat, Apr 14, 2007 at 02:36:24PM -0600, Chad Perrin wrote: On Sat, Apr 14, 2007 at 09:09:46PM +0200, Philipp Wuensche wrote: Chad Perrin wrote: On Sat, Apr 14, 2007 at 06:55:39PM +0200, Philipp Wuensche wrote: Brett Glass wrote: So CDDL does not require to license add-ons under CDDL, GPL does. In this terms, FreeBSD is basically an add-on to the ZFS module ;-). The most relevant part of the CDDL seems to be section 3.6, Larger Works: You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software. The term Covered Software is defined in a sufficiently ambiguous manner that a court battle over whether or not a Larger Work would be subject, in full, to the terms of the CDDL would probably be decided in favor of the guy with more money: Covered Software means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof. But the rest of the BSD system does not fall under Original Software, Modifications or combination of both as they are defined in this licsense. As I see it, it just states that everything under CDDL in the Larger Work has to be handled like that, this does not include the rest of the Larger Work which would be code not governed by the terms of this License. We're discussing what constitutes code not goverened by the terms of this license, so until that's settled you can't really use that phrase as justification for your argument. Note, for instance, that it makes no reference to code that was not already governed by this license. Thus, we don't know from that statement whether additional code as part of a Larger Work is excluded by that statement. Except that code not governed by the terms of this license seems obvious. If code is not released under the CDDL, it is not governed by the CDDL. FreeBSD is not released under the CDDL. FreeBSD is not governed by the CDDL. They explicitly state: In such a case, You must make sure the requirements of this License are fulfilled for the _Covered Software_. So the requirements must be fullfilled for software under CDDL, and not for code not governed by the terms of this License (code under BSD in our case). The question here is whether code previously not governed by the terms of this license is now governed by the terms of this license. As things currently stand, and with the ambiguous phrasing of the license, it appears to me that this issue cannot be definitively settled without a judicial decision (or alteration of the CDDL to clarify the matter). But 3.6 only requires that the requirements of the License are fulfilled for the Covered Software. It doesn't say that the requirements of the License must be fulfilled for the Larger Work. Covered Software is clearly defined, and the other parts of FreeBSD do not fall under this definition. It could definitely use some clarification just to prevent silly arguments like this one, but it seems clear enough to me that FreeBSD is still free, and that the ZFS modules and source are still CDDL. Erik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
At 10:01 AM 4/14/2007, Colin Percival wrote: GPL/CDDL taint doesn't cross dynamic linking. Richard Stallman claims it does. The proposed Version 3 of the GPL makes it even more explicit. --Brett Glass ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virally licensed code in FreeBSD kernel
On 4/15/07, Brett Glass [EMAIL PROTECTED] wrote: At 10:01 AM 4/14/2007, Colin Percival wrote: GPL/CDDL taint doesn't cross dynamic linking. Richard Stallman claims it does. The proposed Version 3 of the GPL makes it even more explicit. Look... instead of letting this degenerate into one of those mega-message threads that do nothing apart from annoying people and gunking up their email, why don't you get some proper legal opinion this and let the list know? -- Juha http://www.geekzone.co.nz/juha ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB key device nodes
Hi, This strikes me as odd. I have a 1GB USB pocketknife that doesn't give me the right device nodes until after I try to mount it. The mount attempt seems to create the proper device nodes. The USB drive shows up on insertion like so: Apr 14 19:09:41 stretchlimo kernel: umass0: SWISSBIT Victorinox 2.0, class 0/0, rev 2.00/2.00, addr 2 on uhub4 Apr 14 19:09:41 stretchlimo root: Unknown USB device: vendor 0x1370 product 0x2168 bus uhub4 Apr 14 19:09:41 stretchlimo kernel: da1 at umass-sim0 bus 0 target 0 lun 0 Apr 14 19:09:41 stretchlimo kernel: da1: SWISSBIT Victorinox 2.0 2.00 Removable Direct Access SCSI-2 device Apr 14 19:09:41 stretchlimo kernel: da1: 40.000MB/s transfers Apr 14 19:09:41 stretchlimo kernel: da1: Attempt to query device size failed: UNIT ATTENTION, Not ready to ready change, Disklabel tells me that it has a single DOS partition on it: # fdisk /dev/da1 *** Working on device /dev/da1 *** parameters extracted from in-core disklabel are: cylinders=998 heads=64 sectors/track=32 (2048 blks/cyl) parameters to be used for BIOS calculations are: cylinders=998 heads=64 sectors/track=32 (2048 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 6 (0x06),(Primary 'big' DOS (= 32MB)) start 32, size 2043871 (997 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 996/ head 63/ sector 32 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED But the only device node I get upon insertion is: # ls /dev/da* /dev/da1 # I try to mount it, and immediately check the device nodes: # mount_msdosfs /dev/da1 /media mount_msdosfs: /dev/da1: : Invalid argument # ls /dev/da* /dev/da1/dev/da1s1 # Of course, at this point I can mount_msdosfs /dev/da1s1. Is this behavior normal? I'm trying to configure devd to automount a USB device, but the lack of a proper device node appearing the first time around kiboshes that. This is a 7.x i386 system. Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Latest book: PGP GPG -- http://www.pgpandgpg.com The cloak of anonymity protects me from the nuisance of caring. -Non Sequitur ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: locking down scsi device id's in 6.2
On Sat, 14 Apr 2007 01:51:12 -0400 Dave [EMAIL PROTECTED] wrote: Hi, Thanks. Still no good, basically it just brought me back to where i was. Do you know anyone else who might have an idea on this? Thanks for all your help. Dave. Perhaps I have been leading you on a wild goose chase. I have re-read all of your posts and I now understand that you want to wire down bus, target and unit. It is my understanding that the device.hints will wire down the device (i.e. /dev/sa# or in my case /dev/da#). I played around with my system with the external firewire drive and as long as I have the lines in device.hints the 0-0-0 is reserved for the drive whether it is plugged in or not. The optical drives remained at 2-0-0 and 2-1-0. I then plugged in a USB thumb drive and rebooted. This forced the optical drives from 2-0-0 and 2-1-0 to 3-0-0 3-1-0 respectively. I then plugged in a USD card reader and rebooted. This forced the optical drives to 4-0-0 and 4-1-0. I thought about this for awhile and looked at dmesg again. I then edited /boot/device.hints as follows ### Wire down external hd to da0### hint.scbus.0.at=sbp0 hint.da.0.at=scbus0 hint.da.0.target=0 hint.da.0.unit=0 hint.scbus.1.at=ata1 #optical drives on the second ata cable. hint.cd.0.at=scbus1 hint.cd.0.target=0 hint.cd.0.unit=0 hint.cd.1.at=scbus1 hint.cd.1.target=1 hint.cd.1.unit=0 this forced the optical drives back to 1-0-0 and 1-1-0 no matter what other devices are plugged in. [EMAIL PROTECTED] ~ camcontrol devlist WD External HDD Dev 0100 at scbus0 target 0 lun 0 (da0,pass0) SONY DVD RW DW-Q120A PYS1at scbus1 target 0 lun 0 (cd0,pass1) TOSHIBA ODD-DVD SD-M1802 1030at scbus1 target 1 lun 0 (cd1,pass2) USB2.0 CardReader CF RW 0814 at scbus2 target 0 lun 0 (da1,pass3) USB2.0 CardReader SD RW 0814 at scbus2 target 0 lun 1 (da2,pass4) USB2.0 CardReader SM RW 0814 at scbus2 target 0 lun 2 (da3,pass5) USB2.0 CardReader MS RW 0814 at scbus2 target 0 lun 3 (da4,pass6) SanDisk Cruzer Mini 0.1 at scbus3 target 0 lun 0 (da5,pass7) This may be what you want. I hope this helps. Robert P.S. I am adding the list back in. On Fri, 13 Apr 2007 21:39:42 -0400 Dave [EMAIL PROTECTED] wrote: Hello, Thanks for your reply. Please see below for responses. Here is my add-ons to /boot/device.hints: # custom devices hint.scbus.0.at=ahc0 #find this with dmesg hint.sa.0.at=scbus0 hint.sa.0.target=5 hint.sa.0.unit=0 hint.cd.0.at=scbus0 hint.cd.0.target=0 hint.cd.0.unit=0 hint.cd.1.at=scbus0 hint.cd.1.target=1 int.cd.1.unit=0 Dave I would try commenting out or removing the hints referencing the cd's so that you are only wiring down the scsi tape. The only other thing that comes to mind is the options master/slave on the optical drives themselves. Both drives should be on the same ATA cable and I always set master on the drive at the far end of the cable and slave on the other. If this does not help I am afraid that I can be of no further help. perhaps someone else on the list can give some additional advice. Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ISO-IMAGES-i386: 6.2-RELEASE-i386-disc1.iso defect?
Hello FreeBSD team, having tried several times to access 6.2-RELEASE-i386-disc1.iso from e.g. ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.2 I failed because after about 140MB download no further data can be received. Could it be that this iso-image is defect? It doesn't matter which mirror I use, same problem occurs. Thanks in advance! Martin Lutz / Koeln / Germany. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ISO-IMAGES-i386: 6.2-RELEASE-i386-disc1.iso defect?
On Saturday 14 April 2007 19:44:59 M. Lutz wrote: Hello FreeBSD team, having tried several times to access 6.2-RELEASE-i386-disc1.iso from e.g. ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.2 I failed because after about 140MB download no further data can be received. Could it be that this iso-image is defect? It doesn't matter which mirror I use, same problem occurs. Thanks in advance! Martin Lutz / Koeln / Germany. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] i would use this page, to locate a mirror a little closer to where you are: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html ... and then try again. cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: test
On Saturday 14 April 2007, Hangmn said: You group of elitist fucks...the unsub link is FUCKING USELESS On 4/14/07, Bill Moran [EMAIL PROTECTED] wrote: In response to Hangmn [EMAIL PROTECTED]: GET ME OFF THIS FUCKING LIST That's a powerfully effective method of getting things done. First off, the use of the word FUCKING is a well-known method to convince people to come to your aid. I believe it was Napoleon who stated, By inserting 'FUCKING' in front of every FUCKING noun in every FUCKING sentence, I have managed to motivate my FUCKING soldiers more so than any other FUCKING method I have tried. Secondly, the use of all caps is known to be an efficient method of getting your point across. Internet experts agree that mailing lists are very loud, and the only way you're guaranteed to be heard is to SHOUT all the time. I'm glad you've caught on to this fine point of netiquette. Thirdly, replying to an arbitrary message instead of taking the time to contact the right people is a fabulously effective method of getting things done. Obviously, the guy who sent this test message, as well as others who read it are most likely to be the people who can actually _do_ anything about your problem. And lastly, leaving out all the details of your problem is guaranteed to expedite the fix of your problem. Obviously those details, such as a copy of an offending message with fully headers, or a list of the steps you've tried to take in resolution of the problem, would only confused the technically adept people who could actually research and fix your problem. Leaving them out is good practice. On 4/11/07, Bill Moran [EMAIL PROTECTED] wrote: Please use the [EMAIL PROTECTED] mailing list for testing. It avoids spamming 1000s of inboxes with test messages. This poster with advanced intelligence also found that none of gmail's spam tools had any effect on his problem. AOL would probably be his best choice. Beech -- --- Beech Rintoul - Port Maintainer - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.freebsd.org/releases/6.2R/announce.html --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make index on FREEBSD_4_EOL
Benjamin Lutz wrote: Hello, Is make index on FREEBSD_4_EOL supposed to work? I'm getting breakage in the gstreamer-plugin ports. If there's no easy fix, could someone send me an INDEX file that matches the state of the ports tree at FREEBSD_4_EOL? Cheers Benjamin Ports support for 4.x is dead as of a few weeks ago. Please upgrade to 5.x or 6.x (encouraged) to be supported with ports again. Thank you, -Garrett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make index on FREEBSD_4_EOL
Garrett Cooper wrote: Benjamin Lutz wrote: Hello, Is make index on FREEBSD_4_EOL supposed to work? I'm getting breakage in the gstreamer-plugin ports. If there's no easy fix, could someone send me an INDEX file that matches the state of the ports tree at FREEBSD_4_EOL? Cheers Benjamin Ports support for 4.x is dead as of a few weeks ago. Please upgrade to 5.x or 6.x (encouraged) to be supported with ports again. Thank you, -Garrett There I go again on the wrong mailing list. My apologies for the extraneous emails . -Garrett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make index on FREEBSD_4_EOL
On Saturday 14 April 2007 20:42:19 Garrett Cooper wrote: If there's no easy fix, could someone send me an INDEX file that matches the state of the ports tree at FREEBSD_4_EOL? if you use cvsup to get your ports, you could add this tag line to your supfile: *default release=cvs tag=. date=2007.03.15.01.01.01 and that would pull the ports snapshot from march the 15th. i dont recall what date exactly it was the 4.x was discontinued, but you could probably put in the day before, and it might pull down the last valid ports tree for 4.x good luck, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: locking down scsi device id's in 6.2
Hi, Thanks. That did it! I now have the tape drive right where it's suppose to be and the burners on 1,0,0 and 1,1,0 cd0 and cd1 which is what i originally wanted. For reference here is my modifications to /boot/device.hints: # custom devices hint.scbus.0.at=ahc0 #find this with dmesg hint.sa.0.at=scbus0 hint.sa.0.target=5 hint.sa.0.unit=0 hint.scbus.1.at=ata1 #find this with dmesg hint.cd.0.at=scbus1 hint.cd.0.target=0 hint.cd.0.unit=0 hint.cd.1.at=scbus1 hint.cd.1.target=1 hint.cd.1.unit=0 Thanks a lot. Dave. - Original Message - From: Robert Marella [EMAIL PROTECTED] To: Dave [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, April 14, 2007 8:42 PM Subject: Re: locking down scsi device id's in 6.2 On Sat, 14 Apr 2007 01:51:12 -0400 Dave [EMAIL PROTECTED] wrote: Hi, Thanks. Still no good, basically it just brought me back to where i was. Do you know anyone else who might have an idea on this? Thanks for all your help. Dave. Perhaps I have been leading you on a wild goose chase. I have re-read all of your posts and I now understand that you want to wire down bus, target and unit. It is my understanding that the device.hints will wire down the device (i.e. /dev/sa# or in my case /dev/da#). I played around with my system with the external firewire drive and as long as I have the lines in device.hints the 0-0-0 is reserved for the drive whether it is plugged in or not. The optical drives remained at 2-0-0 and 2-1-0. I then plugged in a USB thumb drive and rebooted. This forced the optical drives from 2-0-0 and 2-1-0 to 3-0-0 3-1-0 respectively. I then plugged in a USD card reader and rebooted. This forced the optical drives to 4-0-0 and 4-1-0. I thought about this for awhile and looked at dmesg again. I then edited /boot/device.hints as follows ### Wire down external hd to da0### hint.scbus.0.at=sbp0 hint.da.0.at=scbus0 hint.da.0.target=0 hint.da.0.unit=0 hint.scbus.1.at=ata1 #optical drives on the second ata cable. hint.cd.0.at=scbus1 hint.cd.0.target=0 hint.cd.0.unit=0 hint.cd.1.at=scbus1 hint.cd.1.target=1 hint.cd.1.unit=0 this forced the optical drives back to 1-0-0 and 1-1-0 no matter what other devices are plugged in. [EMAIL PROTECTED] ~ camcontrol devlist WD External HDD Dev 0100 at scbus0 target 0 lun 0 (da0,pass0) SONY DVD RW DW-Q120A PYS1at scbus1 target 0 lun 0 (cd0,pass1) TOSHIBA ODD-DVD SD-M1802 1030at scbus1 target 1 lun 0 (cd1,pass2) USB2.0 CardReader CF RW 0814 at scbus2 target 0 lun 0 (da1,pass3) USB2.0 CardReader SD RW 0814 at scbus2 target 0 lun 1 (da2,pass4) USB2.0 CardReader SM RW 0814 at scbus2 target 0 lun 2 (da3,pass5) USB2.0 CardReader MS RW 0814 at scbus2 target 0 lun 3 (da4,pass6) SanDisk Cruzer Mini 0.1 at scbus3 target 0 lun 0 (da5,pass7) This may be what you want. I hope this helps. Robert P.S. I am adding the list back in. On Fri, 13 Apr 2007 21:39:42 -0400 Dave [EMAIL PROTECTED] wrote: Hello, Thanks for your reply. Please see below for responses. Here is my add-ons to /boot/device.hints: # custom devices hint.scbus.0.at=ahc0 #find this with dmesg hint.sa.0.at=scbus0 hint.sa.0.target=5 hint.sa.0.unit=0 hint.cd.0.at=scbus0 hint.cd.0.target=0 hint.cd.0.unit=0 hint.cd.1.at=scbus0 hint.cd.1.target=1 int.cd.1.unit=0 Dave I would try commenting out or removing the hints referencing the cd's so that you are only wiring down the scsi tape. The only other thing that comes to mind is the options master/slave on the optical drives themselves. Both drives should be on the same ATA cable and I always set master on the drive at the far end of the cable and slave on the other. If this does not help I am afraid that I can be of no further help. perhaps someone else on the list can give some additional advice. Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[OT] can sed handle this situation? (might require variable)
Dear list. I could not find a mailing list about 'sed' (there is an very inactive Yahoo Group though) so I wish to try some luck here. Sorry for OT. I've got a situation that looks like require using variable and not possible to process with sed. But I am not sure. Can someone suggest me if this task is out of scope of sed? The input document is sections of data separated by an empty new line; in each section there are a few lines. It's like this: dn: uid=ABB,ou=contacts,ou=china,dc=ahk,dc=de uid: ABB ahkCreateTimeStamp: 1996032800Z creatorsName: cn=manager,dc=ahk,dc=de createTimestamp: 20060425094550Z dn: uid=paulblome,ou=contacts,ou=china,dc=ahk,dc=de uid: paulblome sn: Blome createTimestamp: 20060417071950Z modifiersName: cn=manager,dc=ahk,dc=de modifyTimestamp: 20060630094026Z The above sample showed two sections in input data. It's required to process the data in following rule: if a data section has ahkCreateTimeStamp: abc, replace it with createTimestamp: abc and remove the original createTimestamp: def line; That is, the result data of above sample should be: dn: uid=ABB,ou=contacts,ou=china,dc=ahk,dc=de uid: ABB createTimestamp: 1996032800Z creatorsName: cn=manager,dc=ahk,dc=de dn: uid=paulblome,ou=contacts,ou=china,dc=ahk,dc=de uid: paulblome sn: Blome createTimestamp: 20060417071950Z modifiersName: cn=manager,dc=ahk,dc=de modifyTimestamp: 20060630094026Z -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ISO-IMAGES-i386: 6.2-RELEASE-i386-disc1.iso defect?
On Sun, Apr 15, 2007 at 02:44:59AM +0200, M. Lutz wrote: Hello FreeBSD team, having tried several times to access 6.2-RELEASE-i386-disc1.iso from e.g. ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.2 I failed because after about 140MB download no further data can be received. Could it be that this iso-image is defect? No, at least tens of thousands of people have downloaded it without issue. You should look closer to home for the source of your problem. Kris pgpD49oaoabzU.pgp Description: PGP signature
Re: [OT] can sed handle this situation? (might require variable)
Zhang Weiwu wrote: Dear list. I could not find a mailing list about 'sed' (there is an very inactive Yahoo Group though) so I wish to try some luck here. Sorry for OT. I've got a situation that looks like require using variable and not possible to process with sed. But I am not sure. Can someone suggest me if this task is out of scope of sed? The input document is sections of data separated by an empty new line; in each section there are a few lines. It's like this: dn: uid=ABB,ou=contacts,ou=china,dc=ahk,dc=de uid: ABB ahkCreateTimeStamp: 1996032800Z creatorsName: cn=manager,dc=ahk,dc=de createTimestamp: 20060425094550Z dn: uid=paulblome,ou=contacts,ou=china,dc=ahk,dc=de uid: paulblome sn: Blome createTimestamp: 20060417071950Z modifiersName: cn=manager,dc=ahk,dc=de modifyTimestamp: 20060630094026Z The above sample showed two sections in input data. It's required to process the data in following rule: if a data section has ahkCreateTimeStamp: abc, replace it with createTimestamp: abc and remove the original createTimestamp: def line; That is, the result data of above sample should be: dn: uid=ABB,ou=contacts,ou=china,dc=ahk,dc=de uid: ABB createTimestamp: 1996032800Z creatorsName: cn=manager,dc=ahk,dc=de dn: uid=paulblome,ou=contacts,ou=china,dc=ahk,dc=de uid: paulblome sn: Blome createTimestamp: 20060417071950Z modifiersName: cn=manager,dc=ahk,dc=de modifyTimestamp: 20060630094026Z Sure, and no this doesn't require an additional variable. If my sed'ing is correct (I usually do regular expressions with Perl), the expression should be: sed -e 'm/^\s+.+createTimeStamp:.+\s+createTimeStamp: (.+)/\s{number of preceding required spaces}createTimeStamp: \1/g'; I'd be sure to test out the expression though first before replacing any files. My reference for the text replace was: http://www.student.northpark.edu/pemente/sed/sed1line.txt (look for the comma in number replace reference). Cheers, -Garrett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hot swap with gmirror
Hello, Is hot swap of a drive possible with gmirror? Also is it possible to setup a spare mirrored drive and store it until it is needed to replace a faulty drive. Thanks, Ivan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
multiple mirrored drives with gmirror
Hello, Is it possible to have more than 2 drives in a mirror? For example traditionally a mirror will have 2 drives, can 4 drives be in a system and all be mirrored by gmirror? Thanks, Ivan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't print to disk from Firefox
I got an error when trying to print *to disk* from Firefox/1.5.0.6: Printer Error There was a problem printing because the paper size you specified is not supported by your printer. This message makes no sense at all when printing to disk, since there's no way for it to know what kind of printer I'll eventually send the file to. I am using the only available printer selection, PostScript/default, and the first paper selection in the list, letterSize (8.5x11 inch); and that size is certainly available on the printer I intend to use (which is elsewhere, hence the need to print to disk). There is no default paper size selection. I really don't care what paper size it formats the page for -- that can be fixed later if necessary. It is the content, not the formatting, that is important. It eventually fixed itself after much fumbling and several retries, but I have no idea what fixed it and I suppose it will probably unfix itself at some inconvenient time in the future. How do I fix it properly and permanently? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hot swap with gmirror
On Sun, Apr 15, 2007 at 12:55:02PM +1000, Ivan Carey wrote: Hello, Is hot swap of a drive possible with gmirror? I think you need hardware support to be able to do hot-swap of drives. At least that was the way it used to be. jerry Also is it possible to setup a spare mirrored drive and store it until it is needed to replace a faulty drive. Thanks, Ivan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how does one get portupgrade back
Bill, Thank you for this. Until I got my high speed line, I didn't even think about updating. It would simply take too long. Consequently, I've not kept in memory certain things like the file you reference above. Thank you. Andy (High speed is awesome. I just updated Firefox to 2.0.0.5, or something similar, and it took only 3 - 4 minutes to down load the 35mb *.bz2 file. I wouldn't have even thought about it before hand.) On 4/13/07, Bill Moran [EMAIL PROTECTED] wrote: Andrew Falanga [EMAIL PROTECTED] wrote: HI, I was going through cvsup and portupgrade since I just got broadband into my home. I had forgotten that some time ago I had already installed portupgrade and went to install it again. I went to /usr/ports/sysutils/ and found to my astonishment that the directory portupgrade no longer exists. That's when I found out that I had already installed it at some time in the past by doing which portupgrade. The only reason I'm asking about this is because the portupgrade program complained that it couldn't change directory to the directory listed above. So, I installed cvsup-without-gui and upgraded my ports collection (I actally did this before checking for portupgrade). So, how should I go about restoring that directory? Read /usr/ports/UPDATING before doing ports maintenance in the future. In this case, ports tools have moved to a new category in /usr/ports/ports-mgmnt -- Bill Moran http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recompiling the vim port for gui capability
Hi, I recently updated some of my ports (due to the fact that I now have a high speed connection to the Internet at home). One of the ports I updated was vim. I used portupgrade -r vim_port_name and let it do its thing. All went well, but now gvim no longer exists. When I was try to execute it, I get, E25: GUI cannot be used: Not enabled at compile time. I've built vim at work simply from the source code from vim.org and I know how to build for GUI support. However, I'm not very familiar with the BSD make or the ports making process and couldn't find a clean way of defining, or in this case preventing the definition of, .if defined(NO_GUI) WITHOUT_X11=yes .endif I took this from /usr/ports/editors/vim/Makefile. How do I manipulate the ports build process to recompile vim with GUI support? I would rather use vim/gvim than any other editor and without GUI support, it's quite lame. By the way, after reading the response to my post about how to get portupgrade back, I went to look through the /usr/ports/UPGRADING file for vim notes. However, the only thing I found concerning vim was something to with vim-part, or something similar to that, with respect to the KDE distribution. There was nothing about the actual VIM port. Oh, nearly forgot, before this, I had vim 6.x installed from ports. I did have the GUI version before hand. Thanks, Andy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recompiling the vim port for gui capability
Andrew Falanga wrote: Hi, I recently updated some of my ports (due to the fact that I now have a high speed connection to the Internet at home). One of the ports I updated was vim. I used portupgrade -r vim_port_name and let it do its thing. All went well, but now gvim no longer exists. When I was try to execute it, I get, E25: GUI cannot be used: Not enabled at compile time. I've built vim at work simply from the source code from vim.org and I know how to build for GUI support. However, I'm not very familiar with the BSD make or the ports making process and couldn't find a clean way of defining, or in this case preventing the definition of, .if defined(NO_GUI) WITHOUT_X11=yes .endif I took this from /usr/ports/editors/vim/Makefile. How do I manipulate the ports build process to recompile vim with GUI support? I would rather use vim/gvim than any other editor and without GUI support, it's quite lame. By the way, after reading the response to my post about how to get portupgrade back, I went to look through the /usr/ports/UPGRADING file for vim notes. However, the only thing I found concerning vim was something to with vim-part, or something similar to that, with respect to the KDE distribution. There was nothing about the actual VIM port. Oh, nearly forgot, before this, I had vim 6.x installed from ports. I did have the GUI version before hand. Thanks, Andy Andy, If you use the editors/vim port and not editors/vim-lite, this should be enabled by default. If not, then you should talk to the port maintainer. -Garrett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
On Sat, Apr 14, 2007 at 02:34:29PM -0500, Chris wrote: [EMAIL PROTECTED] wrote: On Sat, 14 Apr 2007, Dag-Erling Smørgrav wrote: [[ ... ]] In my case this included leaning to think in 'Unix', and reaching an understanding with (rather than of) regular expressions, sed, and awk. My workstation/laptop hardware does not really allow the option of building things like KDE and OpenOffice, so I upgrade basically by starting over with packages. I usually can do this in an hour or so. When I first started, I found the differences between BSDI, FreeBSD, and Linux confusing. Now mostly its more of an irritant than having to use my son's mac to watch ESPN videos. I've been experimenting with system tuning to get my slower (400MHz) laptop and tower cases to run lots ffaster with X ... and, obv'ly, lots slower for less important processes. As a hard-core CLI type, I'd like to see lightweight apps like links tied to a GUI version of mutt. Or something similarly lightweight where you can click on a URL and have it instantiate links. If you must-hae 3D, then Xaw-3D will do the magic. To me, this is where Ubuntu (I can't speak for other Linux distros) is the clear winner over FreeBSD on the desktop. Ubuntu is near out-of-the-box when it comes to media (audio/video/etc) of any sort. Sure, there are a few steps to get it all to gel - but once you enter a few lines (or if you prefer point-n-click) - you never have to worry about media working again (trust me, I used to keep a Windows box just to do the things I mentioned). Again - I'm talking about a desktop use. I have used Ubuntu server (both i386 and sparc) and FreeBSD is still my fav. however, Ubuntu (for installing LAMP) is nearly even w/FreeBSD. To me, apt-get is certainly cleaner and superior to portupgrade/portmanager. Perhaps someday either or will be as reliable as apt-get. Just my opinions of course. Mine too, as far as ease-of-use goes. Ubuntu is a different kind of Linux where they say up front that Linux is only a kernel; that the rest is up to the real hackers, the app folks. My only concern with Ubuntu is upgrading from my current 6.06 to 7.XX. I can upgrade FBSD with one finger. Upgrading Ubuntu isn't quite push-button. Not yet anyway. The last thing: I'll never trust my DNS server to anything except the Berkeley distributions. and that's my dime's worth! gary -- Best regards, Chris If not completely satisfied, return for full refund of purchase price. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2007-03-25 - 2007-04-14
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to [EMAIL PROTECTED] 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/. -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
Gary Kline wrote: On Sat, Apr 14, 2007 at 02:34:29PM -0500, Chris wrote: [EMAIL PROTECTED] wrote: On Sat, 14 Apr 2007, Dag-Erling Smørgrav wrote: [[ ... ]] In my case this included leaning to think in 'Unix', and reaching an understanding with (rather than of) regular expressions, sed, and awk. My workstation/laptop hardware does not really allow the option of building things like KDE and OpenOffice, so I upgrade basically by starting over with packages. I usually can do this in an hour or so. When I first started, I found the differences between BSDI, FreeBSD, and Linux confusing. Now mostly its more of an irritant than having to use my son's mac to watch ESPN videos. I've been experimenting with system tuning to get my slower (400MHz) laptop and tower cases to run lots ffaster with X ... and, obv'ly, lots slower for less important processes. As a hard-core CLI type, I'd like to see lightweight apps like links tied to a GUI version of mutt. Or something similarly lightweight where you can click on a URL and have it instantiate links. If you must-hae 3D, then Xaw-3D will do the magic. To me, this is where Ubuntu (I can't speak for other Linux distros) is the clear winner over FreeBSD on the desktop. Ubuntu is near out-of-the-box when it comes to media (audio/video/etc) of any sort. Sure, there are a few steps to get it all to gel - but once you enter a few lines (or if you prefer point-n-click) - you never have to worry about media working again (trust me, I used to keep a Windows box just to do the things I mentioned). Again - I'm talking about a desktop use. I have used Ubuntu server (both i386 and sparc) and FreeBSD is still my fav. however, Ubuntu (for installing LAMP) is nearly even w/FreeBSD. To me, apt-get is certainly cleaner and superior to portupgrade/portmanager. Perhaps someday either or will be as reliable as apt-get. Just my opinions of course. Mine too, as far as ease-of-use goes. Ubuntu is a different kind of Linux where they say up front that Linux is only a kernel; that the rest is up to the real hackers, the app folks. My only concern with Ubuntu is upgrading from my current 6.06 to 7.XX. I can upgrade FBSD with one finger. Upgrading Ubuntu isn't quite push-button. Not yet anyway. The last thing: I'll never trust my DNS server to anything except the Berkeley distributions. and that's my dime's worth! gary Gary - Not so - upgrading Ubuntu is pretty much a click. Have a look at this URL and you'll see 2 ways to upgrade http://onlyubuntu.blogspot.com/2007/03/upgrade-ubuntu-610-edgy-eft-to-ubuntu.html But in a nutshell - Ubuntu (Debian) is nothing more then editing a source file and 2 commands. apt-get update and apt-get dist-upgrade As to the comment about DNS - I agree 100% -- Best regards, Chris BOFH excuse #84: Someone is standing on the ethernet cable, causing a kink in the cable ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
On 2007-04-14 12:34, Garrett Cooper [EMAIL PROTECTED] wrote: Chad Perrin wrote: On Sat, Apr 14, 2007 at 11:52:18AM -0700, Garrett Cooper wrote: Also, it's Linux-based so documentation in terms of manpages are most likely non-existent, like with Gentoo Linux. That's by no means universal among Linux distributions. Debian actually provides better manpage coverage than FreeBSD, for instance. But some of the manpages are out of date, like for the coreutils (I think mv/cp was one of them?). I like the comment in there about Stallman liking infopages but Debian-ites having to create a manpage :). I personally hate infopages, but that's me. One of the most important reasons why I like FreeBSD is the quality of the documentation. I find it rather appaling that running man mv on Debian shows a warning in the SEE ALSO section: % SEE ALSO % The full documentation for mv is maintained as a Texinfo % manual. If the info and mv programs are properly installed % at your site, the command % % info mv % % should give you access to the complete manual. What is amusing is that exactly the same warning is displayed when one runs 'info mv' :P The full documentation of mv(1) *is* available as an Info page, but it is not where the manpage points the user. By lurking at the FreeBSD cvs-commit lists, while I was a BSD newbie, I noticed source changes being rolled back because their documentation was not ready yet. I saw BSD people demanding than manpages are updated after a source commit, and dozens of merges from HEAD to one of the STABLE branches which treated manpages as first class citizens of the source tree, and not some entertaining but always out-of-date pariah. - Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
Gary Kline wrote: On Sat, Apr 14, 2007 at 11:10:17PM -0500, Chris wrote: Gary Kline wrote: On Sat, Apr 14, 2007 at 02:34:29PM -0500, Chris wrote: Gary - Not so - upgrading Ubuntu is pretty much a click. Have a look at this URL and you'll see 2 ways to upgrade http://onlyubuntu.blogspot.com/2007/03/upgrade-ubuntu-610-edgy-eft-to-ubuntu.html But in a nutshell - Ubuntu (Debian) is nothing more then editing a source file and 2 commands. apt-get update and apt-get dist-upgrade As to the comment about DNS - I agree 100% Thanks for the URL, Chris, but Edgy is going to be passe in a few days; I'll wait for 7.1X and watch the forums for gripes. My second upgrade just took time (18-20+ hours to get thru my IDNL line); otherwise it was just-a-click. My first upgrade took more than a week of clicking here and there until finally thtings worked. Other people were having trouble with 6.10 too, so I just held back. ...But then, in the distant past (I've run FBSD since 2.0.5), I had troubles with upgrading this OS... and this is the most bulletproof operating system in the [known :) ] universe. Live 'n' learn, eh? --Maybe I'll go for FIESTY FAWN(?) in a month. gary Gary - I actually went from Edgy to Feisty last night. While the latter is still not released (I here around the 19th of April) it's pretty solid and as I mentioned, the upgrade of everything was to the point with that URL. -- Best regards, Chris Contest void where prohibited by law. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
On Sat, Apr 14, 2007 at 01:58:17PM -0500, Chris wrote: Actually - Ubuntu's default isn't KDE, it's Gnome. Kubuntu is what you want if you prefer the K environment - however, that's not to say that if you install Ubuntu, you can't install KDE (or XFCE4 - that happens to be Xubuntu). I like both Gnome and KDE; altho parts of KDE work better for my mindset. SO nutshell, can I upgrade my present default Gnome Desktop (aka: wm:) to be KDE?? Or equally, is there some magic command to install more KDE-ware? Acouple weeks ago here someone recommended kmplayer and the KDE browser. And, YES, it's almost like push button. The KDE CD burner is also easier to use. But the Gnome Terminal is much more intuitive than the KDE write of xterm. (blah, [bar] :) (I find that I have tons of KDE games, and I'm not rreally a gamer. No, I haven't a clue where the games came from.) gary -- Best regards, Chris BOFH excuse #158: Defunct processes ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
Gary Kline wrote: On Sat, Apr 14, 2007 at 01:58:17PM -0500, Chris wrote: Actually - Ubuntu's default isn't KDE, it's Gnome. Kubuntu is what you want if you prefer the K environment - however, that's not to say that if you install Ubuntu, you can't install KDE (or XFCE4 - that happens to be Xubuntu). I like both Gnome and KDE; altho parts of KDE work better for my mindset. SO nutshell, can I upgrade my present default Gnome Desktop (aka: wm:) to be KDE?? Or equally, is there some magic command to install more KDE-ware? Acouple weeks ago here someone recommended kmplayer and the KDE browser. And, YES, it's almost like push button. The KDE CD burner is also easier to use. But the Gnome Terminal is much more intuitive than the KDE write of xterm. (blah, [bar] :) (I find that I have tons of KDE games, and I'm not rreally a gamer. No, I haven't a clue where the games came from.) gary Im the same way - I have a mix of Gnome/KDE items. Ubuntu by default is Gnome - that's not to say you can't install KDE and or other WM. Kbuntu is your KDE install whereas Xubuntu is the XFCE4 install - again, you are free to install any part of any WM you want to use by enabling Universe and Multiverse and by using Synamptic Package Manager. The file you need to edit for Multiverse and Universe is /etc/apt/sources.list - Uncomment then run the above app and you'll be able to pick and choose. Also keep in mind, you DON't need to install all of KDE to run a few apps. Under FBSD, I run XFCE4 - and I seem to recall that you needed to ensure a fair amount of KDE needed to be installed before the fact. If you're serious about Ubuntu etc, I'll gladly lend you what I have learned off list. -- Best regards, Chris Available while quantities last. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
On Sat, Apr 14, 2007 at 12:34:46PM -0700, Garrett Cooper wrote: Chad Perrin wrote: On Sat, Apr 14, 2007 at 11:52:18AM -0700, Garrett Cooper wrote: Also, it's Linux-based so documentation in terms of manpages are most likely non-existent, like with Gentoo Linux. That's by no means universal among Linux distributions. Debian actually provides better manpage coverage than FreeBSD, for instance. But some of the manpages are out of date, like for the coreutils (I think mv/cp was one of them?). I like the comment in there about Stallman liking infopages but Debian-ites having to create a manpage :). I personally hate infopages, but that's me. You're not the only one who destest those bleeping info-type writeups. Forward and BAckwards make sense; but then what is Up/Down? And a yup on the outdated docs too. There is a seriously K00L music app (Gnome), but the documentation was way out of date in '06. ((But then, I'd much rather code 1,000 lines that write just a few ages of docs, so, I understand the problem. Code you can *read* and figure out. Different with even good docs. I think the best man pages include a feew examples... . gary PS: if only we could be god-for-a-day,huh:-) :-) -Garrett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] can sed handle this situation? (might require variable)
Darn, forgot to copy to the dear list; so here it is (sent to OP previously) ... in message [EMAIL PROTECTED], wrote Zhang Weiwu thusly... Dear list. I could not find a mailing list about 'sed' (there is an very inactive Yahoo Group though) so I wish to try some luck here. Try, comp.unix.misc newsgroup. I've got a situation that looks like require using variable and not possible to process with sed. But I am not sure. Can someone suggest me if this task is out of scope of sed? Try some variation of what Garret suggested if sed is the requirement and skip rest of the message. The input document is sections of data separated by an empty new line ... dn: uid=ABB,ou=contacts,ou=china,dc=ahk,dc=de uid: ABB ahkCreateTimeStamp: 1996032800Z creatorsName: cn=manager,dc=ahk,dc=de createTimestamp: 20060425094550Z dn: uid=paulblome,ou=contacts,ou=china,dc=ahk,dc=de uid: paulblome sn: Blome createTimestamp: 20060417071950Z modifiersName: cn=manager,dc=ahk,dc=de modifyTimestamp: 20060630094026Z The above sample showed two sections in input data. It's required to process the data in following rule: if a data section has ahkCreateTimeStamp: abc, replace it with createTimestamp: abc and remove the original createTimestamp: def line; That is, the result data of above sample should be: dn: uid=ABB,ou=contacts,ou=china,dc=ahk,dc=de uid: ABB createTimestamp: 1996032800Z creatorsName: cn=manager,dc=ahk,dc=de dn: uid=paulblome,ou=contacts,ou=china,dc=ahk,dc=de uid: paulblome sn: Blome createTimestamp: 20060417071950Z modifiersName: cn=manager,dc=ahk,dc=de modifyTimestamp: 20060630094026Z Here is my version in Perl (v5.8.8; run it by giving it files to process as command line arguments; no files are modified; output goes to the standard output) ... #!/usr/local/bin/perl use warnings; use strict; my $orig = 'createTimestamp'; my $changed = 'ahkCreateTimeStamp' ; # Mapping of changed original strings with related regular # expressions. my %replacement; @replacement{ ( 'changed' , 'orig' ) } = map { [ $_ , qr(^ \s*# Optional whitespace at the beginning; $_ # time stamp text; \s* : # optional whitespace before colon; \s* # optional whitespace; \S+ # non whitespace character sequence (time stamp); .* $# then anything or nothing else at the end. )xm ] } ( $changed , $orig ) ; # Process files, given as command line arguments. Output is # printed on standard output, no file is actually modified. for my $file ( @ARGV ) { my $fh; unless ( open $fh , '' , $file ) { warn Cannot open file '$file': $!\n ; next; } update_time_stamp( \%replacement , $fh ); close $fh or die Cannot close '$file': $!\n ; } exit; sub update_time_stamp { my ( $map , $fh ) = @_; my $changed = $map-{'changed'}; my $orig = $map-{'orig'}; # Set input record separator to parse data in blocks. local $/ = ; while ( my $block = $fh ) { # Nothing to do if there is no ahk* string. next unless $block =~ m/$changed-[1]/ $block =~ m/$orig-[1]/ ; for ( $block ) { # Remove original replacement time stamp line. (Order does # not matter as only the text is changed not the associated # time stamp value.) s/$orig-[1]//; # Update time stamp string. s/$changed-[0]/$orig-[0]/; } # Remake the block by removing empty line (caused by removal of # replacement time stamp line.) $block = join \n , grep { $_ !~ m/^\s*$/ } split /\n+/ , $block ; # Add removed new line at the end, and another as separator. $block .= \n\n ; } # For each every block processed ... continue { print $block ; } } __END__ - Parv -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]