Changes between Version 9 and Version 10 of UnixClientPackage


Ignore:
Timestamp:
Apr 11, 2008, 4:25:18 AM (17 years ago)
Author:
Eric Myers
Comment:

logrotate; name of init config file; discussion quotes

Legend:

Unmodified
Added
Removed
Modified
  • UnixClientPackage

    v9 v10  
    1313Debian, for example, puts these in /etc/boinc-client/ and has appropriate symlinks in the working directory
    1414
    15 WHY? -EAM
    16 
    17 It is [http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.2 policy in Debian] that all configuraton files must reside in `/etc` -FST
    18 
    19 That makes sense only for files which the sysadmin would edit to change configuration (like `/etc/default/boinc-client`) but not these .xml files, which are basically only saved state.  They are not really "configuration" files in the Unix sense.  -EAM
    20 
     15>>>WHY? -EAM
     16>>>
     17>>It is [http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.2 policy in Debian] that all configuraton files must reside in `/etc` -FST
     18>>
     19>That makes sense only for files which the sysadmin would edit to change configuration (like `/etc/default/boinc-client`) but not >these .xml files, which are basically only saved state.  They are not really "configuration" files in the Unix sense.  -EAM
    2120
    2221== Executable files ==
     
    3130   * `/etc/init.d/boinc`  or `/etc/init.d/boinc-client` ?
    3231
    33 Again, let's try to pick one name for all distros.
     32Again, let's try to pick one name for all distros
    3433
    3534=== config file read by the init script ===
    3635
    3736   * `/etc/default/boinc-client` on Debian
    38    * `/etc/default/boinc` on Fedora
     37   * `/etc/sysconfig/boinc-client` on Fedora
    3938
    40 Can we make these the same for both?
     39  Fedora has a link to `/etc/sysconfig` as `/etc/default`, so in some sense these are the same place.
     40
     41  Currently the Fedora package and the RPM's from Pirates@Home use `/etc/sysconfig/boinc`.   So future installers should look for that and rename it appropriately in the %pre install scriptlet.
    4142
    4243
     
    5152Change the names as needed to match any changes in command names.
    5253
     54== log rotation ==
     55
     56This file instructs logrotate how to rotate the logs in the working directory
     57
     58We have no choice over where this goes, it has to be where logrotate
     59expects to find it.  I believe this is `/etc/logrotate.d`
    5360
    5461== bash command completion script ==