Bug 2394283 - prompt is "bash-5.3#" in Fedora 43 container
Summary: prompt is "bash-5.3#" in Fedora 43 container
Keywords:
Status: CLOSED DUPLICATE of bug 2356069
Alias: None
Product: Fedora
Classification: Fedora
Component: rootfiles
Version: 43
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Martin Osvald 🛹
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-09 21:13 UTC by Osama Albahrani
Modified: 2025-11-25 13:45 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-11-25 13:45:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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