Bug 147962 - selinux and authconfig ignored in kickstart
Summary: selinux and authconfig ignored in kickstart
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: anaconda
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-14 04:18 UTC by blbooth
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-02-14 15:39:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ks script from installed system (1.90 KB, text/plain)
2005-02-14 04:18 UTC, blbooth
no flags Details

Description blbooth 2005-02-14 04:18:08 UTC
Description of problem:

My kickstart script contains

selinux --disabled
authconfig --enableshadow --enablemd5

but my installed system ends up without shadow passwords and has
SELINUX=enforcing

-----/etc/passwd-----
root:$1$hRlkk0$KRheQev7fQ6RxoxowNkfd/:0:0:root:/root:/bin/bash
bin:*:1:1:bin:/bin:/sbin/nologin
daemon:*:2:2:daemon:/sbin:/sbin/nologin
lp:*:4:7:lp:/var/spool/lpd:/sbin/nologin
<snip>
---------------------


-----/etc/selinux/config-----
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted
-----------------------------

Comment 1 blbooth 2005-02-14 04:18:08 UTC
Created attachment 111042 [details]
ks script from installed system

Comment 2 Jeremy Katz 2005-02-14 15:39:42 UTC
You removed authconfig from the list of packages to be installed.  authconfig is
required for setting up the selinux and auth related stuff.

Comment 3 blbooth 2005-02-14 23:15:07 UTC
> You removed authconfig from the list of packages to be installed.  authconfig is
> required for setting up the selinux and auth related stuff.

Ooops.  Thanks for pointing that out.  Sorry to bother you.


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