kern/144415: kernel panics on boot

2010-03-02 Thread Roddi

>Number: 144415
>Category:   kern
>Synopsis:   kernel panics on boot
>Confidential:   no
>Severity:   critical
>Priority:   high
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 02 08:10:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Roddi
>Release:8.0 i386
>Organization:
>Environment:
can't do that, it kernel panics on boot.
>Description:
Setup:

freebsd 8.0, ZFS-On-Boot Mirror (like: 
http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror). Swap on two swap 
partitions.

While deleting a large file (~300GB) via netatalk, it paniced and never came 
back. 

>How-To-Repeat:
Maybe deleting a big file?
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


kern/144416: Kernel panic on online filesystem optimization

2010-03-02 Thread sa

>Number: 144416
>Category:   kern
>Synopsis:   Kernel panic on online filesystem optimization
>Confidential:   no
>Severity:   non-critical
>Priority:   medium
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 02 08:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: sa
>Release:FreeBSD 7.1-RELEASE
>Organization:
New Energy
>Environment:
FreeBSD hq-bsd0.hq.stroyreserv.com 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  
1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC 
 i386
>Description:
During online filesystem optimization system can go to kernel panic on certain 
circumstances.

Our case was raid 0+1, ar0: 953877MB  status: READY

with /var mounted on /dev/ar0s1f (ufs, NFS exported, local, soft-updates, fsid 
382aad491192146c)

Server role is network gateway, firewall, squid-proxy, mail server and some 
monitoring stuff.
/var is heavily used by squid cache and mail-store.

Apparently, we hit online fs optimization threshold, which is (minfree-2 
percent) < 6.5 (current defrag level). In messages there are messages on fs 
going from TIME to SPACE optimization and it went fine, but after message fs 
going from SPACE to TIME there is kernel panic with following data:

dev = ar0s1f, block = 29238692, fs = /var
panic: ffs_blkfree: freeing free frag
cpuid = 0 
Uptime: 320d3h29m24s
Physical memory: 2035 MB
Dumping 270Mb

Maybe it-s already known issue, but better repost, than forget.

>How-To-Repeat:
Non tried as it-s production-use server.
>Fix:
Avoid using online filesystem optimization by good recepies given here 
http://lists.freebsd.org/pipermail/freebsd-stable/2007-April/034711.html , or 
better use of planning file system.

>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: BTX loader issue

2010-03-02 Thread Remko Lodder

On Mar 1, 2010, at 8:01 PM, Rick Chisholm wrote:

> Is the BTX loader issue (or issues) being actively pursued?  Upon digging 
> through the PR DB I find that I am not alone and I have ordered new hardware 
> to migrate my current workstation to and everything is on hold due to the BTX 
> loader halting.
> 
> If the bug has been deemed non-critical and not on the radar, I just need to 
> know, as I may have to load an alternate OS.
> 
> Thanks


Plenty of BTX loader issue(s) are on the radar and fixed. There are 'specific' 
systems
that might not work with the current implementation. The new hardware you 
mention
are there specific mentionings that the BTX loader doesn't work?

Cheerio,
Remko

-- 
/"\   Best regards,| re...@freebsd.org
\ /   Remko Lodder  | re...@efnet
Xhttp://www.evilcoder.org/|
/ \   ASCII Ribbon Campaign| Against HTML Mail and News

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


Re: kern/79833: [boot] BTX crashes on boot when using Promise TX2Plus SATA controller (PDC20375 )

2010-03-02 Thread brucec
Synopsis: [boot] BTX crashes on boot when using Promise TX2Plus SATA controller 
(PDC20375 )

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 18:52:29 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=79833
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/85257: [boot] BTX boot loader fails on USB CDROM (HP DL145 Opteron)

2010-03-02 Thread brucec
Synopsis: [boot] BTX boot loader fails on USB CDROM (HP DL145 Opteron)

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 18:53:47 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=85257
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: BTX loader issue

2010-03-02 Thread Rick Chisholm
Thanks for the response.

I did not see any PRs specifically mentioning this hardware.  I did try to 
submit a bug report, but the reporting tool gave me an error, after trying a 
few times I gave up.

The hardware in question is a new HP DC5850 SFF desktop - AMD Athlon X2 5400, 
160GB SATA (Seagate).

On March 2, 2010 01:49:35 pm Remko Lodder wrote:
> On Mar 1, 2010, at 8:01 PM, Rick Chisholm wrote:
> > Is the BTX loader issue (or issues) being actively pursued?  Upon digging
> > through the PR DB I find that I am not alone and I have ordered new
> > hardware to migrate my current workstation to and everything is on hold
> > due to the BTX loader halting.
> >
> > If the bug has been deemed non-critical and not on the radar, I just need
> > to know, as I may have to load an alternate OS.
> >
> > Thanks
>
> Plenty of BTX loader issue(s) are on the radar and fixed. There are
> 'specific' systems that might not work with the current implementation. The
> new hardware you mention are there specific mentionings that the BTX loader
> doesn't work?
>
> Cheerio,
> Remko



-- 
-=-=-=-=-=-=-+-=-=-=-=-=-=-
Rick Chisholm
Manager Information Technology
Southland Insurance
t. 519-326-4455 x. 
f. 519-326-1324
e. rchish...@southlandonline.com
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: usb/127423: [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempron LE-1250

2010-03-02 Thread brucec
Synopsis: [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempron LE-1250

State-Changed-From-To: open->closed 
State-Changed-By: brucec
State-Changed-When: Tue Mar 2 18:55:07 UTC 2010
State-Changed-Why: 
Booting from USB sticks was fixed in 7.1.


Responsible-Changed-From-To: freebsd-usb->freebsd-bugs
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 18:55:07 UTC 2010
Responsible-Changed-Why: 
Not a problem with the USB stack.

http://www.freebsd.org/cgi/query-pr.cgi?pr=127423
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: BTX loader issue

2010-03-02 Thread Rick Chisholm
On March 2, 2010 01:49:35 pm Remko Lodder wrote:
> On Mar 1, 2010, at 8:01 PM, Rick Chisholm wrote:
> > Is the BTX loader issue (or issues) being actively pursued?  Upon digging
> > through the PR DB I find that I am not alone and I have ordered new
> > hardware to migrate my current workstation to and everything is on hold
> > due to the BTX loader halting.
> >
> > If the bug has been deemed non-critical and not on the radar, I just need
> > to know, as I may have to load an alternate OS.
> >
> > Thanks
>
> Plenty of BTX loader issue(s) are on the radar and fixed. There are
> 'specific' systems that might not work with the current implementation. The
> new hardware you mention are there specific mentionings that the BTX loader
> doesn't work?
>
> Cheerio,
> Remko

FWIW - chipset is AMD 780V

SATA device is ATI SB700/SB800


-- 
-=-=-=-=-=-=-+-=-=-=-=-=-=-
Rick Chisholm
Manager Information Technology
Southland Insurance
t. 519-326-4455 x. 
f. 519-326-1324
e. rchish...@southlandonline.com
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: BTX loader issue

2010-03-02 Thread Remko Lodder

On Mar 2, 2010, at 7:56 PM, Rick Chisholm wrote:

> Thanks for the response.
> 
> I did not see any PRs specifically mentioning this hardware.  I did try to 
> submit a bug report, but the reporting tool gave me an error, after trying a 
> few times I gave up.
> 
> The hardware in question is a new HP DC5850 SFF desktop - AMD Athlon X2 5400, 
> 160GB SATA (Seagate).
> 


I am not sure what caused that, though, you cannot say for sure that the BTX 
loader does not
work when you didn't try. It works for most people, but some systems do not 
work; given the
amount of users versus reports, I think it's more exception then rule.

Best regards,
Remko

-- 
/"\   Best regards,| re...@freebsd.org
\ /   Remko Lodder  | re...@efnet
Xhttp://www.evilcoder.org/|
/ \   ASCII Ribbon Campaign| Against HTML Mail and News

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


Re: BTX loader issue

2010-03-02 Thread Rick Chisholm
On March 2, 2010 02:03:59 pm Remko Lodder wrote:
> On Mar 2, 2010, at 7:56 PM, Rick Chisholm wrote:
> > Thanks for the response.
> >
> > I did not see any PRs specifically mentioning this hardware.  I did try
> > to submit a bug report, but the reporting tool gave me an error, after
> > trying a few times I gave up.
> >
> > The hardware in question is a new HP DC5850 SFF desktop - AMD Athlon X2
> > 5400, 160GB SATA (Seagate).
>
> I am not sure what caused that, though, you cannot say for sure that the
> BTX loader does not work when you didn't try. It works for most people, but
> some systems do not work; given the amount of users versus reports, I think
> it's more exception then rule.
>
> Best regards,
> Remko

No sure I understand what you mean by "didn't try" - I have tried installing 
several BSD versions on this hardware all of which fail at the BTX loader, 
8.0, 7.2 and 6.4 as well as the 8.0 live CD and PCBSD.  I even used dd to 
image the drive directly from a known working image, same results.  Only 
thing I have got to run has been an older FreeSBIE live CD running BTX 
version 1.01.

-- 
-=-=-=-=-=-=-+-=-=-=-=-=-=-
Rick Chisholm
Manager Information Technology
Southland Insurance
t. 519-326-4455 x. 
f. 519-326-1324
e. rchish...@southlandonline.com
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


misc/144437: BTX loader halts on HP DC5850

2010-03-02 Thread Rick Chisholm

>Number: 144437
>Category:   misc
>Synopsis:   BTX loader halts on HP DC5850
>Confidential:   no
>Severity:   serious
>Priority:   medium
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 02 20:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Rick Chisholm
>Release:8.0, 7.2, 6.4
>Organization:
Southland Insurance
>Environment:
n/a - cannot install OS
>Description:
BTX loader halts when booting from various CDs that are using BTX loader 
version 1.02 - incl. FreeBSD 8.0, FreeBSD 7.2, FreeBSD 6.4, FreeBSD 8.0 LiveCD, 
and PCBSD.

FreeSBIE 2.0.1 with BTX loader version 1.01 works fine.

Boot process just halts with blinking cursor, Ctrl-Alt-Del not responsive.

Upgraded system BIOS, also ran MemTest86+ (no errors)

System has AMD 780V chipset
SATA device is ATI SB700/SB800

Have temporarily loaded Debian on system - no issues.
>How-To-Repeat:
Booting from any of the mentioned media.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern /144437: BTX loader halts on HP DC5850

2010-03-02 Thread brucec
Synopsis: BTX loader halts on HP DC5850

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 23:04:23 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=144437
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/96927: [loader] Loader(8) cause kernel death on "boot -a" [regression]

2010-03-02 Thread brucec
Synopsis: [loader] Loader(8) cause kernel death on "boot -a" [regression]

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 23:14:42 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=96927
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern /135307: Boot Loader problem on Acer Aspire 5735

2010-03-02 Thread brucec
Synopsis: Boot Loader problem on Acer Aspire 5735

Responsible-Changed-From-To: freebsd-standards->freebsd-bugs
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 23:16:59 UTC 2010
Responsible-Changed-Why: 
Not a standards issue.

http://www.freebsd.org/cgi/query-pr.cgi?pr=135307
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: bin/142916: Boot manager order differs between sysinstall(8) and sade(8)

2010-03-02 Thread brucec
Synopsis: Boot manager order differs between sysinstall(8) and sade(8)

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 23:21:18 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=142916
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: bin/81035: [patch] boot0cfg emits bogus error

2010-03-02 Thread brucec
Synopsis: [patch] boot0cfg emits bogus error

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 23:23:26 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=81035
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern /129524: FreeBSD 7.0 isnt detecting my hardrives with raid5

2010-03-02 Thread brucec
Synopsis: FreeBSD 7.0 isnt detecting my hardrives with raid5

Responsible-Changed-From-To: freebsd-standards->freebsd-bugs
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 23:31:26 UTC 2010
Responsible-Changed-Why: 
Not a standards issue.

http://www.freebsd.org/cgi/query-pr.cgi?pr=129524
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: misc/57464: [boot] loader(8) seems to confuse files [4.7]

2010-03-02 Thread brucec
Synopsis: [boot] loader(8) seems to confuse files [4.7]

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 23:38:37 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=57464
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: misc/100133: [boot] keyhit function in boot2.c that falls into an infinite loop.

2010-03-02 Thread brucec
Synopsis: [boot] keyhit function in boot2.c that falls into an infinite loop.

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 23:40:54 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=100133
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: misc/142335: Download of Release 8.0 LIVE is NOT a "live" from CD program.

2010-03-02 Thread brucec
Synopsis: Download of Release 8.0 LIVE is NOT a "live" from CD program.

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 23:43:05 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=142335
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: misc/130728: There are 4-clause BSDL files in src/

2010-03-02 Thread brucec
Synopsis: There are 4-clause BSDL files in src/

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 23:45:43 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=130728
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/118734: [xen] FreeBSD 6.3-RC1 and FreeBSD 7.0-BETA 4 fail to boot under Xen fully virtualized

2010-03-02 Thread brucec
Synopsis: [xen] FreeBSD 6.3-RC1 and FreeBSD 7.0-BETA 4 fail to boot under Xen 
fully virtualized

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Tue Mar 2 23:49:51 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=118734
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/59739: [patch] [libc] rmdir(2) and mkdir(2) both return EISDIR for argument "/"

2010-03-02 Thread Alexander Best
The following reply was made to PR kern/59739; it has been noted by GNATS.

From: Alexander Best 
To: 
Cc:  
Subject: Re: kern/59739: [patch] [libc] rmdir(2) and mkdir(2) both return
 EISDIR for argument "/"
Date: Wed, 03 Mar 2010 01:16:30 +0100 (CET)

 new discussion with new patch by jh@:
 http://lists.freebsd.org/pipermail/freebsd-hackers/2010-February/030904.html
 
 alex
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: bin/127764: [boot0cfg] [patch] preserve NT disk UID data for boot0cfg

2010-03-02 Thread brucec
Synopsis: [boot0cfg] [patch] preserve NT disk UID data for boot0cfg

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Wed Mar 3 07:28:54 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=127764
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


bin/144441: Confusing error message from sed with 's/.*/d' ": unescaped newline inside substitute pattern

2010-03-02 Thread Garrett Cooper

>Number: 11
>Category:   bin
>Synopsis:   Confusing error message from sed with 's/.*/d' ": unescaped 
>newline inside substitute pattern
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 03 07:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Garrett Cooper
>Release:RELENG_8
>Organization:
Cisco Systems, Inc
>Environment:
FreeBSD garrcoop-fbsd.cisco.com 8.0-STABLE FreeBSD 8.0-STABLE #2: Wed Feb  3 
16:57:07 PST 2010 
garrc...@garrcoop-fbsd.cisco.com:/usr/obj/usr/src/sys/LAPPY_X86  i386
>Description:
I accidentally misread a web document and thus provided incorrect input to sed. 
BSD sed failed with a confusing message, but GNU sed led me on to the right 
track:

[garrc...@garrcoop-fbsd /usr/home/garrcoop]$ sed -i "" -e 's/games:/d' 
/etc/passwd 
sed: 1: "s/games:/d
": unescaped newline inside substitute pattern
[garrc...@garrcoop-fbsd /usr/home/garrcoop]$ sed -i "" -e '/games:/d' 
/etc/passwd 
sed: /etc/passwd: Permission denied

I'm confused where the newline is coming into play.
>How-To-Repeat:
sed 's/games:/d' /etc/passwd
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"