Bug 1608335 - lxc templates' problem ? - initial passwords not set up
Summary: lxc templates' problem ? - initial passwords not set up
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: lxc
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-25 10:33 UTC by lejeczek
Modified: 2020-07-12 19:51 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description lejeczek 2018-07-25 10:33:33 UTC
Description of problem:

On Centos 7.5 + lxc 1.0.11 I do this:

$ lxc-create -t centos --dir /__.aLocalStorages/0/X-OS/lxc/rhel-work1-lxc -n rhel-work1-lxc
...
...
0 package files removed
Update finished
Copy /var/cache/lxc/centos/x86_64/7/rootfs to /__.aLocalStorages/0/X-OS/lxc/rhel-work1-lxc ... 
Copying rootfs to /__.aLocalStorages/0/X-OS/lxc/rhel-work1-lxc ...
sed: can't read /__.aLocalStorages/0/X-OS/lxc/rhel-work1-lxc/etc/init/tty.conf: No such file or directory
Storing root password in '/var/lib/lxc/rhel-work1-lxc/tmp_root_pass'
chpasswd: cannot open /etc/passwd
Expiring password for user root.
passwd: Libuser error at line: 413 - Error replacing `/etc/passwd': Permission denied.
passwd: Error
sed: can't read /__.aLocalStorages/0/X-OS/lxc/rhel-work1-lxc/etc/rc.sysinit: No such file or directory
sed: can't read /__.aLocalStorages/0/X-OS/lxc/rhel-work1-lxc/etc/rc.d/rc.sysinit: No such file or directory

Container rootfs and config have been created.
Edit the config file to check/enable networking setup.
...

many thanks.
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


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