Bug 1607570

Summary: Split off python scripts
Product: [Fedora] Fedora Reporter: Colin Walters <walters>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: bfields, bgilbert, jlayton, steved, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-20 15:28:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Colin Walters 2018-07-23 18:53:31 UTC
For [Fedora CoreOS](https://coreos.fedoraproject.org/) we'd like to avoid shipping Python in the base OS.  Today nfs-utils shows up as one of the things we would like, but includes Python.

```
$ rpm -ql nfs-utils | grep bin/ | xargs grep bin/python
/usr/sbin/mountstats:#!/usr/bin/python3
/usr/sbin/nfsiostat:#!/usr/bin/python3
```

Options:

1) Split off nfs-utils-core with just the core things like /usr/sbin/mount.nfs, the services, etc.
2) Split off nfs-utils-extra with those two scripts

Something else?

Comment 1 Steve Dickson 2018-07-26 13:26:29 UTC
(In reply to Colin Walters from comment #0)
> For [Fedora CoreOS](https://coreos.fedoraproject.org/) we'd like to avoid
> shipping Python in the base OS.  Today nfs-utils shows up as one of the
> things we would like, but includes Python.
> 
> ```
> $ rpm -ql nfs-utils | grep bin/ | xargs grep bin/python
> /usr/sbin/mountstats:#!/usr/bin/python3
> /usr/sbin/nfsiostat:#!/usr/bin/python3
> ```
> 
> Options:
> 
> 1) Split off nfs-utils-core with just the core things like
> /usr/sbin/mount.nfs, the services, etc.
> 2) Split off nfs-utils-extra with those two scripts
> 
> Something else?

Maybe just split off a -extra... leave nfs-utils name the same.

So you are taking about having a sub package (%package) 
of nfs-utils or a completely separate package?

Comment 2 Colin Walters 2018-07-26 13:33:55 UTC
> So you are taking about having a sub package (%package) 
of nfs-utils or a completely separate package?

I'd probably say sub-package but I really don't have a strong opinion.  Do you?  If you let us know which you prefer I think we could have someone from the CoreOS team do the work if that's OK by you.

Comment 3 Steve Dickson 2018-07-26 14:13:48 UTC
(In reply to Colin Walters from comment #2)
> > So you are taking about having a sub package (%package) 
> of nfs-utils or a completely separate package?
> 
> I'd probably say sub-package but I really don't have a strong opinion.  Do
> you?  If you let us know which you prefer I think we could have someone from
> the CoreOS team do the work if that's OK by you.

I was thinking a sub package simpler to a -devel package... but
I don't know the packaging rules that surround things like that.

Comment 4 Jan Kurik 2018-08-14 08:42:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 5 Steve Dickson 2019-05-20 15:28:01 UTC

*** This bug has been marked as a duplicate of bug 1667889 ***