Skip to content

Missing cifs credentials file in rescue image #924

@tcerna

Description

@tcerna
  • rear version (/usr/sbin/rear -V):
    rear-1.17.2-1.el7.noarch
  • OS version (cat /etc/rear/os.conf or lsb_release -a):
    RHEL-7
  • rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):
[root@rearclient ~]# cat /etc/rear/local.conf
OUTPUT=ISO
OUTPUT_URL=cifs://192.168.122.129/rear
OUTPUT_OPTIONS="cred=/etc/rear/.cifs"
BACKUP=NETFS
BACKUP_URL=cifs://192.168.122.129/rear
BACKUP_OPTIONS="cred=/etc/rear/.cifs"

[root@rearclient ~]# cat /etc/rear/.cifs
username=root 
password=root
  • Brief description of the issue:

Rescue image does not contain cifs credentials file specified during image & backup creation which causes an error during the backup restoration procedure. Even though this file can be manually recreated in rear's rescue shell, you should consider adding it to the final rescue image, especially when it is explicitly mentioned in the man page under BACKUP_URL=cifs:// section.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions