- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- MondoRescue 2.2.9.2 on SELinux Enabled System - Pr...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 09:41 AM
тАО03-11-2010 09:41 AM
MondoRescue 2.2.9.2 on SELinux Enabled System - Problems logging in after restore.
Anyone tried MondoRescue with SELinux engaled yet?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 09:57 AM
тАО03-11-2010 09:57 AM
Re: MondoRescue 2.2.9.2 on SELinux Enabled System - Problems logging in after restore.
Have not tried that yet. I would note that I've been burned by mondorescue quality control before.
You have just been enrolled in the mondorescue beta testing program. Your compensation will be $0
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 03:01 PM
тАО03-11-2010 03:01 PM
Re: MondoRescue 2.2.9.2 on SELinux Enabled System - Problems logging in after restore.
I think the issue is on Mondorestore -- the security contexts are NOT restored...
I noticed that ssh to the system simply yields:
root@mgmtsrv# ssh sapsrv
password:
Last login: Thu Mar 11 13:48:17 2010
/bin/bash: Permission denied
Connection to flti001 closed.
I guess I can try to boot rescue and "re-label" the fileystems and probly disable SELinux first?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 11:37 PM
тАО03-11-2010 11:37 PM
Re: MondoRescue 2.2.9.2 on SELinux Enabled System - Problems logging in after restore.
check this link :
http://trac.mondorescue.org/wiki/FAQ#Q32IsMondoRescueworkingwithSELinux
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 05:36 AM
тАО03-12-2010 05:36 AM
Re: MondoRescue 2.2.9.2 on SELinux Enabled System - Problems logging in after restore.
As I said I am using 2.2.9.2.
Late last night I had a breakthrough.. And the workaround I did was just before the reboot after mondorestore - I added a .autorelabel file on each filesystem. And presto! Problem solved. Still QA'ing the restrored env though if something's amiss -- bt what do you think of this workaround?
There was however a minor complication. One of the restored filesystems -- /home - the homedir folders restored did not have the corect logind ownerships but groupid is correct. For example:
# ls -d tg1282
drwx------ 3 45586 sysadmin 4096 Mar 11 16:48 tg1282
# grep tg1282 /etc/passwd
tg1282:x:6926866:14:Tokwakus Guwapolous:/home/tg1282:/bin/bash
Those homedir folders that have the correct login ownerships seem to be with uid less than 65535.
Other than this -- It appears MondoRrestore worked...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 05:44 AM
тАО03-12-2010 05:44 AM
Re: MondoRescue 2.2.9.2 on SELinux Enabled System - Problems logging in after restore.
I think your workaround has the benefit of having worked.
Therefore I love it.
You might want to update the mondorescue folks so they add this trick to the documentation.
SEP
131 to Linux Mount Olympus with a Penguin on top.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com