Bruce Evans | 1 Jan 2006 01:06
Picon

Re: bin/91134: [PATCH] Preserve access and modification time when cp to a smbfs destination path

On Sat, 31 Dec 2005, Gilbert Cao wrote:

>> Fix:
> The following patch has fixed the problem as I have finally found the problem in
> the src/bin/cp source code, especially the utils.c file :
> I have found out that utimes() does nothing on the newly created file, if its
> file descriptor is not closed yet, and this is only the case in a SMB destination path.

This is a bug in smbfs.  cp only works on POSIX file systems.

> --- patch_cp_utils.diff begins here ---
> --- ./src/bin/cp/utils.c.orig	Sat Nov 12 22:21:45 2005
> +++ ./src/bin/cp/utils.c	Fri Dec 30 19:23:04 2005
>  <at>  <at>  -204,8 +204,6  <at>  <at> 
> 	 * to remove it if we created it and its length is 0.
> 	 */
>
> -	if (pflag && setfile(fs, to_fd))
> -		rval = 1;
> 	if (pflag && preserve_fd_acls(from_fd, to_fd) != 0)
> 		rval = 1;
> 	(void)close(from_fd);
>  <at>  <at>  -213,6 +211,14  <at>  <at> 
> 		warn("%s", to.p_path);
> 		rval = 1;
> 	}
> +	/*
> +	 * To preserve times in SMB to.p_path,
> +	 * setfile() should be call *AFTER* we have closed the file
> +	 * descriptors. As we have closed the descriptors, we should
(Continue reading)

Bruce Evans | 1 Jan 2006 01:10
Picon

Re: bin/91134: [PATCH] Preserve access and modification time when cp to a smbfs destination path

The following reply was made to PR bin/91134; it has been noted by GNATS.

From: Bruce Evans <bde <at> zeta.org.au>
To: Gilbert Cao <hika <at> bsdmon.com>
Cc: FreeBSD-gnats-submit <at> freebsd.org, freebsd-bugs <at> freebsd.org
Subject: Re: bin/91134: [PATCH] Preserve access and modification time when
 cp to a smbfs destination path
Date: Sun, 1 Jan 2006 11:06:48 +1100 (EST)

 On Sat, 31 Dec 2005, Gilbert Cao wrote:

 >> Fix:
 > The following patch has fixed the problem as I have finally found the problem in
 > the src/bin/cp source code, especially the utils.c file :
 > I have found out that utimes() does nothing on the newly created file, if its
 > file descriptor is not closed yet, and this is only the case in a SMB destination path.

 This is a bug in smbfs.  cp only works on POSIX file systems.

 > --- patch_cp_utils.diff begins here ---
 > --- ./src/bin/cp/utils.c.orig	Sat Nov 12 22:21:45 2005
 > +++ ./src/bin/cp/utils.c	Fri Dec 30 19:23:04 2005
 >  <at>  <at>  -204,8 +204,6  <at>  <at> 
 > 	 * to remove it if we created it and its length is 0.
 > 	 */
 >
 > -	if (pflag && setfile(fs, to_fd))
 > -		rval = 1;
 > 	if (pflag && preserve_fd_acls(from_fd, to_fd) != 0)
 > 		rval = 1;
(Continue reading)

Kenji Rikitake | 1 Jan 2006 01:16
Picon
Favicon
Gravatar

kern/91152: 4.11-RELEASE-p13 timezone leapsecond file incorrect


>Number:         91152
>Category:       kern
>Synopsis:       4.11-RELEASE-p13 timezone leapsecond file incorrect
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 01 00:20:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Kenji Rikitake
>Release:        FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
System: FreeBSD limmax.k2r.org 4.11-RELEASE-p13 FreeBSD 4.11-RELEASE-p13 #9: Tue Nov 1 15:54:51 JST
2005 kenji <at> limmax.k2r.org:/usr/obj/usr/src/sys/LIMMAX i386

	FreeBSD running on TAI (not in UTC)

>Description:

	4.11-RELEASE-p13 /usr/src/share/timezone/leapsecond
	does not contain the leap second info of
(Continue reading)

Daniel Lang | 1 Jan 2006 11:42
Favicon

kern/91160: system hangs with: mpt0: Request 0xffffffff89b96de0 Timed out.


>Number:         91160
>Category:       kern
>Synopsis:       system hangs with: mpt0: Request 0xffffffff89b96de0 Timed out.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 01 10:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Lang
>Release:        FreeBSD-6.0/amd64
>Organization:
LEO
>Environment:
currently not available, well be amended as soon as access
has been restored.         
>Description:
The machine hangs and is unresponsive.

On the console a lot messages similar to:

[..]
(Continue reading)

Michael Haro | 2 Jan 2006 05:40

kern/91196: Kernel Panic


>Number:         91196
>Category:       kern
>Synopsis:       Kernel Panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 02 04:40:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Michael Haro
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD firewall.bitsurf.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sun Dec 25 01:32:38 PST 2005 root <at> soekrisbuilder.bitsurf.net:/usr/obj/nanobsd.net4801/u
sr/src/sys/NET4801 i386

Soekris 4801 using read-only compact flash.

>Description:

Since I'm using flash memory, I don't have a swap partition and thus I don't
know how to capture a kernel dump when the system panics.  Let me know if
(Continue reading)

Chris Miller | 2 Jan 2006 07:23

misc/91205: Sysinstall Package Options Should Require One Selection


>Number:         91205
>Category:       misc
>Synopsis:       Sysinstall Package Options Should Require One Selection
>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:   Mon Jan 02 06:30:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Chris Miller
>Release:        6.0-RELEASE
>Organization:
>Environment:
FreeBSD stewie.6ps.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005    
root <at> x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
When installing, I didn't select a package distribution. Doing this caused core components not to be
installed and rendered an unbootable system. The user should be required to choose at least one option, or
be provided with a warning that core components (i.e. -- passwd) will not be installed due to having no
package distribution selected.
>How-To-Repeat:
Complete installation process and select no package distribution when prmopted. 
(Continue reading)

FreeBSD bugmaster | 2 Jan 2006 12:00
Picon
Favicon

open PR's (mis)filed to gnats-admin and in limbo

Current FreeBSD problem reports
No matches to your query
_______________________________________________
freebsd-bugs <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe <at> freebsd.org"

FreeBSD bugmaster | 2 Jan 2006 12:00
Picon
Favicon

Current problem reports

Current FreeBSD problem reports

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.

Bugs can be in one of several states:

o - open
     A problem report has been submitted, no sanity checking performed.

a - analyzed
     The problem is understood and a solution is being sought.

f - feedback
     Further work requires additional information from the
     originator or the community - possibly confirmation of
     the effectiveness of a proposed solution.

p - patched
     A patch has been committed, but some issues (MFC and / or
     confirmation from originator) are still open.

s - suspended
     The problem is not being worked on, due to lack of information
     or resources.  This is a prime candidate
     for somebody who is looking for a project to do.
     If the problem cannot be solved at all,
     it will be closed, rather than suspended.

(Continue reading)

FreeBSD bugmaster | 2 Jan 2006 12:06
Picon
Favicon

Current problem reports containing patches

Current FreeBSD problem reports
Critical problems

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
a kern/27250   bp         [unionfs] [patch] unionfs filesystem panics in large n
o kern/70096              [msdosfs] [patch] full msdos file system causes corrup
o kern/77234              [udf] [patch] corrupted data is read from UDF filesyst
o kern/82482              [hptmv] [patch] hptmv(4) ( Highpoint RocketRaid 1820a 
o kern/87191   scottl     [aac] [patch] aac(4) panics immediately with INVARIANT

5 problems total.

Serious problems

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
f ports/14048  des        [patch] doscmd -r doesn't work
o kern/17310              [nis] [patch] NIS host name resolving may loop forever
s bin/18742    mike       [patch] times.allow field parsed incorrectly
s bin/19773    markm      [PATCH] telnet infinite loop depending on how fds are 
a kern/21808              [msdosfs] [patch] msdosfs incorrectly handles vnode lo
o kern/21998   green      [socket] [patch] ident only for outgoing connections
s kern/22417   gibbs      [adw] [patch] advansys wide scsi driver does not suppo
s i386/22944   tegge      [vm] [patch] isa_dmainit fails on machines with 512MB 
o bin/23098    qa         [sysinstall] [patch] if installing on a serial console
o bin/24271               [patch] dumpon(8) should check its argument more
o i386/24997   i386       [biosdisk] [patch] /boot/loader cannot handle extended
o bin/25851    ceri       [patch] security hole in anonymous FTP setup script
o kern/26486              [libc] [patch] setnetgrent hangs when netgroup contain
(Continue reading)

FreeBSD bugmaster | 2 Jan 2006 12:06
Picon
Favicon

Current problem reports sorted by tag

Problem reports for tag '2tb':

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
p kern/18874              [2TB] 32bit NFS servers export wrong negative values t
o kern/41723              [2TB] on 1TB fs, copying files to filesystem causes "i
p bin/56606               [2TB] df cannot handle 2TB NFS volumes
o bin/66984    qa         [2TB] [patch] teach sysinstall about larger disks
p kern/67546              [2TB] Coredumps > 2Gb do not work (on 64bits platforms
o bin/74567               [2TB] [patch] du doesn't handle sizes >1TB
o kern/79251   geom       [2TB] newfs fails on 2.6TB gbde device
o kern/84589              [2TB] 5.4-STABLE unresponsive during background fsck 2
o bin/88872               [2TB] Error 36 while sysinstall tries to create / part
o bin/88873               [2TB] gpt create fails "bogus map" "unknown error: 0"

10 problems total.

Problem reports for tag 'aac':

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o kern/80048              [aac] [patch] support for HP ML110 G2 SATA RAID Contro
o kern/81887   scsi       [aac] Adaptec SCSI 2130S aac0: GetDeviceProbeInfo comm
o kern/87191   scottl     [aac] [patch] aac(4) panics immediately with INVARIANT
o i386/87364   scottl     [aac] aac controller stopped working between BETA5 and
o kern/88718              [aac] [timeout] unable to install on RAID 5 and FreeBS

5 problems total.

Problem reports for tag 'ach':
(Continue reading)


Gmane