diff --git a/.gitignore b/.gitignore index e69de29..008c6d9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,14 @@ +/chkconfig-1.3.59.tar.bz2 +/chkconfig-1.3.60.tar.bz2 +/chkconfig-1.3.61.tar.bz2 +/chkconfig-1.3.62.tar.bz2 +/chkconfig-1.3.63.tar.bz2 +/chkconfig-1.4.tar.bz2 +/chkconfig-1.5.tar.bz2 +/chkconfig-1.6.tar.bz2 +/chkconfig-1.7.tar.bz2 +/chkconfig-1.8.tar.bz2 +/chkconfig-1.9.tar.gz +/chkconfig-1.10.tar.gz +/chkconfig-1.11.tar.gz +/chkconfig-1.14.tar.gz diff --git a/chkconfig.spec b/chkconfig.spec new file mode 100644 index 0000000..88a2c5e --- /dev/null +++ b/chkconfig.spec @@ -0,0 +1,656 @@ +Summary: A system tool for maintaining the /etc/rc*.d hierarchy +Name: chkconfig +Version: 1.14 +Release: 3%{?dist} +License: GPLv2 +URL: https://github.com/fedora-sysv/chkconfig +Source: https://github.com/fedora-sysv/chkconfig/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: newt-devel gettext popt-devel libselinux-devel beakerlib gcc +Conflicts: initscripts <= 5.30-1 + +%description +Chkconfig is a basic system utility. It updates and queries runlevel +information for system services. Chkconfig manipulates the numerous +symbolic links in /etc/rc.d, to relieve system administrators of some +of the drudgery of manually editing the symbolic links. + +%package -n ntsysv +Summary: A tool to set the stop/start of system services in a runlevel +Requires: chkconfig = %{version}-%{release} + +%description -n ntsysv +Ntsysv provides a simple interface for setting which system services +are started or stopped in various runlevels (instead of directly +manipulating the numerous symbolic links in /etc/rc.d). Unless you +specify a runlevel or runlevels on the command line (see the man +page), ntsysv configures the current runlevel (5 if you're using X). + +%package -n alternatives +Summary: A tool to maintain symbolic links determining default commands + +%description -n alternatives +alternatives creates, removes, maintains and displays information about the +symbolic links comprising the alternatives system. It is possible for several +programs fulfilling the same or similar functions to be installed on a single +system at the same time. + +%prep +%setup -q + +%build +%make_build RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" + +%check +make check + +%install +rm -rf $RPM_BUILD_ROOT +%make_install MANDIR=%{_mandir} SBINDIR=%{_sbindir} + +mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d +ln -s rc.d/init.d $RPM_BUILD_ROOT/etc/init.d +for n in 0 1 2 3 4 5 6; do + mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc${n}.d + ln -s rc.d/rc${n}.d $RPM_BUILD_ROOT/etc/rc${n}.d +done +mkdir -p $RPM_BUILD_ROOT/etc/chkconfig.d + +%find_lang %{name} + +%files -f %{name}.lang +%defattr(-,root,root) +%{!?_licensedir:%global license %%doc} +%license COPYING +/sbin/chkconfig +/etc/chkconfig.d +/etc/init.d +/etc/rc.d +/etc/rc.d/init.d +/etc/rc[0-6].d +/etc/rc.d/rc[0-6].d +%{_mandir}/*/chkconfig* +%{_prefix}/lib/systemd/systemd-sysv-install + +%files -n ntsysv +%defattr(-,root,root) +%{_sbindir}/ntsysv +%{_mandir}/*/ntsysv.8* + +%files -n alternatives +%license COPYING +%dir /etc/alternatives +%{_sbindir}/update-alternatives +%{_sbindir}/alternatives +%{_mandir}/*/update-alternatives* +%{_mandir}/*/alternatives* +%dir /var/lib/alternatives + +%changelog +* Mon Jul 27 2020 Fedora Release Engineering - 1.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 21 2020 Tom Stellard - 1.14-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + +* Fri Jul 17 2020 Jan Macku - 1.14-1 +- Fix spelling of SELinux +- Remove hardcoded systemd path + +* Tue Apr 14 2020 Jan Macku - 1.13-1 +- fix typo in translations and fix bogus dates in changelog + +* Mon Apr 06 2020 Jan Macku - 1.12-1 +- alternatives setService(): Add missing error mesg - (#1820089) +- po: update translations +- rebase + +* Tue Jan 28 2020 Fedora Release Engineering - 1.11-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 1.11-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Mar 14 2019 Peter Robinson 1.11-4 +- Split out alternatives into it's own package + +* Thu Jan 31 2019 Fedora Release Engineering - 1.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Oct 08 2018 Lukas Nykryn - 1.11-2 +- add Provides: alternatives + +* Mon Sep 10 2018 Lukas Nykryn - 1.11-1 +- Add tests for --add/remove-slave and use beakerlib +- alternatives: add-slave and remove-slave +- leveldb: don't crash on long names +- alternatives: prettier --list output + +* Fri Apr 21 2017 Lukáš Nykrýn - 1.10-1 +- Introduce --remove-all option +- po: update translations + +* Fri Feb 24 2017 Lukáš Nykrýn - 1.9-1 +- move sources to github + +* Wed Jun 29 2016 Lukáš Nykrýn - 1.8-1 +- alternatives: introduce --keep-missing +- alternatives: allow family in --set and display it in --config +- chkconfig: use isXinetdEnabled instead of isOn +- leveldb: trim leading whitespaces from systemctl +- leveldb: suppress error messages when selinux is turned off +- alternatives: always recreate symlinks when the alternative is updated +- test-alternatives: basic tests for slave links +- chkconfig: resetpriorities should work on all runlevels + +* Tue Nov 24 2015 Lukáš Nykrýn - 1.7-1 +- leveldb: fix segfault when selinux policy is not present +- alternatives: add family option + +* Fri Oct 02 2015 Lukáš Nykrýn - 1.6-1 +- systemd-sysv-install: don't play ping-pong with systemctl +- ntsysv: add description to systemd services +- ntsysv: skip templates +- Makefile: fix typo + +* Mon Jun 01 2015 Lukáš Nykrýn - 1.5-1 +- add systemd-sysv-install alias +- don't create symlinks if they already exist +- fix wrongly behaving LDFLAGS + +* Thu Mar 26 2015 Lukáš Nykrýn - 1.4-1 +- ntsysv: show systemd services and sockets +- fix combination --type xinetd --list service +- leveldb: restore selinux context for xinetd conf files +- alternatives: remove unused variable +- alternatives: warn if the target is not a symlink +- spec: add link to git +- lets simplify version + +* Wed Nov 05 2014 Lukáš Nykrýn - 1.3.63-1 +- alternatives: during install don't call preset on enabled services + +* Tue Aug 12 2014 Lukáš Nykrýn - 1.3.62-1 +- use systemctl preset, not systemctl enable +- fix typo in manpage +- partly support socket activated services + +* Wed Jul 31 2013 Lukáš Nykrýn - 1.3.61-1 +- try to make install_initd work +- fix permission issues with xinetd services + +* Tue Mar 12 2013 Lukáš Nykrýn - 1.3.60-1 +- don't completely override LDFLAGS +- pass along any rpm-configured LD flags +- make sure install_initd/remove_initd provides appropriate help output for those commands (#803818) +- check for overridden services in /etc too (#850899) +- chconfig should own /etc/rc.d (#894328) +- isXinetdEnabled should also ask systemd (#820363) +- alternatives: look for service file also in /etc +- alternatives: add --list option (#622635) +- chkconfig: add hint to call systemctl list-unit-files and list-dependencies (#800334) +- chkconfig: correctly handle unreadable init.d (#913807) +- alternatives: call systemctl enable with --force (#915667) + +* Wed Mar 7 2012 Bill Nottingham 1.3.59-1 +- translation updates +- xinetd may be a systemd service. Make sure we can still reload it (#800490) + +* Fri Feb 10 2012 Bill Nottingham 1.3.58-1 +- fix forwarding to systemctl with systemd >= 41 (#789256) +- assorted regression fixes from 1.3.57 (#782152, etc.) + +* Wed Jan 04 2012 Bill Nottingham 1.3.57-1 +- assorted cleanups to LSB dependency support (#693202 fixed properly, #701573) +- fix kill values for LSB-only scripts (#696305, ) +- don't apply start deps for services that aren't starting anywhere (#750446) + +* Tue Oct 11 2011 Bill Nottingham 1.3.56-1 +- add the systemd warning when no arguments are passed () + +* Wed Aug 31 2011 Bill Nottingham 1.3.55-1 +- update translations (#734631) + +* Tue Jul 19 2011 Bill Nottingham 1.3.54-1 +- alternatives: fix --initscript systemd support (#714830) +- revert forwarding of 'chkconfig --del' to 'systemctl disable' + +* Fri Jul 15 2011 Bill Nottingham 1.3.53-1 +- ntsysv: change the default to configure runlevels 2/3/4/5 (#709254) +- alternatives: check whether the --initscript param is a systemd service, act appropriately (#714830) +- forward chkconfig --del to systemctl disable where necessary + +* Wed Apr 27 2011 Bill Nottingham 1.3.52-1 +- set state before frobbing dependencies (#693202) +- ntsysv: don't list or configure service overridden by systemd (#691224) +- chkconfig: don't show services overridden by systemd in --list (#693504, #693500) +- don't forward to systemd if it's not installed () +- update translations + +* Wed Mar 09 2011 Bill Nottingham 1.3.51-1 +- further fixes to systemctl integration (, ) + +* Wed Feb 16 2011 Bill Nottingham 1.3.50-1 +- forward actions to systemctl when necessary () +- assorted translation updates + +* Tue Nov 9 2010 Bill Nottingham 1.3.49-1 +- fix abort on free of uninitialized data. (#649227) + +* Wed Oct 27 2010 Bill Nottingham 1.3.48-1 +- fix install_initd invocation for services that require $local_fs (#632294) + +* Tue Aug 10 2010 Bill Nottingham 1.3.47-1 +- Fix regression introduced in 1.3.45 (#622799) + +* Wed May 05 2010 Bill Nottingham 1.3.46-1 +- translation updates: hu, kn, ko (#589187) + +* Thu Mar 04 2010 Bill Nottingham 1.3.45-1 +- add support for Should-Start, Should-Stop (#98470, ) +- ntsysv: don't drop initscripts with '.' in the name (#556751) +- translation updates: el, id + +* Tue Sep 29 2009 Bill Nottingham 1.3.44-1 +- alternatives: update symlinks if they exist on installation (#104940) +- alternatives: clarify error messages with more context (#441443) +- alternatives: fix removal of manual links (#525021, ) +- translation updates: ml, mr, pl, ta, uk + +* Mon Sep 14 2009 Bill Nottingham 1.3.43-1 +- ntsysv man page tweak (#516599) +- another minor LSB tweak (#474223) +- translation updates + +* Fri Mar 6 2009 Bill Nottingham 1.3.42-1 +- further LSB fixes (#474223) +- throw errors on various malformed init scripts (#481198) +- man page updates re: LSB (#487979) +- translation updates: mai, gu, pt_BR, ro, ca, pa, sr, fr, hu + +* Tue Jan 20 2009 Bill Nottingham 1.3.41-1 +- restore return code & error on unconfigured services (#480805) + +* Fri Dec 5 2008 Bill Nottingham 1.3.40-1 +- fix some overflows. (#176944) +- add --type parameter to specify either xinetd or sysv services. + (#467863, +- do a permissions check before add/remove/on/off/resetpriorities. (#450254) +- parse Short-Description correctly (#441813, ) + +* Thu Dec 4 2008 Bill Nottingham 1.3.39-1 +- fail if dependencies fail on add/remove in LSB mode (#474223) + +* Wed Oct 29 2008 Bill Nottingham 1.3.38-1 +- Fix runlevel list in man page (#466739) +- translation updates + +* Thu Nov 8 2007 Bill Nottingham 1.3.37-1 +- make no options do --list (#290241, #176184) +- sr@Latn -> sr@latin + +* Tue Sep 25 2007 Bill Nottingham 1.3.36-1 +- buildreq popt-devel, link it dynamically (#279531) +- translation updates: kn, ko, mr, ro + +* Fri Aug 3 2007 Bill Nottingham 1.3.35-1 +- clarify licensing + +* Mon Apr 16 2007 Bill Nottingham 1.3.34-1 +- translation updates: as, bg, bn_IN, bs, ca, de, fr, hi, hu, id, ja, + ka, ml, ms, nb, or, sk, sl +- add resetpriorities to the man page (#197399) + +* Tue Feb 6 2007 Bill Nottingham 1.3.33-1 +- various changes from review - support alternate %%{_sbindir}, fix + summaries, add version to requires, assorted other bits + +* Fri Feb 2 2007 Bill Nottingham 1.3.32-1 +- support overriding various defaults via /etc/chkconfig.d () + +* Thu Feb 1 2007 Bill Nottingham 1.3.31-1 +- fix man page (#220558, ) +- add some more verbiage in alternatives man page (#221089) +- don't print usage message on a nonexstent service (#226804) + +* Fri Dec 1 2006 Bill Nottingham 1.3.30.1-1 +- translation updates: as, ka, lv, ml, te (#216617) + +* Thu Sep 7 2006 Bill Nottingham 1.3.30-1 +- license cleanup + +* Fri Feb 24 2006 Bill Nottingham 1.3.29-1 +- fix accidental enabling of services on --add (#182729) + +* Mon Feb 13 2006 Bill Nottingham 1.3.27-1 +- translation updates + +* Thu Feb 2 2006 Bill Nottingham 1.3.26-1 +- add support for resetting priorities without on/off status (#178864) + +* Wed Nov 30 2005 Bill Nottingham 1.3.25-1 +- return an error if changing services fails (#150235) + +* Fri Nov 18 2005 Bill Nottingham 1.3.24-1 +- when removing alternatives links, check to make sure they're + actually links (#173685) + +* Fri Nov 11 2005 Bill Nottingham 1.3.23-1 +- fix ntsysv (#172996) + +* Wed Nov 9 2005 Bill Nottingham +- fix doSetService call in frobOneDependencies + +* Tue Nov 8 2005 Bill Nottingham +- for LSB scripts, use any chkconfig: priorities as a basis, + instead of 50/50 (#172599) +- fix LSB script dependency setting when no chkconfig: line + is present (#161870, ) +- fix LSB script dependency setting when one of Required-Stop + or Required-Start: is missing (#168457) + +* Fri Oct 7 2005 Bill Nottingham +- fix segfault on directories in /etc/xinetd.d (#166385) +- don't needlessly rewrite xinetd files (#81008) + +* Thu May 5 2005 Bill Nottingham 1.3.20-1 +- fix deletion of orphaned slave links (#131496, ) + +* Fri Apr 29 2005 Bill Nottingham 1.3.19-1 +- build with updated translations + +* Thu Mar 3 2005 Bill Nottingham 1.3.18-1 +- actually return an error code if changing a service info fails + +* Tue Feb 22 2005 Bill Nottingham 1.3.17-1 +- more chkconfig: vs. LSB fixes (#149066) + +* Thu Feb 10 2005 Bill Nottingham 1.3.16-1 +- prefer chkconfig: start/stop priorities in LSB mode unless + Required-Start/Stop are used + +* Mon Feb 7 2005 Bill Nottingham 1.3.15-1 +- print usage when various invalid args are passed (#147393) + +* Wed Feb 2 2005 Bill Nottingham 1.3.14-1 +- resize reasonably with larger screens (#74156) +- don't error out completely on bad symlink (#74324) +- use ngettext (#106176) +- error out on invalid start/stop values (#109858) +- some man page updates +- fix return code of chkconfig for xinetd services (#63123) +- sort chkconfig --list display (#61576, ) + +* Tue Jan 11 2005 Bill Nottingham 1.3.13-1 +- fix LSB comment parsing some more (#144739) + +* Thu Oct 28 2004 Bill Nottingham 1.3.11.2-1 +- fix manpage reference (#137492) + +* Fri Oct 1 2004 Bill Nottingham 1.3.11.1-1 +- rebuild with updated translations + +* Fri Jun 4 2004 Bill Nottingham 1.3.11-1 +- fix LSB comment parsing (#85678) + +* Wed May 29 2004 Bill Nottingham 1.3.10-1 +- mark alternatives help output for translation (#110526) + +* Wed Oct 22 2003 Bill Nottingham 1.3.9-1 +- update translations + +* Mon Jul 28 2003 Bill Nottingham 1.3.8-4 +- rebuild + +* Tue May 13 2003 Dan Walsh 1.3.8-3 +- Update for RHEL + +* Thu May 8 2003 Dan Walsh 1.3.8-2 +- Fix readXinetdServiceInfo to return error on not regular files +- Fix chkconfig to not write messages if readXinetdServiceInfo gets an error + +* Fri Jan 31 2003 Bill Nottingham 1.3.8-1 +- fix some wording in alternatives (#76213) +- actually mark alternatives for translation + +* Thu Dec 12 2002 Elliot Lee 1.3.7-1 +- Link to libpopt in a multilib-safe fashion. + +* Thu Aug 29 2002 Trond Eivind Glomsrød 1.3.6-3 +- bump + +* Thu Aug 15 2002 Bill Nottingham 1.3.6-2 +- rebuild against new newt + +* Mon Aug 12 2002 Bill Nottingham 1.3.6-1 +- make on and off handle runlevel 2 too (#70766) + +* Mon Apr 15 2002 Trond Eivind Glomsrød 1.3.5-3 +- Update translations + +* Mon Apr 15 2002 Trond Eivind Glomsrød 1.3.5-2 +- Update translations + +* Sun Apr 7 2002 Jeremy Katz 1.3.5-1 +- alternatives: handle default with --config properly (#62009) + +* Thu Mar 14 2002 Bill Nottingham 1.3.4-1 +- don't apply the dependency logic to things that already have + start/stop priorities +- fix silly display bug in --config + +* Tue Mar 12 2002 Bill Nottingham 1.3.2-1 +- chkconfig: LSB support + +* Fri Mar 8 2002 Bill Nottingham +- alternatives: handle initscripts too; --initscript command-line option +- chkconfig/ntsysv (and serviceconf, indirectly): services with + *no* links in /etc/rc*.d are no longer displayed with --list, or + available for configuration except via chkconfig command-line options +- alternatives: fix trying to enable disable a null service + +* Tue Mar 5 2002 Bill Nottingham +- alternatives: handle things with different numbers of slave links + +* Mon Mar 4 2002 Bill Nottingham +- minor alternatives tweaks: don't install the same thing multiple times + +* Wed Jan 30 2002 Bill Nottingham +- actually, put the alternatives stuff back in /usr/sbin +- ship /etc/alternatives dir +- random alternatives fixes + +* Sun Jan 27 2002 Erik Troan +- reimplemented update-alternatives as just alternatives + +* Thu Jan 25 2002 Bill Nottingham +- add in update-alternatives stuff (perl ATM) + +* Mon Aug 27 2001 Trond Eivind Glomsrød +- Update translations + +* Tue Jun 12 2001 Bill Nottingham +- don't segfault on files that are exactly the length of a page size + (#44199, ) + +* Sun Mar 4 2001 Bill Nottingham +- don't show xinetd services in ntsysv if xinetd doesn't appear to be + installed (#30565) + +* Wed Feb 14 2001 Preston Brown +- final translation update. + +* Tue Feb 13 2001 Preston Brown +- warn in ntsysv if not running as root. + +* Fri Feb 2 2001 Preston Brown +- use lang finder script + +* Fri Feb 2 2001 Bill Nottingham +- finally fix the bug Nalin keeps complaining about :) + +* Wed Jan 24 2001 Preston Brown +- final i18n update before Beta. + +* Wed Oct 18 2000 Bill Nottingham +- ignore .rpmnew files (#18915) +- fix typo in error message (#17575) + +* Wed Aug 30 2000 Nalin Dahyabhai +- make xinetd config files mode 0644, not 644 + +* Thu Aug 24 2000 Erik Troan +- updated it and es translations + +* Sun Aug 20 2000 Bill Nottingham +- get man pages in proper packages + +* Sun Aug 20 2000 Matt Wilson +- new translations + +* Tue Aug 16 2000 Nalin Dahyabhai +- don't worry about extra whitespace on chkconfig: lines (#16150) + +* Wed Aug 10 2000 Trond Eivind Glomsrød +- i18n merge + +* Wed Jul 26 2000 Matt Wilson +- new translations for de fr it es + +* Tue Jul 25 2000 Bill Nottingham +- change prereqs + +* Sun Jul 23 2000 Bill Nottingham +- fix ntsysv's handling of xinetd/init files with the same name + +* Fri Jul 21 2000 Bill Nottingham +- fix segv when reading malformed files + +* Wed Jul 19 2000 Bill Nottingham +- put links, rc[0-6].d dirs back, those are necessary + +* Tue Jul 18 2000 Bill Nottingham +- add quick hack support for reading descriptions from xinetd files + +* Mon Jul 17 2000 Bernhard Rosenkraenzer +- don't own the /etc/rc[0-6].d symlinks; they're owned by initscripts + +* Sat Jul 15 2000 Matt Wilson +- move back to old file layout + +* Thu Jul 13 2000 Preston Brown +- bump copyright date + +* Tue Jul 11 2000 Bill Nottingham +- no %%pre today. Maybe tomorrow. + +* Thu Jul 6 2000 Bill Nottingham +- put initscripts %%pre here too + +* Mon Jul 3 2000 Bill Nottingham +- oops, if we don't prereq initscripts, we *need* to own /etc/rc[0-6].d + +* Sun Jul 2 2000 Bill Nottingham +- add xinetd support + +* Tue Jun 27 2000 Matt Wilson +- changed Prereq: initscripts >= 5.18 to Conflicts: initscripts < 5.18 +- fixed sumary and description where a global string replace nuked them + +* Mon Jun 26 2000 Matt Wilson +- what Bill said, but actually build this version + +* Thu Jun 15 2000 Bill Nottingham +- don't own /etc/rc.* + +* Fri Feb 11 2000 Bill Nottingham +- typo in man page + +* Wed Feb 02 2000 Cristian Gafton +- fix description + +* Wed Jan 12 2000 Bill Nottingham +- link chkconfig statically against popt + +* Mon Oct 18 1999 Bill Nottingham +- fix querying alternate levels + +* Mon Aug 23 1999 Jeff Johnson +- don't use strchr to skip unwanted files, look at extension instead (#4166). + +* Thu Aug 5 1999 Bill Nottingham +- fix --help, --verson + +* Mon Aug 2 1999 Matt Wilson +- rebuilt ntsysv against newt 0.50 + +* Mon Aug 2 1999 Jeff Johnson +- fix i18n problem in usage message (#4233). +- add --help and --version. + +* Mon Apr 19 1999 Cristian Gafton +- release for Red Hat 6.0 + +* Thu Apr 8 1999 Matt Wilson +- added support for a "hide: true" tag in initscripts that will make + services not appear in ntsysv when run with the "--hide" flag + +* Thu Apr 1 1999 Matt Wilson +- added --hide flag for ntsysv that allows you to hide a service from the + user. + +* Mon Mar 22 1999 Bill Nottingham +- fix glob, once and for all. Really. We mean it. + +* Thu Mar 18 1999 Bill Nottingham +- revert fix for services@levels, it's broken +- change default to only edit the current runlevel + +* Mon Mar 15 1999 Bill Nottingham +- don't remove scripts that don't support chkconfig + +* Tue Mar 09 1999 Erik Troan +- made glob a bit more specific so xinetd and inetd don't cause improper matches + +* Thu Feb 18 1999 Matt Wilson +- removed debugging output when starting ntsysv + +* Thu Feb 18 1999 Preston Brown +- fixed globbing error +- fixed ntsysv running services not at their specified levels. + +* Tue Feb 16 1999 Matt Wilson +- print the value of errno on glob failures. + +* Sun Jan 10 1999 Matt Wilson +- rebuilt for newt 0.40 (ntsysv) + +* Tue Dec 15 1998 Jeff Johnson +- add ru.po. + +* Thu Oct 22 1998 Bill Nottingham +- build for Raw Hide (slang-1.2.2) + +* Wed Oct 14 1998 Cristian Gafton +- translation updates + +* Thu Oct 08 1998 Cristian Gafton +- updated czech translation (and use cs instead of cz) + +* Tue Sep 22 1998 Arnaldo Carvalho de Melo +- added pt_BR translations +- added more translatable strings +- support for i18n init.d scripts description + +* Sun Aug 02 1998 Erik Troan +- built against newt 0.30 +- split ntsysv into a separate package + +* Thu May 07 1998 Erik Troan +- added numerous translations + +* Mon Mar 23 1998 Erik Troan +- added i18n support + +* Sun Mar 22 1998 Erik Troan +- added --back diff --git a/rebase.sh b/rebase.sh new file mode 100755 index 0000000..e5f060d --- /dev/null +++ b/rebase.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -e +curl https://raw.githubusercontent.com/fedora-sysv/chkconfig/master/chkconfig.spec -o chkconfig.spec +git add chkconfig.spec +spectool -g chkconfig.spec +fedpkg new-sources $(basename $(spectool -S -l chkconfig.spec | awk '{print $2;}')) +git commit -m $(grep Version chkconfig.spec | awk '{print $2;}') + + diff --git a/sources b/sources new file mode 100644 index 0000000..5ecae6d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (chkconfig-1.14.tar.gz) = 9657815f98859092977f327fa605486235b556250db93b3ecb4ad5f70d81cdbaa08a34896a21015f7afda8562a0961e30327fea00cae60e7ddbc20f92171154d diff --git a/tests/alternatives-doesn-t-update-slave-links-with/Makefile b/tests/alternatives-doesn-t-update-slave-links-with/Makefile new file mode 100644 index 0000000..b8f453d --- /dev/null +++ b/tests/alternatives-doesn-t-update-slave-links-with/Makefile @@ -0,0 +1,62 @@ +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Makefile of /CoreOS/chkconfig/Regression/alternatives-doesn-t-update-slave-links-with +# Description: Test for BZ#1347541 (alternatives doesn't update slave links with) +# Author: Jan Scotka +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2016 Red Hat, Inc. +# +# This copyrighted material is made available to anyone wishing +# to use, modify, copy, or redistribute it subject to the terms +# and conditions of the GNU General Public License version 2. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this program; if not, write to the Free +# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +export TEST=/CoreOS/chkconfig/Regression/alternatives-doesn-t-update-slave-links-with +export TESTVERSION=1.0 + +BUILT_FILES= + +FILES=$(METADATA) runtest.sh Makefile PURPOSE + +.PHONY: all install download clean + +run: $(FILES) build + ./runtest.sh + +build: $(BUILT_FILES) + test -x runtest.sh || chmod a+x runtest.sh + +clean: + rm -f *~ $(BUILT_FILES) + +$(METADATA): Makefile + @echo "Owner: Jan Scotka " > $(METADATA) + @echo "Name: $(TEST)" >> $(METADATA) + @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) + @echo "Path: $(TEST_DIR)" >> $(METADATA) + @echo "Description: Test for BZ#1347541 (alternatives doesn't update slave links with)" >> $(METADATA) + @echo "Type: Regression" >> $(METADATA) + @echo "TestTime: 10m" >> $(METADATA) + @echo "RunFor: chkconfig" >> $(METADATA) + @echo "Requires: chkconfig" >> $(METADATA) + @echo "Priority: Normal" >> $(METADATA) + @echo "License: GPLv2" >> $(METADATA) + @echo "Confidential: no" >> $(METADATA) + @echo "Destructive: no" >> $(METADATA) + @echo "Bug: 1347541" >> $(METADATA) + @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA) + + rhts-lint $(METADATA) diff --git a/tests/alternatives-doesn-t-update-slave-links-with/PURPOSE b/tests/alternatives-doesn-t-update-slave-links-with/PURPOSE new file mode 100644 index 0000000..3c06b15 --- /dev/null +++ b/tests/alternatives-doesn-t-update-slave-links-with/PURPOSE @@ -0,0 +1,5 @@ +PURPOSE of /CoreOS/chkconfig/Regression/alternatives-doesn-t-update-slave-links-with +Description: Test for BZ#1347541 (alternatives doesn't update slave links with) +Author: Jan Scotka +Bug summary: alternatives doesn't update slave links with --install in manual mode +Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1347541 diff --git a/tests/alternatives-doesn-t-update-slave-links-with/runtest.sh b/tests/alternatives-doesn-t-update-slave-links-with/runtest.sh new file mode 100755 index 0000000..2c04dcc --- /dev/null +++ b/tests/alternatives-doesn-t-update-slave-links-with/runtest.sh @@ -0,0 +1,50 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /CoreOS/chkconfig/Regression/alternatives-doesn-t-update-slave-links-with +# Description: Test for BZ#1347541 (alternatives doesn't update slave links with) +# Author: Jan Scotka +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2016 Red Hat, Inc. +# +# This copyrighted material is made available to anyone wishing +# to use, modify, copy, or redistribute it subject to the terms +# and conditions of the GNU General Public License version 2. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this program; if not, write to the Free +# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +PACKAGE="chkconfig" + +rlJournalStart + rlPhaseStartSetup + rlAssertRpm $PACKAGE + rlPhaseEnd + rlPhaseStartTest + + rlRun "alternatives --install /usr/bin/xxx xxx /usr/bin/true 1 --slave /usr/bin/yyy yyy /usr/bin/true" + rlRun "alternatives --set xxx /usr/bin/true" + rlRun "alternatives --install /usr/bin/xxx xxx /usr/bin/true 1 --slave /usr/bin/yyy yyy /usr/bin/false" + rlRun "readlink /etc/alternatives/yyy | grep /usr/bin/false" + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "update-alternatives --remove xxx /usr/bin/true" + rlPhaseEnd +rlJournalPrintText +rlJournalEnd diff --git a/tests/backport-family-option-from-upstream/Makefile b/tests/backport-family-option-from-upstream/Makefile new file mode 100644 index 0000000..7eca1e2 --- /dev/null +++ b/tests/backport-family-option-from-upstream/Makefile @@ -0,0 +1,63 @@ +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Makefile of /CoreOS/chkconfig/Sanity/backport-family-option-from-upstream +# Description: Test for BZ#1291340 (Backport --family option from upstream) +# Author: Jan Scotka +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2016 Red Hat, Inc. +# +# This copyrighted material is made available to anyone wishing +# to use, modify, copy, or redistribute it subject to the terms +# and conditions of the GNU General Public License version 2. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this program; if not, write to the Free +# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +export TEST=/CoreOS/chkconfig/Sanity/backport-family-option-from-upstream +export TESTVERSION=1.0 + +BUILT_FILES= + +FILES=$(METADATA) runtest.sh Makefile PURPOSE + +.PHONY: all install download clean + +run: $(FILES) build + ./runtest.sh + +build: $(BUILT_FILES) + test -x runtest.sh || chmod a+x runtest.sh + +clean: + rm -f *~ $(BUILT_FILES) + + +$(METADATA): Makefile + @echo "Owner: Jan Scotka " > $(METADATA) + @echo "Name: $(TEST)" >> $(METADATA) + @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) + @echo "Path: $(TEST_DIR)" >> $(METADATA) + @echo "Description: Test for BZ#1291340 (Backport --family option from upstream)" >> $(METADATA) + @echo "Type: Sanity" >> $(METADATA) + @echo "TestTime: 10m" >> $(METADATA) + @echo "RunFor: chkconfig" >> $(METADATA) + @echo "Requires: chkconfig" >> $(METADATA) + @echo "Priority: Normal" >> $(METADATA) + @echo "License: GPLv2" >> $(METADATA) + @echo "Confidential: no" >> $(METADATA) + @echo "Destructive: no" >> $(METADATA) + @echo "Bug: 1291340" >> $(METADATA) + @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA) + + rhts-lint $(METADATA) diff --git a/tests/backport-family-option-from-upstream/PURPOSE b/tests/backport-family-option-from-upstream/PURPOSE new file mode 100644 index 0000000..2b0fc3b --- /dev/null +++ b/tests/backport-family-option-from-upstream/PURPOSE @@ -0,0 +1,5 @@ +PURPOSE of /CoreOS/chkconfig/Sanity/backport-family-option-from-upstream +Description: Test for BZ#1291340 (Backport --family option from upstream) +Author: Jan Scotka +Bug summary: Backport --family option from upstream +Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1291340 diff --git a/tests/backport-family-option-from-upstream/runtest.sh b/tests/backport-family-option-from-upstream/runtest.sh new file mode 100755 index 0000000..d70cd8a --- /dev/null +++ b/tests/backport-family-option-from-upstream/runtest.sh @@ -0,0 +1,58 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /CoreOS/chkconfig/Sanity/backport-family-option-from-upstream +# Description: Test for BZ#1291340 (Backport --family option from upstream) +# Author: Jan Scotka +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2016 Red Hat, Inc. +# +# This copyrighted material is made available to anyone wishing +# to use, modify, copy, or redistribute it subject to the terms +# and conditions of the GNU General Public License version 2. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this program; if not, write to the Free +# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +PACKAGE="chkconfig" + +rlJournalStart + rlPhaseStartSetup + rlAssertRpm $PACKAGE + rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory" + rlRun "touch $TmpDir/a" + rlRun "touch $TmpDir/b" + rlRun "ln -s $TmpDir/a $TmpDir/link" + rlPhaseEnd + + rlPhaseStartTest + rlRun "alternatives --install $TmpDir/link testname $TmpDir/a 1 --family testfamily" + rlRun "alternatives --install $TmpDir/link testname $TmpDir/b 2 --family testfamily" + rlRun "alternatives --display testname |grep 'link.*$TmpDir/b'" + rlRun "alternatives --display testname |grep 'link.*$TmpDir/a'" 1 + rlRun "alternatives --display testname |grep '$TmpDir/a.*testfamily priority 1'" + rlRun "alternatives --list | grep 'testname.*$TmpDir/b'" + rlPhaseEnd + + rlPhaseStartCleanup + rlRun " alternatives --remove testname $TmpDir/a" + rlRun " alternatives --remove testname $TmpDir/b" + rlRun "rm -rf $TmpDir" + rlPhaseEnd +rlJournalPrintText +rlJournalEnd diff --git a/tests/chkconfig-prioritory-set-inconsistently/Makefile b/tests/chkconfig-prioritory-set-inconsistently/Makefile new file mode 100644 index 0000000..846e4c4 --- /dev/null +++ b/tests/chkconfig-prioritory-set-inconsistently/Makefile @@ -0,0 +1,61 @@ +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Makefile of /CoreOS/chkconfig/Regression/chkconfig-prioritory-set-inconsistently +# Description: chkconfig-prioritory-set-inconsistently +# Author: Martin Cermak +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2012 Red Hat, Inc. All rights reserved. +# +# This copyrighted material is made available to anyone wishing +# to use, modify, copy, or redistribute it subject to the terms +# and conditions of the GNU General Public License version 2. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this program; if not, write to the Free +# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +export TEST=/CoreOS/chkconfig/Regression/chkconfig-prioritory-set-inconsistently +export TESTVERSION=1.0 + +BUILT_FILES= + +FILES=$(METADATA) runtest.sh Makefile PURPOSE service-a-fake service-b-fake service-c-fake + +.PHONY: all install download clean + +run: $(FILES) build + ./runtest.sh + +build: $(BUILT_FILES) + test -x runtest.sh || chmod a+x runtest.sh + +clean: + rm -f *~ $(BUILT_FILES) + +$(METADATA): Makefile + @echo "Owner: Martin Cermak " > $(METADATA) + @echo "Name: $(TEST)" >> $(METADATA) + @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) + @echo "Path: $(TEST_DIR)" >> $(METADATA) + @echo "Description: chkconfig-prioritory-set-inconsistently" >> $(METADATA) + @echo "Type: Regression" >> $(METADATA) + @echo "TestTime: 5m" >> $(METADATA) + @echo "RunFor: chkconfig" >> $(METADATA) + @echo "Requires: chkconfig" >> $(METADATA) + @echo "Priority: Normal" >> $(METADATA) + @echo "License: GPLv2" >> $(METADATA) + @echo "Confidential: no" >> $(METADATA) + @echo "Destructive: no" >> $(METADATA) + @echo "Bug: 771455" >> $(METADATA) + + rhts-lint $(METADATA) diff --git a/tests/chkconfig-prioritory-set-inconsistently/PURPOSE b/tests/chkconfig-prioritory-set-inconsistently/PURPOSE new file mode 100644 index 0000000..35babfd --- /dev/null +++ b/tests/chkconfig-prioritory-set-inconsistently/PURPOSE @@ -0,0 +1,5 @@ +PURPOSE of /CoreOS/chkconfig/Regression/chkconfig-prioritory-set-inconsistently +Description: chkconfig-prioritory-set-inconsistently +Author: Martin Cermak +Bug summary: chkconfig S## prioritory set inconsistently for initscript with Requires-Start: $network +Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=771455 diff --git a/tests/chkconfig-prioritory-set-inconsistently/runtest.sh b/tests/chkconfig-prioritory-set-inconsistently/runtest.sh new file mode 100755 index 0000000..f8ff7c0 --- /dev/null +++ b/tests/chkconfig-prioritory-set-inconsistently/runtest.sh @@ -0,0 +1,82 @@ +#!/bin/bash +# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /CoreOS/chkconfig/Regression/chkconfig-prioritory-set-inconsistently +# Description: chkconfig-prioritory-set-inconsistently +# Author: Martin Cermak +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2012 Red Hat, Inc. All rights reserved. +# +# This copyrighted material is made available to anyone wishing +# to use, modify, copy, or redistribute it subject to the terms +# and conditions of the GNU General Public License version 2. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this program; if not, write to the Free +# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/lib/beakerlib/beakerlib.sh + +PACKAGE="chkconfig" + +myGetPriority() { + SERVICE=$1 + basename $( ls /etc/rc.d/rc3.d/S[0-9][0-9]$SERVICE ) | tr -d "[a-zA-Z\-]" +} + +# Test scenario: +# https://bugzilla.redhat.com/show_bug.cgi?id=771455#c0 + +rlJournalStart + rlPhaseStartSetup + rlAssertRpm $PACKAGE + rlRun "cp service-{a,b,c}-fake /etc/rc.d/init.d/" + + # A has Required-Start on B or C, thus the reversed order: + rlRun "/usr/lib/lsb/install_initd service-c-fake" + rlRun "/usr/lib/lsb/install_initd service-b-fake" + rlRun "/usr/lib/lsb/install_initd service-a-fake" + + rlRun "chkconfig service-a-fake off" + rlRun "chkconfig service-b-fake off" + rlRun "chkconfig service-c-fake off" + rlPhaseEnd + + rlPhaseStartTest + rlRun "chkconfig service-b-fake on" + rlRun "chkconfig service-a-fake on" + rlRun "PRIO=$( myGetPriority service-a-fake )" + # now, the priority of A should be >= 40 (should be = 40 in ideal world) + # and hopefully it is < 80 + rlRun "[ $PRIO -ge 40 ]" + rlRun "[ $PRIO -lt 80 ]" + + rlRun "chkconfig service-c-fake on" + rlRun "PRIO=$( myGetPriority service-a-fake )" + # MAIN TEST: + # right after enabling C, A should raise its priority above 80 + # this should fail with unpatched package (e.g. chkconfig-1.3.47-1.el6) + # ... and pass with patched one (e.g. chkconfig-1.3.49.3-2.el6) + rlRun "[ $PRIO -gt 80 ]" + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "/usr/lib/lsb/remove_initd service-a-fake" + rlRun "/usr/lib/lsb/remove_initd service-b-fake" + rlRun "/usr/lib/lsb/remove_initd service-c-fake" + rlRun "rm -rf /etc/rc.d/init.d/service-{a,b,c}-fake" + rlPhaseEnd +#rlJournalPrintText +rlJournalEnd diff --git a/tests/chkconfig-prioritory-set-inconsistently/service-a-fake b/tests/chkconfig-prioritory-set-inconsistently/service-a-fake new file mode 100755 index 0000000..a58fc46 --- /dev/null +++ b/tests/chkconfig-prioritory-set-inconsistently/service-a-fake @@ -0,0 +1,17 @@ +#!/bin/sh +# +# service-a-fake + +# chkconfig: 2345 40 89 +# description: Fake service a +# +### BEGIN INIT INFO +# Provides: service-a-fake +# Default-Start: 2 3 4 5 +# Default-Stop: 0 6 +# Required-Start: bz771455fakeservice +# Short-Description: Fake service a +# Description: Fake service a +### END INIT INFO + + diff --git a/tests/chkconfig-prioritory-set-inconsistently/service-b-fake b/tests/chkconfig-prioritory-set-inconsistently/service-b-fake new file mode 100755 index 0000000..c89d665 --- /dev/null +++ b/tests/chkconfig-prioritory-set-inconsistently/service-b-fake @@ -0,0 +1,16 @@ +#!/bin/sh +# +# service-b-fake + +# chkconfig: 2345 14 89 +# description: Fake service b +# +### BEGIN INIT INFO +# Provides: bz771455fakeservice +# Default-Start: 2 3 4 5 +# Default-Stop: 0 6 +# Short-Description: Fake service b +# Description: Fake service b +### END INIT INFO + + diff --git a/tests/chkconfig-prioritory-set-inconsistently/service-c-fake b/tests/chkconfig-prioritory-set-inconsistently/service-c-fake new file mode 100755 index 0000000..7ee6216 --- /dev/null +++ b/tests/chkconfig-prioritory-set-inconsistently/service-c-fake @@ -0,0 +1,16 @@ +#!/bin/sh +# +# service-c-fake + +# chkconfig: 2345 80 89 +# description: Fake service c +# +### BEGIN INIT INFO +# Provides: bz771455fakeservice +# Default-Start: 2 3 4 5 +# Default-Stop: 0 6 +# Short-Description: Fake service c +# Description: Fake service c +### END INIT INFO + + diff --git a/tests/tests.retry b/tests/tests.retry new file mode 100644 index 0000000..2fbb50c --- /dev/null +++ b/tests/tests.retry @@ -0,0 +1 @@ +localhost diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..61bf9b4 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,15 @@ +--- +# This first play always runs on the local staging system +- hosts: localhost + roles: + - role: standard-test-beakerlib + tags: + - classic + - container + tests: + - alternatives-doesn-t-update-slave-links-with + - backport-family-option-from-upstream + - chkconfig-prioritory-set-inconsistently + required_packages: + - chkconfig + - lsb