FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 08-23-2011, 08:12 AM
Muayyad AlSadi
 
Default bug in fuse-s3fs

is this project still active ?

if not then fedora should have rpm for the other s3fs project <
http://code.google.com/p/s3fs

if so then the following lines in the code should be fixed

#Set the env correctly
if self.AWS_ACCESS_KEY_ID != None:
os.putenv("AWS_ACCESS_KEY_ID",self.AWS_ACCESS_KEY_ ID)
if self.AWS_SECRET_ACCESS_KEY != None:
os.putenv("AWS_SECRET_ACCESS_KEY",
self.AWS_SECRET_ACCESS_KEY)

if (os.environ.get("AWS_ACCESS_KEY_ID") == None):
print "Need to specify AWS_ACCESS_KEY_ID"
if (os.environ.get("AWS_SECRET_ACCESS_KEY") == None):
print "Need to specify AWS_SECRET_ACCESS_KEY"

as python docs says < http://docs.python.org/library/os.html#os.putenv

When putenv() is supported, assignments to items in os.environ are
automatically translated into corresponding calls to putenv();
however, calls to putenv() don’t update os.environ, so it is actually
preferable to assign to items of os.environ.

the code above set's env with putenv then read it with environ
the docs says just set it with environ and it will call putenv

so it should be

if self.AWS_ACCESS_KEY_ID != None:
os.environ["AWS_ACCESS_KEY_ID"]=self.AWS_ACCESS_KEY_ID
if self.AWS_SECRET_ACCESS_KEY != None:
os.environ["AWS_SECRET_ACCESS_KEY"]=self.AWS_SECRET_ACCESS_KEY
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-23-2011, 08:23 AM
Mario Santagiuliana
 
Default bug in fuse-s3fs

In data 23/8/2011 10:12:55, Muayyad AlSadi ha scritto:
> is this project still active ?
>
> if not then fedora should have rpm for the other s3fs project <
> http://code.google.com/p/s3fs

Do you see this review request?
https://bugzilla.redhat.com/show_bug.cgi?id=725292
--
Mario Santagiuliana
www.marionline.it
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-23-2011, 11:47 AM
Neil Horman
 
Default bug in fuse-s3fs

On Tue, Aug 23, 2011 at 11:12:55AM +0300, Muayyad AlSadi wrote:
> is this project still active ?
>
Yes, the project is still active.

> if not then fedora should have rpm for the other s3fs project <
> http://code.google.com/p/s3fs
>
> if so then the following lines in the code should be fixed
Then please open a bug.

>
> #Set the env correctly
> if self.AWS_ACCESS_KEY_ID != None:
> os.putenv("AWS_ACCESS_KEY_ID",self.AWS_ACCESS_KEY_ ID)
> if self.AWS_SECRET_ACCESS_KEY != None:
> os.putenv("AWS_SECRET_ACCESS_KEY",
> self.AWS_SECRET_ACCESS_KEY)
>
> if (os.environ.get("AWS_ACCESS_KEY_ID") == None):
> print "Need to specify AWS_ACCESS_KEY_ID"
> if (os.environ.get("AWS_SECRET_ACCESS_KEY") == None):
> print "Need to specify AWS_SECRET_ACCESS_KEY"
>
> as python docs says < http://docs.python.org/library/os.html#os.putenv
>
> When putenv() is supported, assignments to items in os.environ are
> automatically translated into corresponding calls to putenv();
> however, calls to putenv() don’t update os.environ, so it is actually
> preferable to assign to items of os.environ.
>
> the code above set's env with putenv then read it with environ
> the docs says just set it with environ and it will call putenv
>
> so it should be
>
> if self.AWS_ACCESS_KEY_ID != None:
> os.environ["AWS_ACCESS_KEY_ID"]=self.AWS_ACCESS_KEY_ID
> if self.AWS_SECRET_ACCESS_KEY != None:
> os.environ["AWS_SECRET_ACCESS_KEY"]=self.AWS_SECRET_ACCESS_KEY
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-23-2011, 11:47 AM
Neil Horman
 
Default bug in fuse-s3fs

On Tue, Aug 23, 2011 at 11:12:55AM +0300, Muayyad AlSadi wrote:
> is this project still active ?
>
Yes, the project is still active.

> if not then fedora should have rpm for the other s3fs project <
> http://code.google.com/p/s3fs
>
> if so then the following lines in the code should be fixed
Then please open a bug.

>
> #Set the env correctly
> if self.AWS_ACCESS_KEY_ID != None:
> os.putenv("AWS_ACCESS_KEY_ID",self.AWS_ACCESS_KEY_ ID)
> if self.AWS_SECRET_ACCESS_KEY != None:
> os.putenv("AWS_SECRET_ACCESS_KEY",
> self.AWS_SECRET_ACCESS_KEY)
>
> if (os.environ.get("AWS_ACCESS_KEY_ID") == None):
> print "Need to specify AWS_ACCESS_KEY_ID"
> if (os.environ.get("AWS_SECRET_ACCESS_KEY") == None):
> print "Need to specify AWS_SECRET_ACCESS_KEY"
>
> as python docs says < http://docs.python.org/library/os.html#os.putenv
>
> When putenv() is supported, assignments to items in os.environ are
> automatically translated into corresponding calls to putenv();
> however, calls to putenv() don’t update os.environ, so it is actually
> preferable to assign to items of os.environ.
>
> the code above set's env with putenv then read it with environ
> the docs says just set it with environ and it will call putenv
>
> so it should be
>
> if self.AWS_ACCESS_KEY_ID != None:
> os.environ["AWS_ACCESS_KEY_ID"]=self.AWS_ACCESS_KEY_ID
> if self.AWS_SECRET_ACCESS_KEY != None:
> os.environ["AWS_SECRET_ACCESS_KEY"]=self.AWS_SECRET_ACCESS_KEY
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-23-2011, 04:33 PM
Jorge Gallegos
 
Default bug in fuse-s3fs

Hi,


I opened the pasted review request above because fuse-s3fs (hint: need sponsor wouldn't work in my machine.

When I went to the Google code page I saw it had been three years with no commit while it never left alpha status, that's why I submitted a new request for s3fs.

On Aug 23, 2011 4:47 AM, "Neil Horman" <nhorman@redhat.com> wrote:> On Tue, Aug 23, 2011 at 11:12:55AM +0300, Muayyad AlSadi wrote:

>> is this project still active ?
>>
> Yes, the project is still active.
>
>> if not then fedora should have rpm for the other s3fs project <
>> http://code.google.com/p/s3fs

>>
>> if so then the following lines in the code should be fixed
> Then please open a bug.
>
>>
>> #Set the env correctly
>> if self.AWS_ACCESS_KEY_ID != None:

>> os.putenv("AWS_ACCESS_KEY_ID",self.AWS_ACCESS_KEY_ ID)
>> if self.AWS_SECRET_ACCESS_KEY != None:
>> os.putenv("AWS_SECRET_ACCESS_KEY",
>> self.AWS_SECRET_ACCESS_KEY)

>>
>> if (os.environ.get("AWS_ACCESS_KEY_ID") == None):
>> print "Need to specify AWS_ACCESS_KEY_ID"
>> if (os.environ.get("AWS_SECRET_ACCESS_KEY") == None):

>> print "Need to specify AWS_SECRET_ACCESS_KEY"
>>
>> as python docs says < http://docs.python.org/library/os.html#os.putenv

>>
>> When putenv() is supported, assignments to items in os.environ are
>> automatically translated into corresponding calls to putenv();
>> however, calls to putenv() don’t update os.environ, so it is actually

>> preferable to assign to items of os.environ.
>>
>> the code above set's env with putenv then read it with environ
>> the docs says just set it with environ and it will call putenv

>>
>> so it should be
>>
>> if self.AWS_ACCESS_KEY_ID != None:
>> os.environ["AWS_ACCESS_KEY_ID"]=self.AWS_ACCESS_KEY_ID
>> if self.AWS_SECRET_ACCESS_KEY != None:

>> os.environ["AWS_SECRET_ACCESS_KEY"]=self.AWS_SECRET_ACCESS_KEY
>> --
>> devel mailing list
>> devel@lists.fedoraproject.org

>> https://admin.fedoraproject.org/mailman/listinfo/devel
> --
> devel mailing list
> devel@lists.fedoraproject.org

> https://admin.fedoraproject.org/mailman/listinfo/devel

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-23-2011, 04:52 PM
Neil Horman
 
Default bug in fuse-s3fs

On Tue, Aug 23, 2011 at 09:33:55AM -0700, Jorge Gallegos wrote:
> Hi,
>
> I opened the pasted review request above because fuse-s3fs (hint: need
> sponsor wouldn't work in my machine.
> When I went to the Google code page I saw it had been three years with no
> commit while it never left alpha status, that's why I submitted a new
> request for s3fs.
what you're doing doesn't make any sense, the fuse-s3fs package thats included
in RHEL, is the same one that you have a review request open for. No one is
going to review a package request when the package is already part of Fedora.

No one ever packaged the google code s3fs, because as you've noted, development
on it is dead.

If you're having trouble getting fuse-s3fs from Fedora to work, open a bug, and
I'll help you get it going.
Neil

> On Aug 23, 2011 4:47 AM, "Neil Horman" <nhorman@redhat.com> wrote:
> > On Tue, Aug 23, 2011 at 11:12:55AM +0300, Muayyad AlSadi wrote:
> >> is this project still active ?
> >>
> > Yes, the project is still active.
> >
> >> if not then fedora should have rpm for the other s3fs project <
> >> http://code.google.com/p/s3fs
> >>
> >> if so then the following lines in the code should be fixed
> > Then please open a bug.
> >
> >>
> >> #Set the env correctly
> >> if self.AWS_ACCESS_KEY_ID != None:
> >> os.putenv("AWS_ACCESS_KEY_ID",self.AWS_ACCESS_KEY_ ID)
> >> if self.AWS_SECRET_ACCESS_KEY != None:
> >> os.putenv("AWS_SECRET_ACCESS_KEY",
> >> self.AWS_SECRET_ACCESS_KEY)
> >>
> >> if (os.environ.get("AWS_ACCESS_KEY_ID") == None):
> >> print "Need to specify AWS_ACCESS_KEY_ID"
> >> if (os.environ.get("AWS_SECRET_ACCESS_KEY") == None):
> >> print "Need to specify AWS_SECRET_ACCESS_KEY"
> >>
> >> as python docs says < http://docs.python.org/library/os.html#os.putenv
> >>
> >> When putenv() is supported, assignments to items in os.environ are
> >> automatically translated into corresponding calls to putenv();
> >> however, calls to putenv() don’t update os.environ, so it is actually
> >> preferable to assign to items of os.environ.
> >>
> >> the code above set's env with putenv then read it with environ
> >> the docs says just set it with environ and it will call putenv
> >>
> >> so it should be
> >>
> >> if self.AWS_ACCESS_KEY_ID != None:
> >> os.environ["AWS_ACCESS_KEY_ID"]=self.AWS_ACCESS_KEY_ID
> >> if self.AWS_SECRET_ACCESS_KEY != None:
> >> os.environ["AWS_SECRET_ACCESS_KEY"]=self.AWS_SECRET_ACCESS_KEY
> >> --
> >> devel mailing list
> >> devel@lists.fedoraproject.org
> >> https://admin.fedoraproject.org/mailman/listinfo/devel
> > --
> > devel mailing list
> > devel@lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/devel

> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-23-2011, 05:22 PM
Jorge Gallegos
 
Default bug in fuse-s3fs

On Tue, Aug 23, 2011 at 12:52:42PM -0400, Neil Horman wrote:
> On Tue, Aug 23, 2011 at 09:33:55AM -0700, Jorge Gallegos wrote:
> > Hi,
> >
> > I opened the pasted review request above because fuse-s3fs (hint: need
> > sponsor wouldn't work in my machine.
> > When I went to the Google code page I saw it had been three years with no
> > commit while it never left alpha status, that's why I submitted a new
> > request for s3fs.
> what you're doing doesn't make any sense, the fuse-s3fs package thats included
> in RHEL, is the same one that you have a review request open for. No one is
> going to review a package request when the package is already part of Fedora.
>

Interesting, I am now confused:

[kad@shinon ~]$ uname -r
2.6.40.3-0.fc15.x86_64
[kad@shinon ~]$ yum search s3fs
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
updates/metalink | 17 kB 00:00
* fedora: mirror.fdcservers.net
* updates: mirror.fdcservers.net
updates | 4.7 kB 00:00
updates/primary_db | 4.1 MB 00:00
updates/pkgtags | 44 kB 00:00
================================================== N/S Matched: s3fs ================================================== =
fuse-s3fs.noarch : FUSE filesystem using Amazon Simple Storage Service as storage

Name and summary matches only, use "search all" for everything.
[kad@shinon ~]$ yum info fuse-s3fs
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* fedora: mirror.fdcservers.net
* updates: mirror.fdcservers.net
Available Packages
Name : fuse-s3fs
Arch : noarch
Version : 0.7
Release : 5.fc15
Size : 25 k
Repo : fedora
Summary : FUSE filesystem using Amazon Simple Storage Service as storage
URL : https://fedorahosted.org/s3fs

If you go to https://fedorahosted.org/s3fs/browser you'll see there has been no commits for the last 3 years.

I did a search before submitting my review request:

https://bugzilla.redhat.com/buglist.cgi?quicksearch=s3fs

The only result that comes back is my ticket. I am packaging http://code.google.com/p/s3fs, if this is packaged for RHEL then I'd have to ask why this is not in fedora and if it was at some point.


> No one ever packaged the google code s3fs, because as you've noted, development
> on it is dead.
>
> If you're having trouble getting fuse-s3fs from Fedora to work, open a bug, and
> I'll help you get it going.
> Neil
>
> > On Aug 23, 2011 4:47 AM, "Neil Horman" <nhorman@redhat.com> wrote:
> > > On Tue, Aug 23, 2011 at 11:12:55AM +0300, Muayyad AlSadi wrote:
> > >> is this project still active ?
> > >>
> > > Yes, the project is still active.
> > >
> > >> if not then fedora should have rpm for the other s3fs project <
> > >> http://code.google.com/p/s3fs
> > >>
> > >> if so then the following lines in the code should be fixed
> > > Then please open a bug.
> > >
> > >>
> > >> #Set the env correctly
> > >> if self.AWS_ACCESS_KEY_ID != None:
> > >> os.putenv("AWS_ACCESS_KEY_ID",self.AWS_ACCESS_KEY_ ID)
> > >> if self.AWS_SECRET_ACCESS_KEY != None:
> > >> os.putenv("AWS_SECRET_ACCESS_KEY",
> > >> self.AWS_SECRET_ACCESS_KEY)
> > >>
> > >> if (os.environ.get("AWS_ACCESS_KEY_ID") == None):
> > >> print "Need to specify AWS_ACCESS_KEY_ID"
> > >> if (os.environ.get("AWS_SECRET_ACCESS_KEY") == None):
> > >> print "Need to specify AWS_SECRET_ACCESS_KEY"
> > >>
> > >> as python docs says < http://docs.python.org/library/os.html#os.putenv
> > >>
> > >> When putenv() is supported, assignments to items in os.environ are
> > >> automatically translated into corresponding calls to putenv();
> > >> however, calls to putenv() don’t update os.environ, so it is actually
> > >> preferable to assign to items of os.environ.
> > >>
> > >> the code above set's env with putenv then read it with environ
> > >> the docs says just set it with environ and it will call putenv
> > >>
> > >> so it should be
> > >>
> > >> if self.AWS_ACCESS_KEY_ID != None:
> > >> os.environ["AWS_ACCESS_KEY_ID"]=self.AWS_ACCESS_KEY_ID
> > >> if self.AWS_SECRET_ACCESS_KEY != None:
> > >> os.environ["AWS_SECRET_ACCESS_KEY"]=self.AWS_SECRET_ACCESS_KEY
> > >> --
> > >> devel mailing list
> > >> devel@lists.fedoraproject.org
> > >> https://admin.fedoraproject.org/mailman/listinfo/devel
> > > --
> > > devel mailing list
> > > devel@lists.fedoraproject.org
> > > https://admin.fedoraproject.org/mailman/listinfo/devel
>
> > --
> > devel mailing list
> > devel@lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/devel
>
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-23-2011, 06:22 PM
Neil Horman
 
Default bug in fuse-s3fs

On Tue, Aug 23, 2011 at 10:22:42AM -0700, Jorge Gallegos wrote:
> On Tue, Aug 23, 2011 at 12:52:42PM -0400, Neil Horman wrote:
> > On Tue, Aug 23, 2011 at 09:33:55AM -0700, Jorge Gallegos wrote:
> > > Hi,
> > >
> > > I opened the pasted review request above because fuse-s3fs (hint: need
> > > sponsor wouldn't work in my machine.
> > > When I went to the Google code page I saw it had been three years with no
> > > commit while it never left alpha status, that's why I submitted a new
> > > request for s3fs.
> > what you're doing doesn't make any sense, the fuse-s3fs package thats included
> > in RHEL, is the same one that you have a review request open for. No one is
> > going to review a package request when the package is already part of Fedora.
> >
>
> Interesting, I am now confused:
>
> [kad@shinon ~]$ uname -r
> 2.6.40.3-0.fc15.x86_64
> [kad@shinon ~]$ yum search s3fs
> Loaded plugins: fastestmirror, presto
> Loading mirror speeds from cached hostfile
> updates/metalink | 17 kB 00:00
> * fedora: mirror.fdcservers.net
> * updates: mirror.fdcservers.net
> updates | 4.7 kB 00:00
> updates/primary_db | 4.1 MB 00:00
> updates/pkgtags | 44 kB 00:00
> ================================================== N/S Matched: s3fs ================================================== =
> fuse-s3fs.noarch : FUSE filesystem using Amazon Simple Storage Service as storage
>
> Name and summary matches only, use "search all" for everything.
> [kad@shinon ~]$ yum info fuse-s3fs
> Loaded plugins: fastestmirror, presto
> Loading mirror speeds from cached hostfile
> * fedora: mirror.fdcservers.net
> * updates: mirror.fdcservers.net
> Available Packages
> Name : fuse-s3fs
> Arch : noarch
> Version : 0.7
> Release : 5.fc15
> Size : 25 k
> Repo : fedora
> Summary : FUSE filesystem using Amazon Simple Storage Service as storage
> URL : https://fedorahosted.org/s3fs
>
> If you go to https://fedorahosted.org/s3fs/browser you'll see there has been no commits for the last 3 years.
>
> I did a search before submitting my review request:
>
> https://bugzilla.redhat.com/buglist.cgi?quicksearch=s3fs
>
> The only result that comes back is my ticket. I am packaging http://code.google.com/p/s3fs, if this is packaged for RHEL then I'd have to ask why this is not in fedora and if it was at some point.
Ah, my bad, I was confused, I thought the ticket was repackaging my fuse-s3fs
from fedora hosted. Sorry about that.

And you're correct, I've not made commits to fuse-s3fs for a few years now,
because I only make commits when I need improvements or bug fixes, or when
people file bugs. Its working fine for me, and I've gotten no bug reports.

If you open a bug on fuse-s3fs with the problem you encountered, I'll gladly fix
it.

I've tried the google code s3fs as well, and not had any luck in fixing it up.
I think thats probably a dead end.

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-24-2011, 08:36 AM
Muayyad AlSadi
 
Default bug in fuse-s3fs

>
> If you open a bug on fuse-s3fs with the problem you encountered, I'll gladly fix
> it.

ok,
https://bugzilla.redhat.com/show_bug.cgi?id=732939


>
> I've tried the google code s3fs as well, and not had any luck in fixing it up.
> I think thats probably a dead end.
>

I've tried the rpm in the review request and it worked as charm
I'd installed ntp and activated ntpd
I've also needed to install fuse (in order to use it in /etc/fstab)
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-24-2011, 11:16 AM
Neil Horman
 
Default bug in fuse-s3fs

On Wed, Aug 24, 2011 at 11:36:55AM +0300, Muayyad AlSadi wrote:
> >
> > If you open a bug on fuse-s3fs with the problem you encountered, I'll gladly fix
> > it.
>
> ok,
> https://bugzilla.redhat.com/show_bug.cgi?id=732939
>
Thanks, I'll take care of it today.
Neil

>
> >
> > I've tried the google code s3fs as well, and not had any luck in fixing it up.
> > I think thats probably a dead end.
> >
>
> I've tried the rpm in the review request and it worked as charm
> I'd installed ntp and activated ntpd
> I've also needed to install fuse (in order to use it in /etc/fstab)
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 08:06 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org