#acl PaulHowarth:read,write,admin,revert,delete All:read === Tuesday 17th April 2012 === ==== Fedora Project ==== * Updated `perl-Test-CPAN-Meta-JSON` to 0.12 in F-17 and Rawhide: * [[CPAN:76609|CPAN RT#76609]]: Spelling fix * Updated `perl-Test-CPAN-Meta-YAML` to 0.19 in F-17 and Rawhide: * [[CPAN:76611|CPAN RT#76611]]: Spelling fix * Updated `rbldnsd` to use `systemd` native unit files for start-up in F-17 onwards; since the SvsV initscript supported multiple instances with arbitrary parameters, which is hard to map to `systemd`, I wrote a helper script `rbldnsctl` to create and manage `systemd` units based on exactly the same configuration in `/etc/sysconfig/rbldnsd` that the SysV script used, which I documented as follows in `README.systemd`: . {{{ Using rbldnsd with systemd ========================== The traditional SysV initscript shipped with rbldnsd supports using multiple instances with arbitrary command lines. This is difficult to achieve with systemd so a wrapper script, rbldnsctl, has been provided to assist with the creation and use of native systemd unit files for each required instance, using exactly the same configuration in /etc/sysconfig/rbldnsd as the SysV initscript used. Having edited /etc/sysconfig/rbldnsd to specify the rbldnsd instance(s) required, individual unit files for each instance can be created by: rbldnsctl create This creates unit files /etc/systemd/system/rbldnsd-.service for each required instance. These units can then be manipulated individually using /bin/systemctl as usual, or all at once by using other rbldnsctl commands: rbldnsctl enable This enables all configured rbldnsd instances to start at boot time (equivalent of chkconfig rbldnsd on). rbldnsctl disable This disables all configured rbldnsd instances from starting at boot time (equivalent of chkconfig rbldnsd off). rbldnsctl start This starts all configured rbldnsd instances immediately (equivalent of service rbldnsd start). rbldnsctl stop This stops all configured rbldnsd instances (equivalent of service rbldnsd stop). rbldnsctl reload This reloads all configured rbldnsd instances (equivalent of service rbldnsd reload). rbldnsctl restart This restarts all configured rbldnsd instances (equivalent of service rbldnsd restart). rbldnsctl condrestart rbldnsctl try-restart These restart all configured rbldnsd instances immediately, if they are already running (equivalent of service rbldnsd condrestart). rbldnsctl status This shows status of all configured rbldnsd instances (equivalent of service rbldnsd status). When editing /etc/sysconfig/rbldnsd to specify rbldnsd instance options, bear in mind: * systemd prefers the daemons it controls not to fork, so the unit files created by rbldnsctl start rbldnsd with the "-n" option to prevent it from forking; this also means that systemd knows the PIDs of all instances itself, so there is no need to specify any forking/pidfile related options in /etc/sysconfig/rbldnsd * if you want just a single instance of rbldnsd and use the traditional "-" identifier for it, rbldnsctl will create a unit file /etc/systemd/system/rbldnsd-single.service, i.e. the instance name will be set to "single" }}} ==== Local Packages ==== * Updated `perl-Test-CPAN-Meta` to 0.20: * [[CPAN:76609|CPAN RT#76609]]: Spelling fix * Updated `perl-Test-CPAN-Meta-JSON` to 0.12 as per the Fedora version * Updated `perl-Test-CPAN-Meta-YAML` to 0.19 as per the Fedora version * Updated `rbldnsd` as per the Fedora version ----