[Trouble Ticket #190268] AutoReply: freebsd-questions Digest, Vol 246, Issue 25

AEBC Support via RT support at aebc.com
Tue Jan 20 20:31:16 PST 2009


Thank you for contacting us.

This message has been automatically generated in response to the creation of a trouble ticket regarding:

	"freebsd-questions Digest, Vol 246, Issue 25", 

a summary of which appears below.

There is no need to reply to this message right now.  Your ticket has been
assigned an ID of [Trouble Ticket #190268].

Please include the string:

         [Trouble Ticket #190268]

in the subject line of all future correspondence about this issue. To do so, 
you may reply to this message.

Thank you,
support at aebc.com

-------------------------------------------------------------------------
Send freebsd-questions mailing list submissions to
	freebsd-questions at freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
	freebsd-questions-request at freebsd.org

You can reach the person managing the list at
	freebsd-questions-owner at freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."


Today's Topics:

   1. [Trouble Ticket #190165] AutoReply: freebsd-questions Digest,
      Vol 246, Issue 24  (AEBC Support via RT)
   2. Newbie: offline package use / XFCE. (Thomas W. Holloway)
   3. Re: Newbie: offline package use / XFCE. (Manolis Kiagias)
   4. Motherboard support (Graeme Dargie)
   5. Re: fdisk -B (Robert Marella)
   6. Way to prune/limit the ZFS zpool history? (Geoff Fritz)
   7. Re: Newbie: offline package use / XFCE. (Polytropon)
   8. Re: Newbie: offline package use / XFCE. (Peter Ulrich Kruppa)
   9. Re: Way to prune/limit the ZFS zpool history? (Dan Nelson)
  10. Re: Edit user groups (Tim Judd)
  11. Re: unable to logon after updating ports collection - Freebsd
      7.1 stable (Tim Judd)


----------------------------------------------------------------------

Message: 1
Date: Tue, 20 Jan 2009 14:29:26 -0800
From: "AEBC Support via RT" <support at aebc.com>
Subject: [Trouble Ticket #190165] AutoReply: freebsd-questions Digest,
	Vol 246, Issue 24 
To: freebsd-questions at freebsd.org
Message-ID:
	<rt-3.8.2-23288-1232490566-1972.190165-3-0 at tracker2.aebc.com>
Content-Type: text/plain; charset="utf-8"


Thank you for contacting us.

This message has been automatically generated in response to the creation of a trouble ticket regarding:

	"freebsd-questions Digest, Vol 246, Issue 24", 

a summary of which appears below.

There is no need to reply to this message right now.  Your ticket has been
assigned an ID of [Trouble Ticket #190165].

Please include the string:

         [Trouble Ticket #190165]

in the subject line of all future correspondence about this issue. To do so, 
you may reply to this message.

Thank you,
support at aebc.com

-------------------------------------------------------------------------
Send freebsd-questions mailing list submissions to
	freebsd-questions at freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
	freebsd-questions-request at freebsd.org

You can reach the person managing the list at
	freebsd-questions-owner at freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."


Today's Topics:

   1. Permanent Delivery Failure (MDaemon at mail.mcitsh.com)
   2. Permanent Delivery Failure (MDaemon at mail.mcitsh.com)
   3. Permanent Delivery Failure (MDaemon at mail.mcitsh.com)
   4. Re: slices to "dangerously dedicated" (Jerry McAllister)
   5. Re: Edit user groups (Jerry McAllister)
   6. Re: Edit user groups (Steve Bertrand)
   7. fdisk -B (Robert)
   8. Re: Edit user groups (Bill Moran)
   9. [Trouble Ticket #190137] AutoReply: freebsd-questions Digest,
      Vol 246, Issue 23  (AEBC Support via RT)
  10. Re: Edit user groups (Akenner)
  11. Re: slices to "dangerously dedicated" (Wojciech Puchar)
  12. Re: fdisk -B (Wojciech Puchar)
  13. Re: slices to "dangerously dedicated" (Maxim Khitrov)
  14. Re: switching bsdlabel's label (Wojciech Puchar)
  15. Re: Edit user groups (Clifton Royston)


----------------------------------------------------------------------

Message: 1
Date: Wed, 21 Jan 2009 02:45:01 +0700
From: "MDaemon at mail.mcitsh.com"  <MDaemon at mail.mcitsh.com>
Subject: Permanent Delivery Failure
To: questions at freebsd.org
Message-ID: <MDAEMON7375200901210245.AA4501921 at mail.mcitsh.com>
Content-Type: text/plain; charset="iso-8859-1"

The attached message had PERMANENT fatal delivery errors!

After one or more unsuccessful delivery attempts the attached message has
been removed from the mail queue on this server.  The number and frequency
of delivery attempts are determined by local configuration parameters.

YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS!

Failed address: vodete at lpqa.info

--- Session Transcript ---
 Wed 2009-01-21 02:45:01: Parsing message <xxxxxxxxxxxxxxxxxxxxxxxx\pd50000582628.msg>
 Wed 2009-01-21 02:45:01: *  From: questions at freebsd.org
 Wed 2009-01-21 02:45:01: *  To: vodete at lpqa.info
 Wed 2009-01-21 02:45:01: *  Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?=
 Wed 2009-01-21 02:45:01: *  Message-ID: <005001c97b9c$ff77b363$d3a58f0c at ejhqluzrpz>
 Wed 2009-01-21 02:45:01: Attempting SMTP connection to [lpqa.info]
 Wed 2009-01-21 02:45:01: Resolving MX records for [lpqa.info] (DNS Server: 203.146.251.198)...
 Wed 2009-01-21 02:45:01: *  Name server reports domain name unknown
 Wed 2009-01-21 02:45:01: Attempting SMTP connection to [lpqa.info:25]
 Wed 2009-01-21 02:45:01: Resolving A record for [lpqa.info] (DNS Server: 203.146.251.198)...
 Wed 2009-01-21 02:45:01: *  Name server reports domain name unknown
--- End Transcript ---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 4712 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/33402081/attachment-0001.obj

------------------------------

Message: 2
Date: Wed, 21 Jan 2009 02:45:07 +0700
From: "MDaemon at mail.mcitsh.com"  <MDaemon at mail.mcitsh.com>
Subject: Permanent Delivery Failure
To: questions at freebsd.org
Message-ID: <MDAEMON7379200901210245.AA4507000 at mail.mcitsh.com>
Content-Type: text/plain; charset="iso-8859-1"

The attached message had PERMANENT fatal delivery errors!

After one or more unsuccessful delivery attempts the attached message has
been removed from the mail queue on this server.  The number and frequency
of delivery attempts are determined by local configuration parameters.

YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS!

Failed address: vodeneev at ua.fm

--- Session Transcript ---
 Wed 2009-01-21 02:45:01: Parsing message <xxxxxxxxxxxxxxxxxxxxxxxx\pd50000582629.msg>
 Wed 2009-01-21 02:45:01: *  From: questions at freebsd.org
 Wed 2009-01-21 02:45:01: *  To: vodeneev at ua.fm
 Wed 2009-01-21 02:45:01: *  Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?=
 Wed 2009-01-21 02:45:01: *  Message-ID: <005001c97b9c$ff77b363$d3a58f0c at ejhqluzrpz>
 Wed 2009-01-21 02:45:01: Attempting SMTP connection to [ua.fm]
 Wed 2009-01-21 02:45:01: Resolving MX records for [ua.fm] (DNS Server: 203.146.251.198)...
 Wed 2009-01-21 02:45:01: *  P=005 S=002 D=ua.fm TTL=(198) MX=[mx3.ua.fm] {91.197.130.8}
 Wed 2009-01-21 02:45:01: *  P=010 S=003 D=ua.fm TTL=(198) MX=[mx4.ua.fm] {91.198.36.33}
 Wed 2009-01-21 02:45:01: *  P=020 S=000 D=ua.fm TTL=(198) MX=[mx1.ua.fm] {91.198.36.11}
 Wed 2009-01-21 02:45:01: *  P=020 S=001 D=ua.fm TTL=(198) MX=[mx2.ua.fm] {91.198.36.8}
 Wed 2009-01-21 02:45:01: Attempting SMTP connection to [91.197.130.8:25]
 Wed 2009-01-21 02:45:01: Waiting for socket connection...
 Wed 2009-01-21 02:45:01: *  Connection established (127.0.0.1:3016 -> 91.197.130.8:25)
 Wed 2009-01-21 02:45:01: Waiting for protocol to start...
 Wed 2009-01-21 02:45:02: <-- 220 out01.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 21:44:42 +0200
 Wed 2009-01-21 02:45:02: --> HELO mail.mcitsh.com
 Wed 2009-01-21 02:45:03: <-- 250 out01.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138]
 Wed 2009-01-21 02:45:03: --> MAIL From:<questions at freebsd.org>
 Wed 2009-01-21 02:45:03: <-- 250 OK
 Wed 2009-01-21 02:45:03: --> RCPT To:<vodeneev at ua.fm>
 Wed 2009-01-21 02:45:04: <-- 550 User not found. See http://mail.i.ua/err/2/
 Wed 2009-01-21 02:45:04: --> QUIT
--- End Transcript ---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 4708 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/97504636/attachment-0001.obj

------------------------------

Message: 3
Date: Wed, 21 Jan 2009 02:45:22 +0700
From: "MDaemon at mail.mcitsh.com"  <MDaemon at mail.mcitsh.com>
Subject: Permanent Delivery Failure
To: questions at freebsd.org
Message-ID: <MDAEMON7395200901210245.AA4522671 at mail.mcitsh.com>
Content-Type: text/plain; charset="iso-8859-1"

The attached message had PERMANENT fatal delivery errors!

After one or more unsuccessful delivery attempts the attached message has
been removed from the mail queue on this server.  The number and frequency
of delivery attempts are determined by local configuration parameters.

YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS!

Failed address: vodgosp at carrier.kiev.ua

--- Session Transcript ---
 Wed 2009-01-21 02:45:01: Parsing message <xxxxxxxxxxxxxxxxxxxxxxxx\pd50000582627.msg>
 Wed 2009-01-21 02:45:01: *  From: questions at freebsd.org
 Wed 2009-01-21 02:45:01: *  To: vodgosp at carrier.kiev.ua
 Wed 2009-01-21 02:45:01: *  Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?=
 Wed 2009-01-21 02:45:01: *  Message-ID: <005001c97b9c$ff77b363$d3a58f0c at ejhqluzrpz>
 Wed 2009-01-21 02:45:01: Attempting SMTP connection to [carrier.kiev.ua]
 Wed 2009-01-21 02:45:01: Resolving MX records for [carrier.kiev.ua] (DNS Server: 203.146.251.198)...
 Wed 2009-01-21 02:45:01: *  P=010 S=000 D=carrier.kiev.ua TTL=(3) MX=[mx.lucky.net] {62.244.55.219}
 Wed 2009-01-21 02:45:01: *  P=010 S=001 D=carrier.kiev.ua TTL=(3) MX=[mx.lucky.net] {193.193.193.137} multi-homed
 Wed 2009-01-21 02:45:01: *  P=010 S=002 D=carrier.kiev.ua TTL=(3) MX=[mx.lucky.net] {62.244.55.218} multi-homed
 Wed 2009-01-21 02:45:01: Attempting SMTP connection to [62.244.55.219:25]
 Wed 2009-01-21 02:45:01: Waiting for socket connection...
 Wed 2009-01-21 02:45:01: *  Connection established (127.0.0.1:3013 -> 62.244.55.219:25)
 Wed 2009-01-21 02:45:01: Waiting for protocol to start...
 Wed 2009-01-21 02:45:16: <-- 220 c.mx.lucky.net ESMTP (incoming mail server) Tue, 20 Jan 2009 21:45:02 +0200 (EET)
 Wed 2009-01-21 02:45:16: --> HELO mail.mcitsh.com
 Wed 2009-01-21 02:45:17: <-- 250 c.mx.lucky.net Hello mail.mcitsh.com [202.93.61.138], pleased to meet you
 Wed 2009-01-21 02:45:17: --> MAIL From:<questions at freebsd.org>
 Wed 2009-01-21 02:45:18: <-- 250 2.1.0 <questions at freebsd.org>... Sender ok
 Wed 2009-01-21 02:45:18: --> RCPT To:<vodgosp at carrier.kiev.ua>
 Wed 2009-01-21 02:45:18: <-- 550 5.1.1 <vodgosp at carrier.kiev.ua>... User unknown
 Wed 2009-01-21 02:45:18: --> QUIT
--- End Transcript ---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 4726 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/6a2fb352/attachment-0001.obj

------------------------------

Message: 4
Date: Tue, 20 Jan 2009 15:24:08 -0500
From: Jerry McAllister <jerrymc at msu.edu>
Subject: Re: slices to "dangerously dedicated"
To: Robert Huff <roberthuff at rcn.com>
Cc: questions at freebsd.org
Message-ID: <20090120202408.GA57664 at gizmo.acns.msu.edu>
Content-Type: text/plain; charset=us-ascii

On Tue, Jan 20, 2009 at 02:47:24PM -0500, Robert Huff wrote:

> 
> 	Suppose I have a disk which was - for various reasons - lebeled
> using slices.
> 	Is it possible to change it to "dangerously dedicated" without
> backup-wipe-relabel-restore cycle?
> 

Not really.    And why would you want to?
Just leave it.   You will gain nothing by the change.  

////jerry


> 
> 					Robert Huff
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


------------------------------

Message: 5
Date: Tue, 20 Jan 2009 15:28:27 -0500
From: Jerry McAllister <jerrymc at msu.edu>
Subject: Re: Edit user groups
To: Akenner <SlackWareWolf at comcast.net>
Cc: questions at freebsd.org
Message-ID: <20090120202827.GB57664 at gizmo.acns.msu.edu>
Content-Type: text/plain; charset=us-ascii

On Tue, Jan 20, 2009 at 03:09:16PM -0500, Akenner wrote:

> Hi,
> 
> I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. 
> I made about 4 for myself to use and do various testing with, and made 
> some for my Wife as well because She knows UNIX better than I do anyway heh.
> 
> Anyway, one of the things I forgot about, was that FreeBSD by default 
> doesn't allow just anyone to use su.
> 
> I come from mainly using Linux, where you can log in and then whenever 
> you need to open a root xterm or even a root shell, you just type the 
> password and go. I looked up how to do this but most of my results came 
> back with setting up user accounts, and other things. I did add another 
> user that was in the wheel group so I could do it, but I'd really like 
> to be able to add my main user account to the wheel group so I can su 
> from this one instead of doing su otheruser and then su again to root.
> 
> I found while searching for this something that MIGHT be what I'm 
> looking for, but after reading it over, it seems I'd have to read 
> through the whole man page first and then, it could be bad if I mistype 
> something, or I could even screw up an account, which I can't risk.
> 
> Is there an exact way to take a user account on my system, and add it to 
> the wheel group?

Just edit the /etc/group file and put that user in that group.
That is the normal way of doing it.
I would not suggest making wheel be the primary group for any
other than root accounts.

////jerry


> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


------------------------------

Message: 6
Date: Tue, 20 Jan 2009 15:31:09 -0500
From: Steve Bertrand <steve at ibctech.ca>
Subject: Re: Edit user groups
To: Akenner <SlackWareWolf at comcast.net>
Cc: questions at freebsd.org
Message-ID: <4976348D.4010502 at ibctech.ca>
Content-Type: text/plain; charset=ISO-8859-1

Akenner wrote:
> Hi,
> 
> I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up.
> I made about 4 for myself to use and do various testing with, and made
> some for my Wife as well because She knows UNIX better than I do anyway
> heh.
> 
> Anyway, one of the things I forgot about, was that FreeBSD by default
> doesn't allow just anyone to use su.
> 
> I come from mainly using Linux, where you can log in and then whenever
> you need to open a root xterm or even a root shell, you just type the
> password and go. I looked up how to do this but most of my results came
> back with setting up user accounts, and other things. I did add another
> user that was in the wheel group so I could do it, but I'd really like
> to be able to add my main user account to the wheel group so I can su
> from this one instead of doing su otheruser and then su again to root.
> 
> I found while searching for this something that MIGHT be what I'm
> looking for, but after reading it over, it seems I'd have to read
> through the whole man page first and then, it could be bad if I mistype
> something, or I could even screw up an account, which I can't risk.
> 
> Is there an exact way to take a user account on my system, and add it to
> the wheel group?

Yes.

# ee /etc/group

...and add your username to the list of users after the wheel group. For
instance, by default, the entry will appear as such:

wheel:*:0:root

...and if my username is steve, you will append the line like this:

wheel:*:0:root,steve

...then hit ESC, then ENTER twice.

Steve


------------------------------

Message: 7
Date: Tue, 20 Jan 2009 12:28:30 -0800
From: Robert <traveling08 at cox.net>
Subject: fdisk -B
To: freebsd-questions at freebsd.org <freebsd-questions at freebsd.org>
Message-ID: <20090120122830.096ca40e at debian.shasta204.local>
Content-Type: text/plain; charset=US-ASCII

I have a server that has five drives in it. Two drives ad4 and ad6 are
arranged with gmirror as the operating system (7.1 Stable). The FreeBSD
boot manager is installed for this mirror and I would like to remove it
and use the standard FreeBSD MBR ...without messing anything up. 

Can I perform the fdisk -B /dev/ad4 followed by fdisk -B /dev/ad6 from
a livefs disk? Maybe fdisk -B /dev/mirror/gm0?

I have backups but everything is running very nice right now. I don't
reboot very often but I _would_ like to get rid of the boot manager

Thank you

Robert


------------------------------

Message: 8
Date: Tue, 20 Jan 2009 15:28:35 -0500
From: Bill Moran <wmoran at potentialtech.com>
Subject: Re: Edit user groups
To: Akenner <SlackWareWolf at comcast.net>
Cc: questions at freebsd.org
Message-ID: <20090120152835.aea0b37d.wmoran at potentialtech.com>
Content-Type: text/plain; charset=US-ASCII

In response to Akenner <SlackWareWolf at comcast.net>:

> Hi,
> 
> I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. 
> I made about 4 for myself to use and do various testing with, and made 
> some for my Wife as well because She knows UNIX better than I do anyway heh.
> 
> Anyway, one of the things I forgot about, was that FreeBSD by default 
> doesn't allow just anyone to use su.
> 
> I come from mainly using Linux, where you can log in and then whenever 
> you need to open a root xterm or even a root shell, you just type the 
> password and go. I looked up how to do this but most of my results came 
> back with setting up user accounts, and other things. I did add another 
> user that was in the wheel group so I could do it, but I'd really like 
> to be able to add my main user account to the wheel group so I can su 
> from this one instead of doing su otheruser and then su again to root.
> 
> I found while searching for this something that MIGHT be what I'm 
> looking for, but after reading it over, it seems I'd have to read 
> through the whole man page first and then, it could be bad if I mistype 
> something, or I could even screw up an account, which I can't risk.
> 
> Is there an exact way to take a user account on my system, and add it to 
> the wheel group?

man pw

Specifically:
pw usermod -n username -G wheel
or
pw groupmod -n wheel -m username

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/


------------------------------

Message: 9
Date: Tue, 20 Jan 2009 12:24:31 -0800
From: "AEBC Support via RT" <support at aebc.com>
Subject: [Trouble Ticket #190137] AutoReply: freebsd-questions Digest,
	Vol 246, Issue 23 
To: freebsd-questions at freebsd.org
Message-ID:
	<rt-3.8.2-24796-1232483070-1333.190137-3-0 at tracker2.aebc.com>
Content-Type: text/plain; charset="utf-8"


Thank you for contacting us.

This message has been automatically generated in response to the creation of a trouble ticket regarding:

	"freebsd-questions Digest, Vol 246, Issue 23", 

a summary of which appears below.

There is no need to reply to this message right now.  Your ticket has been
assigned an ID of [Trouble Ticket #190137].

Please include the string:

         [Trouble Ticket #190137]

in the subject line of all future correspondence about this issue. To do so, 
you may reply to this message.

Thank you,
support at aebc.com

-------------------------------------------------------------------------
Send freebsd-questions mailing list submissions to
	freebsd-questions at freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
	freebsd-questions-request at freebsd.org

You can reach the person managing the list at
	freebsd-questions-owner at freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."


Today's Topics:

   1. Re: unable to logon after updating ports collection - Freebsd
      7.1	stable (Boris Samorodov)
   2. Re: unable to logon after updating ports collection - Freebsd
      7.1  stable (Bert-Jan)
   3. Re: tar fails on FreeBSD 7 and passes on FreeBSD 6 for the
      same	input (David Wolfskill)
   4. Re: Large raid arrays (Matias Surdi)
   5. Portupgrade thru SSH session (Jos Chrispijn)
   6. Re: kvm switch (Mike Clarke)
   7. Re: Portupgrade thru SSH session (Josh Carroll)
   8. Re: Portupgrade thru SSH session (Ron Wilhoite)
   9. stable-supfile --> freebsd-update (Roy Stuivenberg)
  10. How to auto-logout after XXX idle? (lhmwzy)
  11. telnet to mbmon (DA Forsyth)
  12. Re: Large raid arrays (Wojciech Puchar)
  13. Re: Large raid arrays (Wojciech Puchar)
  14. switching bsdlabel's label (Eduardo Meyer)
  15. Re: Large raid arrays (Matias Surdi)
  16. NetBSD networking question (Shawn Hoffman)
  17. Re: switching bsdlabel's label (Patrick M. Hausen)
  18. Strange nvidia GeForce 9800GT--harddrive conflict? (Jakub T)
  19. Permanent Delivery Failure (MDaemon at mail.mcitsh.com)
  20. Re: switching bsdlabel's label (Eduardo Meyer)
  21. ASL 2.0 based software contribution to FreeBSD code base
      (Saifi Khan)
  22. Re: switching bsdlabel's label (David Wolfskill)
  23. Re: switching bsdlabel's label (Jerry McAllister)
  24. Re: Cannot perform user mounts after upgrade (Lowell Gilbert)
  25. Re: DUMP: read error: Bad address (Lowell Gilbert)
  26. Re: Port 7070 (Lowell Gilbert)
  27. Re: NetBSD networking question (Andrew Gould)
  28. Re: Cannot perform user mounts after upgrade (Roland Smith)
  29. Re: DUMP: read error: Bad address (Chris Jones)
  30. slices to "dangerously dedicated" (Robert Huff)
  31. Re: slices to "dangerously dedicated" (Chuck Swiger)
  32. Edit user groups (Akenner)
  33. Permanent Delivery Failure (MDaemon at mail.mcitsh.com)


----------------------------------------------------------------------

Message: 1
Date: Tue, 20 Jan 2009 15:45:38 +0300
From: Boris Samorodov <bsam at ipt.ru>
Subject: Re: unable to logon after updating ports collection - Freebsd
	7.1	stable
To: "Roy Stuivenberg" <roys1012 at gmail.com>
Cc: freebsd-questions at freebsd.org
Message-ID: <47622685 at ipt.ru>
Content-Type: text/plain; charset=us-ascii

"Roy Stuivenberg" <roys1012 at gmail.com> writes:

> After I completed my Freebsd 7.1 stable, and updated all the ports, I got
> prompted with another logonscreen.
> Whatever I try, I can't login with my useraccount and even not logon as
> root.
> This happened severall times now, the only way was to reinstall everything,
> and I was hoping to resolve this by completly finish upgrading the ports.
> And .. again the same problem.
> I'm really hoping to get some answers that will solve this problem, maybe
> someone had to deal with this  issue before ??
> I will not give up, because Freebsd stole my heart.

The problem has nothing to do with ports. To restore your root/user logins:
. boot into single user mode;
. set a new root password;
. set a new user password;
. boot into multiuser mode;
. login and have fun.


WBR
-- 
bsam


------------------------------

Message: 2
Date: Tue, 20 Jan 2009 14:15:08 +0100 (CET)
From: "Bert-Jan" <info at bert-jan.com>
Subject: Re: unable to logon after updating ports collection - Freebsd
	7.1  stable
To: "Boris Samorodov" <bsam at ipt.ru>
Cc: Roy Stuivenberg <roys1012 at gmail.com>,
	freebsd-questions at freebsd.org
Message-ID:
	<06bb5927cefec26ba5797915637b8a95.squirrel at admin.bert-jan.com>
Content-Type: text/plain;charset=iso-8859-1

> "Roy Stuivenberg" <roys1012 at gmail.com> writes:
>
>> After I completed my Freebsd 7.1 stable, and updated all the ports, I
>> got
>> prompted with another logonscreen.
>> Whatever I try, I can't login with my useraccount and even not logon as
>> root.
>> This happened severall times now, the only way was to reinstall
>> everything,
>> and I was hoping to resolve this by completly finish upgrading the
>> ports.
>> And .. again the same problem.
>> I'm really hoping to get some answers that will solve this problem,
>> maybe
>> someone had to deal with this  issue before ??
>> I will not give up, because Freebsd stole my heart.
>
> The problem has nothing to do with ports. To restore your root/user
> logins:
> . boot into single user mode;
> . set a new root password;
> . set a new user password;
> . boot into multiuser mode;
> . login and have fun.
>
>
> WBR
> --
> bsam
> _______________________________________________

I've had the same thing happen to me not 2 weeks ago after upgrading a
server from 7.0-RC2 to 7.1-RELEASE with freebsd-update. For me the problem
had nothing to do with ports but with the update itself, because it
replaced my pwd.db and spwd.db with the default ones (root with no
password, no user accounts) and since ssh doesn't accept root logins I
ended up going to the datacenter and copying the backups of those db's
back. Then everything was fine again. Very strange they got replaced
though..
Sounds like you've had something similar happen to you. Hopefully your
machine isn't too far away.

Bert-Jan


------------------------------

Message: 3
Date: Tue, 20 Jan 2009 04:49:03 -0800
From: David Wolfskill <david at catwhisker.org>
Subject: Re: tar fails on FreeBSD 7 and passes on FreeBSD 6 for the
	same	input
To: chandra reddy <creddym at gmail.com>
Cc: freebsd-hackers at freebsd.org, freebsd-questions at freebsd.org
Message-ID: <20090120124903.GH17567 at albert.catwhisker.org>
Content-Type: text/plain; charset="us-ascii"

On Tue, Jan 20, 2009 at 01:24:41PM +0530, chandra reddy wrote:
> Hi,
> 
> I am getting the following error when i run tar on a directory.
> 
> [chandra at home]$ tar  zcf config-xsl.tar  config-xsl/9.6
> 
> tar: Cannot open directory
> config-xsl/9.6/configuration/protocols/mpls/label-switched-path/oam/bfd-liveness-detection/detection-time:
> No such file or directory
> tar: Cannot open directory
> ...
> FreeBSD chandra 7.1-RC1 FreeBSD 7.1-RC1 #0: Sun Dec  7 05:57:33 UTC 2008
> root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> I have debugged libc and found that  system call "fstafs" is failing and
> returning -1.

I believe you will find that the system call is "fstatfs".
 
> Can any one help me what is the real problem here and how to fix it?

A subsequent message of your verified that the hierarchy being read was
on an NFS-mounted file system.  Perchance, was that NFS mount managwed
by amd(8)?

If so, while I do not have a "fix" for you, I am relieved to see someone
else finally report these symptoms.  Please see
<http://docs.FreeBSD.org/cgi/mid.cgi?20081203001538.GC96383> for an
archived copy of my initial message in a thread reporting this.

There is additional detail (including kernel trace information &
how-to-repeat instructions) in subsequent messages in the thread.  Also
mentioned is a circumvention -- basically, crippling amd(8) so it no
longer attempts to unmount() a file system.

However, I was unable to re-create the symptoms at home -- only at work.
A colleague at work was able to re-create the symptoms, and was
intending to experiment a bit more, but he's been busy with other things
recently.

Please contact me (off-list, if you prefer), and we can discuss
additional details.

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/2d10270f/attachment-0001.pgp

------------------------------

Message: 4
Date: Tue, 20 Jan 2009 12:32:31 +0100
From: Matias Surdi <matiassurdi at gmail.com>
Subject: Re: Large raid arrays
To: Frederique Rijsdijk <frederique at isafeelin.org>
Cc: freebsd-questions at freebsd.org
Message-ID: <4975B64F.20207 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Frederique Rijsdijk escribi���������:
> Matias Surdi wrote:
>> Matias Surdi escribi���������:
>>> Hi,
>>>
>>> I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays.
>>>
>>> For the backup system we are using, I need to join them to make 1
>>> logical device.
>>>
>>> What would you recomment? ccd or vinum?
>>>
>>>
>> Some comments that may help in the decision:
>>
>> - Reliability/resistance to power failures are the most important factor.
>>
>> - It doesn't require high performance or high speed.
>>
> 
> Either gconcat or ZFS, depending which version of FreeBSD you're running.
> 
> gconcat label -v data /dev/raid1 /dev/raid2
> newfs /dev/concat/data
> mkdir /mnt/data && mount /dev/concat/data /mnt/data
> df -h /mnt/data
> 
> or
> 
> zpool create data /dev/raid1 /dev/raid2
> df -h /data
> 
> 
> 
> -- Frederique
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 


ZFS was a disaster.

That is what we were using until today, when the power went off  and the 
zfs pool ended up corrupted and irrecoverable.

Three other times we had power failures, the zpool ended with some errors.

But, all the times, the UFS partitions remained intact.

I won't use ZFS for a long time.




------------------------------

Message: 5
Date: Tue, 20 Jan 2009 15:10:13 +0100
From: Jos Chrispijn <jos at webrz.net>
Subject: Portupgrade thru SSH session
To: freebsd-questions at freebsd.org
Message-ID: <4975DB45.1040407 at webrz.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Can someone tell me what I should attend for when I am disconnected in 
the middle of a portupgrade and the terminal session is aborted?
The portupgrade was halted by a [yes/no] prompt, on which I had to 
react. Unfortunately being not present and I having not set my Putty 
keepalive session timeperiod I was disconnected due to no activity on 
this system prompt $-|.
What I did after having logged on again was deleting that specific ruby 
process and some tty processes. Perhaps I should delete some other temp 
files as well?

Thanks,
Jos Chrispijn


------------------------------

Message: 6
Date: Tue, 20 Jan 2009 14:10:26 +0000
From: Mike Clarke <jmc-freebsd2 at milibyte.co.uk>
Subject: Re: kvm switch
To: freebsd-questions at freebsd.org
Message-ID: <200901201410.26629.jmc-freebsd2 at milibyte.co.uk>
Content-Type: text/plain;  charset="iso-8859-1"

On Tuesday 20 January 2009, Olivier Nicole wrote:

> I have been using Aten KVM switches for years and been very happy
> with them.

[snip]

> To my knowledge it works with 3 button mouses (all mouses nowdays
> have 3 buttons).

I have an Aten CS64A PS/2 4 port KVM <http://preview.tinyurl.com/yte4et> 
and it works fine with my 3 button mouse, supporting all 3 buttons and 
the scroll wheel. I've had FreeBSD, linux, Win98, XP and Vista boxes 
running through it at various times over the last 2 years and it's 
always worked just fine.

My only minor niggle was that if I booted my FreeBSD box while the 
monitor was connected to one of the other boxes then KDE started up in 
1024x768 mode instead if the monitor's default 1280x1024 mode. But that 
was easily sorted with a minor tweak to xorg.conf.

-- 
Mike Clarke


------------------------------

Message: 7
Date: Tue, 20 Jan 2009 10:17:19 -0500
From: Josh Carroll <josh.carroll at gmail.com>
Subject: Re: Portupgrade thru SSH session
To: Jos Chrispijn <jos at webrz.net>
Cc: freebsd-questions at freebsd.org
Message-ID:
	<8cb6106e0901200717u717a0734r933f4337658fffd5 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jan 20, 2009 at 9:10 AM, Jos Chrispijn <jos at webrz.net> wrote:
> Can someone tell me what I should attend for when I am disconnected in the
> middle of a portupgrade and the terminal session is aborted?
> The portupgrade was halted by a [yes/no] prompt, on which I had to react.
> Unfortunately being not present and I having not set my Putty keepalive
> session timeperiod I was disconnected due to no activity on this system
> prompt $-|.
> What I did after having logged on again was deleting that specific ruby
> process and some tty processes. Perhaps I should delete some other temp
> files as well?

For future runs, you might consider using something like screen
(/usr/ports/sysutils/screen) so you can resume the session later,
should you get disconnected.

Josh


------------------------------

Message: 8
Date: Tue, 20 Jan 2009 09:44:05 -0500
From: Ron Wilhoite <ronw at bals.org>
Subject: Re: Portupgrade thru SSH session
To: Jos Chrispijn <jos at webrz.net>
Cc: freebsd-questions at freebsd.org
Message-ID: <4975E335.5070703 at bals.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 01/20/2009 09:10 AM Jos Chrispijn wrote:
> Can someone tell me what I should attend for when I am disconnected in 
> the middle of a portupgrade and the terminal session is aborted?
> The portupgrade was halted by a [yes/no] prompt, on which I had to 
> react. Unfortunately being not present and I having not set my Putty 
> keepalive session timeperiod I was disconnected due to no activity on 
> this system prompt $-|.
> What I did after having logged on again was deleting that specific ruby 
> process and some tty processes. Perhaps I should delete some other temp 
> files as well?

Before I learned to run portupgrade in a screen session, I never had a 
problem just running portupgrade again. If I recall correctly the index 
needed to be rebuilt at times, but portupgrade gave a helpful message 
telling me that.

Ron Wilhoite


------------------------------

Message: 9
Date: Tue, 20 Jan 2009 15:23:58 +0000
From: "Roy Stuivenberg" <roys1012 at gmail.com>
Subject: stable-supfile --> freebsd-update
To: freebsd-questions at freebsd.org
Message-ID:
	<b9079c480901200723q5596d6b8q198f2aff8deaf41d at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello,

I wanted to send a follow up on my message, because I did not provide much
info ...
**********
Hello,

After I completed my Freebsd 7.1 stable, and updated all the ports, I got
prompted with another logonscreen.
Whatever I try, I can't login with my useraccount and even not logon as
root.
This happened severall times now, the only way was to reinstall everything,
and I was hoping to resolve this by completly finish upgrading the ports.
And .. again the same problem.
I'm really hoping to get some answers that will solve this problem, maybe
someone had to deal with this  issue before ??
*************

Follow up
===>
My problem has something to do with gnome2 I guess.
You see, I can logon, except in graphical user mode.
This happend after complete update (gnome2 included)
I get a different logon prompt, and then I already know I won't be able to
logon.
Only this time I was hoping an upgrade of all the ports would help me .. and
it didn't.
I really hope I will find or get an answer to this problem.

Regards,
Roy.


------------------------------

Message: 10
Date: Tue, 20 Jan 2009 23:10:25 +0800
From: lhmwzy <lhmwzy at gmail.com>
Subject: How to auto-logout after XXX idle?
To: freebsd-questions at freebsd.org
Message-ID:
	<78fb9d960901200710r27911b0cheaddfd3769abe7d3 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

When ssh to a sever,how to auto-logout after XXX idle?
in tcsh,I know to set autologout=X
How in the default /bin/sh shell to autologut?


------------------------------

Message: 11
Date: Tue, 20 Jan 2009 17:42:02 +0200
From: "DA Forsyth" <d.forsyth at ru.ac.za>
Subject: telnet to mbmon
To: freebsd-questions at freebsd.org
Message-ID: <49760CEA.3417.1479BC08 at d.forsyth.ru.ac.za>
Content-Type: text/plain; charset=US-ASCII

Hiya

I am using mbmon in  telnet mode to monitor some print servers 
remotely.

REvcently I moved the monitoring form one server to another, but now 
the telnet probe only works from the command line.  Any probe 
originating from a cron job gets no data in the reply (normally via 
mrtg, but I tried a direct telnet call as a cron job and it also got 
no data as a reply).

Yes, the connection is made.  mbmon is running on the targets.

This is affecting 3 target print servers.

I tried running the probe on the original server and it worked as 
usual.

where to look?


--
       DA Fo rsyth            Network Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/




------------------------------

Message: 12
Date: Tue, 20 Jan 2009 16:47:21 +0100 (CET)
From: Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl>
Subject: Re: Large raid arrays
To: Matias Surdi <matiassurdi at gmail.com>
Cc: freebsd-questions at freebsd.org
Message-ID: <20090120164719.B18283 at wojtek.tensor.gdynia.pl>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

gconcat

On Tue, 20 Jan 2009, Matias Surdi wrote:

> Hi,
>
> I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays.
>
> For the backup system we are using, I need to join them to make 1 logical 
> device.
>
> What would you recomment? ccd or vinum?
>
>
> Thanks a lot for your suggestions.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>


------------------------------

Message: 13
Date: Tue, 20 Jan 2009 16:48:45 +0100 (CET)
From: Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl>
Subject: Re: Large raid arrays
To: Matias Surdi <matiassurdi at gmail.com>
Cc: freebsd-questions at freebsd.org
Message-ID: <20090120164747.J18283 at wojtek.tensor.gdynia.pl>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

>> 
>
>
> ZFS was a disaster.
>
> That is what we were using until today, when the power went off  and the zfs 
> pool ended up corrupted and irrecoverable.

normal.

>
> Three other times we had power failures, the zpool ended with some errors.
>
> But, all the times, the UFS partitions remained intact.

indeed. and fsck time can be fast if you correctly set up block size and 
amount of inodes. i mean not too much inodes and large blocks (32-64K) if 
you store mostly big files.

> I won't use ZFS for a long time.
i would recommend never.


------------------------------

Message: 14
Date: Tue, 20 Jan 2009 13:24:27 -0200
From: Eduardo Meyer <dudu.meyer at gmail.com>
Subject: switching bsdlabel's label
To: questions at freebsd.org, stable at freebsd.org
Message-ID:
	<d3ea75b30901200724o4bc9b515y71733fcb2f5808f9 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello,

I have a certain disk where da0s1a and da0s1d are inverted. By some
reason someone labelled root as 'd' and home as 'a'.

Can I just

bsdlabel -n da0s1 > savedabel.txt

Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel)

-- 
===========
Eduardo Meyer
pessoal: dudu.meyer at gmail.com
profissional: ddm.farmaciap at saude.gov.br


------------------------------

Message: 15
Date: Tue, 20 Jan 2009 17:19:31 +0100
From: Matias Surdi <matiassurdi at gmail.com>
Subject: Re: Large raid arrays
To: freebsd-questions at freebsd.org
Message-ID: <gl4tii$skm$1 at ger.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Wojciech Puchar escribi���������:
> gconcat
> 
> On Tue, 20 Jan 2009, Matias Surdi wrote:
> 
>> Hi,
>>
>> I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays.
>>
>> For the backup system we are using, I need to join them to make 1 
>> logical device.
>>
>> What would you recomment? ccd or vinum?
>>
>>
>> Thanks a lot for your suggestions.
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe at freebsd.org"
>>
>>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
> 

I've finally set it up with gconcat and works great.

Many thanks for your help guys.




------------------------------

Message: 16
Date: Tue, 20 Jan 2009 11:26:47 -0500
From: "Shawn Hoffman" <shoffman at logikos.com>
Subject: NetBSD networking question
To: <freebsd-questions at freebsd.org>
Message-ID:
	<A6363BE436C7C54B8105C2866E6A0C8E01F0E438 at newclavius.logikos.com>
Content-Type: text/plain;	charset="us-ascii"

Hello, my name is Shawn Hoffman, and I am the Staffing Manager for
Logikos Inc.  Logikos is a product software development firm located in
Fort Wayne, Indiana.  I am contacting you in hopes that you might be
able to offer suggestions as to where we might find a contract NetBSD
Administrator.  We are beginning a project for a client that
necessitates this background.

 

Is there someone you know who might have an interest in a contract
opportunity of this sort?  If so, I would appreciate any assistance your
network of contacts may offer.  Thank you.

 

 

Shawn Hoffman - Staffing Manager

 

Logikos Inc,

2914 Independence Drive

Fort Wayne, IN 46808

260-483-3638

260-484-5268 fax

shoffman at logikos.com

 

 



------------------------------

Message: 17
Date: Tue, 20 Jan 2009 17:13:56 +0100
From: "Patrick M. Hausen" <hausen at punkt.de>
Subject: Re: switching bsdlabel's label
To: Eduardo Meyer <dudu.meyer at gmail.com>
Cc: stable at freebsd.org, questions at freebsd.org
Message-ID: <20090120161355.GA28525 at hugo10.ka.punkt.de>
Content-Type: text/plain; charset=iso-8859-1

Hello,

On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote:
> I have a certain disk where da0s1a and da0s1d are inverted. By some
> reason someone labelled root as 'd' and home as 'a'.
> 
> Can I just
> 
> bsdlabel -n da0s1 > savedabel.txt
> 
> Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel)

Why not simply use bsdlabel -e da0s1?

Kind regards,
Patrick
-- 
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info at punkt.de       http://www.punkt.de
Gf: J���������rgen Egeling      AG Mannheim 108285


------------------------------

Message: 18
Date: Tue, 20 Jan 2009 17:23:22 +0100
From: Jakub T <jakub.tlck at gmail.com>
Subject: Strange nvidia GeForce 9800GT--harddrive conflict?
To: freebsd-questions at freebsd.org
Message-ID:
	<42b840be0901200823je4afa44hd7c68e4e828da815 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I'm trying to start X on FreeBSD-7.1-RELEASE (i386) with up-to-date ports
tree with this graphics card:

nvidia0: <GeForce 9800 GT> on vgapci0
vgapci0: child nvidia0 requested pci_enable_busmaster
vgapci0: child nvidia0 requested pci_enable_io
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]

When I try to start X, with or without xorg.conf generated either by Xorg or
by nvidia-xconfig, with or without kernel nvidia module loaded, I get a lot
of errors like this:

(EE) end of block range 0xfb < begin 0xfffffffc

Then, my hard drive detaches, like this (not copy-pasted text):

ad7: FAILURE - device detached
subdisk7: detached
...
g_vfs_done(): ad7s1f [WRITE(offset=... length=...)]error = 6
...
vnode_pager_getpages: I/O read error
panic: vinvalbuf: dirty bufs
...

What is interesting is that I succeeded to start xinit once, without visible
problems.

The problem is similar to what was reported here:

http://www.nvnews.net/vbulletin/archive/index.php/t-81983.html

Does anybody know a solution? If more information about my system is needed,
I'll post them.

Jakub


------------------------------

Message: 19
Date: Tue, 20 Jan 2009 22:52:20 +0700
From: "MDaemon at mail.mcitsh.com"  <MDaemon at mail.mcitsh.com>
Subject: Permanent Delivery Failure
To: questions at freebsd.org
Message-ID: <MDAEMON0164200901202252.AA5220890 at mail.mcitsh.com>
Content-Type: text/plain; charset="iso-8859-1"

The attached message had PERMANENT fatal delivery errors!

After one or more unsuccessful delivery attempts the attached message has
been removed from the mail queue on this server.  The number and frequency
of delivery attempts are determined by local configuration parameters.

YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS!

The following addresses did NOT receive a copy of your message: 

> prat at ua.fm
> pratt at ua.fm
> prav-vol at ua.fm

--- Session Transcript ---
 Tue 2009-01-20 22:52:02: Parsing message <xxxxxxxxxxxxxxxxxxxxxxxx\pd50000562648.msg>
 Tue 2009-01-20 22:52:02: *  From: questions at freebsd.org
 Tue 2009-01-20 22:52:02: *  To: prat at iptelecom.net.ua
 Tue 2009-01-20 22:52:02: *  Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?=
 Tue 2009-01-20 22:52:02: *  Message-ID: <006001c97b78$a19908ab$7e7025ac at sccvvfv>
 Tue 2009-01-20 22:52:02: *  Route slip host: ua.fm
 Tue 2009-01-20 22:52:02: *  Route slip port: 25
 Tue 2009-01-20 22:52:02: Attempting SMTP connection to [ua.fm]
 Tue 2009-01-20 22:52:02: Resolving MX records for [ua.fm] (DNS Server: 203.146.251.227)...
 Tue 2009-01-20 22:52:02: *  P=005 S=000 D=ua.fm TTL=(753) MX=[mx3.ua.fm] {91.197.130.8}
 Tue 2009-01-20 22:52:02: *  P=010 S=001 D=ua.fm TTL=(753) MX=[mx4.ua.fm] {91.198.36.33}
 Tue 2009-01-20 22:52:02: *  P=020 S=002 D=ua.fm TTL=(753) MX=[mx1.ua.fm] {91.198.36.11}
 Tue 2009-01-20 22:52:02: *  P=020 S=003 D=ua.fm TTL=(753) MX=[mx2.ua.fm] {91.198.36.8}
 Tue 2009-01-20 22:52:02: Attempting SMTP connection to [91.197.130.8:25]
 Tue 2009-01-20 22:52:02: Waiting for socket connection...
 Tue 2009-01-20 22:52:02: *  Connection established (127.0.0.1:4382 -> 91.197.130.8:25)
 Tue 2009-01-20 22:52:02: Waiting for protocol to start...
 Tue 2009-01-20 22:52:03: <-- 220 out01.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 17:51:46 +0200
 Tue 2009-01-20 22:52:03: --> HELO mail.mcitsh.com
 Tue 2009-01-20 22:52:03: <-- 250 out01.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138]
 Tue 2009-01-20 22:52:03: --> MAIL From:<questions at freebsd.org>
 Tue 2009-01-20 22:52:04: <-- 250 OK
 Tue 2009-01-20 22:52:04: --> RCPT To:<prat at ua.fm>
 Tue 2009-01-20 22:52:04: <-- 550 User not found. See http://mail.i.ua/err/2/
 Tue 2009-01-20 22:52:04: --> RCPT To:<pratt at ua.fm>
 Tue 2009-01-20 22:52:05: <-- 550 User not found. See http://mail.i.ua/err/2/
 Tue 2009-01-20 22:52:05: --> RCPT To:<prav-vol at ua.fm>
 Tue 2009-01-20 22:52:05: <-- 550 User not found. See http://mail.i.ua/err/2/
 Tue 2009-01-20 22:52:05: --> QUIT
 Tue 2009-01-20 22:52:05: Attempting SMTP connection to [91.198.36.33:25]
 Tue 2009-01-20 22:52:05: Waiting for socket connection...
 Tue 2009-01-20 22:52:05: *  Connection established (127.0.0.1:4405 -> 91.198.36.33:25)
 Tue 2009-01-20 22:52:05: Waiting for protocol to start...
 Tue 2009-01-20 22:52:06: <-- 220 web08.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 17:51:59 +0200
 Tue 2009-01-20 22:52:06: --> HELO mail.mcitsh.com
 Tue 2009-01-20 22:52:06: <-- 250 web08.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138]
 Tue 2009-01-20 22:52:06: --> MAIL From:<questions at freebsd.org>
 Tue 2009-01-20 22:52:07: <-- 250 OK
 Tue 2009-01-20 22:52:07: --> RCPT To:<prat at ua.fm>
 Tue 2009-01-20 22:52:07: <-- 550 User not found. See http://mail.i.ua/err/2/
 Tue 2009-01-20 22:52:07: --> RCPT To:<pratt at ua.fm>
 Tue 2009-01-20 22:52:08: <-- 550 User not found. See http://mail.i.ua/err/2/
 Tue 2009-01-20 22:52:08: --> RCPT To:<prav-vol at ua.fm>
 Tue 2009-01-20 22:52:08: <-- 550 User not found. See http://mail.i.ua/err/2/
 Tue 2009-01-20 22:52:08: --> QUIT
 Tue 2009-01-20 22:52:08: Attempting SMTP connection to [91.198.36.11:25]
 Tue 2009-01-20 22:52:08: Waiting for socket connection...
 Tue 2009-01-20 22:52:08: *  Connection established (127.0.0.1:4423 -> 91.198.36.11:25)
 Tue 2009-01-20 22:52:08: Waiting for protocol to start...
 Tue 2009-01-20 22:52:09: <-- 220 top.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 17:52:02 +0200
 Tue 2009-01-20 22:52:09: --> HELO mail.mcitsh.com
 Tue 2009-01-20 22:52:10: <-- 250 top.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138]
 Tue 2009-01-20 22:52:10: --> MAIL From:<questions at freebsd.org>
 Tue 2009-01-20 22:52:10: <-- 250 OK
 Tue 2009-01-20 22:52:10: --> RCPT To:<prat at ua.fm>
 Tue 2009-01-20 22:52:11: <-- 550 User not found. See http://mail.i.ua/err/2/
 Tue 2009-01-20 22:52:11: --> RCPT To:<pratt at ua.fm>
 Tue 2009-01-20 22:52:11: <-- 550 User not found. See http://mail.i.ua/err/2/
 Tue 2009-01-20 22:52:11: --> RCPT To:<prav-vol at ua.fm>
 Tue 2009-01-20 22:52:11: <-- 550 User not found. See http://mail.i.ua/err/2/
 Tue 2009-01-20 22:52:11: --> QUIT
 Tue 2009-01-20 22:52:11: Attempting SMTP connection to [91.198.36.8:25]
 Tue 2009-01-20 22:52:11: Waiting for socket connection...
 Tue 2009-01-20 22:52:11: *  Connection established (127.0.0.1:4440 -> 91.198.36.8:25)
 Tue 2009-01-20 22:52:11: Waiting for protocol to start...
 Tue 2009-01-20 22:52:12: <-- 220 xray2.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 17:52:05 +0200
 Tue 2009-01-20 22:52:12: --> HELO mail.mcitsh.com
 Tue 2009-01-20 22:52:15: <-- 250 xray2.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138]
 Tue 2009-01-20 22:52:15: --> MAIL From:<questions at freebsd.org>
 Tue 2009-01-20 22:52:16: <-- 250 OK
 Tue 2009-01-20 22:52:16: --> RCPT To:<prat at ua.fm>
 Tue 2009-01-20 22:52:16: <-- 550 User not found. See http://mail.i.ua/err/2/
 Tue 2009-01-20 22:52:16: --> RCPT To:<pratt at ua.fm>
 Tue 2009-01-20 22:52:17: <-- 550 User not found. See http://mail.i.ua/err/2/
 Tue 2009-01-20 22:52:17: --> RCPT To:<prav-vol at ua.fm>
 Tue 2009-01-20 22:52:17: <-- 550 User not found. See http://mail.i.ua/err/2/
 Tue 2009-01-20 22:52:17: --> QUIT
--- End Transcript ---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 4628 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/8fdcf00f/attachment-0001.obj

------------------------------

Message: 20
Date: Tue, 20 Jan 2009 15:36:34 -0200
From: Eduardo Meyer <dudu.meyer at gmail.com>
Subject: Re: switching bsdlabel's label
To: "Patrick M. Hausen" <hausen at punkt.de>
Cc: stable at freebsd.org, questions at freebsd.org
Message-ID:
	<d3ea75b30901200936n15ae0b03m4c48ba55f3728d44 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen <hausen at punkt.de> wrote:
> Hello,
>
> On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote:
>> I have a certain disk where da0s1a and da0s1d are inverted. By some
>> reason someone labelled root as 'd' and home as 'a'.
>>
>> Can I just
>>
>> bsdlabel -n da0s1 > savedabel.txt
>>
>> Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel)
>
> Why not simply use bsdlabel -e da0s1?

Because I didnt know about that? ;-)

Thank you for the hint.

However I still have the same doubt. Since basically its the same
task, Is it safe do relabel this way?

>
> Kind regards,
> Patrick
> --
> punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
> Tel. 0721 9109 0 * Fax 0721 9109 100
> info at punkt.de       http://www.punkt.de
> Gf: J���������rgen Egeling      AG Mannheim 108285
>



-- 
===========
Eduardo Meyer
pessoal: dudu.meyer at gmail.com
profissional: ddm.farmaciap at saude.gov.br


------------------------------

Message: 21
Date: Tue, 20 Jan 2009 18:15:25 +0000
From: "Saifi Khan" <saifi.khan at twincling.org>
Subject: ASL 2.0 based software contribution to FreeBSD code base
To: freebsd-questions at freebsd.org
Message-ID:
	<9a52b1190901201015v68473203w649af60b08fca0d2 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi:

Is Apache Software License (ASL) 2.0 based software contributions
accepted in FreeBSD code base ?

Specific case to consider would be:
 a. device driver code released under ASL 2.0
 b. code contributed to kernel (eg. scheduler implementation) under ASL 2.0
 c. code contributed to userland (eg. new implementation of ctags) under ASL 2.0

Can some of the experienced members share how things work within the
context of FreeBSD project ?

-- 
thanks
Saifi.

Twincling Technology Foundation
freedom of innovation
http://www.twincling.org/


------------------------------

Message: 22
Date: Tue, 20 Jan 2009 09:41:12 -0800
From: David Wolfskill <david at catwhisker.org>
Subject: Re: switching bsdlabel's label
To: Eduardo Meyer <dudu.meyer at gmail.com>
Cc: stable at freebsd.org, questions at freebsd.org
Message-ID: <20090120174112.GS17567 at albert.catwhisker.org>
Content-Type: text/plain; charset="us-ascii"

On Tue, Jan 20, 2009 at 03:36:34PM -0200, Eduardo Meyer wrote:
> ...
> > Why not simply use bsdlabel -e da0s1?
> 
> Because I didnt know about that? ;-)
> 
> Thank you for the hint.
> 
> However I still have the same doubt. Since basically its the same
> task, Is it safe do relabel this way?

I have done it several times without any problems.

Do, however, ensure that your /etc/fstab entries match the result before
you reboot; attempting a "mount" by hand (merely specifying either the
mount point or the device, but not both) before your next reboot can
serve as a useful reality check.

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/7b5e149e/attachment-0001.pgp

------------------------------

Message: 23
Date: Tue, 20 Jan 2009 13:42:16 -0500
From: Jerry McAllister <jerrymc at msu.edu>
Subject: Re: switching bsdlabel's label
To: Eduardo Meyer <dudu.meyer at gmail.com>
Cc: "Patrick M. Hausen" <hausen at punkt.de>, stable at freebsd.org,
	questions at freebsd.org
Message-ID: <20090120184216.GA57318 at gizmo.acns.msu.edu>
Content-Type: text/plain; charset=iso-8859-1

On Tue, Jan 20, 2009 at 03:36:34PM -0200, Eduardo Meyer wrote:

> On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen <hausen at punkt.de> wrote:
> > Hello,
> >
> > On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote:
> >> I have a certain disk where da0s1a and da0s1d are inverted. By some
> >> reason someone labelled root as 'd' and home as 'a'.
> >>
> >> Can I just
> >>
> >> bsdlabel -n da0s1 > savedabel.txt
> >>
> >> Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel)
> >
> > Why not simply use bsdlabel -e da0s1?
> 
> Because I didnt know about that? ;-)
> 
> Thank you for the hint.
> 
> However I still have the same doubt. Since basically its the same
> task, Is it safe do relabel this way?

Hmmm.  Is there stuff written on the disk.  Is root stuff really written
on da0s1d and /home stuff really written on da0s1a?   Does the system boot 
from it OK?   

Or is it just that the mounts are switched.   
The mount points are not written in to the label.   That comes after
booting.   If it boots, I wonder if it really is switched on the
partitions or if it is just that the partitions are mounted backwards
(probably due to editing /etc/fstab incorrectly).

////jerry




> 
> >
> > Kind regards,
> > Patrick
> > --
> > punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
> > Tel. 0721 9109 0 * Fax 0721 9109 100
> > info at punkt.de       http://www.punkt.de
> > Gf: J���������rgen Egeling      AG Mannheim 108285
> >
> 
> 
> 
> -- 
> ===========
> Eduardo Meyer
> pessoal: dudu.meyer at gmail.com
> profissional: ddm.farmaciap at saude.gov.br
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 


------------------------------

Message: 24
Date: Tue, 20 Jan 2009 13:44:48 -0500
From: Lowell Gilbert <freebsd-questions-local at be-well.ilk.org>
Subject: Re: Cannot perform user mounts after upgrade
To: Ramiro Caso <misha_78 at hotmail.com>
Cc: freebsd-questions at freebsd.org
Message-ID: <44priholzz.fsf at be-well.ilk.org>
Content-Type: text/plain; charset=us-ascii

Ramiro Caso <misha_78 at hotmail.com> writes:

> I can't perform user mounts for my pendrive, and I used to be able to, before
> making an upgrade. Moreover, user mounts for both /dev/cd0 and /dev/fd0 are
> still operational. Root mounts are possible, but it's doesn't strike me as good
> practice, and it is a little bit of an annoyance. I need help, at least a hint
> in some direction or other, because at this point I'm clueless.
>
> I'm running FreeBSD 7.1-RELEASE-p2, GENERIC kernel, i386. I just did a major
> ports updating, including perl-5.8.8 ==> perl-5.8.9. I ran the
> perl-after-upgrade script, and warned me about possible problems with
> /usr/local/sbin/snmpd and /usr/local/sbin/snmptrapd, but nothing else. I also
> recently installed /usr/ports/misc/compat5x, among other ports. I have some
> security and related ports installed, but they never caused problems before.
>
> The command I used is the expected one:
>
>   % mount -t msdosfs /dev/da0s1 ~/media/pendrive
>
> Now it gives the following (quite uninformative) error:
>
>   mount_msdosfs: /dev/da0s1: : Operation not permitted
>
> Strangely enough, a user mount with a read-only option works just fine:
>
>   % mount -o ro -t msdosfs /dev/da0s1 ~/media/pendrive
>
> The mount point still has the same ownership (me) and permissions (755) as
> before. Both /etc/devfs.rules, /etc/rc.conf and /etc/sysctl.conf have the
> relevant lines for allowing user mounts, namely:
>
> /etc/sysctl.conf    ==>  vfs.usermount=1
> /etc/devfs.rules    ==>  [localrules=10]
>                          add path 'da*s*' mode 0660 group usb
> /etc/rc.conf        ==>  devfs_system_ruleset="localrules"
>
> I don't recall this being necessary, but I also have devd enabled in rc.conf,
> although with no special rules for umass in devd.conf. Needless to say, I belong
> to group usb. This configuration worked before just fine. Any ideas?

You certainly always needed permissions on a device to be able to mount
it.  For a device already present at boot time, you would need an entry
in devfs.rules.  For a device plugged in later, you would instead need
devd to know how to handle it.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/


------------------------------

Message: 25
Date: Tue, 20 Jan 2009 13:46:49 -0500
From: Lowell Gilbert <freebsd-questions-local at be-well.ilk.org>
Subject: Re: DUMP: read error: Bad address
To: Chris Jones <chris at cjones.org>
Cc: freebsd-questions at freebsd.org
Message-ID: <44ljt5olwm.fsf at be-well.ilk.org>
Content-Type: text/plain; charset=us-ascii

Chris Jones <chris at cjones.org> writes:

> I have an amd64 machine with two drives. I've got my system set up on
> ad8, and I'm building a RAID0 array using gvinum that will span ad8
> and ad10. So for now, I have partitions on ad8 plus a set of volumes
> on ad10 that I want to move all my data to.
>
> Today I was doing a test move of all the data, using dump | restore
> like this:
>
> # dump -0aL -f - /var | ( cd /mnt/var && restore -rf - )
>
> I got about a dozen messages like this:
>
>  DUMP: read error from /dev/ad8s1d: Bad address: [block 10992192]:
> count=5120
>
> What is causing this message, and is it a cause for alarm? Here's my
> bsdlabel for ad8s1:
>
> # /dev/ad8s1:
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>  a:  1048576        0    4.2BSD     2048 16384     8
>  b:  4123872  1048576      swap
>  c: 488279547        0    unused        0     0         # "raw" part,
> don't edit
>  d: 104857600  5172448    4.2BSD     2048 16384 28528
>  e:  2097152 110030048    4.2BSD     2048 16384 28528
>  f: 376152347 112127200    4.2BSD     2048 16384 28528
>
> Thanks in advance for any help.

It could be a serious problem, but is not necessarily such.
Can you use smarttools to query the disk firmware for *its*
opinion?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/


------------------------------

Message: 26
Date: Tue, 20 Jan 2009 13:50:31 -0500
From: Lowell Gilbert <freebsd-questions-local at be-well.ilk.org>
Subject: Re: Port 7070
To: Doug Hardie <bc979 at lafn.org>
Cc: freebsd-questions at freebsd.org
Message-ID: <44hc3tolqg.fsf at be-well.ilk.org>
Content-Type: text/plain; charset=us-ascii

Doug Hardie <bc979 at lafn.org> writes:

> I just ran a netcat (nc -z) on my production servers and found an
> unusual response:
>
> Connection to xxxx 7070 port [tcp/arcp] succeeded!
>
> I checked on all my production and test servers (7.0 stable as of
> quite some time ago) and got the same response.  I can't figure out
> why that port is open.  It always returns a reset when a connection is
> opened.  netstat -an does not return any 7070 entries.  sockstat does
> not show any 7070 entries.  There is no 7070 entry in /etc/services.
> ktrace of inetd shows nothing.  tcpdump on the server shows the SYN
> and RST packets only.  tcpdump on the client machine shows a complete
> TCP negotiation completion followed by a termination.  The client is
> going across the internet.
>
> Running the client on a machine on the servers LAN shows that the port
> is not open.  And tcpdump from both shows only a SYN followed by a
> RST.  This indicates that some router between the original client and
> the servers is accepting the connection and then forwarding it on.
> This doesn't happen on other ports (although there may be a couple
> others I haven't chased down yet though).  The only router we have in
> the path is a Cisco 2501 running a 2000 vintage IOS with nothing like
> that in its configuration.  Its a simple pass everything through
> setup.  Any ideas what is happening here?

Sounds like the router is blocking most incoming connections, but not
7070.  7070 is sometimes used for RSTP, which makes some sense to let
through.  Nothing is actually listening on that port on the server,
though, which is why you don't see anything in sockstat et. al.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/


------------------------------

Message: 27
Date: Tue, 20 Jan 2009 12:53:55 -0600
From: Andrew Gould <andrewlylegould at gmail.com>
Subject: Re: NetBSD networking question
To: Shawn Hoffman <shoffman at logikos.com>
Cc: freebsd-questions at freebsd.org
Message-ID:
	<d356c5630901201053h4d4efab8uf914ff3cf8f4548e at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jan 20, 2009 at 10:26 AM, Shawn Hoffman <shoffman at logikos.com>wrote:

> Hello, my name is Shawn Hoffman, and I am the Staffing Manager for
> Logikos Inc.  Logikos is a product software development firm located in
> Fort Wayne, Indiana.  I am contacting you in hopes that you might be
> able to offer suggestions as to where we might find a contract NetBSD
> Administrator.  We are beginning a project for a client that
> necessitates this background.
>
> Is there someone you know who might have an interest in a contract
> opportunity of this sort?  If so, I would appreciate any assistance your
> network of contacts may offer.  Thank you.
>
> Shawn Hoffman - Staffing Manager
>
> Logikos Inc,
> 2914 Independence Drive
> Fort Wayne, IN 46808
> 260-483-3638
> 260-484-5268 fax
> shoffman at logikos.com
>
>
Although you may find the person you need on this list, you will probably
have better luck contacting the NetBSD community.  You can find more
information at http://netbsd.org.

Best of luck,

Andrew Gould


------------------------------

Message: 28
Date: Tue, 20 Jan 2009 19:56:29 +0100
From: Roland Smith <rsmith at xs4all.nl>
Subject: Re: Cannot perform user mounts after upgrade
To: Lowell Gilbert <freebsd-questions-local at be-well.ilk.org>
Cc: freebsd-questions at freebsd.org, Ramiro Caso <misha_78 at hotmail.com>
Message-ID: <20090120185629.GA84722 at slackbox.xs4all.nl>
Content-Type: text/plain; charset="us-ascii"

On Tue, Jan 20, 2009 at 01:44:48PM -0500, Lowell Gilbert wrote:
> > The mount point still has the same ownership (me) and permissions (755) as
> > before. Both /etc/devfs.rules, /etc/rc.conf and /etc/sysctl.conf have the
> > relevant lines for allowing user mounts, namely:
> >
> > /etc/sysctl.conf    ==>  vfs.usermount=1
> > /etc/devfs.rules    ==>  [localrules=10]
> >                          add path 'da*s*' mode 0660 group usb
> > /etc/rc.conf        ==>  devfs_system_ruleset="localrules"
> >
> > I don't recall this being necessary, but I also have devd enabled in rc.conf,
> > although with no special rules for umass in devd.conf. Needless to say, I belong
> > to group usb. This configuration worked before just fine. Any ideas?
> 
> You certainly always needed permissions on a device to be able to mount
> it.  For a device already present at boot time, you would need an entry
> in devfs.rules.  For a device plugged in later, you would instead need
> devd to know how to handle it.

For stuff available at boot you should use devfs.conf. The devfs.rules
file is for devices that are plugged in later.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/fa3bc942/attachment-0001.pgp

------------------------------

Message: 29
Date: Tue, 20 Jan 2009 12:11:00 -0700
From: Chris Jones <chris at cjones.org>
Subject: Re: DUMP: read error: Bad address
To: freebsd-questions at freebsd.org
Message-ID: <497621C4.6070203 at cjones.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Lowell Gilbert wrote:
> Chris Jones <chris at cjones.org> writes:
>   
>> # dump -0aL -f - /var | ( cd /mnt/var && restore -rf - )
>>
>> I got about a dozen messages like this:
>>
>>  DUMP: read error from /dev/ad8s1d: Bad address: [block 10992192]:
>> count=5120
>>     
> It could be a serious problem, but is not necessarily such.
> Can you use smarttools to query the disk firmware for *its*
> opinion?
>   

SMART Error Log Version: 1
No Errors Logged

...so I assume the drive thinks it's doing just fine.

Is this likely coming from a signal error, like a bad cable? Is it 
random driver lossage? Most importantly, is the ATA driver going to 
retry and correct this error, or does it mean I'm getting corrupted data 
on my disks?

Chris


------------------------------

Message: 30
Date: Tue, 20 Jan 2009 14:47:24 -0500
From: Robert Huff <roberthuff at rcn.com>
Subject: slices to "dangerously dedicated"
To: questions at freebsd.org
Message-ID: <18806.10828.412738.659475 at jerusalem.litteratus.org>
Content-Type: text/plain; charset=us-ascii


	Suppose I have a disk which was - for various reasons - lebeled
using slices.
	Is it possible to change it to "dangerously dedicated" without
backup-wipe-relabel-restore cycle?


					Robert Huff



------------------------------

Message: 31
Date: Tue, 20 Jan 2009 12:06:31 -0800
From: Chuck Swiger <cswiger at mac.com>
Subject: Re: slices to "dangerously dedicated"
To: Robert Huff <roberthuff at rcn.com>
Cc: questions at freebsd.org
Message-ID: <50770AB3-4AF9-4359-9399-B591DE5BA70F at mac.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

On Jan 20, 2009, at 11:47 AM, Robert Huff wrote:
> 	Suppose I have a disk which was - for various reasons - lebeled
> using slices.  Is it possible to change it to "dangerously  
> dedicated" without
> backup-wipe-relabel-restore cycle?

Nope.  Since you'd only gain a megabyte of disk space (probably less)  
from the change, it's not worth bothering with, frankly...

Regards,
-- 
-Chuck



------------------------------

Message: 32
Date: Tue, 20 Jan 2009 15:09:16 -0500
From: Akenner <SlackWareWolf at comcast.net>
Subject: Edit user groups
To: questions at freebsd.org
Message-ID: <49762F6C.8040404 at comcast.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. 
I made about 4 for myself to use and do various testing with, and made 
some for my Wife as well because She knows UNIX better than I do anyway heh.

Anyway, one of the things I forgot about, was that FreeBSD by default 
doesn't allow just anyone to use su.

I come from mainly using Linux, where you can log in and then whenever 
you need to open a root xterm or even a root shell, you just type the 
password and go. I looked up how to do this but most of my results came 
back with setting up user accounts, and other things. I did add another 
user that was in the wheel group so I could do it, but I'd really like 
to be able to add my main user account to the wheel group so I can su 
from this one instead of doing su otheruser and then su again to root.

I found while searching for this something that MIGHT be what I'm 
looking for, but after reading it over, it seems I'd have to read 
through the whole man page first and then, it could be bad if I mistype 
something, or I could even screw up an account, which I can't risk.

Is there an exact way to take a user account on my system, and add it to 
the wheel group?


------------------------------

Message: 33
Date: Wed, 21 Jan 2009 02:45:01 +0700
From: "MDaemon at mail.mcitsh.com"  <MDaemon at mail.mcitsh.com>
Subject: Permanent Delivery Failure
To: questions at freebsd.org
Message-ID: <MDAEMON7376200901210245.AA4501937 at mail.mcitsh.com>
Content-Type: text/plain; charset="iso-8859-1"

The attached message had PERMANENT fatal delivery errors!

After one or more unsuccessful delivery attempts the attached message has
been removed from the mail queue on this server.  The number and frequency
of delivery attempts are determined by local configuration parameters.

YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS!

Failed address: vodgelnub at zadqinuwu.com

--- Session Transcript ---
 Wed 2009-01-21 02:45:01: Parsing message <xxxxxxxxxxxxxxxxxxxxxxxx\pd50000582630.msg>
 Wed 2009-01-21 02:45:01: *  From: questions at freebsd.org
 Wed 2009-01-21 02:45:01: *  To: vodgelnub at zadqinuwu.com
 Wed 2009-01-21 02:45:01: *  Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?=
 Wed 2009-01-21 02:45:01: *  Message-ID: <005001c97b9c$ff77b363$d3a58f0c at ejhqluzrpz>
 Wed 2009-01-21 02:45:01: Attempting SMTP connection to [zadqinuwu.com]
 Wed 2009-01-21 02:45:01: Resolving MX records for [zadqinuwu.com] (DNS Server: 203.146.251.198)...
 Wed 2009-01-21 02:45:01: *  Name server reports domain name unknown
 Wed 2009-01-21 02:45:01: Attempting SMTP connection to [zadqinuwu.com:25]
 Wed 2009-01-21 02:45:01: Resolving A record for [zadqinuwu.com] (DNS Server: 203.146.251.198)...
 Wed 2009-01-21 02:45:01: *  Name server reports domain name unknown
--- End Transcript ---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 4726 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/9ee884f4/attachment.obj

------------------------------

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

End of freebsd-questions Digest, Vol 246, Issue 23
**************************************************



------------------------------

Message: 10
Date: Tue, 20 Jan 2009 15:53:43 -0500
From: Akenner <SlackWareWolf at comcast.net>
Subject: Re: Edit user groups
To: questions at freebsd.org
Message-ID: <497639D7.4050903 at comcast.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Thanks everyone for the replies, much appreciated.


------------------------------

Message: 11
Date: Tue, 20 Jan 2009 22:48:08 +0100 (CET)
From: Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl>
Subject: Re: slices to "dangerously dedicated"
To: Robert Huff <roberthuff at rcn.com>
Cc: questions at freebsd.org
Message-ID: <20090120224538.V19299 at wojtek.tensor.gdynia.pl>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

using live CD/DVD make your new disklabel that mirrors existing but is in 
/dev/disk not /dev/diskslice, check it (try mount -r your partitions from 
/dev/disk[a-h]), clean MBR with fdisk, install bootrecord with

bsdlabel -B /dev/disk

then mount your / partition and fix etc/fstab

it's not just about having few kB more space, but NOT having MS-partition 
table. for "religious" reason, for making thing simpler or less risky if 
you sometimes connect that drive to computer running windoze.


------------------------------

Message: 12
Date: Tue, 20 Jan 2009 22:48:52 +0100 (CET)
From: Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl>
Subject: Re: fdisk -B
To: Robert <traveling08 at cox.net>
Cc: "freebsd-questions at freebsd.org" <freebsd-questions at freebsd.org>
Message-ID: <20090120224832.N19299 at wojtek.tensor.gdynia.pl>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

> and use the standard FreeBSD MBR ...without messing anything up.
>
> Can I perform the fdisk -B /dev/ad4 followed by fdisk -B /dev/ad6 from
> a livefs disk? Maybe fdisk -B /dev/mirror/gm0?

definitely /dev/mirror/gm0 not /dev/ad6

>
> I have backups but everything is running very nice right now. I don't
> reboot very often but I _would_ like to get rid of the boot manager
>
> Thank you
>
> Robert
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>


------------------------------

Message: 13
Date: Tue, 20 Jan 2009 16:22:31 -0500
From: Maxim Khitrov <mkhitrov at gmail.com>
Subject: Re: slices to "dangerously dedicated"
To: Robert Huff <roberthuff at rcn.com>
Cc: questions at freebsd.org
Message-ID:
	<26ddd1750901201322r2aecd50cj5ddde9fbd4966e14 at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Tue, Jan 20, 2009 at 2:47 PM, Robert Huff <roberthuff at rcn.com> wrote:
>
>        Suppose I have a disk which was - for various reasons - lebeled
> using slices.
>        Is it possible to change it to "dangerously dedicated" without
> backup-wipe-relabel-restore cycle?
>
>
>                                        Robert Huff

It is possible, but is probably a bad idea (it all depends on why you
want to do this). I just ran a quick test in a virtual machine with a
clean drive. The procedure was:

# sysinstall (run the Fdisk tool to create a single s1 slice on /dev/da4)
# bsdlabel -w /dev/da4s1
# newfs -U /dev/da4s1a
# mount /dev/da4s1a /mnt
# echo hello > /mnt/world
# umount /mnt
# fdisk (to find the starting block of s1)
# sysctl kern.geom.debugflags=0x10 (may not be needed)
# dd if=/dev/da4 of=/dev/da4 bs=16k skip=1 (might also want to specify
'count=' to limit the amount of data copied)
# reboot

After the reboot, I could mount /dev/da4a and read the original
contents, s1 was no more. The key to getting it right is proper input
positioning; you cannot do something like `dd if=/dev/da4s1
of=/dev/da4`. In my case, s1 started at block 32, so I set my dd block
size to 16k and skipped the first block, placing me exactly at the
start of s1 (512 * 32 = 16384 or 16k). You really don't want to copy
one sector at a time (bs=512), and in my case, 16k is the highest that
I could go. If you are moving some other slice like s2, you can set bs
to 1 or 2 megs and just do proper calculation for what skip should be
set to (bs * skip should equal 512 * staring block as reported by
fdisk).

Realize, however, that this isn't exactly the same as creating a
"dangerously dedicated" disk from the start. You're just moving the
first (or whatever slice you need) to the start of the drive along
with any data that follows. You will not reclaim any disk space this
way, though you may be able to use bsdlabel and growfs later to expand
your partitions.

Good luck!
- Max

P.S. Once again would like to emphasize that I would never do this on
any real data because of the risks involved, but it was a fun exercise
to try :)


------------------------------

Message: 14
Date: Tue, 20 Jan 2009 22:59:45 +0100 (CET)
From: Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl>
Subject: Re: switching bsdlabel's label
To: Eduardo Meyer <dudu.meyer at gmail.com>
Cc: stable at freebsd.org, questions at freebsd.org
Message-ID: <20090120225943.T19343 at wojtek.tensor.gdynia.pl>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

yes

On Tue, 20 Jan 2009, Eduardo Meyer wrote:

> Hello,
>
> I have a certain disk where da0s1a and da0s1d are inverted. By some
> reason someone labelled root as 'd' and home as 'a'.
>
> Can I just
>
> bsdlabel -n da0s1 > savedabel.txt
>
> Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel)
>
> -- 
> ===========
> Eduardo Meyer
> pessoal: dudu.meyer at gmail.com
> profissional: ddm.farmaciap at saude.gov.br
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>


------------------------------

Message: 15
Date: Tue, 20 Jan 2009 12:29:43 -1000
From: Clifton Royston <cliftonr at lava.net>
Subject: Re: Edit user groups
To: Akenner <SlackWareWolf at comcast.net>
Cc: questions at freebsd.org
Message-ID: <20090120222942.GB26526 at lava.net>
Content-Type: text/plain; charset=us-ascii

On Tue, Jan 20, 2009 at 03:09:16PM -0500, Akenner wrote:
> Hi,
> 
> I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. 
> I made about 4 for myself to use and do various testing with, and made 
> some for my Wife as well because She knows UNIX better than I do anyway heh.
> 
> Anyway, one of the things I forgot about, was that FreeBSD by default 
> doesn't allow just anyone to use su.

Good advice given so far (pw is a good tool, direct editing works) but
I'd also suggest you consider installing and using sudo; I always
install it on all of my systems and use it probably 10-20 times as
often as su.

  -- Clifton

-- 
    Clifton Royston  --  cliftonr at iandicomputing.com / cliftonr at lava.net
       President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services


------------------------------

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

End of freebsd-questions Digest, Vol 246, Issue 24
**************************************************



------------------------------

Message: 2
Date: Tue, 20 Jan 2009 17:29:24 -0500
From: "Thomas W. Holloway" <twh359 at earthlink.net>
Subject: Newbie: offline package use / XFCE.
To: freebsd-questions at freebsd.org
Message-ID:
	<op.un2t3an4zupx9r at dialup-4.249.15.110.dial1.washington2.level3.net>
Content-Type: text/plain; format=flowed; delsp=yes;
	charset=iso-8859-15

Greetings from newbie land.

I have what I hope is a simple question about using packages offline, with  
particular reference to XFCE if that matters. I am not so much asking "how  
do I do this?" as I am "Do I understand this correctly?"

I have read the appropriate sections of the Handbook, Lehey's _Complete  
FreeBSD_ (both paragraphs :) ), and Lucas' _Absolute FreeBSD (2nd ed.). I  
have googled and done some searching of this list's archives, and couldn't  
tease the answer out of them. As you will see, it would be a LOT of work  
to "just try it", so I don't feel too bad about asking before diving in.

I would like to install XFCE on a FreeBSD 7.1 box that is and will remain  
(for now) offline. No network connection at all. If I have read correctly,  
this means downloading the appropriate package(s) and using pkg_add. So  
far, so good (I haven't done it, but it seems clear enough).

The package for XFCE4, as listed here

   http://www.freebsd.org/ports/xfce.html

is a "meta-port" (I believe I understand the idea), which seems to have  
about one hundred (100) dependencies. Of course, some of those will have  
dependencies of their own, and so on. My question is this:

In order to "download/ftp the package" for XFCE4, I would have to obtain  
all hundred (or so) of the listed files _and_ any dependencies they may  
have so as to point pkg_add at them locally. Is this correct?  If not  
correct, what have I missed (a pointer to what I've missed should be  
sufficient).

I've also looked at it from the XFCE side, where there is a nice, detailed  
doc by Benedikt Meurer, here

   http://www.os-works.com/documentation/xfce-installers/4.2.1/xfce-installer/

This strongly implies that I can bypass the pkg_add procedure entirely.  
Might be worth trying, but I'd still like to know if I've understood what  
the package listing above is saying.

Editorial comment and/or general advice on XFCE is not unwelcome. It's  
just secondary to the question.

Thanks in advance, and

regards,

Tom Holloway.

PS: I almost forgot the traditional "PLEASE HELP!!!"   ;)  But this is not  
for work and I am not on any deadline whatever.


------------------------------

Message: 3
Date: Wed, 21 Jan 2009 01:16:45 +0200
From: Manolis Kiagias <sonic2000gr at gmail.com>
Subject: Re: Newbie: offline package use / XFCE.
To: twh359 at earthlink.net
Cc: freebsd-questions at freebsd.org
Message-ID: <49765B5D.5090909 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-15

Thomas W. Holloway wrote:
> Greetings from newbie land.
>
> I have what I hope is a simple question about using packages offline,
> with particular reference to XFCE if that matters. I am not so much
> asking "how do I do this?" as I am "Do I understand this correctly?"
>
> I have read the appropriate sections of the Handbook, Lehey's
> _Complete FreeBSD_ (both paragraphs :) ), and Lucas' _Absolute FreeBSD
> (2nd ed.). I have googled and done some searching of this list's
> archives, and couldn't tease the answer out of them. As you will see,
> it would be a LOT of work to "just try it", so I don't feel too bad
> about asking before diving in.
>
> I would like to install XFCE on a FreeBSD 7.1 box that is and will
> remain (for now) offline. No network connection at all. If I have read
> correctly, this means downloading the appropriate package(s) and using
> pkg_add. So far, so good (I haven't done it, but it seems clear enough).
>
> The package for XFCE4, as listed here
>
>   http://www.freebsd.org/ports/xfce.html
>
> is a "meta-port" (I believe I understand the idea), which seems to
> have about one hundred (100) dependencies. Of course, some of those
> will have dependencies of their own, and so on. My question is this:
>
> In order to "download/ftp the package" for XFCE4, I would have to
> obtain all hundred (or so) of the listed files _and_ any dependencies
> they may have so as to point pkg_add at them locally. Is this correct?

In short, yes.  And this will be quite difficult to get right. *Unless*
the machine you actually use to get the packages is also running
FreeBSD.   You could then pkg_add -r xfce4 on it  and then recreate  all
the required packages and transfer them to the target machine. To
recreate the packages:

# cd /usr/ports
# mkdir packages
# cd packages
# pkg_create -Rb xfce-x.y.z

(hint: use pkg_info -Ix xfce to get the exact name of the xfce metaport
to use with pkg_create)

The same applies also if you decide to build xfce from Ports.  You could
still create packages in the same way.
Simply copy the packages to a CD or USB drive, and pkg_add on the target
machine (note you will not use '-r' on it as all the packages are local)

>   If not correct, what have I missed (a pointer to what I've missed
> should be sufficient).
>
> I've also looked at it from the XFCE side, where there is a nice,
> detailed doc by Benedikt Meurer, here
>
>  
> http://www.os-works.com/documentation/xfce-installers/4.2.1/xfce-installer/
>
>

This document refers to an older version of XFCE and may not be
applicable to the current one. I've never used this, I definitely prefer
to build my own packages from the official port.

> This strongly implies that I can bypass the pkg_add procedure
> entirely. Might be worth trying, but I'd still like to know if I've
> understood what the package listing above is saying.
>
> Editorial comment and/or general advice on XFCE is not unwelcome. It's
> just secondary to the question.
>

XFCE is nice, I've been using it on almost all my FreeBSD desktops. It
is a no frills desktop. The default look is somewhat blunt, but it is
easy to customize to taste.  I also usually install ristretto (picture
viewer) thunar-volman-plugin (for mounting USB drives etc) and a few
other xfce utilities. It compiles rather quickly on my humble Pentium IV.


As a side note, I have a machine specifically for building packages and
it just happens that I finished a complete build run today (for FreeBSD
7.1 32bit). This includes XFCE, Xorg, Gnome + power tools + fifth toe,
KDE4 (4.1 actually) and few other things. More than 1.5G of packages.  I
could possibly upload just the XFCE + dependencies packages somewhere so
you can download them and use them. Contact me directly if you wish to
go down that route.


------------------------------

Message: 4
Date: Tue, 20 Jan 2009 22:58:05 -0000
From: "Graeme Dargie" <arab at tangerine-army.co.uk>
Subject: Motherboard support
To: <freebsd-questions at freebsd.org>
Message-ID:
	<01FB8F39BAD0BD49A6D0DA8F78973929560C at Mercury.galaxy.lan.lcl>
Content-Type: text/plain;	charset="us-ascii"

Hello,

 

I have built a machine with a Gigabyte GA-MA74GM-S2, running Freebsd
7.1. For the most part it is fine but I do have two problems

 

1)       The NIC a realtek 8111C keeps giving watchdog timeout messages
and the link state changes from up to down and back to up again.

 

2)       The two hard disks that are attached to the sata raid
controller are not seen by Freebsd, the raid card is set to native ide
as I want to use ZFS rather than the onboard raid system and all the
drives are present at post. I understand this motherboard uses a AMD740
chipset and has 740 northbridge and a SB700 southbridge.

 

Any ideas tips pointers would be most welcome

 

Regards

 

Graeme 



------------------------------

Message: 5
Date: Tue, 20 Jan 2009 15:49:49 -0800
From: Robert Marella <traveling08 at cox.net>
Subject: Re: fdisk -B
To: Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl>
Cc: "freebsd-questions at freebsd.org" <freebsd-questions at freebsd.org>
Message-ID: <20090120154949.036f3c52 at debian.shasta204.local>
Content-Type: text/plain; charset=US-ASCII

On Tue, 20 Jan 2009 22:48:52 +0100 (CET)
Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl> wrote:

> > and use the standard FreeBSD MBR ...without messing anything up.
> >
> > Can I perform the fdisk -B /dev/ad4 followed by fdisk -B /dev/ad6
> > from a livefs disk? Maybe fdisk -B /dev/mirror/gm0?
> 
> definitely /dev/mirror/gm0 not /dev/ad6
> 
I was figuring that I would have to boot to single user and do this but
I wanted some assurance. Thanks Wojciech for providing the
"confidence". All is well in the world again.

Robert


------------------------------

Message: 6
Date: Tue, 20 Jan 2009 16:52:56 -0700
From: Geoff Fritz <gfritz at gmail.com>
Subject: Way to prune/limit the ZFS zpool history?
To: freebsd-questions at freebsd.org
Message-ID: <20090120235256.GB30866 at dev.null>
Content-Type: text/plain; charset=us-ascii

Hello.

I've been experimenting with a series scripts that takes ZFS snapshots every
minute, eventually destroying the oldest so that only so many remain available
for a given window of time.

This may seem a trivial concern with hard drive sizes being what they are
these days, but after running a "zpool history" I started thinking that a ZFS
create and destroy being performed every minute would add up to a lot over
the course of a few years (current estimate is 62MB/year for the naming scheme
of my snapshots).

>From what I understand, ZFS compresses metadata by default, so this history
probbaly won't take up much space in the grand scheme of things.  However, I
was curious just the same about wether or not there was a way to prune down,
or limit the size of, the zpool history.

Also, is there any substantial performance penalty to having a huge history?

Thanks for any pointers.

-- Geoff


------------------------------

Message: 7
Date: Wed, 21 Jan 2009 02:31:55 +0100
From: Polytropon <freebsd at edvax.de>
Subject: Re: Newbie: offline package use / XFCE.
To: Manolis Kiagias <sonic2000gr at gmail.com>
Cc: twh359 at earthlink.net, freebsd-questions at freebsd.org
Message-ID: <20090121023155.8c8ea863.freebsd at edvax.de>
Content-Type: text/plain; charset=US-ASCII

On Wed, 21 Jan 2009 01:16:45 +0200, Manolis Kiagias <sonic2000gr at gmail.com> wrote:
> In short, yes.  And this will be quite difficult to get right. *Unless*
> the machine you actually use to get the packages is also running
> FreeBSD.   You could then pkg_add -r xfce4 on it  and then recreate  all
> the required packages and transfer them to the target machine. To
> recreate the packages:
> 
> [...]
> 
> The same applies also if you decide to build xfce from Ports.  You could
> still create packages in the same way.
> Simply copy the packages to a CD or USB drive, and pkg_add on the target
> machine (note you will not use '-r' on it as all the packages are local)

Just as a friendly sidenote: I need to put emphasize on the fact that
you will need to install XFCE 4 on the machine with Internet access
in order to follow this procedure. If you don't mind doing this or
of you intend to run XFCE on that machine anyway, stop reading now. :-)



If you intentionally DON'T want to install XFCE 4 on the machine
you want to use to get the packages, how about trying this dirty
script?



###########################################################################



#!/bin/sh
#
# pkg_download.sh 2008-08-19
# ===============
#
# fetch a precompiled package as well as its dependencies
# for further installation

if [ "$1" = "" ]; then
	echo "$0 <package>"
	exit 1
fi

echo -n "fetching $1 ... "
if [ -f $1.tbz ]; then
	echo "$1.tbz already there"
	exit 1
fi

pkg_add -fKnrv $1 > $1.txt 2>&1

echo "done"

for DEP in `cat $1.txt | grep $1 | grep "depends on" | cut -d "'" -f 6 | cut -d "/" -f 2`; do
	echo "dependency for $1 is ${DEP}"
	$0 ${DEP}
done

rm $1.txt

exit 0



###########################################################################



Put this content into a file pkg_download.sh, chmod it +x and then run

	% ./pkg_download.sh xfce4

And yes, it's a very dirty solution, needlessly complicated,
untidy and unfriendly to use, but it will work and bypass the
need to install XFCE 4 on the machine to fetch. The script
does not compile anything, it relies on the pkg_add -r mechanism
and the presence of the proper packages on the default server.

But please note that it will download any dependency needed
recursively, which may lead you to a huge pile of tbz files.
Just think about what Gtk 2 will need...

I wrote this script in order to achieve the same goal as it
has been requested initially.





-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


------------------------------

Message: 8
Date: Wed, 21 Jan 2009 04:50:33 +0100
From: Peter Ulrich Kruppa <ulrich at pukruppa.net>
Subject: Re: Newbie: offline package use / XFCE.
To: twh359 at earthlink.net
Cc: freebsd-questions at freebsd.org
Message-ID: <49769B89.4040301 at pukruppa.net>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

Thomas W. Holloway schrieb:
> 
> I would like to install XFCE on a FreeBSD 7.1 box that is and will 
> remain (for now) offline. No network connection at all. If I have read 
> correctly, this means downloading the appropriate package(s) and using 
> pkg_add. So far, so good (I haven't done it, but it seems clear enough).
The simpliest way would be to install from one of the three 
Release-CD's or from the Release-DVD (via /usr/sbin/sysinstall).
But I have no idea if XFCE4 is contained in them. Perhaps someone 
could look this up for you?

Greetings,

Uli.

> 
> The package for XFCE4, as listed here
> 
>   http://www.freebsd.org/ports/xfce.html
> 
> is a "meta-port" (I believe I understand the idea), which seems to have 
> about one hundred (100) dependencies. Of course, some of those will have 
> dependencies of their own, and so on. My question is this:
> 
> In order to "download/ftp the package" for XFCE4, I would have to obtain 
> all hundred (or so) of the listed files _and_ any dependencies they may 
> have so as to point pkg_add at them locally. Is this correct?  If not 
> correct, what have I missed (a pointer to what I've missed should be 
> sufficient).
> 
> I've also looked at it from the XFCE side, where there is a nice, 
> detailed doc by Benedikt Meurer, here
> 
>   
> http://www.os-works.com/documentation/xfce-installers/4.2.1/xfce-installer/
> 
> This strongly implies that I can bypass the pkg_add procedure entirely. 
> Might be worth trying, but I'd still like to know if I've understood 
> what the package listing above is saying.
> 
> Editorial comment and/or general advice on XFCE is not unwelcome. It's 
> just secondary to the question.
> 
> Thanks in advance, and
> 
> regards,
> 
> Tom Holloway.
> 
> PS: I almost forgot the traditional "PLEASE HELP!!!"   ;)  But this is 
> not for work and I am not on any deadline whatever.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"



------------------------------

Message: 9
Date: Tue, 20 Jan 2009 22:17:47 -0600
From: Dan Nelson <dnelson at allantgroup.com>
Subject: Re: Way to prune/limit the ZFS zpool history?
To: Geoff Fritz <gfritz at gmail.com>
Cc: freebsd-questions at freebsd.org
Message-ID: <20090121041747.GD45931 at dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii

In the last episode (Jan 20), Geoff Fritz said:
> I've been experimenting with a series scripts that takes ZFS
> snapshots every minute, eventually destroying the oldest so that only
> so many remain available for a given window of time.
> 
> This may seem a trivial concern with hard drive sizes being what they
> are these days, but after running a "zpool history" I started
> thinking that a ZFS create and destroy being performed every minute
> would add up to a lot over the course of a few years (current
> estimate is 62MB/year for the naming scheme of my snapshots).

According to
http://docs.sun.com/app/docs/doc/819-5461/gdswe?l=en&a=view , the zpool
history file is between 128K and 32MB, depending on the size of the
pool.  The FreeBSD import at
/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_history.c agrees
with the docs :)

-- 
	Dan Nelson
	dnelson at allantgroup.com


------------------------------

Message: 10
Date: Tue, 20 Jan 2009 21:23:32 -0700
From: Tim Judd <tajudd at gmail.com>
Subject: Re: Edit user groups
To: Clifton Royston <cliftonr at lava.net>
Cc: Akenner <SlackWareWolf at comcast.net>, questions at freebsd.org
Message-ID: <4976A344.3090106 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Clifton Royston wrote:
> On Tue, Jan 20, 2009 at 03:09:16PM -0500, Akenner wrote:
>   
>> Hi,
>>
>> I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. 
>> I made about 4 for myself to use and do various testing with, and made 
>> some for my Wife as well because She knows UNIX better than I do anyway heh.
>>
>> Anyway, one of the things I forgot about, was that FreeBSD by default 
>> doesn't allow just anyone to use su.
>>     
>
> Good advice given so far (pw is a good tool, direct editing works) but
> I'd also suggest you consider installing and using sudo; I always
> install it on all of my systems and use it probably 10-20 times as
> often as su.
>
>   -- Clifton
>
>   
and I recommend against sudo because it's very design is a 
man-in-the-middle type of scenario, and one typo by the sudo devs can 
possibly make a mess out of things.

I think sudo makes a lazy admin -- too easy to just run in and hit 
something.

I think sudo is a false sense of security.  If a user trusts another, 
and give sudo access, why not give the whole OS to them?

Sudo's out there -- don't get me wrong, but you won't catch me dead with 
a box with sudo installed.  I think it's a very misleading tool.  And 
not to say they do -- but what if the devs put in a keygen...do you 
monitor the sudo source code?

And if I remember correctly -- the way sudo gets it's work done is a 
SUID bit to root.  Those are the devil's eggs that hatch and just cause 
havoc.  A rogue CGI calling sudo to do something on the website, buffer 
overflow (with php!) and you've gotten rooted.

No, no -- I hate sudo for it's own doing.  It's going to eat itself alive.

</rant>  No flames please.


------------------------------

Message: 11
Date: Tue, 20 Jan 2009 21:30:22 -0700
From: Tim Judd <tajudd at gmail.com>
Subject: Re: unable to logon after updating ports collection - Freebsd
	7.1 stable
To: Bert-Jan <info at bert-jan.com>
Cc: Boris Samorodov <bsam at ipt.ru>, Roy Stuivenberg
	<roys1012 at gmail.com>,	freebsd-questions at freebsd.org
Message-ID: <4976A4DE.2060009 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Bert-Jan wrote:
>> "Roy Stuivenberg" <roys1012 at gmail.com> writes:
>>
>>     
>>> After I completed my Freebsd 7.1 stable, and updated all the ports, I
>>> got
>>> prompted with another logonscreen.
>>> Whatever I try, I can't login with my useraccount and even not logon as
>>> root.
>>> This happened severall times now, the only way was to reinstall
>>> everything,
>>> and I was hoping to resolve this by completly finish upgrading the
>>> ports.
>>> And .. again the same problem.
>>> I'm really hoping to get some answers that will solve this problem,
>>> maybe
>>> someone had to deal with this  issue before ??
>>> I will not give up, because Freebsd stole my heart.
>>>       
>> The problem has nothing to do with ports. To restore your root/user
>> logins:
>> . boot into single user mode;
>> . set a new root password;
>> . set a new user password;
>> . boot into multiuser mode;
>> . login and have fun.
>>
>>
>> WBR
>> --
>> bsam
>> _______________________________________________
>>     
>
> I've had the same thing happen to me not 2 weeks ago after upgrading a
> server from 7.0-RC2 to 7.1-RELEASE with freebsd-update. For me the problem
> had nothing to do with ports but with the update itself, because it
> replaced my pwd.db and spwd.db with the default ones (root with no
> password, no user accounts) and since ssh doesn't accept root logins I
> ended up going to the datacenter and copying the backups of those db's
> back. Then everything was fine again. Very strange they got replaced
> though..
> Sounds like you've had something similar happen to you. Hopefully your
> machine isn't too far away.
>
> Bert-Jan
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>   
Might I add the tempting and tendancy to change root's shell to a 
non-base shell.  While you're in single user, use a base shell if you're 
using non-base (ahem!  bash users)

--Tim


------------------------------

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

End of freebsd-questions Digest, Vol 246, Issue 25
**************************************************



More information about the freebsd-questions mailing list