Re: [BUG] ceph 0.23 ,sudo /etc/init.d/init-ceph cleanalllogs , delete / folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jeff,

On Thu, 2 Dec 2010, Jeff Wu wrote:
> [...]
> Look into init-ceph codes, should be "$log_sym_dir/* " equal to  "/*",
> "cleanlogs" command also exist this issue. init-ceph script might be add
> a check for "$log_dir" and "$log_sym_dir".

This was updated in the 'rc' branch (soon to be 0.24).  It's now

	cleanlogs)
	    echo removing logs
	    if [ -n "$log_sym_dir" ]; then
		do_cmd "for f in $log_sym_dir/$type.$id.*; do rm -f 
\`readlink \$f\` ; rm -f \$f ; done ; rm -f $log_dir/$type.$id.*"
	    fi
	    [ -n "$log_dir" ] && do_cmd "rm -f $log_dir/$type.$id.*"
	    ;;

	cleanalllogs)
	    echo removing all logs
	    [ -n "$log_sym_dir" ] && do_cmd "rm -f $log_sym_dir/* || true"
	    [ -n "$log_dir" ] && do_cmd "rm -f $log_dir/* || true"
	    ;;

> and If we detect some of bugs ,does it update to 
> http://tracker.newdream.net/projects/ceph ?
> 
> if yes ,how ?

Yes, please.  You can create an account, log in, and then click the 'new 
issue' button along the top.  In this case the issue is fixed for the next 
release though (I believe?) so we should be okay.

Thanks!
sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux