Bug 32681

Summary: NFS sharing with MCC: no possibility for host access from a specific IP address
Product: Mageia Reporter: Squalus acanthias <squalus>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal    
Version: 9   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: drakx-net-2.58-1.mga9.src.rpm CVE:
Status comment:

Description Squalus acanthias 2024-01-01 21:52:25 CET
Description of problem:

I cannot configure a specific IP address as a client in NFS sharing with MCC.

Steps to Reproduce:
1. Go to "MCC / Network Sharing / Configure NFS shares / Share drives and directories using NFS".
2. Click on "Add".
3. Go to drop-down list under "Host access / Access".
4. Only the following options appear: "*", "*.", "192.168.0.0/8" and "192.168.0.0/24". But I need to put this specific IP address: "192.168.0.25".

I know I can manually modify the /etc/exports file, but I'd prefer to do it from MCC.

Thank so much :-)
Comment 1 Lewis Smith 2024-01-02 22:20:24 CET
Thank you for the suggestion, which involves changing the drop-down list (or an additional field) to allow specific IP addresses. I am unsure of the technical requirements here.

The MCC manual (English) Network Sharing-Share drives and directories using NFS-
draknfs-Host access says:
"Here you can specify the hosts that are authorized to access the shared directory.
NFS clients may be specified in a number of ways:"
but the following descriptions 'single host', 'netgroups', 'wildcards', 'IP networks' do not correspond with the illustrated - and actual - single drop-down list which you describe.

Which strategy - the manual or the reality - is meant to apply, I leave to the packagers. Is what you want legitimate, or is the choice offered as it should be?

draknfs in pkg drakx-net
Assigning to MageiaTools, but it may be that if the current implementation is adequate, that the manual needs correcting here (Doc team).

Assignee: bugsquad => mageiatools
Summary: NFS sharing with MCC: host access to a specific IP address => NFS sharing with MCC: no possibility for host access from a specific IP address
Source RPM: (none) => drakx-net-2.58-1.mga9.src.rpm
Severity: normal => enhancement

Comment 2 Squalus acanthias 2024-01-02 23:12:57 CET
OK. Thank you very much for the attention. Indeed, the manual does not correspond to current reality. I think what I'm trying to do is very common (give a machine access to a resource), so it should be able to be done graphically.