Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636844 - sys-auth/sssd: should depend on net-fs/nfs-utils-2.2.1 as alternative to nfsidmap as idmap library was merge into it
Summary: sys-auth/sssd: should depend on net-fs/nfs-utils-2.2.1 as alternative to nfsi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-08 02:09 UTC by Maciej Piechotka
Modified: 2018-11-10 21:38 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2017-11-08 02:09:13 UTC
Probably as I run into bug #634502 (it might be a good opportunity to bump version to 1.16.0 (see other bugs) from 1.13.1 which was released 2 years ago).
Comment 1 Alex 2018-02-21 21:18:31 UTC
I can confirm, that replacing the line:

nfsv4? ( net-libs/libnfsidmap )

with

nfsv4? ( || ( net-libs/libnfsidmap net-fs/nfs-utils ) )

in the ebuild file is working.


Would be nice to have it in the official ebuilds.
Comment 2 razamatan 2018-02-23 08:37:10 UTC
net-fs/nfs-utils-2.3.1-r2 is stable on amd64 now, so this problem is going to get larger.

i'd be a fan of version bumping to 1.16.0...
Comment 3 razamatan 2018-02-23 08:51:55 UTC
i've got a 1.16.0 ebuild working.  in addition to having nfs-utils provide the libnfsidmap changes, it now depends on net-libs/http-parser.

here's the patch on the 1.13.1 ebuild:

--- /usr/portage/sys-auth/sssd/sssd-1.13.1.ebuild       2017-08-13 04:22:58.000000000 -0700
+++ sssd-1.16.0.ebuild  2018-02-23 00:38:47.589306403 -0800
@@ -21,6 +21,7 @@
        >=virtual/pam-0-r1[${MULTILIB_USEDEP}]
        >=dev-libs/popt-1.16
        dev-libs/glib:2
+       net-libs/http-parser
        >=dev-libs/ding-libs-0.2
        >=sys-libs/talloc-2.0.7
        >=sys-libs/tdb-1.2.9
@@ -46,7 +47,7 @@
        >=sys-apps/dbus-1.6
        acl? ( net-fs/cifs-utils[acl] )
        augeas? ( app-admin/augeas )
-       nfsv4? ( net-libs/libnfsidmap )
+       nfsv4? ( || ( net-libs/libnfsidmap net-fs/nfs-utils ) )
        nls? ( >=sys-devel/gettext-0.18 )
        virtual/libintl
        netlink? ( dev-libs/libnl:3 )
Comment 4 Daniele Palumbo 2018-03-16 18:21:33 UTC
I'm having the same issue too.

This is affecting for sure whoever is using nfs + sssd.
Comment 5 Mike Bryce 2018-09-03 12:11:08 UTC
How about:

@@ -46,7 +47,7 @@
        >=sys-apps/dbus-1.6
        acl? ( net-fs/cifs-utils[acl] )
        augeas? ( app-admin/augeas )
-       nfsv4? ( net-libs/libnfsidmap )
+       nfsv4? ( || ( net-fs/nfs-utils[nfsidmap] ) )
        nls? ( >=sys-devel/gettext-0.18 )
        virtual/libintl
        netlink? ( dev-libs/libnl:3 )

to make sure that nfs-utils has the library we are looking for?
Comment 6 Mike Bryce 2018-09-03 12:14:16 UTC
Apologies for the posting without checking, I meant:

@@ -46,7 +47,7 @@
        >=sys-apps/dbus-1.6
        acl? ( net-fs/cifs-utils[acl] )
        augeas? ( app-admin/augeas )
-       nfsv4? ( net-libs/libnfsidmap )
+       nfsv4? ( net-fs/nfs-utils[nfsidmap] )
        nls? ( >=sys-devel/gettext-0.18 )
        virtual/libintl
        netlink? ( dev-libs/libnl:3 )

which seems to be working for my sssd + nfs mounted directories setup.
Comment 7 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-11-10 21:38:38 UTC
has been fixed quite time ago