Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2009 14:29:26 -0800
From:      "AEBC Support via RT" <support@aebc.com>
To:        freebsd-questions@freebsd.org
Subject:   [Trouble Ticket #190165] AutoReply: freebsd-questions Digest, Vol 246, Issue 24 
Message-ID:  <rt-3.8.2-23288-1232490566-1972.190165-3-0@tracker2.aebc.com>
In-Reply-To: <20090120222958.7117A10656E9@hub.freebsd.org>
References:  <RT-Ticket-190165@tracker2.aebc.com> <20090120222958.7117A10656E9@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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@aebc.com

-------------------------------------------------------------------------
Send freebsd-questions mailing list submissions to
	freebsd-questions@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@freebsd.org

You can reach the person managing the list at
	freebsd-questions-owner@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@mail.mcitsh.com>
Subject: Permanent Delivery Failure
To: questions@freebsd.org
Message-ID: <MDAEMON7375200901210245.AA4501921@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@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@freebsd.org
 Wed 2009-01-21 02:45:01: *  To: vodete@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@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@mail.mcitsh.com>
Subject: Permanent Delivery Failure
To: questions@freebsd.org
Message-ID: <MDAEMON7379200901210245.AA4507000@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@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@freebsd.org
 Wed 2009-01-21 02:45:01: *  To: vodeneev@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@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@freebsd.org>
 Wed 2009-01-21 02:45:03: <-- 250 OK
 Wed 2009-01-21 02:45:03: --> RCPT To:<vodeneev@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@mail.mcitsh.com>
Subject: Permanent Delivery Failure
To: questions@freebsd.org
Message-ID: <MDAEMON7395200901210245.AA4522671@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@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@freebsd.org
 Wed 2009-01-21 02:45:01: *  To: vodgosp@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@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@freebsd.org>
 Wed 2009-01-21 02:45:18: <-- 250 2.1.0 <questions@freebsd.org>... Sender ok
 Wed 2009-01-21 02:45:18: --> RCPT To:<vodgosp@carrier.kiev.ua>
 Wed 2009-01-21 02:45:18: <-- 550 5.1.1 <vodgosp@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@msu.edu>
Subject: Re: slices to "dangerously dedicated"
To: Robert Huff <roberthuff@rcn.com>
Cc: questions@freebsd.org
Message-ID: <20090120202408.GA57664@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


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

Message: 5
Date: Tue, 20 Jan 2009 15:28:27 -0500
From: Jerry McAllister <jerrymc@msu.edu>
Subject: Re: Edit user groups
To: Akenner <SlackWareWolf@comcast.net>
Cc: questions@freebsd.org
Message-ID: <20090120202827.GB57664@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


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

Message: 6
Date: Tue, 20 Jan 2009 15:31:09 -0500
From: Steve Bertrand <steve@ibctech.ca>
Subject: Re: Edit user groups
To: Akenner <SlackWareWolf@comcast.net>
Cc: questions@freebsd.org
Message-ID: <4976348D.4010502@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@cox.net>
Subject: fdisk -B
To: freebsd-questions@freebsd.org <freebsd-questions@freebsd.org>
Message-ID: <20090120122830.096ca40e@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@potentialtech.com>
Subject: Re: Edit user groups
To: Akenner <SlackWareWolf@comcast.net>
Cc: questions@freebsd.org
Message-ID: <20090120152835.aea0b37d.wmoran@potentialtech.com>
Content-Type: text/plain; charset=US-ASCII

In response to Akenner <SlackWareWolf@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@aebc.com>
Subject: [Trouble Ticket #190137] AutoReply: freebsd-questions Digest,
	Vol 246, Issue 23 
To: freebsd-questions@freebsd.org
Message-ID:
	<rt-3.8.2-24796-1232483070-1333.190137-3-0@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@aebc.com

-------------------------------------------------------------------------
Send freebsd-questions mailing list submissions to
	freebsd-questions@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@freebsd.org

You can reach the person managing the list at
	freebsd-questions-owner@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@ipt.ru>
Subject: Re: unable to logon after updating ports collection - Freebsd
	7.1	stable
To: "Roy Stuivenberg" <roys1012@gmail.com>
Cc: freebsd-questions@freebsd.org
Message-ID: <47622685@ipt.ru>
Content-Type: text/plain; charset=us-ascii

"Roy Stuivenberg" <roys1012@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@bert-jan.com>
Subject: Re: unable to logon after updating ports collection - Freebsd
	7.1  stable
To: "Boris Samorodov" <bsam@ipt.ru>
Cc: Roy Stuivenberg <roys1012@gmail.com>,
	freebsd-questions@freebsd.org
Message-ID:
	<06bb5927cefec26ba5797915637b8a95.squirrel@admin.bert-jan.com>
Content-Type: text/plain;charset=iso-8859-1

> "Roy Stuivenberg" <roys1012@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@catwhisker.org>
Subject: Re: tar fails on FreeBSD 7 and passes on FreeBSD 6 for the
	same	input
To: chandra reddy <creddym@gmail.com>
Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org
Message-ID: <20090120124903.GH17567@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@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@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@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@gmail.com>
Subject: Re: Large raid arrays
To: Frederique Rijsdijk <frederique@isafeelin.org>
Cc: freebsd-questions@freebsd.org
Message-ID: <4975B64F.20207@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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@webrz.net>
Subject: Portupgrade thru SSH session
To: freebsd-questions@freebsd.org
Message-ID: <4975DB45.1040407@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@milibyte.co.uk>
Subject: Re: kvm switch
To: freebsd-questions@freebsd.org
Message-ID: <200901201410.26629.jmc-freebsd2@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@gmail.com>
Subject: Re: Portupgrade thru SSH session
To: Jos Chrispijn <jos@webrz.net>
Cc: freebsd-questions@freebsd.org
Message-ID:
	<8cb6106e0901200717u717a0734r933f4337658fffd5@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jan 20, 2009 at 9:10 AM, Jos Chrispijn <jos@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@bals.org>
Subject: Re: Portupgrade thru SSH session
To: Jos Chrispijn <jos@webrz.net>
Cc: freebsd-questions@freebsd.org
Message-ID: <4975E335.5070703@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@gmail.com>
Subject: stable-supfile --> freebsd-update
To: freebsd-questions@freebsd.org
Message-ID:
	<b9079c480901200723q5596d6b8q198f2aff8deaf41d@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@gmail.com>
Subject: How to auto-logout after XXX idle?
To: freebsd-questions@freebsd.org
Message-ID:
	<78fb9d960901200710r27911b0cheaddfd3769abe7d3@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@ru.ac.za>
Subject: telnet to mbmon
To: freebsd-questions@freebsd.org
Message-ID: <49760CEA.3417.1479BC08@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@wojtek.tensor.gdynia.pl>
Subject: Re: Large raid arrays
To: Matias Surdi <matiassurdi@gmail.com>
Cc: freebsd-questions@freebsd.org
Message-ID: <20090120164719.B18283@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>


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

Message: 13
Date: Tue, 20 Jan 2009 16:48:45 +0100 (CET)
From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Subject: Re: Large raid arrays
To: Matias Surdi <matiassurdi@gmail.com>
Cc: freebsd-questions@freebsd.org
Message-ID: <20090120164747.J18283@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@gmail.com>
Subject: switching bsdlabel's label
To: questions@freebsd.org, stable@freebsd.org
Message-ID:
	<d3ea75b30901200724o4bc9b515y71733fcb2f5808f9@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@gmail.com
profissional: ddm.farmaciap@saude.gov.br


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

Message: 15
Date: Tue, 20 Jan 2009 17:19:31 +0100
From: Matias Surdi <matiassurdi@gmail.com>
Subject: Re: Large raid arrays
To: freebsd-questions@freebsd.org
Message-ID: <gl4tii$skm$1@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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe@freebsd.org"
>>
>>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@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@logikos.com>
Subject: NetBSD networking question
To: <freebsd-questions@freebsd.org>
Message-ID:
	<A6363BE436C7C54B8105C2866E6A0C8E01F0E438@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@logikos.com

 

 



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

Message: 17
Date: Tue, 20 Jan 2009 17:13:56 +0100
From: "Patrick M. Hausen" <hausen@punkt.de>
Subject: Re: switching bsdlabel's label
To: Eduardo Meyer <dudu.meyer@gmail.com>
Cc: stable@freebsd.org, questions@freebsd.org
Message-ID: <20090120161355.GA28525@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@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@gmail.com>
Subject: Strange nvidia GeForce 9800GT--harddrive conflict?
To: freebsd-questions@freebsd.org
Message-ID:
	<42b840be0901200823je4afa44hd7c68e4e828da815@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@mail.mcitsh.com>
Subject: Permanent Delivery Failure
To: questions@freebsd.org
Message-ID: <MDAEMON0164200901202252.AA5220890@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@ua.fm
> pratt@ua.fm
> prav-vol@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@freebsd.org
 Tue 2009-01-20 22:52:02: *  To: prat@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@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@freebsd.org>
 Tue 2009-01-20 22:52:04: <-- 250 OK
 Tue 2009-01-20 22:52:04: --> RCPT To:<prat@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@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@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@freebsd.org>
 Tue 2009-01-20 22:52:07: <-- 250 OK
 Tue 2009-01-20 22:52:07: --> RCPT To:<prat@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@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@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@freebsd.org>
 Tue 2009-01-20 22:52:10: <-- 250 OK
 Tue 2009-01-20 22:52:10: --> RCPT To:<prat@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@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@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@freebsd.org>
 Tue 2009-01-20 22:52:16: <-- 250 OK
 Tue 2009-01-20 22:52:16: --> RCPT To:<prat@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@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@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@gmail.com>
Subject: Re: switching bsdlabel's label
To: "Patrick M. Hausen" <hausen@punkt.de>
Cc: stable@freebsd.org, questions@freebsd.org
Message-ID:
	<d3ea75b30901200936n15ae0b03m4c48ba55f3728d44@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen <hausen@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@punkt.de       http://www.punkt.de
> Gf: J���rgen Egeling      AG Mannheim 108285
>



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


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

Message: 21
Date: Tue, 20 Jan 2009 18:15:25 +0000
From: "Saifi Khan" <saifi.khan@twincling.org>
Subject: ASL 2.0 based software contribution to FreeBSD code base
To: freebsd-questions@freebsd.org
Message-ID:
	<9a52b1190901201015v68473203w649af60b08fca0d2@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@catwhisker.org>
Subject: Re: switching bsdlabel's label
To: Eduardo Meyer <dudu.meyer@gmail.com>
Cc: stable@freebsd.org, questions@freebsd.org
Message-ID: <20090120174112.GS17567@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@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@msu.edu>
Subject: Re: switching bsdlabel's label
To: Eduardo Meyer <dudu.meyer@gmail.com>
Cc: "Patrick M. Hausen" <hausen@punkt.de>, stable@freebsd.org,
	questions@freebsd.org
Message-ID: <20090120184216.GA57318@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@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@punkt.de       http://www.punkt.de
> > Gf: J���rgen Egeling      AG Mannheim 108285
> >
> 
> 
> 
> -- 
> ===========
> Eduardo Meyer
> pessoal: dudu.meyer@gmail.com
> profissional: ddm.farmaciap@saude.gov.br
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 


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

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

Ramiro Caso <misha_78@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@be-well.ilk.org>
Subject: Re: DUMP: read error: Bad address
To: Chris Jones <chris@cjones.org>
Cc: freebsd-questions@freebsd.org
Message-ID: <44ljt5olwm.fsf@be-well.ilk.org>
Content-Type: text/plain; charset=us-ascii

Chris Jones <chris@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@be-well.ilk.org>
Subject: Re: Port 7070
To: Doug Hardie <bc979@lafn.org>
Cc: freebsd-questions@freebsd.org
Message-ID: <44hc3tolqg.fsf@be-well.ilk.org>
Content-Type: text/plain; charset=us-ascii

Doug Hardie <bc979@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@gmail.com>
Subject: Re: NetBSD networking question
To: Shawn Hoffman <shoffman@logikos.com>
Cc: freebsd-questions@freebsd.org
Message-ID:
	<d356c5630901201053h4d4efab8uf914ff3cf8f4548e@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jan 20, 2009 at 10:26 AM, Shawn Hoffman <shoffman@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@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@xs4all.nl>
Subject: Re: Cannot perform user mounts after upgrade
To: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
Cc: freebsd-questions@freebsd.org, Ramiro Caso <misha_78@hotmail.com>
Message-ID: <20090120185629.GA84722@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@cjones.org>
Subject: Re: DUMP: read error: Bad address
To: freebsd-questions@freebsd.org
Message-ID: <497621C4.6070203@cjones.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Lowell Gilbert wrote:
> Chris Jones <chris@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@rcn.com>
Subject: slices to "dangerously dedicated"
To: questions@freebsd.org
Message-ID: <18806.10828.412738.659475@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@mac.com>
Subject: Re: slices to "dangerously dedicated"
To: Robert Huff <roberthuff@rcn.com>
Cc: questions@freebsd.org
Message-ID: <50770AB3-4AF9-4359-9399-B591DE5BA70F@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@comcast.net>
Subject: Edit user groups
To: questions@freebsd.org
Message-ID: <49762F6C.8040404@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@mail.mcitsh.com>
Subject: Permanent Delivery Failure
To: questions@freebsd.org
Message-ID: <MDAEMON7376200901210245.AA4501937@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@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@freebsd.org
 Wed 2009-01-21 02:45:01: *  To: vodgelnub@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@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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@comcast.net>
Subject: Re: Edit user groups
To: questions@freebsd.org
Message-ID: <497639D7.4050903@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@wojtek.tensor.gdynia.pl>
Subject: Re: slices to "dangerously dedicated"
To: Robert Huff <roberthuff@rcn.com>
Cc: questions@freebsd.org
Message-ID: <20090120224538.V19299@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@wojtek.tensor.gdynia.pl>
Subject: Re: fdisk -B
To: Robert <traveling08@cox.net>
Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Message-ID: <20090120224832.N19299@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>


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

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

On Tue, Jan 20, 2009 at 2:47 PM, Robert Huff <roberthuff@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@wojtek.tensor.gdynia.pl>
Subject: Re: switching bsdlabel's label
To: Eduardo Meyer <dudu.meyer@gmail.com>
Cc: stable@freebsd.org, questions@freebsd.org
Message-ID: <20090120225943.T19343@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@gmail.com
> profissional: ddm.farmaciap@saude.gov.br
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>


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

Message: 15
Date: Tue, 20 Jan 2009 12:29:43 -1000
From: Clifton Royston <cliftonr@lava.net>
Subject: Re: Edit user groups
To: Akenner <SlackWareWolf@comcast.net>
Cc: questions@freebsd.org
Message-ID: <20090120222942.GB26526@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@iandicomputing.com / cliftonr@lava.net
       President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services


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

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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rt-3.8.2-23288-1232490566-1972.190165-3-0>