Bug 163592

Summary: system config-bind can't be build when bind isn't installed
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: system-config-bindAssignee: Jason Vas Dias <jvdias>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: sundaram
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-05 00:04:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karsten Hopp 2005-07-19 10:54:17 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.8) Gecko/20050623 Fedora/1.0.4-5 Firefox/1.0.4

Description of problem:
system-config-bind runs the following scriptlet during %install:

for f in *.py ; do                                                           \
  mkdir -p /var/tmp/system-config-bind-4.0.0-19_FC5-root/usr/share/system-config-bind;                                   \
  install -p -o root -g named -m 0754 *.py *.py[co] system-config-bind.glade /var/tmp/system-config-bind-4.0.0-19_FC5-root/usr/share/system-config-bind;  \
done


This fails if bind isn't installed because there's no group 'named':
install: invalid group `named'

Version-Release number of selected component (if applicable):
system-config-bind-4.0.0-19_FC5

How reproducible:
Always

Steps to Reproduce:
1.rpm -e bind
2.make sure 'named' isn't in /etc/group anymore
3.rebuild package
  

Additional info:

Comment 1 Jason Vas Dias 2005-07-19 20:31:28 UTC
OK, 'BuildRequires: bind' is now committed to the s-c-b .spec file for inclusion
in the next release; it has always had 'Requires: bind, bind-utils'.
The idea is that the executable components get installed with ownership 
root:named, mode 754, so that only root and members of the named group
can run s-c-b (only they have write access to named.conf & zone files).