summaryrefslogtreecommitdiffstats
path: root/perl-install/services.pm
Commit message (Collapse)AuthorAgeFilesLines
* services.pm: Use no-reload mode when interacting with systemd.Colin Guthrie2014-01-141-4/+7
| | | | | | | | | | Basically, there seems to be an issue right now if we do lots of reloads. It seems to be somewhat racy and systemd gets generally confused when we do this during boot (which we do) and trigger a reload. The reload isn't strictly needed, as we do also explicitly start the services we enable (with --no-block so that we don't cause a deadlock) so all *should* be 99% OK. Using it at runtime might mean we don't have fully up-to-date enablement status, but being able to boot wins at the moment.
* simplify: just use tooltips for service descriptionsThierry Vignaud2013-11-241-19/+1
|
* workaround a gtk+3 regression (bgo#711873)Thierry Vignaud2013-11-241-1/+1
| | | | See https://bugzilla.gnome.org/show_bug.cgi?id=711873
* fix "undefined value for mandatory argument..."Thierry Vignaud2013-11-241-1/+1
|
* perlish ->window => ->get_windowThierry Vignaud2013-11-241-1/+1
|
* use Gtk3 namespace instead of Gtk2Thierry Vignaud2013-11-241-13/+13
|
* use (my|u)gtk3 instead of *tk2Thierry Vignaud2013-11-241-4/+4
|
* Add chrony support to drakclock mga#11092David Walser2013-11-171-0/+1
| | | | | | | | | | | v2 (by Colin Guthrie) * Fix external variable reference (my -> our + $ when using it) * Drop systemd cgroup filesystem check as the path has changed now (prefer "systemctl is-active foo.service" instead) * Add iburst to chrony config server definitions (triggers sync at startup) * Don't use ntpdate with chrony - rather chronyc waitsync * Don't bother checking for ntp in finish-install - just use chrony
* Fix path after UsrMoveNicolas Lécureuil2013-09-031-1/+1
|
* list 'shorewall-ipv6' along 'shorewall'Thierry Vignaud2013-04-281-1/+1
|
* simplifyThierry Vignaud2013-03-041-3/+1
|
* drop unused parameterThierry Vignaud2013-03-041-1/+1
|
* adapt to new help layout (mga#5634)Thierry Vignaud2012-12-281-1/+1
|
* (has_systemd) fix checking systemd presence after systemd merge of subpackagesThierry Vignaud2012-08-131-1/+1
|
* drakxservices: when listing services ensure disabled services that can be ↵Colin Guthrie2012-07-261-0/+18
| | | | enabled are shown (mga#6843)
* (systemd_unit_exists) explain why we use -lThierry Vignaud2012-06-031-0/+1
|
* (systemd_unit_exists) factorizeThierry Vignaud2012-05-231-4/+6
|
* services: Use no-block mode for service start/stop under systemd.Colin Guthrie2012-04-291-1/+1
| | | | | | | | | | | | | | This is perhaps the same issue as the 'cpufreq' bug on first boot, but by changing things to use systemctl directly, I have inadvertantly bypased the solution and reintroduced the bug. As there is likely no reason to block, we will simply use no-block mode unconditionally. Longer term, we may need to decide under what context we are restarting/starting a given service (i.e. in an interactive GUI vs from a script) and use the appropriate mode with appropriate user feedback. https://bugs.mageia.org/show_bug.cgi?id=4439
* perl_checker cleanupsThierry Vignaud2012-04-251-2/+2
|
* services: Read systemd service information.Colin Guthrie2012-04-241-16/+82
| | | | | | | | | | | | | | | | | | | | | | This adds support for two different methods of working with systemd. The first, and more complete method is to query systemd for information about whether a service is enabled at boot. This mode requires that we are running under systemd and thus only works for machines in interactive mode post-install. For the installer, we also support a more rudamentary method which scans for unit files which contain simple install rules (i.e. only those services which are part of the typical multi-user or graphical targets (corresponding to runlevels 3 and 5 in the old days). This method will not show all services but it should be enough for the installer. https://bugs.mageia.org/show_bug.cgi?id=3253 https://bugs.mageia.org/show_bug.cgi?id=3740 https://bugs.mageia.org/show_bug.cgi?id=4910 https://bugs.mageia.org/show_bug.cgi?id=5122
* services: Use systemctl to determin if a service is active under systemd.Colin Guthrie2012-04-241-1/+5
|
* services: Check for systemd unit when determining if a service exists.Colin Guthrie2012-04-241-1/+1
| | | | This could be made more complex, but it'll do for now.
* services: Use the appropriate tool to start/stop servicesColin Guthrie2012-04-241-1/+5
|
* services: Whitespace and commentsColin Guthrie2012-04-241-7/+7
|
* services: Use systemd utility functions to determin how to handle ↵Colin Guthrie2012-04-241-2/+6
| | | | enabling/disabling of services.
* services: Add a couple systemd untility functions.Colin Guthrie2012-04-241-0/+8
|
* services: Do not rely on /var/lock/subsys/$service to determin if a service ↵Colin Guthrie2012-04-241-1/+1
| | | | is running or not.
* services: WhitespaceColin Guthrie2012-04-241-3/+3
|
* services: Tweak xinetd service handling to be more reusable.Colin Guthrie2012-04-241-2/+2
|
* services: Read descriptions from systemd units.Colin Guthrie2012-04-241-8/+14
|
* Split xinetd services out such that they can be handled separately from ↵Colin Guthrie2012-04-221-1/+12
| | | | systemd units.
* perl_checker cleanupsThierry Vignaud2012-03-231-3/+1
|
* (_set_service) perl_checker cleanupsThierry Vignaud2012-03-071-4/+4
|
* (root_services) add a FIXME note for future enhancementThierry Vignaud2012-03-071-1/+2
|
* (root_services) kudzu, tux & wu-ftpd are deadThierry Vignaud2012-03-071-2/+2
|
* (root_services) list network, network-auth, network-up & resolvconf into new ↵Thierry Vignaud2012-03-071-3/+2
| | | | 'networking' category
* (root_services) list dm, mdadm, messagebus, microcode_ctl, netconsole & ↵Thierry Vignaud2012-03-071-2/+3
| | | | partmon services in system
* add spacingThierry Vignaud2012-03-071-0/+5
|
* sort servicesThierry Vignaud2012-03-071-14/+14
|
* (root_services) list mandi with iptables* & shorewall in servicesThierry Vignaud2012-03-071-1/+1
|
* ipchains is dead for years (kernel-2.2.x)Thierry Vignaud2012-01-241-1/+1
|
* (root_services) list shorewall with iptables* in servicesThierry Vignaud2012-01-241-1/+1
|
* kill dead comments & code (support for kernel-2.[24].x, devfs is dead since ↵Thierry Vignaud2011-12-191-2/+0
| | | | 2.5.x kernels, ...)
* Remove dupplicate useDexter Morgan2011-11-071-2/+0
|
* Translate the symlink as systemctl enable do not accept themDexter Morgan2011-11-071-1/+8
|
* Use systemctl when we have a service file Dexter Morgan2011-11-061-5/+12
|
* - perl -pi -e 's!hard drive!hard disk drive!'Ahmad Samir2011-04-041-1/+1
|
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line Add drakx structure on the SVN ------------------------------------------------------------------------ r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned advertising ------------------------------------------------------------------------ r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line Import Clean perl-install ------------------------------------------------------------------------ r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line Add cleaned files ------------------------------------------------------------------------ r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned kernel ------------------------------------------------------------------------ r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned tools ------------------------------------------------------------------------ r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line Import stage1 ------------------------------------------------------------------------ r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line Import images ------------------------------------------------------------------------ r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines readd missing file ------------------------------------------------------------------------ r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line Import rescue ------------------------------------------------------------------------ r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines import cleaned rescue for Mageia ------------------------------------------------------------------------ r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line import (cleaned) doc ------------------------------------------------------------------------
* (description) improve the newly introduced descriptionsThierry Vignaud2010-03-281-7/+7
|
* (description) translate more service descriptions (#46640, FrançoisThierry Vignaud2010-03-281-0/+26
| | | | (Spip), further fixed by me)