Bug 1567

Summary: get_fasname is broken in update-acls
Product: Infrastructure Reporter: Nicolas Chauvet <kwizart>
Component: CVSAssignee: Xavier Lamien <lxtnow>
Status: RESOLVED FIXED    
Severity: normal CC: alexl, fedora
Priority: P5    
Version: NA   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Nicolas Chauvet 2010-12-21 20:45:57 CET
]$ sudo update-acls dosemu 'EL-6' solarflow99@gmail.com

ERROR: Owner [] not in packager membership or not in FAS.

$ update-acls dosemu 'EL-6' solarflow99@gmail.com

ERROR: Owner [] not in packager membership or not in FAS.


This also appears when using -t free

According to a quick look into the script the error is around get_fasname function.
Comment 1 Xavier Lamien 2010-12-21 23:14:59 CET
Hmm, this is weird.
Will check this asap.
Comment 2 Xavier Lamien 2010-12-21 23:24:04 CET
One thing you can try to double check is:

log in to cvs.rpmfusion.org then,
$ . /etc/rpmfusion/cvs-function
$ get_fasname $your_email_name
$ echo $FASNAME

This should return your current fas name.
Comment 3 Nicolas Chauvet 2010-12-21 23:35:50 CET
it works, indeed.
Comment 4 Nicolas Chauvet 2010-12-30 12:47:39 CET
This is still broken when using the update-acls script.


bash -x update-acl shows:

+ FASNAME=musuruan
+ '[' -z musuruan ']'
+ export musuruan
+ '[' '!' musuruan == musuruan@gmail.com ']'
+ echo -e '\nERROR: Owner [] not in packager membership or not in FAS.'
Comment 5 Nicolas Chauvet 2010-12-30 12:50:25 CET
Ok so 
sudo /usr/local/bin/update-acls -t free meka F-14 musuruan

Does it mean we can use FAS name in CVS request nowadays ?
Comment 6 Xavier Lamien 2010-12-30 14:00:34 CET
ya, let me know if it not.
Comment 7 Nicolas Chauvet 2011-01-05 22:25:40 CET
I think that if meka is imported, then everything works as expected.
Thx