Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1165982 - root home missing usual skel items
Summary: root home missing usual skel items
Keywords:
Status: CLOSED DUPLICATE of bug 1193590
Alias: None
Product: Atomic
Classification: Retired
Component: rpm-ostree
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1214810 1222060 1227096
TreeView+ depends on / blocked
 
Reported: 2014-11-20 08:06 UTC by mkovacik
Modified: 2015-08-06 18:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1214810 (view as bug list)
Environment:
Last Closed: 2015-08-06 18:57:26 UTC
RHEL 7.3 requirements from Atomic Host:
Embargoed:


Attachments (Terms of Use)

Description mkovacik 2014-11-20 08:06:56 UTC
Description of problem:

The root account misses the usual skel items.
This renders the root account not being configured properly.
As a side-effect some automation/orchestration frameworks might require atomic-specific workaround.
In my case, automation fails to detect the fall-back prompt: "bash-4.3# "
I've also noticed the /root directory is a symlink into /var/roothome which I think might be related. 


  bash-4.3# rpm -qf /root/
  filesystem-3.2-27.fc21.x86_64
  bash-4.3# 

  bash-4.3# ls -la /root/
  total 20
  drwx------.  3 root root 4096 Nov 19 10:48 .
  drwxr-xr-x. 23 root root 4096 Nov 19 10:48 ..
  -rw-------.  1 root root 7171 Oct 29 10:09 anaconda-ks.cfg
  drwx------.  2 root root 4096 Nov 19 10:48 .ssh
  bash-4.3#



Version-Release number of selected component (if applicable):
F21 Beta; EC2; eu-central-1; ami-4ccef851; filesystem-3.2-27.fc21.x86_64

How reproducible:
Always

Steps to Reproduce:
1. instantiate ami
2. log-in fedora user
3. sudo su -

Actual results:
system-wide skel settings not applied to root account

Expected results:
system-wide skel settings applied to root account

Additional info:
Project Atomic question: http://ask.projectatomic.io/en/question/141/root-home-missing-usual-skel-items/
Project Atomic similar discussion: https://lists.projectatomic.io/projectatomic-archives/atomic-devel/2014-November/msg00052.html

Comment 1 Joe Brockmeier 2014-11-20 17:47:31 UTC
Do you have an example of an automation/orchestration system where things don't work because of this configuration?

Comment 2 mkovacik 2014-12-11 10:59:02 UTC
(In reply to Joe Brockmeier from comment #1)
> Do you have an example of an automation/orchestration system where things
> don't work because of this configuration?
https://github.com/RedHatQE/dva ; where Paramiko failed to detect the prompt in root account; workaround: https://github.com/RedHatQE/dva/commit/d666f2607685f59fed6c6ed9f5bc0787451c6475#diff-d33064dcda1fcd69d95177adc753d69eR151

Comment 3 Colin Walters 2015-08-06 18:55:23 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=1193590

Comment 4 Colin Walters 2015-08-06 18:57:26 UTC

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


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