Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 805935 - dev-vcs/git: `xinetd` use flag does not align with PG0301
Summary: dev-vcs/git: `xinetd` use flag does not align with PG0301
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 805941
  Show dependency tree
 
Reported: 2021-08-01 10:18 UTC by Anna Vyalkova
Modified: 2025-05-29 11:30 UTC (History)
4 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 Anna Vyalkova 2021-08-01 10:18:40 UTC
All it does is installing one small file and thus should be removed to avoid
unnecessary rebuilds.

https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301
Comment 1 jospezial 2022-03-03 04:10:52 UTC
Please add

xinetd? ( sys-apps/xinetd   )

to RDEPEND in the ebuilds as all other ebuilds do that have xinetd USE flag.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-03 05:56:32 UTC
(In reply to jospezial from comment #1)
> Please add
> 
> xinetd? ( sys-apps/xinetd   )
> 
> to RDEPEND in the ebuilds as all other ebuilds do that have xinetd USE flag.

The conformant thing to do would be to remove it everywhere if it only controls installation of a small file.
Comment 3 Eli Schwartz gentoo-dev 2025-04-29 05:57:22 UTC
xinetd file added in bug 145177

USE flag demanded in bug 213014

(Jakub Moc (RETIRED) from comment #1)
> Use INSTALL_MASK if it bothers you; use flags for one plaintext config file
> suck.
> 
> 
> *** This bug has been marked as a duplicate of bug 141657 ***


(SpanKY from comment #2)
> either the flag gets removed, or packages support it


The existence of the USE flag is personally alarming to me:

From bug 141657 -- marked as WONTFIX!!!

(In reply to Matthew Kennedy (RETIRED) from comment #0)
> Welcome to the xinetd metabug.  The goal here is to only install xinetd
> config files on systems where users have xinetd.  If the user has xinet in
> USE, then install the config file, else don't.
> 
> The following ebuilds installed xinetd configuration on my machine
> even though I don't have xinetd installed.
> 
> mkennedy@localhost:~$ equery belongs /etc/xinetd.d
> [ Searching for file(s) /etc/xinetd.d in *... ]
> dev-util/subversion-1.3.2-r1 (/etc/xinetd.d)
> dev-util/cvs-1.12.12-r3 (/etc/xinetd.d)
> net-misc/netkit-fingerd-0.17-r2 (/etc/xinetd.d)
> net-print/cups-1.2.1-r2 (/etc/xinetd.d)
> 
> Stefan Schweizer <genstef@gentoo.org> added:
> 
> more:
> # qfile /etc/xinetd.d/
> net-fs/samba (/etc/xinetd.d)
> net-misc/telnet-bsd (/etc/xinetd.d)
> net-dialup/capi4k-utils (/etc/xinetd.d)



Maybe in 2006 this was what people wanted but it violates current policy, no? And even in 2006 it was apparently not actually an agreed upon thing...
Comment 4 Maxim P. Dementiev 2025-05-29 11:30:26 UTC
But what is the status of xinetd in general?
It cannot be compliled with the modern GCC 15 since a long time:
https://bugs.gentoo.org/944426
https://bugs.gentoo.org/943856

And yet, it's the latest upstream version from Aug 2, 2018:
https://github.com/openSUSE/xinetd/releases/tag/2.3.15.4

It looks like nobody bothers about fixing this, no open issues related to this problem.