Re: Reinstall without reformat

2013-10-14 Thread Michael Sierchio
The brutal and brute-force approach can work - better if you boot from a USB stick, of course. You can untar base.tzx and kernel.tzx in your /, with filesystems mounted. As Polytropon says, do a backup of what you'll want afterwards. This approach will leave a lot of cruft (old versions of

Re: How to ask a DNS resolver listening on a different port than the tcp/udp 53

2013-09-27 Thread Michael Sierchio
On Fri, Sep 27, 2013 at 4:11 PM, Frank Leonhardt fra...@fjl.co.uk wrote: On 27/09/2013 23:08, Terje Elde wrote: On 28. sep. 2013, at 00:03, Frank Leonhardt fra...@fjl.co.uk wrote: If I understand the way it works correctly, the resolver pulls a list of the NS and hard-sets the port number

Re: FreeBSD stuck during the boot process.

2013-09-17 Thread Michael Sierchio
On Tue, Sep 17, 2013 at 9:47 AM, atar atar.yo...@gmail.com wrote: Polytropon free...@edvax.de wrote: On Tue, 17 Sep 2013 12:15:58 +0300, Atar wrote: When I try to boot FreeBSD from a USB stick, it stuck during the boot process. But if I boot it in safe mode, it succeeds to boot. Yes, you

Disappointing dependency introduced in 9.1 (from 8-STABLE)

2013-09-11 Thread Michael Sierchio
Because I build a lot of embedded devices with serial consoles, I was in the habit of hacking /boot/loader by commenting out a line in a Makefile that enables terminal emulation /sys/boot/i386/libi386/Makefile: #CFLAGS+= -DTERM_EMU and then in /sys/boot doing a make clean make unfortunately,

Re: Network startup with age Ethernet device

2013-09-04 Thread Michael Sierchio
On Wed, Sep 4, 2013 at 8:49 AM, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Have you tried using netwait? I think that would involve putting enable_netwait in rc.conf, and netwait_enable=YES would be it. - M ___

Re: ipfw gateway rerouting

2013-08-19 Thread Michael Sierchio
# my kernel has # options ROUTETABLES=16 GATEWAY_0=10.3.255.0 GATEWAY_1=10.3.255.1 setfib 0 route add default $GATEWAY_0 setfib 1 route add default $GATEWAY_1 ipfw table 1 add $NET_0 0 ipfw table 1 add $NET_1 0 ipfw table 1 add $NET_2 1 ipfw table 1 add $NET_3 0 ipfw add 00500 setfib

Re: Theft in the Clouds

2013-07-25 Thread Michael Sierchio
Amazon EC2 certainly offers Dedicated Instances, in which the hardware is dedicated to a single customer. On Thu, Jul 25, 2013 at 1:15 PM, Jerry je...@seibercom.net wrote: Not really a FreeBSD issue, but I did find this article rather fascinating.

Re: gpart: table 'da0' is corrupt; operation not permitted

2013-07-16 Thread Michael Sierchio
On Tue, Jul 16, 2013 at 1:44 PM, aurfalien aurfal...@gmail.com wrote: Upon doing; gpart destroy da0 I get; gpart: Device busy crude but effective: DISK=da0 offset=`diskinfo $DISK | awk '{ print $4 - 131072 }'` dd if=/dev/zero of=/dev/$DISK bs=64k count=1 dd if=/dev/zero of=/dev/$DISK

Re: auth.notice on syslog server

2013-06-24 Thread Michael Sierchio
On Mon, Jun 24, 2013 at 5:35 AM, SWENNEN Rudi rudi.swen...@onprvp.fgov.be wrote: Hello FreeBSD-list, I have the following two freebsd systems/servers: a server and a client. The syslog of the client is send to the server. I was wondering why the auth.notice entry on my server is generating a

Re: Boot Loader Issue

2013-06-23 Thread Michael Sierchio
On Sun, Jun 23, 2013 at 4:12 PM, Polytropon free...@edvax.de wrote: On Sun, 23 Jun 2013 15:47:53 -0700, Doug Hardie wrote: I need to alter mountroot so it tries the right partition/slice. How do I do that? I couldn't find anything in the handbook on that. You need to install the GPT boot

Re: FreeBSD slice/partiton setup question

2013-06-18 Thread Michael Sierchio
On Tue, Jun 18, 2013 at 10:44 AM, Istvan Gabor suseuse...@lajt.hu wrote: ... How can I do this in FreeBSD? Can I have slices with only one partition occupying the whole slice? Can I do something like the following: /dev/ad0s1a / /dev/ad0s2e /home /dev/ad0s3e /usr/local /dev/ad0s5b swap

Re: Re: FreeBSD slice/partiton setup question

2013-06-18 Thread Michael Sierchio
You can simply newfs the device itself, without a volume label, slice, or partition. That's the normal thing to do with malloc devices, or additional disks. If the disk doesn't require a boot loader, isn't the root device, etc. that may be the best thing to do. Your caution about EXT* is

Re: FreeBSD maximum password length

2013-06-17 Thread Michael Sierchio
I know this may seem off-the-wall to some, but I pasted a hashed password for a user under 9.1 into the /etc/passwd entry for that user on an 8.3 machine, and auth continues to work properly. That's nice. - M ___ freebsd-questions@freebsd.org mailing

Re: Bourne shell if syntax

2013-06-10 Thread Michael Sierchio
On Mon, Jun 10, 2013 at 12:16 PM, Tim Daneliuk tun...@tundraware.com wrote: That wasn't really my point. I use sentinels because in the face of an empty string this: if [ $PTR = ] Actually evaluates to: if [ = ] Which throws an error. Right. Many scripts seem to assume that

Re: swap partition leads to instability?

2013-05-29 Thread Michael Sierchio
On Sun, May 26, 2013 at 6:17 PM, Adam Vande More amvandem...@gmail.comwrote: Normal dynamic wear leveling on a modern SSD will be better than imposing an FS- backed swap for 4GB partion occupying a small fraction of total drive space. Quite so. - M

Re: BSD sleep

2013-05-28 Thread Michael Sierchio
On Tue, May 28, 2013 at 4:45 PM, Joshua Isom jri...@gmail.com wrote: You think it's trivial until you read this: http://infiniteundo.com/post/**25326999628/falsehoods-** programmers-believe-about-timehttp://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time Some

Re: swap partition leads to instability?

2013-05-26 Thread Michael Sierchio
The Intel SLC mSATA drives I use in embedded devices don't support TRIM, but - it doesn't seem to matter. Actually, I'm confident that just using bare partitions for swap is fine, and I haven't had any of the trouble I witnessed with MLC devices. The difference is that the size is limited to

Re: Case sensitive usernames and sendmail - mystic voodoo

2013-05-26 Thread Michael Sierchio
On Sun, May 26, 2013 at 6:17 PM, Polytropon free...@edvax.de wrote: On Sun, 26 May 2013 18:44:41 -0600, Modulok wrote: I know usernames are case-sensitive, I thought emails were too. If I remember e-mail basics correctly: No. They're not. For example, f...@example.com, f...@example.com

Re: setup journaling for root partition

2013-05-23 Thread Michael Sierchio
On Wed, May 22, 2013 at 10:53 PM, s m sam.gh1...@gmail.com wrote: thanks Michael for your quick reply:) yes, i can boot from usb freebsd flash and use fixit mode. i have root, var, tmp, usr and swap on my system. i create an extra swap partition to use it as journal provider for root

Re: file corruption solution (soft-update or ZFS)

2013-05-23 Thread Michael Sierchio
On Thu, May 23, 2013 at 5:33 AM, Warren Block wbl...@wonkity.com wrote: .. One thing mentioned earlier is that ZFS wants lots of memory. 4G-8G minimum, some might say as much as the server will hold. Not necessarily so - deduplication places great demands on memory, but that can be

Re: setup journaling for root partition

2013-05-22 Thread Michael Sierchio
On Wed, May 22, 2013 at 10:27 PM, s m sam.gh1...@gmail.com wrote: thanks Michael, but in all documentation about journaling, tunefs is used as below: tunefs -J enable ad3s1X.journal. ad3s1X.journal is created by gjournal command: gjournal label ad3s1a ad3s1g that assign ad3s1g as journal

Re: setup journaling for root partition

2013-05-21 Thread Michael Sierchio
On Mon, May 20, 2013 at 10:59 PM, s m sam.gh1...@gmail.com wrote: hello everybody i want to setup a journal partition for my root partition. but i do not know how to do that. in FreeBSD handbook, it is done in single user mode, unmount the desired partition and assign the journal partition

Re: setup journaling for root partition

2013-05-21 Thread Michael Sierchio
AFAIK Softupdates journaling still breaks snapshot functionality - which makes it unusable for me. I wouldn't assume that the O.P. doesn't want we he's asking for. - M On Tue, May 21, 2013 at 7:42 AM, Arthur Chance free...@qeng-ho.org wrote: On 05/21/13 12:43, saeedeh motlagh wrote: thanks

Re: setup journaling for root partition

2013-05-21 Thread Michael Sierchio
On Tue, May 21, 2013 at 8:20 AM, Warren Block wbl...@wonkity.com wrote: On Tue, 21 May 2013, Arthur Chance wrote: On 05/21/13 15:46, Michael Sierchio wrote: AFAIK Softupdates journaling still breaks snapshot functionality - which makes it unusable for me. I wouldn't assume that the O.P

Re: setup journaling for root partition

2013-05-21 Thread Michael Sierchio
On Tue, May 21, 2013 at 10:14 PM, s m sam.gh1...@gmail.com wrote: thanks guys for your attentions. i want to setup journaling in FreeBSD 8.2. i compare soft-update and journaling and choose journaling (it is more suitable for my goals). i want to enable journaling for all my partitions. i

Re: enter single user mode from boot menu

2013-04-28 Thread Michael Sierchio
On Sun, Apr 28, 2013 at 4:04 PM, Polytropon free...@edvax.de wrote: After the BTX loader has started, keep hammering the space bar. :-) At some point, you'll see the Ok _ prompt. This is where you enter the command boot -s to go into single-user mode. The

Re: EC2 Instances Future

2013-04-10 Thread Michael Sierchio
I still follow Colin's original pattern of using a minimal Linux grub boot EBS device (1GB), ext2fs, with the root partition being on another (ufs2) EBS device. This works very well, with a couple of caveats - - Install e2fsprogs (pkg or port) - you will need it, on occasion when modifying the

Re: Problems with IPFW causing failed DNS and FTP sessions

2013-04-01 Thread Michael Sierchio
Okay, what's your DNS setup? Are you running a recursive cache that contacts the root servers directly? Using your ISP's servers? Etc. As a mitigation step, I tried pointing my caches to 8.8.8.8 and 8.8.4.4. - but it turns out that Google is intentionally blocking (returning NX responses to)

Re: Problems with IPFW causing failed DNS and FTP sessions

2013-03-31 Thread Michael Sierchio
It would be really helpful if you'd post the ruleset. At first glance, your stateful rules seem rather wrong, unless there's a check-state above. Also, in and out aren't discriminating enough - every packet is seen by the ruleset more than once. You should think in terms of interfaces,

Re: Problems with IPFW causing failed DNS and FTP sessions

2013-03-31 Thread Michael Sierchio
interface stats to make sure there aren't a bunch of fragmented packets or errors, and there aren't. I'm not running NAT, it's a publically accessible IP address. -Original Message- From: Michael Sierchio [mailto:ku...@tenebras.com] Sent: Sunday, March 31, 2013 8:58 PM To: Don O'Neil Cc

Re: Problems with IPFW causing failed DNS and FTP sessions

2013-03-31 Thread Michael Sierchio
On Sun, Mar 31, 2013 at 9:39 PM, Michael Powell nightre...@hotmail.com wrote: I'm probably not smart enough to be able to help directly with your problem but I'd like to add that there is a snowballing DNS Amplification ddos attack against SpamHaus going on which is spilling over Yes, this is

Re: Problems with IPFW causing failed DNS and FTP sessions

2013-03-31 Thread Michael Sierchio
net.inet.ip.fw.dyn_short_lifetime ? net.inet.ip.fw.dyn_udp_lifetime ? You might want to increase these, given the current state of things... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: Is fdisk broken?

2013-03-22 Thread Michael Sierchio
On Fri, Mar 22, 2013 at 7:33 AM, mla_str...@att.net wrote: Can fdisk be made happy again? (At least for a few more years?) The short answer is: no. Fdisk comes from a world where even 1G drives were not yet on the horizon. Use gpart. The long answer is readily available in the forums -

Re: How To Get App To Start At Boot?

2013-03-19 Thread Michael Sierchio
On Tue, Mar 19, 2013 at 2:13 PM, Drew Tomlinson d...@mykitchentable.net wrote: I installed Splunk which is not part of the ports tree. It's a proprietary app that I downloaded and installed on it's own. I start it with '/usr/local/splunk/bin/splunk start'. It should also be stopped with

Re: OpenVPN vm cant connect to other VM's

2013-03-11 Thread Michael Sierchio
Are you pushing routes in your server.conf file? (hint - show, don't tell) - M On Wed, Mar 6, 2013 at 2:38 AM, Brent Clark brentgclarkl...@gmail.com wrote: Hi guys Im struggling with a freebsd vm, that I have that I use for a VPN connection too, from my workstation to my home LAN. And I was

Re: dump issue

2013-02-11 Thread Michael Sierchio
Snapshots are not yet supported when running with journaled soft updates: Operation not supported :-( On Mon, Feb 11, 2013 at 7:27 AM, Robert Huff roberth...@rcn.com wrote: Will someone please confirm or deny that (UFS) journaling and dump -L continue to be incompatible?

Re: ZFS - whole disk or partition or BSD slice?

2013-01-27 Thread Michael Sierchio
On Sun, Jan 27, 2013 at 5:36 PM, Shane Ambler free...@shaneware.biz wrote: I recall reading that using partitions for zfs on FreeBSD was as good as full disks. No, it isn't - ZFS can fully utilize disk caches when presented with whole devices. There are possible reasons to create partitions -

Re: time_t definition

2013-01-20 Thread Michael Sierchio
On Sun, Jan 20, 2013 at 8:07 PM, Garance A Drosehn g...@freebsd.org wrote: Yes, this means that the only reliable way to printf a time_t is to use a cast. That has been true for at least a decade. It may be true that you happened to avoid this issue before, but the only *RELIABLE*

Re: time_t definition

2013-01-16 Thread Michael Sierchio
Top posting for brevity - the fact is, the code in your original example is wrong. There are reasons to complain about argument size mismatches, esp. in print functions that call (versions of) malloc. You should cast the time_t value explicitly, or use %d instead of %ld. - M On Wed, Jan 16,

Re: IPFW stopped logging

2013-01-07 Thread Michael Sierchio
On Mon, Jan 7, 2013 at 12:33 PM, Jerry je...@seibercom.net wrote: I have discovered that IPFW stopped logging any messages in the security log over a week ago. I did a reset, etcetera, but without favorable results. I even tried a cold reboot to see if that made any difference; however, it

Re: bsdinstall misaligns partitions

2013-01-04 Thread Michael Sierchio
On Fri, Jan 4, 2013 at 9:14 AM, Christian Weisgerber na...@mips.inka.dewrote: Shouldn't bsdinstall attempt to align partitions on 4k boundaries both for the benefit of 4k drives and flash storage? That's rather up to you. AFAIK it attempts to create partitions that preserve cylinder

Re: SOLVED...Re: Trying to find out how to mount as user

2013-01-02 Thread Michael Sierchio
On Wed, Jan 2, 2013 at 8:47 AM, Leslie Jensen les...@eskk.nu wrote: I was on a wired connection first and the on wifi so I had two different IP-addresses! New question: Instead of having the following in my /etc/exports /backup machine01 machine02 Can I put my internal network as

Re: freebsd-update patches custom /boot/kernel/kernel which it should not

2013-01-02 Thread Michael Sierchio
The confusion comes from the fact that the original behavior of freebsd-update was NOT to update the kernel binaries if a custom kernel was detected. FYI my /etc/freebsd-update.conf has # Components of the base system which should be kept updated. #Components src world kernel Components src

Re: freebsd-update patches custom /boot/kernel/kernel which it should not

2013-01-02 Thread Michael Sierchio
On Wed, Jan 2, 2013 at 11:18 AM, andreas scherrer ascher...@gmail.comwrote: This is no longer true, though it was true at the time that was written... - However, freebsd-update will detect and update the GENERIC kernel in /boot/GENERIC (if it exists), even if it is not the current

Re: FreeBSD Release Date Challenge, plus other stuff the project needs

2012-12-11 Thread Michael Sierchio
On Mon, Dec 10, 2012 at 10:52 PM, Anonymous anonym...@foto.nl1.torservers.net wrote: We, the users of FreeBSD You speak only for yourself. - M PS I'll bet waiters in restaurants spit in your food ___ freebsd-questions@freebsd.org mailing list

Re: FreeBSD Release Date Challenge, plus other stuff the project needs

2012-12-11 Thread Michael Sierchio
The FreeBSD Foundation is not the FreeBSD Project. I encourage you to give to the Foundation, because it exists to support the Project. But the majority of work done on the development and maintenance is not funded by the Foundation - by and large, it is self-funded by contributors, or

Re: VPS FreeBSD Hosting

2012-11-25 Thread Michael Sierchio
Top-posting for brevity. I use EC2. You can start with Colin Percival's HVM instances - I run a Xen kernel using a modified version of his original scheme - which is to have a 1GB Linux partition running grub to boot from a FreeBSD disk. I'm happy to share an AMI with you, but you should try

Re: WARNING: FreeBSD 9.0-RELEASE is approaching its End-of-Life date.

2012-11-15 Thread Michael Sierchio
On Thu, Nov 15, 2012 at 1:57 PM, Matthias Petermann matth...@d2ux.net wrote: Where can I find more information on the planned lifecycles of the current and upcoming releases? Are there any? http://www.freebsd.org/security/ Scroll down about halfway. 9.0 is a regular release, EOL is January

Re: GELI Swap password on boot

2012-11-07 Thread Michael Sierchio
On Wed, Nov 7, 2012 at 4:20 PM, Mike Barnard mike.barna...@gmail.com wrote: Hi, I am running FreeBSD 9.0-RELEASE and I am experiencing some strange behaviour with GELI. Every time I boot up my computer, I get a request to enter the Encryption password for swap. swap is not encrypted and

Re: question for ipfw2 experts

2012-09-24 Thread Michael Sierchio
On Mon, Sep 24, 2012 at 12:35 PM, Darrel levi...@iglou.com wrote: Can someone please send an exmaple of how to properly use tables? Quick, trivial example - this doesn't help you understand tableargs, this is just efficiently to handle a very large list of sparse nets.

Re: Chesar

2012-09-22 Thread Michael Sierchio
On Sat, Sep 22, 2012 at 4:39 AM, Andrea Venturoli m...@netfence.it wrote: Hello. I'm trying to deploy this: http://chesar.echa.europa.eu/ I'm using tomcat7 (but tried tomcat6) and JDK 1.6 (that's the only allowed version). It actually took some effort for me to get a working java/tomcat

Re: What replaces csup?

2012-09-18 Thread Michael Sierchio
We are really behind the curve here. Git assumes (correctly) that disk space is inexpensive, much cheaper per byte than network bandwidth. By the time we adopt SVN completely, every serious project I know of will have moved from subversion to git. ;-) - M On Tue, Sep 18, 2012 at 12:33 AM, Stas

Re: What are negative permissions?

2012-09-16 Thread Michael Sierchio
On Sun, Sep 16, 2012 at 12:50 PM, Matthias Apitz g...@unixarea.de wrote: El día Sunday, September 16, 2012 a las 08:37:48PM +0100, Matthew Seaman escribió: It's where the group ownership of a file gives it fewer permissions than are allowed for the world in general. Suppose you have a

Re: Force disk with old GPT label to be recognized as MBR one

2012-08-30 Thread Michael Sierchio
On Thu, Aug 30, 2012 at 1:54 AM, Виталий Туровец core...@corebug.net wrote: So my question is: how do i force the system to ignore old corrupt GPT header on this hdd, or how do i remove the header, or is there any workaround possible? dd if=/dev/zero of=/dev/ada1 bs=64k

Re: Force disk with old GPT label to be recognized as MBR one

2012-08-30 Thread Michael Sierchio
On Thu, Aug 30, 2012 at 4:18 AM, Виталий Туровец core...@corebug.net wrote: Well, i thought that my need to get files from hdd is easy enough to understand from my original message:) Извините, пожалуйста! ___ freebsd-questions@freebsd.org mailing

Re: /tmp filesystem full

2012-08-22 Thread Michael Sierchio
This will happen automatically if you go to multiuser without a writeable /tmp. See /etc/rc.d/tmp I have a problem with the semantics of the rc scripts for this and var, though - if you are going to use a memory-backed filesystem, you should reserve all the space at the outset. Bad things can

Re: /tmp filesystem full

2012-08-22 Thread Michael Sierchio
On Wed, Aug 22, 2012 at 3:29 PM, RW rwmailli...@googlemail.com wrote: Sorry I misread the previous post which *was* referring to an md device, but the rest is right. Not really. ;-) The one compelling reason to use an md filesystem for /tmp or /var is when you have no swap, and/or your root

Re: /tmp filesystem full

2012-08-22 Thread Michael Sierchio
On Wed, Aug 22, 2012 at 5:43 PM, Polytropon free...@edvax.de wrote: For the mentioned appliances, that would not be a problem. However there's a distinction between /tmp and /var/tmp that can be summarized like this: The content of /tmp may disappear after a reboot (see clear_tmp_enable=YES

Re: /tmp filesystem full

2012-08-22 Thread Michael Sierchio
On Wed, Aug 22, 2012 at 7:17 PM, RW rwmailli...@googlemail.com wrote: tmpfs and swap md devices don't actually need swap. I don't seen any advantage in your way of creating an md device for /tmp. Then you don't understand. ;-) The advantage of my approach is avoiding a kernel panic when

Re: How to keep freebsd-update from trashing custom kernel?

2012-08-13 Thread Michael Sierchio
On Mon, Aug 13, 2012 at 9:35 AM, Brett Glass br...@lariat.net wrote: Actually, freebsd-update is claimed to respect custom kernels. ... And it does, in my experience. If the hash of the kernel doesn't match that of the distribution (or recent update), freebsd-update leaves it alone.

Re: How to keep freebsd-update from trashing custom kernel?

2012-08-13 Thread Michael Sierchio
On Mon, Aug 13, 2012 at 1:07 PM, Brett Glass br...@lariat.net wrote: At 11:33 AM 8/13/2012, Michael Sierchio wrote: And it does, in my experience. If the hash of the kernel doesn't match that of the distribution (or recent update), freebsd-update leaves it alone. That is what I thought

Re: Mounting raw disk backup file.

2012-08-06 Thread Michael Sierchio
On Sun, Aug 5, 2012 at 11:12 PM, Matthew Navarre navarre.matt...@gmail.comwrote: I had a drive fail recently, it was working fine until I rebooted. After that the partition map was corrupt and I can't mount either partition on the disk. So I made a copy of the whole disk using dd to an old

Re: Why can't I set my cpu type in kernel config ?

2012-08-06 Thread Michael Sierchio
make LINT vi LINT On Mon, Aug 6, 2012 at 4:53 PM, Jason Usher jushe...@yahoo.com wrote: I am installing 8.3-RELEASE on an old 900mhz pentium laptop ... it's an i686 CPU. By default, GENERIC has HAMMER as the cpu, and that isn't working. So I tried both: cpu I586_CPU and: cpu

Re: geli - selecting cipher

2012-07-26 Thread Michael Sierchio
On Thu, Jul 26, 2012 at 8:47 AM, Ivan Voras ivo...@freebsd.org wrote: You didn't get an answer because in security, the answer depends on exact circumstances of use. The short answer is that if you don't have a specific adversary you need to protect your data from, I'd say that GELI's CBC is

Re: geli - selecting cipher

2012-07-25 Thread Michael Sierchio
On Wed, Jul 25, 2012 at 11:57 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: i need high speed disk encryption (many disks running in parallel, lots of I'm not cryptography expert, is CBC somehow less secure, and if so is it really a problem? XTS-AES is a standard devised

Re: Does FreeBSD start slices at head boundaries?

2012-07-06 Thread Michael Sierchio
On Fri, Jul 6, 2012 at 11:58 AM, Eitan Adler li...@eitanadler.com wrote: Slices isn't the old way. There is no perf advantage for dedicated disks. Maybe you get a few kb of extra space. Don't do it. http://www.unixguide.net/freebsd/faq/09.03.shtml That is EXTREMELY old advice. The general

Re: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Michael Sierchio
On Mon, Jun 11, 2012 at 7:04 PM, Walter Hurry walterhu...@gmail.com wrote: As the subject says, this is probably a newbie question (I am new to FreeBSD but quite experienced at Linux). FreeBSD9 on x86_64. Cron is running: $ ps -ax|grep cron  1513  ??  Is     0:00.01 /usr/sbin/cron -s  

Re: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Michael Sierchio
On Mon, Jun 11, 2012 at 7:25 PM, Walter Hurry walterhu...@gmail.com wrote: cat /etc/shells ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: note

2012-06-11 Thread Michael Sierchio
On Mon, Jun 11, 2012 at 8:36 PM, Arlen McIntyre fallofz...@gmail.com wrote:   I cannot afford to buy FreeBSD. Dada is not dead! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-10 Thread Michael Sierchio
On Sun, Jun 10, 2012 at 9:31 AM, Bruce Cran br...@cran.org.uk wrote: Does Intel control AMD too? Last I checked there are plenty of AMD machines in major stores and they come with Windows too. So... attempting to bring reason into the argument? That won't do, I'm afraid. ;-)

Re: ran out of inodes on /var, recommended value?

2012-06-09 Thread Michael Sierchio
On Sat, Jun 9, 2012 at 6:22 AM, Gary Aitken free...@dreamchaser.org wrote: I reconfigured my ssd filesystem with the /var partition of size 512M.   Unfortunately, something in portsnap or the ports tree in general uses a boatload of small files, and i ran out of inodes.  Can anyone recommend

Re: Proper Port Forwarding

2012-06-07 Thread Michael Sierchio
On Thu, Jun 7, 2012 at 10:15 AM, Michael Powell nightre...@hotmail.com wrote: There is also this you can place in /etc/sysctl.conf: net.inet.tcp.fast_finwait2_recycle=1 Good catch. The defaults are perhaps not ideal in all cases: net.inet.tcp.finwait2_timeout: 6 - ms, ten minutes

Re: Proper Port Forwarding

2012-06-07 Thread Michael Sierchio
On Thu, Jun 7, 2012 at 10:27 AM, Michael Sierchio ku...@tenebras.com wrote: net.inet.tcp.finwait2_timeout: 6  - ms, ten minutes I can't do arithmetic, but you get the idea. A full minute. ___ freebsd-questions@freebsd.org mailing list http

Re: find date of last boot

2012-06-07 Thread Michael Sierchio
On Thu, Jun 7, 2012 at 7:34 PM, Polytropon free...@edvax.de wrote: Maybe introducing something along the /etc/rc execution? An /etc/rc.local entry like        /bin/date +%Y-%m-%d %H:%M:%S /var/log/thisboot.log and then just look at the file. Requires at least one reboot to take effect.

Re: Proper Port Forwarding

2012-06-06 Thread Michael Sierchio
On Wed, Jun 6, 2012 at 11:31 AM, Simon si...@optinet.com wrote: This easily causes DoS for when too many FIN_WAIT_2 are created and IPFW stops forwarding using the rule above because of too many dynamic rules Change the defaults for the fw.dyn sysctl MIB nodes to something like

Re: Clock lagging behind on FreeBSD 9.0-RELEASE under KVM

2012-06-05 Thread Michael Sierchio
Try machdep.independent_wallclock=1 On Tue, Jun 5, 2012 at 8:08 AM, Martin Dimitrov martin.dimit...@mafiainc.org wrote: Hi, I am new to FreeBSD, decided to migrate a web server to FreeBSD. I recently both a VPS that claim to use KVM as a virtualization service, I don't know the details of

Re: Anyone using freebsd ZFS for large storage servers?

2012-06-02 Thread Michael Sierchio
On Sat, Jun 2, 2012 at 7:44 PM, Daniel Staal dst...@usa.net wrote: I will agree that ZFS could use a good worst-case scenario 'fsck' like tool. Worst-case scenario? That's when fsck doesn't work. Quickly followed by a sinking feeling. ZFS can be a complicated beast: It's not the best choice

Re: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Michael Sierchio
On Fri, Jun 1, 2012 at 7:35 AM, Polytropon free...@edvax.de wrote: I do _not_ want to try to claim a ZFS inferiority due to missing backups, but there may be occassions where (except performance), low-level file system aspects of UFS might be superior to using ZFS. If you have an operational

Re: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Michael Sierchio
On Fri, Jun 1, 2012 at 8:16 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Better=random read performance of single drive. What an entirely useless performance measure! Maybe you should restrict yourself to using SSDs, which have rather unbeatable random read performance - the

Re: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Michael Sierchio
On Fri, Jun 1, 2012 at 8:08 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: ZFS is somehow in that part similar to Amiga Fast File System. when you overwrite a directory block (by hardware fault for example), everything below that directory will disappear. You may not be even aware

Re: ipfw subnetting

2012-05-21 Thread Michael Sierchio
On Mon, May 21, 2012 at 8:30 AM, Paul Macdonald p...@ifdnrg.com wrote: A very open firewall test script is as follows: 00010 allow ip from any to any via lo0 00081 deny log ip from 180.0.0.0/8 to any 00100 check-state You don't need the following 00101 allow tcp from any to any established

Re: ipfw subnetting

2012-05-21 Thread Michael Sierchio
On Mon, May 21, 2012 at 10:19 AM, Paul Macdonald p...@ifdnrg.com wrote: this is now resolved, i hadn't realised (embarrassingly) that ipfw list will show rules if if the fw is disabled. You should consider using tables, which allow you to add ad hoc nets, etc. and you can swap rulesets

Re: file permission template

2012-05-12 Thread Michael Sierchio
man sh (or man csh) - look for 'umask' On Sat, May 12, 2012 at 7:37 AM, fake fake four.troublesome.he...@gmail.com wrote: I need a sort of file permission template. Under some particular directory (like ~/secret), I need all those files (including newly creating one) mode 700. Is there any

Re: User can't login but /etc/(master.)passwd OK

2012-05-09 Thread Michael Sierchio
On Wed, May 9, 2012 at 8:03 AM, Robert Bonomi bon...@mail.r-bonomi.com wrote: Details are *IMPORTANT* grin What's the user's shell in the password file, and does that shell: exist? executable? In the /etc/shells file? ___

Re: Adding a Static Route to rc.conf?

2012-05-03 Thread Michael Sierchio
On Thu, May 3, 2012 at 11:17 AM, Noel noeld...@gmail.com wrote: Indeed, I should have mentioned that if you have freebsd-8x or earlier, this feature isn't built-in but can be easily added:

Re: newfs create to little inodes

2012-04-16 Thread Michael Sierchio
On Mon, Apr 16, 2012 at 10:46 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Does newfs always must create sufficient count of inodes? or I must supply some addition options when creating FS? yes man newfs (-i option) There are many use cases for a filesystem - if you have

Re: shutdown -p doesn't power-off USB

2012-03-31 Thread Michael Sierchio
That would be something in the BIOS settings, probably... On Sat, Mar 31, 2012 at 8:38 AM, Jens Schweikhardt schwe...@schweikhardt.net wrote: hello world\n I'm running 9-STABLE/amd64 and for a few months now, whenever I shut down with shutdown -p now, the USB devices still have power. This

Re: Editor With NO Shell Access?

2012-03-12 Thread Michael Sierchio
There are two edits to make to ex_shell.c in /usr/src/contrib/nvi/ex that will prevent a shell from being executed. 99,100c return (1); . 48,51c return (1); . On Mon, Mar 12, 2012 at 4:59 PM, David Brodbeck g...@gull.us wrote: On Mon, Mar 12, 2012 at 7:19 PM, Tim Daneliuk

Re: semi OT: correct CIDR block?

2012-03-05 Thread Michael Sierchio
ipsc, from packages or ports, is very useful. ipsc -gch 10.0.0.32/27 Network class:A Network mask: 255.0.0.0 Network mask (hex): FF00 Network address: 10.0.0.32 Subnet bits: 19 Max subnets: 524288 Full subnet mask:

Re: odd SDcard behaviour in freebsd-9.0-R

2012-02-27 Thread Michael Sierchio
Forgive the naive question, but on one of my Nikons, it is possible to present the device itself, or the SD card as a USD drive. Which are you doing? No doubt there is no driver for the D50 in the kernel, but the generic umass driver should handle the device. On Mon, Feb 27, 2012 at 9:47 AM,

Re: Cloning a FreeBSD system

2012-02-27 Thread Michael Sierchio
On Mon, Feb 27, 2012 at 10:21 AM, Damien Fleuriot m...@my.gd wrote: ssh-keygen(1) is the typical method. Or just delete the existing keys and sshd will recreate them at first boot ;) No, sshd will not create the keys. They are created by /etc/rc.d/sshd, which invokes ssh-keygen if it

Re: /usr/home vs /home (was: Re: One or Four?)

2012-02-18 Thread Michael Sierchio
man hier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: /usr/home vs /home (was: Re: One or Four?)

2012-02-18 Thread Michael Sierchio
On Sat, Feb 18, 2012 at 3:10 PM, Daniel Staal dst...@usa.net wrote: --As of February 18, 2012 2:46:32 PM -0800, Michael Sierchio is alleged to have said: man hier True, but /usr/... was a typical place to find users' home directories, since /usr is mounted when the system goes

Re: RIP routing protocol implementation is FreeBSD?

2012-01-30 Thread Michael Sierchio
On Mon, Jan 30, 2012 at 10:33 AM, Kaya Saman kayasa...@gmail.com wrote: Hi there, does anyone know if there's an implementation of the RIP version 2 routing protocol in FreeBSD??? man routed The routed utility is a daemon invoked at boot time to manage the network routing tables.

Re: * Re: Horrible installer

2012-01-21 Thread Michael Sierchio
On Fri, Jan 20, 2012 at 11:13 PM, Chad Perrin per...@apotheon.com wrote: ... On the other hand, bsdinstall does get the job done, at least for my purposes.  It just does so in a way that feels a bit more straightjacketed, and it rubs me personally a bit the wrong way.  ... From my

Re: Horrible installer

2012-01-20 Thread Michael Sierchio
I've been using FreeBSD since 2.2.1, and IMHO, the 9.0 installer SUX! It blow chunks. It's a POS. It's crap. It is a joke. I hope I made myself clear. ;-) - M ___ freebsd-questions@freebsd.org mailing list

Re: Horrible installer

2012-01-20 Thread Michael Sierchio
On Fri, Jan 20, 2012 at 9:15 PM, Lyubomir Grigorov lyubo...@grigorovl.eu wrote: Just to give thoughts as a younger user... Also, there was plently of time during RC to discuss this, I don't see why you all cry right now. To me, it seems you are afraid of change and getting out of your comfort

Re: pf not seeing inbound packets on netgraph interface

2012-01-04 Thread Michael Sierchio
man 4 enc On Tue, Jan 3, 2012 at 8:30 PM, Edward Carrel aza...@carrel.org wrote: On Jan 3, 2012, at 12:12 AM, Damien Fleuriot wrote: Thinking -pf@ or -net@ would be a better place to discuss this, more chances of getting an answer. I was wondering about that. I'll send my question to -net@

Re: FLAME - security advisories on the 23rd ? uncool idea is uncool

2011-12-24 Thread Michael Sierchio
Careful reading, as opposed to blindly applying updates, is often rewarded. If you aren't running telnetd, it follows that you are not vulnerable to the most serious exploit addressed by the patch (remote root). I have had no trouble since applying the patch to 7.4 and 8.2 systems. YMMV. Given

Re: restore(8) to UFS on USB key: terrible slow

2011-12-09 Thread Michael Sierchio
Cheap USB drives, and even many CF drives, aren't much good as random read-write devices. On my Soekris boxen I run FreeBSD, and mount the root filesystem rw,noatime. And I don't write to it. ;-) /var is a memory filesystem, there /var/db/... contain symbolic links to /usr/local/db/.. because

  1   2   >