Summary: | linux-headers-2.4.19 breaks samba-2.2.3a-r2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jon Delheimer <jon> |
Component: | [OLD] Unspecified | Assignee: | Donny Davies (RETIRED) <woodchip> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | source |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jon Delheimer
2002-04-04 22:52:49 UTC
Hey chipster -- can you look on the samba mailing lists and see if there is a fix for this (for the kernel or samba itself?) I imagine that someone else in the universe tried 2.4.19-pre2-ac4 with samba. would it be wise to turn of quotas untill this is fixed? Now noone can compile samba.. I found that by altering smbd/quotas.c (in the samba source code), I could make samba compile successfully. In quotas.c: <BEGIN> /* * This shouldn't be neccessary - it should be /usr/include/sys/quota.h * Unfortunately, RH7.1 ships with a different quota system using struct mem_dqblk * rather than the struct dqblk defined in /usr/include/sys/quota.h. * This means we must include linux/quota.h to have a hope of working on * RH7.1 systems. And it also means this breaks if the kernel is upgraded * to a Linus 2.4.x (where x > the minor number shipped with RH7.1) until * Linus synchronises with the AC patches. Sometimes I *hate* Linux :-). JRA. */ #include <sys/quota.h> //#include <linux/quota.h> <END> By uncommenting the #include <linux/quota.h>, and instead telling it to use sys/quota.h, samba compiled correctly for me. AFAIK, the acl stuff _is_ turned off by default in the ebuild. Look at the use acl? lines in there. At any rate, we've downgraded our kernel-headers to a more sane version, so the SAMBA ebuild is the wrong place to fix this. doh, you said quota, not acl. sorry i overlooked that ;) at any rate, we've downgraded our kernel headers to a more sane version, so this should now be fixed. thanks for reporting. |