Bug 456510 - Errors during installation
Errors during installation
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: xguest (Show other bugs)
9
All Linux
low Severity high
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-24 06:00 EDT by Paul Smith
Modified: 2008-09-09 15:26 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-09-09 15:26:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Paul Smith 2008-07-24 06:00:01 EDT
When I try to install xguest with the command

yum install xguest

I get the following errors:

Running Transaction
error: %pre(xguest-1.0.6-7.fc9.noarch) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping xguest-1.0.6-7.fc9

Paul
Comment 1 Daniel Walsh 2008-07-24 06:36:05 EDT
This is most likely where it failed.

What is the output of

(useradd -c "Guest" -Z xguest_u xguest || semanage login -a -s xguest_u xguest
|| semanage login -m -s xguest_u xguest)
Comment 2 Paul Smith 2008-07-24 07:01:40 EDT
Is the following:

$ useradd -c "Guest" -Z xguest_u xguest || semanage login -a -s xguest_u xguest
|| semanage login -m -s xguest_u xguest
bash: useradd: command not found
bash: semanage: command not found
bash: semanage: command not found
$ 

what you are asking for?

Paul

Comment 3 Daniel Walsh 2008-07-24 07:50:04 EDT
Sorry you have to run these as root with /usr/sbin in your path.
Comment 4 Paul Smith 2008-07-24 07:57:12 EDT
OK:

# /usr/sbin/useradd -c "Guest" -Z xguest_u xguest || /usr/sbin/semanage login -a
-s xguest_u xguest || /usr/sbin/semanage login -m -s xguest_u xguest
useradd: -Z requires SELinux enabled kernel

#

In fact, I have SELinux deactivated. Maybe, this is the problem.

Paul


 
Comment 5 Daniel Walsh 2008-07-24 09:05:27 EDT
Yes that would cause the problem.

But that would explain the problem.  Xguest is useless unless selinux is enabled.
Comment 6 Paul Smith 2008-07-24 10:32:49 EDT
If that is the case, the best to do is probably to close the bug. Sorry for
having disturbed you.

Is there some other program similar to xguest that does not use SELinux?

Thanks,

Paul
Comment 7 Daniel Walsh 2008-07-25 09:20:02 EDT
Why are you against enabling SELinux?

What features of xguest are you looking to use?
Comment 8 Paul Smith 2008-07-25 19:45:05 EDT
> Why are you against enabling SELinux?

I feared that it would reduce the performance/speed of my machine.
 
> What features of xguest are you looking to use?

After having activated SELinux, I could install xguest. Xguest corresponds to
the tool that I was looking for, and it is a great tool! Moreover, I do not
notice any reduction of my machine speed caused by the fact that now I have
SELinux active.

Many thanks,

Paul


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