Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925459 - net-fs/nfs-utils-2.6.4-r10[-nfsv3] needs init.d script changes
Summary: net-fs/nfs-utils-2.6.4-r10[-nfsv3] needs init.d script changes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-25 07:30 UTC by razamatan
Modified: 2024-02-29 00:27 UTC (History)
0 users

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 razamatan 2024-02-25 07:30:59 UTC
the latest nfs-utils package makes rpcbind optional behind nfsv3.  if you emerge it in that way, there is no portmap service provided, so its init.d scripts complain about a missing portmap service that can be provided.

workaround for me for now is to manually edit the various init.d scripts to remove references to portmap.  nfsv4 mounts continue to work fine, so it's just needs some work to remove the portmap references in the init.d scripts if USE=-nfsv3 is set.

Reproducible: Always

Steps to Reproduce:
1. USE=-nfsv3 emerge -1 nfs-utils
2. ensure rpcbind is removed since it's no longer needed (emerge -Da --depclean)
3. rc-status
Actual Results:  
rc-status spews errors about "non existant service `portmap'

# rc-status
 * Caching service dependencies ...
Service `nfs' needs non existent service `portmap'
Service `nfsclient' needs non existent service `portmap'
Service `rpc.gssd' needs non existent service `portmap'
Service `rpc.idmapd' needs non existent service `portmap'
Service `rpc.statd' needs non existent service `portmap'
Service `rpc.svcgssd' needs non existent service `portmap'                                                                    [ ok ]Runlevel: default
 sssd                                                                                                                  [  started  ] syslog-ng                                                                                                             [  started  ] postfix                                                                                                               [  started  ] autofs                                                                                                                [  started  ] fcron                                                                                                                 [  started  ] local                                                                                                                 [  started  ]Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 rpc.pipefs                                                                                                            [  started  ] rpc.gssd                                                                                                              [  started  ] rpc.idmapd                                                                                                            [  started  ] nfsclient                                                                                                             [  started  ]Dynamic Runlevel: manual

Expected Results:  
rc-status shouldn't show errors about missing portmap

# rc-status                                                                    [ ok ]
Runlevel: default
 sssd                                                                                                                  [  started  ] syslog-ng                                                                                                             [  started  ] postfix                                                                                                               [  started  ] autofs                                                                                                                [  started  ] fcron                                                                                                                 [  started  ] local                                                                                                                 [  started  ]Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 rpc.pipefs                                                                                                            [  started  ] rpc.gssd                                                                                                              [  started  ] rpc.idmapd                                                                                                            [  started  ] nfsclient                                                                                                             [  started  ]Dynamic Runlevel: manual
Comment 1 Larry the Git Cow gentoo-dev 2024-02-26 16:44:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6999ece65148c52357bee19b2dc766262708d4a4

commit 6999ece65148c52357bee19b2dc766262708d4a4
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2024-02-26 16:42:09 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2024-02-26 16:43:59 +0000

    net-fs/nfs-utils: remove 'need portmap' from init scripts (-nfsv3)
    
    Closes: https://bugs.gentoo.org/925459
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-fs/nfs-utils/files/nfs.initd                              |  3 ++-
 net-fs/nfs-utils/files/nfsclient.initd                        |  3 ++-
 net-fs/nfs-utils/files/rpc.gssd.initd                         |  3 ++-
 net-fs/nfs-utils/files/rpc.idmapd.initd                       |  3 ++-
 net-fs/nfs-utils/files/rpc.svcgssd.initd                      |  3 ++-
 ...{nfs-utils-2.6.4-r10.ebuild => nfs-utils-2.6.4-r11.ebuild} | 11 ++++++++---
 6 files changed, 18 insertions(+), 8 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2024-02-29 00:22:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd27404faf24c9b0575a2a107d6286386c4c53aa

commit dd27404faf24c9b0575a2a107d6286386c4c53aa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-29 00:22:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 00:22:13 +0000

    app-emulation/xen-tools: update init.d for nfsmount removal
    
    Bug: https://bugs.gentoo.org/925459
    Signed-off-by: Sam James <sam@gentoo.org>

 app-emulation/xen-tools/files/xenstored.initd-r1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a156e7c89b329928b09eb17f140fd37bc9d2234

commit 8a156e7c89b329928b09eb17f140fd37bc9d2234
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-29 00:21:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 00:21:42 +0000

    app-emulation/libvirt: update init.d for nfsmount removal
    
    Bug: https://bugs.gentoo.org/925459
    Signed-off-by: Sam James <sam@gentoo.org>

 app-emulation/libvirt/files/libvirtd.init-r19                           | 2 +-
 app-emulation/libvirt/files/virtlockd.init-r2                           | 2 +-
 app-emulation/libvirt/files/virtlogd.init-r2                            | 2 +-
 .../libvirt/{libvirt-10.0.0.ebuild => libvirt-10.0.0-r1.ebuild}         | 0
 .../libvirt/{libvirt-9.3.0-r1.ebuild => libvirt-9.3.0-r2.ebuild}        | 0
 .../libvirt/{libvirt-9.4.0-r4.ebuild => libvirt-9.4.0-r5.ebuild}        | 0
 .../libvirt/{libvirt-9.5.0-r1.ebuild => libvirt-9.5.0-r2.ebuild}        | 0
 app-emulation/libvirt/{libvirt-9.6.0.ebuild => libvirt-9.6.0-r1.ebuild} | 0
 app-emulation/libvirt/{libvirt-9.8.0.ebuild => libvirt-9.8.0-r1.ebuild} | 0
 app-emulation/libvirt/{libvirt-9.9.0.ebuild => libvirt-9.9.0-r1.ebuild} | 0
 10 files changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=347d62f740c37083097deefe16ef36aa9852509e

commit 347d62f740c37083097deefe16ef36aa9852509e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-29 00:20:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 00:20:12 +0000

    media-sound/mpd: update init.d for nfsmount removal
    
    Bug: https://bugs.gentoo.org/925459
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/mpd/files/mpd-0.21.4.init                            | 2 +-
 media-sound/mpd/files/mpd-0.23.15.init                           | 2 +-
 media-sound/mpd/{mpd-0.23.12-r2.ebuild => mpd-0.23.12-r3.ebuild} | 2 +-
 media-sound/mpd/{mpd-0.23.13.ebuild => mpd-0.23.13-r1.ebuild}    | 0
 media-sound/mpd/{mpd-0.23.15.ebuild => mpd-0.23.15-r1.ebuild}    | 0
 5 files changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b06991798a65f4e849ef12f838cf73757eb0f75c

commit b06991798a65f4e849ef12f838cf73757eb0f75c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-29 00:19:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 00:19:10 +0000

    app-admin/puppet-agent: update init.d for nfsmount removal
    
    Bug: https://bugs.gentoo.org/925459
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/puppet-agent/files/puppet.initd2                              | 2 +-
 .../{puppet-agent-7.24.0.ebuild => puppet-agent-7.24.0-r1.ebuild}       | 2 +-
 .../{puppet-agent-8.4.0.ebuild => puppet-agent-8.3.1-r1.ebuild}         | 0
 .../{puppet-agent-8.3.1.ebuild => puppet-agent-8.4.0-r1.ebuild}         | 2 +-
 4 files changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=027f61ab53740d605f10d5e72af3ccea9d2866cf

commit 027f61ab53740d605f10d5e72af3ccea9d2866cf
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-29 00:18:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 00:18:32 +0000

    app-admin/puppet: update init.d for nfsmount removal
    
    Bug: https://bugs.gentoo.org/925459
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/puppet/files/puppet.init                                 | 2 +-
 app-admin/puppet/{puppet-7.24.0.ebuild => puppet-7.24.0-r1.ebuild} | 2 +-
 app-admin/puppet/{puppet-7.28.0.ebuild => puppet-7.27.0-r1.ebuild} | 0
 app-admin/puppet/{puppet-7.27.0.ebuild => puppet-7.28.0-r1.ebuild} | 2 +-
 app-admin/puppet/{puppet-8.4.0.ebuild => puppet-8.3.1-r1.ebuild}   | 0
 app-admin/puppet/{puppet-8.3.1.ebuild => puppet-8.4.0-r1.ebuild}   | 2 +-
 6 files changed, 4 insertions(+), 4 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0e9fc7cbe6d70fa8cc0e13a47c0f2b79df1e31d

commit f0e9fc7cbe6d70fa8cc0e13a47c0f2b79df1e31d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-29 00:17:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 00:17:10 +0000

    sys-fs/cachefilesd: update init.d for nfsmount removal
    
    Bug: https://bugs.gentoo.org/925459
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{cachefilesd-0.10.10-r1.ebuild => cachefilesd-0.10.10-r2.ebuild}    | 2 +-
 sys-fs/cachefilesd/files/cachefilesd-3.init                             | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a281d64685db953da8812f16e324b0faefe2dfe6

commit a281d64685db953da8812f16e324b0faefe2dfe6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-29 00:16:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 00:16:00 +0000

    media-sound/gnump3d: update init.d for nfsmount removal
    
    Bug: https://bugs.gentoo.org/925459
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/gnump3d/files/gnump3d.init.d-r1                          | 2 +-
 media-sound/gnump3d/{gnump3d-3.0-r5.ebuild => gnump3d-3.0-r6.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-29 00:23:20 UTC
Ah, sorry, I meant to tag bug 914203 for those.
Comment 4 Larry the Git Cow gentoo-dev 2024-02-29 00:27:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f292c815f3656e78702d02fa17cb173c473d7aa

commit 6f292c815f3656e78702d02fa17cb173c473d7aa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-29 00:27:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 00:27:48 +0000

    dev-db/mysql-init-scripts: update init.d for nfsmount removal
    
    Bug: https://bugs.gentoo.org/925459
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/mysql-init-scripts/files/conf.d-2.0                              | 2 +-
 ...ysql-init-scripts-2.3-r6.ebuild => mysql-init-scripts-2.3-r7.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)