Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OAV & Samba 3.0.26a
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bajaguy
n00b
n00b


Joined: 28 Nov 2006
Posts: 35
Location: Rockin' in the free world!

PostPosted: Sun Oct 28, 2007 11:54 pm    Post subject: OAV & Samba 3.0.26a Reply with quote

here's a weird one.

I've added the OAV flag to my make.conf. I've added the flag to samba under package.use:

net-fs/samba ads oav readline cups pam ldap acl swat kerberos quotas winbind

Yet, when I go to re-emerge samba, I get this:

Code:
[ebuild   R   ] net-fs/samba-3.0.26a  USE="acl ads cups ipv6 ldap pam python quotas readline swat winbind -async -automount -caps -doc -examples -fam (-selinux) -syslog" LINGUAS="-ja -pl" 0 kB


There's no OAV flag!! If I remove samba from package.keywords, then it comes back:

Code:
[ebuild     UD] net-fs/samba-3.0.24-r3 [3.0.26a] USE="acl cups kerberos%* ldap oav%* pam python quotas readline swat winbind -async -automount -caps -doc -examples -fam (-selinux) -syslog (-ads%*) (-ipv6%*)" LINGUAS="-ja -pl" 14 kB


I've looked at the package flags for OAV under samba in the portage tree and it's there for 3.0.26a. What's going on?

TIA,

bajaguy
Back to top
View user's profile Send private message
MotivatedTea
Apprentice
Apprentice


Joined: 06 Nov 2006
Posts: 269
Location: Toronto, Canada

PostPosted: Mon Oct 29, 2007 6:06 am    Post subject: Reply with quote

Check http://www.gentoo-portage.com/net-fs/samba: the oav flag appears to have disappeared after 3.0.24-r3. In your emerge output, when you omit the oav flag, it says it will Re-merge the current version, which is 3.0.26a. When you include oav, it says it will Downgrade to 3.0.24-r3. As to why it wants to downgrade in that case, I don't know. (Maybe there's an exclusion somewhere, but if there is, it doesn't look like it's a direct dependency of samba.)
Back to top
View user's profile Send private message
bajaguy
n00b
n00b


Joined: 28 Nov 2006
Posts: 35
Location: Rockin' in the free world!

PostPosted: Mon Oct 29, 2007 2:48 pm    Post subject: Umm..?? Reply with quote

Not according to this:

http://spaceparanoids.org/gentoo/gpnl/ebuild.php?cat=net-fs&pkg=samba&v=3.0.26a
Back to top
View user's profile Send private message
zach9824
n00b
n00b


Joined: 12 Apr 2004
Posts: 37

PostPosted: Tue Nov 20, 2007 12:21 am    Post subject: Reply with quote

Has anyone figured out why oav was removed from the use flags on Samba in ~arch?
Back to top
View user's profile Send private message
gentoo-heysa
n00b
n00b


Joined: 30 Oct 2007
Posts: 13
Location: Herzogenrath

PostPosted: Tue Nov 20, 2007 7:43 pm    Post subject: where's the oav flag??? Reply with quote

i have the same problem...

i cant reach any samba shares if "vfs object = vscan-clamav" is set

and i think the mising use flag is the rason, too!

But where ever you google around you just find howtos that uses oav.......
nobody here with an answer where the use flag is turned or howto get samba work with clamav without this flag??
Back to top
View user's profile Send private message
HK
n00b
n00b


Joined: 22 Nov 2006
Posts: 3

PostPosted: Wed Nov 21, 2007 11:39 am    Post subject: Reply with quote

I came across the same problem. So, are the only 2 possibilities to either go back to the vulnerable samba 3.0.24-rX or to stay without a realtime antivirus on the samba server? Any suggestions?
Back to top
View user's profile Send private message
Shink
n00b
n00b


Joined: 24 Sep 2004
Posts: 58
Location: Scottsdale, AZ

PostPosted: Thu Nov 22, 2007 12:41 am    Post subject: Reply with quote

Same problem here - submitted Gentoo bug 199939.
Back to top
View user's profile Send private message
Shink
n00b
n00b


Joined: 24 Sep 2004
Posts: 58
Location: Scottsdale, AZ

PostPosted: Thu Nov 22, 2007 2:37 pm    Post subject: Reply with quote

Looks like OAV was removed on purpose - I guess there's no more antivirus support for Samba :(



Bugzilla Bug 199769

net-fs/samba-3.0.26a-r2.ebuild "oav" flag (vscan) lost

------- Comment #3 From Tiziano Müller 2007-11-20 21:19:48 0000 [reply] -------
The oav USE-flag has been dropped on purpose together with the oav-patch.

Reasons:
a) unmaintained since March 2005
b) Compilation broken (for version 3.0.26 and surely for 3.0.27)
c) Even if it compiles, it is broken due to API changes in the Samba-Code
d) The patch itself is broken by design since it relies on API's being stable
which are not marked as such.
Back to top
View user's profile Send private message
zach9824
n00b
n00b


Joined: 12 Apr 2004
Posts: 37

PostPosted: Thu Nov 22, 2007 5:39 pm    Post subject: Reply with quote

Thanks Shink.

I also added the your bug information to gentoo-portage, to save others the hassle of figuring out what happened. I hope that the maintainer of the package can add some einfo information to the ebuild output explaining that this flag is no longer applicable and to change your configuration files to reflect the change.

http://www.gentoo-portage.com/net-fs/samba
Back to top
View user's profile Send private message
gentoo-heysa
n00b
n00b


Joined: 30 Oct 2007
Posts: 13
Location: Herzogenrath

PostPosted: Fri Nov 23, 2007 7:48 am    Post subject: Reply with quote

pehaps the package maintainer can also explain why he has removed the flag on purpose.

cant believe that antivirus support should be so bad and unuseful :-/
Back to top
View user's profile Send private message
gentoo-heysa
n00b
n00b


Joined: 30 Oct 2007
Posts: 13
Location: Herzogenrath

PostPosted: Fri Nov 23, 2007 8:24 am    Post subject: Reply with quote

OH SHIT!

it is also advantageous if i read others's texts
(wer lesen kann ist klar im vorteil :)

the reasons are listed in shinks last post!!!

:roll:
Back to top
View user's profile Send private message
barikman
n00b
n00b


Joined: 08 Aug 2005
Posts: 15

PostPosted: Sun Mar 16, 2008 2:18 pm    Post subject: Gentoo docs need updating Reply with quote

Firstly, thanks for all the contributions above. Once more the Gentoo forums got me out of a hole!

Secondly, the online Gentoo docs here:

http://www.gentoo.org/doc/en/quick-samba-howto.xml

need updating as they tell you to use OAV.

Toodles

Phil
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum