Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centos6 / RHEL 6 Recovery / selinux issue #316

Closed
ghost opened this issue Oct 18, 2013 · 10 comments
Closed

Centos6 / RHEL 6 Recovery / selinux issue #316

ghost opened this issue Oct 18, 2013 · 10 comments
Assignees

Comments

@ghost
Copy link

ghost commented Oct 18, 2013

hi,

currently testing backup / restore on Centos6 and RHEL 6 with latest rear release (1.15) It seems a recovered system wont boot if selinux still active. It complains about missing liblkid and fails to mount the root system.

As it stands the issue is caused by selinux after recovery as described here:

https://bugzilla.redhat.com/show_bug.cgi?id=451503

booting the recovered system with selinux=0 in grub works fine :)

@ghost
Copy link
Author

ghost commented Oct 18, 2013

It also helps to have SElinux set to PERMISSIVE after the first boot with selinux=0, afterwards boot up the system and set it back to enforced, then the regular boot works again with selinux enabled after recovery.

@gdha
Copy link
Member

gdha commented Oct 18, 2013

Did you redefine BACKUP_SELINUX_DISABLE=1 somehow (in /etc/rear/local.conf)? By default rear will disable selinux during backup, and creates the trigger file /selinux.autorelabel, so SELinux relabels the file systems at the first reboot (after recovery).
However, it is possible to keep SELinux enabled at backup time, but then the tar command must be aware of selinux (this is done automatically). Check for selinux in the rear.log file (of mkbackup and recover) to be sure.

@ghost
Copy link
Author

ghost commented Oct 18, 2013

Ah here we go, no, i did not redefine the setting but the regular file backup came from a third party tool! That explains it all. Just wanted to stick something like this around in the bugtracker so people catching the same issue know how to deal with it :) Thanks!

@gdha
Copy link
Member

gdha commented Oct 18, 2013

Was your backup tool already integrated within Rear? That is one of the purposes of integrating the (commercial) backup programs. We can do it for you (via sponsoring or consultancy) or you can give it a try...

@ghost ghost assigned gdha Nov 4, 2013
@gdha
Copy link
Member

gdha commented Nov 4, 2013

@schlomo
Copy link
Member

schlomo commented Nov 4, 2013

Hi @sepsesam and welcome!

I talked to people from your company at every conference I had a chance - about 5 to 6 years ago. I was trying to convince your company to sponsor REAR a little bit to get SEP SESAM integrated into it...

It seems to me that now you did the opposite, integrating REAR into your backup client. Is this correct? If so, it would be nice of you to link to our homepage on your documentation Wiki... We would be happy to list SESAM as a tool that ships REAR and point to your documentation page in return.

If you want to talk about deeper integration strategies or how to simplify the configuration for your users (I read the wiki, it does not look simple to me), please don't hesitate to talk to us on the mailing list or privately.

Another question: Do you offer commercial support for your fork of REAR?

Regards,
Schlomo

@ghost
Copy link
Author

ghost commented Nov 5, 2013

Dear Schlomo Schapiro,

Am 04.11.2013 19:50, schrieb Schlomo Schapiro:

I talked to people from your company at every conference I had a chance

  • about 5 to 6 years ago. I was trying to convince your company to
    sponsor REAR a little bit to get SEP SESAM integrated into it...

It seems to me that now you did the opposite, integrating REAR into your
backup client. Is this correct? If so, it would be nice of you to link
to our homepage on your documentation Wiki... We would be happy to list
SESAM as a tool that ships REAR and point to your documentation page in
return.

basically we ship a slightly modified version of the REAR client with
the SEP Sesam Backup Client. The modifications have been done to
add some more components shipped within the generated REAR iso image,
like the sesam backup client itself. We have written a wrapper around
rear which allows the SEP Sesam users to backup the disaster ISO image
via SEP Sesam and have it scheduled the way they like using the sesam
graphical frontend. It is not rear sending the data to the SEP Sesam
Server but the Sesam Server requesting the data from the client. While
the file backup is done entirely by the Sesam client itself.

This way it allows our customers to use all the functions of a
sesam server (backup to disk, tape, dedublication, migration of
the savesets) without big changes to REAR itself.

How the users may use the REAR shipped with our sesam client beyond
that is up to them (Usb media, pxe boot).

We have now put the Link to your Homepage on the top of the page (before
it was at the end of the page). Of course we will mention REAR as
seperate project wherever we can!

Another question: Do you offer commercial support for your fork of REAR?

As said, at the moment the fork only contains small changes, however,
we do QA for the REAR version we ship to our customers for the
distributions we suppport and make sure to give them best possible
supoport for this version. Of course we will report bugfixes and
everything we encounter back to you guys via our github repository :-)

For further contact please get in touch via service@sep.de

Michael Ablassmeier
Senior Support Engineer

Ziegelstrasse 1
D-83629 Weyarn

Fon +49 (0) 80 20 / 180-0
Fax +49 (0) 80 20 / 180-666

Mail support@sep.de
Web http://www.sep.de

@gdha gdha added this to the Rear v1.18 milestone Feb 3, 2015
@gdha
Copy link
Member

gdha commented Feb 3, 2015

@sepsesam is there any chance rear will ever contain a proper sepsesam integration? Perhaps for rear-1.18 (for rear-1.17 as we froze the feature list to get it all stable before we release it end of this month)

@abbbi
Copy link
Contributor

abbbi commented Feb 3, 2015

currently there are not plans to change the integration

@gdha gdha removed this from the Rear v1.18 milestone Dec 11, 2015
@gdha
Copy link
Member

gdha commented Dec 11, 2015

no need to keep this open for now

@gdha gdha closed this as completed Dec 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants