* ceph v0.42 sync
@ 2012-02-26 9:54 Laszlo Boszormenyi
2012-02-26 16:55 ` Yehuda Sadeh Weinraub
2012-02-27 5:23 ` Sage Weil
0 siblings, 2 replies; 7+ messages in thread
From: Laszlo Boszormenyi @ 2012-02-26 9:54 UTC (permalink / raw)
To: ceph-devel
[-- Attachment #1: Type: text/plain, Size: 663 bytes --]
Hi,
I send some patches to make the packaging difference smaller between us.
The first, create_run_dir.patch to make /run/ceph created on every
start. Yes, it's /run as /var/run is now a symbolic link to the former.
The next is an update to control to reflect the new Standards-Version
and to make hdparm optional to sdparm, which is for sATA discs.
Then an update to rules. Adding build-arch and build-indep targets.
I ask for a clarification of version numbers. Homepage shows v0.42 as
the latest downloadable as git contains v0.42.1 and v0.42.2 tags. Are
they official and/or should I wait for v0.43 which is due to yesterday
as I know?
Regards,
Laszlo/GCS
[-- Attachment #2: ceph-control.patch --]
[-- Type: text/x-patch, Size: 1031 bytes --]
--- ceph/debian/control 2012-02-26 10:08:52.229291209 +0100
+++ ceph/debian/control 2012-02-26 10:10:04.277294925 +0100
@@ -7,11 +7,11 @@
Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
Uploaders: Sage Weil <sage@newdream.net>
Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, libfuse-dev, libboost-dev (>= 1.34), libedit-dev, libcrypto++-dev, libtool, libexpat1-dev, libfcgi-dev, libatomic-ops-dev, libgoogle-perftools-dev [i386 amd64], pkg-config, libgtkmm-2.4-dev, python, python-support, libcurl4-gnutls-dev, libkeyutils-dev, uuid-dev, libaio-dev
-Standards-Version: 3.9.1
+Standards-Version: 3.9.3
Package: ceph
Architecture: linux-any
-Depends: ${shlibs:Depends}, ${misc:Depends}, hdparm, binutils, ceph-common
+Depends: ${shlibs:Depends}, ${misc:Depends}, sdparm | hdparm, binutils, ceph-common
Recommends: ceph-fuse, libcephfs1, librados2, librbd1, btrfs-tools
Description: distributed storage and file system
Ceph is a distributed storage and network file system designed to provide
[-- Attachment #3: ceph-rules.patch --]
[-- Type: text/x-patch, Size: 675 bytes --]
--- ceph/debian/rules 2012-02-26 08:54:09.293059993 +0100
+++ ceph/debian/rules 2012-01-14 16:02:08.000000000 +0100
@@ -42,20 +42,23 @@
extraopts += --without-tcmalloc
endif
-
configure: configure-stamp
configure-stamp:
dh_testdir
touch $@
+build-arch: build
+build-indep: build
+
build: build-stamp
build-stamp: configure-stamp
dh_testdir
./autogen.sh
./configure --prefix=/usr --sbindir=/sbin --localstatedir=/var \
- --sysconfdir=/etc $(extraopts) $(confflags)
+ --sysconfdir=/etc $(extraopts) $(confflags)
$(MAKE)
+
cp src/init-ceph debian/ceph.init
cp src/init-radosgw debian/radosgw.init
cp src/logrotate.conf debian/ceph.logrotate
[-- Attachment #4: create_run_dir.patch --]
[-- Type: text/x-patch, Size: 1440 bytes --]
Description: /run/ceph should exists for creating UNIX domain sockets
ceph uses UNIX domain sockets for internal communication. Create their
directory on startup as /run is on a virtual filesystem.
.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
Bug-Debian: http://bugs.debian.org/660238
Forwarded: <ceph-devel@vger.kernel.org>
Last-Update: <2012-02-26>
--- ceph-0.42.orig/src/init-ceph.in
+++ ceph-0.42/src/init-ceph.in
@@ -12,6 +12,8 @@
# Description: Enable Ceph distributed file system services.
### END INIT INFO
+RUN_DIR=/run/ceph
+
# if we start up as ./mkcephfs, assume everything else is in the
# current directory too.
if [ `dirname $0` = "." ] && [ $PWD != "/etc/init.d" ]; then
@@ -173,7 +175,7 @@ for name in $what; do
check_host || continue
- get_conf pid_file "/var/run/ceph/$type.$id.pid" "pid file"
+ get_conf pid_file "$RUN_DIR/$type.$id.pid" "pid file"
[ -n "$pid_file" ] && do_cmd "mkdir -p "`dirname $pid_file`
get_conf log_dir "" "log dir"
@@ -266,6 +268,7 @@ for name in $what; do
do_root_cmd "modprobe btrfs ; btrfs device scan || btrfsctl -a ; egrep -q '^[^ ]+ $btrfs_path' /proc/mounts || mount -t btrfs $btrfs_opt $first_dev $btrfs_path"
fi
echo Starting Ceph $name on $host...
+ mkdir -p $RUN_DIR
get_conf pre_start_eval "" "pre start eval"
[ -n "$pre_start_eval" ] && $pre_start_eval
get_conf pre_start "" "pre start command"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ceph v0.42 sync
2012-02-26 9:54 ceph v0.42 sync Laszlo Boszormenyi
@ 2012-02-26 16:55 ` Yehuda Sadeh Weinraub
2012-02-27 5:23 ` Sage Weil
1 sibling, 0 replies; 7+ messages in thread
From: Yehuda Sadeh Weinraub @ 2012-02-26 16:55 UTC (permalink / raw)
To: Laszlo Boszormenyi; +Cc: ceph-devel
On Sun, Feb 26, 2012 at 1:54 AM, Laszlo Boszormenyi <gcs@debian.hu> wrote:
> I ask for a clarification of version numbers. Homepage shows v0.42 as
> the latest downloadable as git contains v0.42.1 and v0.42.2 tags. Are
> they official and/or should I wait for v0.43 which is due to yesterday
> as I know?
0.42.2 is official. 0.43 is still more than a week away.
Yehuda
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ceph v0.42 sync
2012-02-26 9:54 ceph v0.42 sync Laszlo Boszormenyi
2012-02-26 16:55 ` Yehuda Sadeh Weinraub
@ 2012-02-27 5:23 ` Sage Weil
2012-02-27 5:29 ` Sage Weil
2012-02-27 6:01 ` Laszlo Boszormenyi
1 sibling, 2 replies; 7+ messages in thread
From: Sage Weil @ 2012-02-27 5:23 UTC (permalink / raw)
To: Laszlo Boszormenyi; +Cc: ceph-devel
On Sun, 26 Feb 2012, Laszlo Boszormenyi wrote:
> Hi,
>
> I send some patches to make the packaging difference smaller between us.
> The first, create_run_dir.patch to make /run/ceph created on every
> start. Yes, it's /run as /var/run is now a symbolic link to the former.
> The next is an update to control to reflect the new Standards-Version
> and to make hdparm optional to sdparm, which is for sATA discs.
> Then an update to rules. Adding build-arch and build-indep targets.
I've applied these to master, thanks! They'll be in v0.43.
> I ask for a clarification of version numbers. Homepage shows v0.42 as
> the latest downloadable as git contains v0.42.1 and v0.42.2 tags. Are
> they official and/or should I wait for v0.43 which is due to yesterday
> as I know?
v0.42.2 for now.. v0.43 should be out either Friday or the following
Monday.
sage
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ceph v0.42 sync
2012-02-27 5:23 ` Sage Weil
@ 2012-02-27 5:29 ` Sage Weil
2012-02-27 6:01 ` Laszlo Boszormenyi
1 sibling, 0 replies; 7+ messages in thread
From: Sage Weil @ 2012-02-27 5:29 UTC (permalink / raw)
To: Laszlo Boszormenyi; +Cc: ceph-devel
On Sun, 26 Feb 2012, Sage Weil wrote:
> On Sun, 26 Feb 2012, Laszlo Boszormenyi wrote:
> > Hi,
> >
> > I send some patches to make the packaging difference smaller between us.
> > The first, create_run_dir.patch to make /run/ceph created on every
> > start. Yes, it's /run as /var/run is now a symbolic link to the former.
> > The next is an update to control to reflect the new Standards-Version
> > and to make hdparm optional to sdparm, which is for sATA discs.
> > Then an update to rules. Adding build-arch and build-indep targets.
>
> I've applied these to master, thanks! They'll be in v0.43.
Hmm, actually it looks like /run isn't present on many of my machines
(squeeze, oneiric). I'm inclined to stick with the /var/run symlink until
the change is more pervasive.
Is this important enough to add an autoconf option to use the new path
instead of the old?
sage
>
> > I ask for a clarification of version numbers. Homepage shows v0.42 as
> > the latest downloadable as git contains v0.42.1 and v0.42.2 tags. Are
> > they official and/or should I wait for v0.43 which is due to yesterday
> > as I know?
>
> v0.42.2 for now.. v0.43 should be out either Friday or the following
> Monday.
>
> sage
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ceph v0.42 sync
2012-02-27 5:23 ` Sage Weil
2012-02-27 5:29 ` Sage Weil
@ 2012-02-27 6:01 ` Laszlo Boszormenyi
2012-02-27 17:13 ` Sage Weil
2012-02-28 11:45 ` Wido den Hollander
1 sibling, 2 replies; 7+ messages in thread
From: Laszlo Boszormenyi @ 2012-02-27 6:01 UTC (permalink / raw)
To: ceph-devel
On Sun, 2012-02-26 at 21:23 -0800, Sage Weil wrote:
> v0.42.2 for now.. v0.43 should be out either Friday or the following
> Monday.
OK, will get v0.42.2 from git, as the homepage has only v0.42 for
download.
On Sun, 2012-02-26 at 21:29 -0800, Sage Weil wrote:
> Hmm, actually it looks like /run isn't present on many of my machines
> (squeeze, oneiric). I'm inclined to stick with the /var/run symlink until
> the change is more pervasive.
Yes, this change is for the new Debian and Ubuntu releases in
development. The others have /var/run only.
> Is this important enough to add an autoconf option to use the new path
> instead of the old?
Not at all. Even now /run is the real directory, /var/run is now a
symlink to it. Everyone can still use /var/run for a while.
Laszlo/GCS
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ceph v0.42 sync
2012-02-27 6:01 ` Laszlo Boszormenyi
@ 2012-02-27 17:13 ` Sage Weil
2012-02-28 11:45 ` Wido den Hollander
1 sibling, 0 replies; 7+ messages in thread
From: Sage Weil @ 2012-02-27 17:13 UTC (permalink / raw)
To: Laszlo Boszormenyi; +Cc: ceph-devel
On Mon, 27 Feb 2012, Laszlo Boszormenyi wrote:
> On Sun, 2012-02-26 at 21:23 -0800, Sage Weil wrote:
> > v0.42.2 for now.. v0.43 should be out either Friday or the following
> > Monday.
> OK, will get v0.42.2 from git, as the homepage has only v0.42 for
> download.
Whoops, the tarballs are there now.
Thanks!
sage
>
> On Sun, 2012-02-26 at 21:29 -0800, Sage Weil wrote:
> > Hmm, actually it looks like /run isn't present on many of my machines
> > (squeeze, oneiric). I'm inclined to stick with the /var/run symlink until
> > the change is more pervasive.
> Yes, this change is for the new Debian and Ubuntu releases in
> development. The others have /var/run only.
>
> > Is this important enough to add an autoconf option to use the new path
> > instead of the old?
> Not at all. Even now /run is the real directory, /var/run is now a
> symlink to it. Everyone can still use /var/run for a while.
>
> Laszlo/GCS
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ceph v0.42 sync
2012-02-27 6:01 ` Laszlo Boszormenyi
2012-02-27 17:13 ` Sage Weil
@ 2012-02-28 11:45 ` Wido den Hollander
1 sibling, 0 replies; 7+ messages in thread
From: Wido den Hollander @ 2012-02-28 11:45 UTC (permalink / raw)
To: Laszlo Boszormenyi; +Cc: ceph-devel
Hi,
On 02/27/2012 07:01 AM, Laszlo Boszormenyi wrote:
> On Sun, 2012-02-26 at 21:23 -0800, Sage Weil wrote:
>> v0.42.2 for now.. v0.43 should be out either Friday or the following
>> Monday.
> OK, will get v0.42.2 from git, as the homepage has only v0.42 for
> download.
>
I've just submitted a patch to the ml with a fix for the auto_start setting.
My previous patch (my bad..) broke starting any daemon with the "auto
start" set to false, no, disabled.
I don't know if 0.42.2 would be going into Ubuntu 12.04, but it might be
useful to include this (small patch?)
Wido
> On Sun, 2012-02-26 at 21:29 -0800, Sage Weil wrote:
>> Hmm, actually it looks like /run isn't present on many of my machines
>> (squeeze, oneiric). I'm inclined to stick with the /var/run symlink until
>> the change is more pervasive.
> Yes, this change is for the new Debian and Ubuntu releases in
> development. The others have /var/run only.
>
>> Is this important enough to add an autoconf option to use the new path
>> instead of the old?
> Not at all. Even now /run is the real directory, /var/run is now a
> symlink to it. Everyone can still use /var/run for a while.
>
> Laszlo/GCS
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-02-28 11:45 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-26 9:54 ceph v0.42 sync Laszlo Boszormenyi
2012-02-26 16:55 ` Yehuda Sadeh Weinraub
2012-02-27 5:23 ` Sage Weil
2012-02-27 5:29 ` Sage Weil
2012-02-27 6:01 ` Laszlo Boszormenyi
2012-02-27 17:13 ` Sage Weil
2012-02-28 11:45 ` Wido den Hollander
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.