Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590758 - app-crypt/mit-krb5 should not install /usr/share/man/man5/.k5identity.5 /usr/share/man/man5/.k5login.5
Summary: app-crypt/mit-krb5 should not install /usr/share/man/man5/.k5identity.5 /usr/...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-08 11:31 UTC by Russell Knighton
Modified: 2023-08-28 15:30 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 Russell Knighton 2016-08-08 11:31:30 UTC
I've just found two hidden files that I think are being installed by accident by the app-crypt/mit-krb5 ebuild. I can't be sure whether this effects previous versions, but I suspect it does.

The files are:
/usr/share/man/man5/.k5identity.5
/usr/share/man/man5/.k5login.5
which, as you can see, are hidden files within the man page directory structure.

They both are identified, using the "file" command, as:
troff or preprocessor input, ASCII text

and each contain just one line:
starbug ~ # cat /usr/share/man/man5/.k5login.5 /usr/share/man/man5/.k5identity.5
.so man5/k5login.5
.so man5/k5identity.5

Here is the full list of man page files installed for version =app-crypt/mit-krb5-1.14.3 on my system:
starbug ~ # equery f =app-crypt/mit-krb5-1.14.3 | grep man
/usr/share/man
/usr/share/man/cat1
/usr/share/man/cat5
/usr/share/man/cat8
/usr/share/man/man1
/usr/share/man/man1/k5srvutil.1.bz2
/usr/share/man/man1/kadmin.1.bz2
/usr/share/man/man1/kdestroy.1.bz2
/usr/share/man/man1/kinit.1.bz2
/usr/share/man/man1/klist.1.bz2
/usr/share/man/man1/kpasswd.1.bz2
/usr/share/man/man1/krb5-config.1.bz2
/usr/share/man/man1/ksu.1.bz2
/usr/share/man/man1/kswitch.1.bz2
/usr/share/man/man1/ktutil.1.bz2
/usr/share/man/man1/kvno.1.bz2
/usr/share/man/man1/sclient.1.bz2
/usr/share/man/man5
/usr/share/man/man5/.k5identity.5
/usr/share/man/man5/.k5login.5
/usr/share/man/man5/k5identity.5.bz2
/usr/share/man/man5/k5login.5.bz2
/usr/share/man/man5/kadm5.acl.5.bz2
/usr/share/man/man5/kdc.conf.5.bz2
/usr/share/man/man5/krb5.conf.5.bz2
/usr/share/man/man8
/usr/share/man/man8/kadmin.local.8
/usr/share/man/man8/kadmind.8.bz2
/usr/share/man/man8/kdb5_ldap_util.8.bz2
/usr/share/man/man8/kdb5_util.8.bz2
/usr/share/man/man8/kprop.8.bz2
/usr/share/man/man8/kpropd.8.bz2
/usr/share/man/man8/kproplog.8.bz2
/usr/share/man/man8/krb5kdc.8.bz2
/usr/share/man/man8/sserver.8.bz2

As you can see, only "k5identity" & "k5login" seem to have this extra file, so I'm sure these are just installed by mistake and serve no purpose; please correct me if I'm wrong.

Output of "emerge --info app-crypt/mit-krb5":
Portage 2.3.0 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r2, 4.6.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.6.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770S_CPU_@_3.10GHz-with-gentoo-2.2
KiB Mem:    16418984 total,    858208 free
KiB Swap:    2048280 total,   1893116 free
Timestamp of repository gentoo: Fri, 05 Aug 2016 09:45:01 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
ccache version 3.2.7 [enabled]
app-shells/bash:          4.3_p46::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.7::gentoo
dev-util/cmake:           3.6.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2-r1::gentoo
sys-apps/openrc:          0.21.3::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo
sys-devel/gcc:            5.3.0::gentoo, 5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.uk.gentoo.org/gentoo-portage
    priority: -1000

local-repo
    location: /usr/local/portage
    masters: gentoo
    priority: 0

annunaki2k2
    location: /var/lib/layman/annunaki2k2
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=ivybridge -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=ivybridge -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://gentoo.osuosl.org ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -flto"
MAKEOPTS="-j18 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacplus aacs ace acl acpi aesicm aften aio airplay alac alaw alsa amd64 amr apache2 apng archive asf aspell audio audiofile audioqueue autostart avahi avcodec avformat bash-completion bazaar berkdb bidi binary-drivers bl bluetooth bluray branding bs2b bzip2 cairo caps cdb cdda cddb cdparanoia cdr cec cg chardet cjk clamav clamd clamdtop cli consolekit cracklib cron crypt css cups custom-cflags cvs cxx daap dbus dga dirac dri dso dts dvb dvd dvdr emboss encode exif faac faad facedetect fam fbcon ffmpeg fftw firefox flac fortran frei0r g3dvl gd gdbm gdu geoip gif gimp git glamor gmp gnutls gphoto2 gpm gsm gtk gtk3 gudev hpn http2 hwdb iconv icu id3tag imagemagick iproute2 ipv6 jbig joystick jpeg jpeg2k kerberos keymap kvm lcd lcms ldap leaps_timezone libass libav libnotify lm_sensors logrotate lto lua mad mercurial messages midi mikmod mjpeg mktemp mmx mmxext mng modules mp3 mp4 mpd mpeg mpi mpi-threads mplayer mtp multilib musepack mysql mysqli mysqlnd natspec nautilus ncurses network network-cron networking nfs nfsdcld nftables nls nptl ntp ogg opencl opengl openmp openvg pam pango pch pcre pdf pic png policykit postproc ppds prelink qt3support quad raw readline remote remote-access romio rtmp samba scale0tilt schroedinger sdl seccomp sensord session slp smp smtp sndfile speex spell srt sse sse2 ssl startup-notification subtitles subversion svg syslog tcpd theora threads tiff timidity truetype udev udisks uk_rt ukit unicode unzip upower usb v4l2 vcd vdpau vhost-net vhosts video vim vim-syntax vorbis vpx webp webserver wmf wxwidgets x264 x265 xattr xcb xml xmltv xmp xpm xv xvid zeroconf zip zlib" ABI_X86="32 64" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers http2 ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_html proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status substitute unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" DVB_CARDS="usb-dib0700" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en-GB en" LCD_DEVICES="imonlcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby23" USERLAND="GNU" VIDEO_CARDS="nouveau" VOICEMAIL_STORAGE="imap" XMLTV_GRABBERS="uk_rt" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-crypt/mit-krb5-1.14.3::gentoo was built with the following:
USE="keyutils pkinit threads -doc -libressl -openldap (-selinux) -test -xinetd" ABI_X86="32 64 -x32"
CFLAGS="-march=ivybridge -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -fno-strict-overflow"
CXXFLAGS="-march=ivybridge -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -fno-strict-overflow"
Comment 1 Matt Turner gentoo-dev 2019-07-10 04:55:17 UTC
Looks intentional to me.

~/.k5login and ~/.k5identity are files you'd install in your home. The hidden man page flies are just so you can say 'man k5login' or 'man .k5login'

See the output of man k5login:

> DESCRIPTION
>       The  .k5identity file, which resides in a user's home directory, ...

Looks to be intentional from krb5's src/man/Makefile.in:

> install-fileman:
>        $(INSTALL_DATA) $(srcdir)/dot.k5identity.5 \
>                $(DESTDIR)$(FILE_MANDIR)/.k5identity.5
>        $(INSTALL_DATA) k5identity.sub $(DESTDIR)$(FILE_MANDIR)/k5identity.5
>        $(INSTALL_DATA) $(srcdir)/dot.k5login.5 \
>                $(DESTDIR)$(FILE_MANDIR)/.k5login.5