Bug 2402743 - installing neovim during a bootable container build creates /.nvimlog
Summary: installing neovim during a bootable container build creates /.nvimlog
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: neovim
Version: 42
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-09 15:38 UTC by renner0
Modified: 2025-10-25 21:07 UTC (History)
5 users (show)

Fixed In Version: neovim-0.11.4-4.fc44 neovim-0.11.4-2.fc42 neovim-0.11.4-2.fc43
Clone Of:
Environment:
Last Closed: 2025-10-12 15:57:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description renner0 2025-10-09 15:38:39 UTC
when you install neovim during a bootc image build this file will exist, yes that is a hidden file at the rootfs: /.nvimlog

it seems to be this line that is executed on install:
https://src.fedoraproject.org/rpms/neovim/blob/rawhide/f/neovim.spec#_190

it generates documentation after the install in /usr/share/nvim/runtime/doc, but nvim writes the logfile to /, this could be because $HOME is set to /root and that one is a symlink to /var/roothome, so $HOME=/ and nvim writes the logfile in / 

podman run -it quay.io/fedora/fedora-bootc:latest bash
bash-5.2# echo $HOME
/root

ls -l /root
/root -> var/roothome

Reproducible: Always

Steps to Reproduce:
1.podman run -it quay.io/fedora/fedora-bootc:42 bash
2.dnf install -y neovim
3.ls -la /
Actual Results:
/.nvimlog exists, it is empty

Expected Results:
the logfile is not generated if $HOME happens to point to unconventional places like /.
I have no better 

Additional Information:
not reproducible on the regular containers

podman run -it registry.fedoraproject.org/fedora-minimal:42 bash
dnf install neovim -y

I only noticed this because I wanted to try out the rpm-ostree rechunker, which does not work with arbitrary files in /

Comment 1 Fedora Update System 2025-10-12 15:45:59 UTC
FEDORA-2025-f441fa58e5 (neovim-0.11.4-4.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-f441fa58e5

Comment 2 Fedora Update System 2025-10-12 15:57:37 UTC
FEDORA-2025-f441fa58e5 (neovim-0.11.4-4.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2025-10-12 19:46:20 UTC
FEDORA-2025-9941789d84 (neovim-0.11.4-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-9941789d84

Comment 4 Fedora Update System 2025-10-12 20:09:44 UTC
FEDORA-2025-fbbe295950 (neovim-0.11.4-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-fbbe295950

Comment 5 Fedora Update System 2025-10-13 02:15:27 UTC
FEDORA-2025-fbbe295950 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-fbbe295950`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-fbbe295950

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-10-13 02:22:00 UTC
FEDORA-2025-9941789d84 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-9941789d84`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-9941789d84

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2025-10-21 01:01:01 UTC
FEDORA-2025-fbbe295950 (neovim-0.11.4-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2025-10-25 21:07:26 UTC
FEDORA-2025-9941789d84 (neovim-0.11.4-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.