Bug 2394283

Summary: prompt is "bash-5.3#" in Fedora 43 container
Product: [Fedora] Fedora Reporter: Osama Albahrani <osalbahr>
Component: rootfilesAssignee: Martin Osvald 🛹 <mosvald>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: jackyzy823, mosvald, ovasik, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-11-25 13:45:31 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 Osama Albahrani 2025-09-09 21:13:39 UTC
Description of problem:

The prompt is "bash-5.3#" in Fedora 43. I confirmed reproducible in a container.

How reproducible:

Always

Steps to Reproduce:
1. podman run --rm -it quay.io/fedora/fedora:43
2. See prompt

Actual results:

bash-5.3# 

Expected results:

[root@8201b9c3858b /]# 

(on Fedora 42)

Additional info:

The rootfiles seem to be missing:

% podman run --rm -it quay.io/fedora/fedora:43
bash-5.3# ls -a ~
.  ..

% podman run --rm -it quay.io/fedora/fedora:42
[root@33bec04b7d30 /]# ls -a ~
.  ..  .bash_logout  .bash_profile  .bashrc  .cshrc  .tcshrc

---

I could've sworn this was already reported, but I couldn't find it again, searching for "prompt" or "rootfiles". So I am opening this bug report.

This was also reported in the devel mailing list by Peter Robinson "on remote F-43 hosts": https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RDH2OSRZV55Z6JRO32ROXHET4ABZEC45

Comment 1 Zbigniew Jędrzejewski-Szmek 2025-11-06 11:25:59 UTC
https://github.com/systemd/systemd/pull/39588 might resolve this.

Comment 2 jackyzy823 2025-11-25 11:26:06 UTC
I think this ticket https://bugzilla.redhat.com/show_bug.cgi?id=2356069 is more related.

Maybe either do `systemd-tmpfiles --root=/mnt/rootfs --create /usr/lib/tmpfiles.d/rootfiles.conf` in https://github.com/fedora-cloud/docker-brew-fedora/ Dockerfile side or in https://pagure.io/fedora-kickstarts/ kickstarts side ?

Comment 3 jackyzy823 2025-11-25 11:30:54 UTC
The PR related is https://src.fedoraproject.org/rpms/rootfiles/pull-request/5

Comment 4 Martin Osvald 🛹 2025-11-25 13:45:31 UTC
Yes, this is a duplicate of Bug 2356069. Closing this one.

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