[Bug 173459] Review Request: initng

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 9 11:10:00 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: initng


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173459





------- Additional Comments From enrico.scholz at informatik.tu-chemnitz.de  2006-03-09 06:09 EST -------
It would be nice when the programs and the initscripts would be shipped
in different packages:

* the initscripts are evolving more and more from simple 'exec start'
  commands to complex and slow 'script start' sequences. Most of the
  code executed there can be done shorter and faster when omitting
  generality

* the initscripts are sometimes very Gentoo specific; e.g. they enforce
  a special syntax to declare bind-mounts

* when initng comes into Core, I am prognosing that we will see all
  the Requires: which are in the 'initscripts' package already but
  which are needed under certain circumstances only

So, I would like when the packaged initscripts would be optional so
that a user could write optimized scripts for his system and/or package
alternative initscripts with minimal dependencies.


I suggest to use a virtual provides so you could write something like

 ,--- 
| ... main-package ...
| Requires: initscripts(initng)
|
| %package initscripts
| Provides: initscripts(initng)
| Requires(post): initng = %version-%release
| ...
| %post initscripts
| /sbin/gen_system_runlevel
| ...
| %files initscripts
| %defattr(-,root,root)
| %config(noreplace) %{_sysconfdir}/initng/*

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list