Bug 874452

Summary: realm in kickstart prompts for a password
Product: [Fedora] Fedora Reporter: Stef Walter <stefw>
Component: realmdAssignee: Stef Walter <stefw>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: jhrozek, stefw, yaneti
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-23 08:01:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 874450    

Description Stef Walter 2012-11-08 08:47:20 UTC
Description of problem:

When using the realm from a kickstart file, if an automatic join cannot be performed, the realm command prompts for a password. This causes the installation to block.

We need a way to enforce an automatic join.

Version-Release number of selected component (if applicable):

realmd 0.11


Kickstart file:

#version=DEVEL
logging --level=info
# System authorization information
auth --enableshadow --passalgo=sha512
# Use network installation
url --url="http://stef.thewalter.lan/install/fedora-18"
repo --name=stef --baseurl=http://stef.thewalter.lan/install/fedora-18-stef
# System language
lang en.UTF-8
network --hostname=kickstart.thewalter.lan
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=vda
# Keyboard layouts
keyboard 'us (dvorak)'# Installation logging level
logging --level=info
# Root password
rootpw --plaintext test
# System timezone
timezone Europe/Berlin --nontp
# System bootloader configuration
bootloader --location=mbr --boot-drive=vda
autopart --type=plain
# Partition clearing information
clearpart --all --initlabel --drives=vda

%packages --nobase
@core
authconfig
e2fsprogs
grub2
system-config-firewall-base
realmd
samba-common
sssd
adcli
sssd-tools

%end

%post --log=/root/my-post-log
echo 'Hello, world!'
hostname kickstart.thewalter.lan
realm --install=/ --verbose join radi08.segad.lab.sjc.redhat.com 
set
%end

Comment 1 Fedora Update System 2012-11-12 14:24:19 UTC
realmd-0.12-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/realmd-0.12-1.fc18

Comment 2 Fedora Update System 2012-11-12 18:33:57 UTC
Package realmd-0.12-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing realmd-0.12-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18042/realmd-0.12-1.fc18
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2012-11-23 08:01:46 UTC
realmd-0.12-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.