/[soft]/rpm/rpm-helper
ViewVC logotype

Log of /rpm/rpm-helper

View Directory Listing Directory Listing


Sticky Revision:

Revision 6131 - Directory Listing
Modified Sun Sep 30 14:52:31 2012 UTC (11 years, 5 months ago) by colin
version 0.24.11

Revision 6130 - Directory Listing
Modified Sun Sep 30 14:52:18 2012 UTC (11 years, 5 months ago) by colin
New release: 0.24.11

Revision 6129 - Directory Listing
Modified Sun Sep 30 14:51:59 2012 UTC (11 years, 5 months ago) by colin
Fix NEWS (my editor was somehow scrolled down past the first line and I didn't see the release marker (*sigh*)

Revision 6128 - Directory Listing
Modified Sun Sep 30 14:47:04 2012 UTC (11 years, 5 months ago) by colin
Switch to xz archive

Revision 6127 - Directory Listing
Modified Sun Sep 30 14:46:47 2012 UTC (11 years, 5 months ago) by colin
Fix typo

Revision 6126 - Directory Listing
Modified Sun Sep 30 14:42:51 2012 UTC (11 years, 5 months ago) by colin
Sync del-service unit finding code with add-service.

This is actually where the non-relative symlinks in chroots might occur
as technically all packges will only include relative symlinks.

Revision 6125 - Directory Listing
Modified Sun Sep 30 14:41:52 2012 UTC (11 years, 5 months ago) by colin
Make the code a little more compact + deal slightly better with non-releative symlinks in chroots

Revision 6124 - Directory Listing
Modified Sun Sep 30 14:18:41 2012 UTC (11 years, 5 months ago) by colin
Mark a fresh install of a systemd service as 'migrated' to avoid subsequent checks on upgrade.

Revision 6123 - Directory Listing
Modified Sun Sep 30 14:10:56 2012 UTC (11 years, 5 months ago) by colin
Update NEWS

Revision 6122 - Directory Listing
Modified Sun Sep 30 14:09:57 2012 UTC (11 years, 5 months ago) by colin
Only run chkconfig --del when the initscript exists (mga#7611)

Revision 4338 - Directory Listing
Modified Mon Apr 30 08:42:14 2012 UTC (11 years, 11 months ago) by colin
*sigh* Forgot NEWS in last commit/version bump :(

One more change before final release likely still needed to deal
with package renames gracefully (httpd, mariadb being prime examples) so
there will likely still be one more release.

Revision 4337 - Directory Listing
Modified Mon Apr 30 08:32:03 2012 UTC (11 years, 11 months ago) by colin
version 0.24.10

Revision 4336 - Directory Listing
Modified Mon Apr 30 08:31:55 2012 UTC (11 years, 11 months ago) by colin
0.24.10

Revision 4335 - Directory Listing
Modified Mon Apr 30 08:31:31 2012 UTC (11 years, 11 months ago) by colin
Trust systemd install rules if avaialble, only then fall back to manual linking

Revision 4334 - Directory Listing
Modified Mon Apr 30 08:16:37 2012 UTC (11 years, 11 months ago) by colin
Do not allow error status to leak from script.

Revision 4323 - Directory Listing
Modified Sun Apr 29 22:28:28 2012 UTC (11 years, 11 months ago) by colin
version 0.24.9

Revision 4322 - Directory Listing
Modified Sun Apr 29 22:28:11 2012 UTC (11 years, 11 months ago) by colin
0.24.9

Revision 4321 - Directory Listing
Modified Sun Apr 29 22:26:21 2012 UTC (11 years, 11 months ago) by colin
Fix handling of masked and symlinked unit names

Revision 3897 - Directory Listing
Modified Tue Apr 3 00:26:23 2012 UTC (11 years, 11 months ago) by colin
version 0.24.8

Revision 3896 - Directory Listing
Modified Tue Apr 3 00:22:38 2012 UTC (11 years, 11 months ago) by colin
bump vesion

Revision 3895 - Directory Listing
Modified Tue Apr 3 00:19:15 2012 UTC (11 years, 11 months ago) by colin
add-service: on package upgrade, restart all instances of template units.

Revision 3894 - Directory Listing
Modified Tue Apr 3 00:17:17 2012 UTC (11 years, 11 months ago) by colin
add-service: attempt to migrate template systemd units (foo@.service) somewhat gracefully.

Revision 3893 - Directory Listing
Modified Tue Apr 3 00:11:24 2012 UTC (11 years, 11 months ago) by colin
add-service: Change the systemd unitdir search order to match upstream.

Revision 3591 - Directory Listing
Modified Mon Mar 19 19:10:22 2012 UTC (12 years ago) by colin
Fix NEWS (forgot to press ctrl+s before commit... sigh)

Revision 3590 - Directory Listing
Modified Mon Mar 19 19:09:35 2012 UTC (12 years ago) by colin
Always reload systemd unit cache before attempting to restart units

Revision 3427 - Directory Listing
Modified Mon Mar 12 16:51:06 2012 UTC (12 years ago) by guillomovitch
version 0.24.7

Revision 3426 - Directory Listing
Modified Mon Mar 12 16:51:01 2012 UTC (12 years ago) by guillomovitch
bump release

Revision 3425 - Directory Listing
Modified Mon Mar 12 16:48:58 2012 UTC (12 years ago) by guillomovitch
executable bit

Revision 3424 - Directory Listing
Modified Mon Mar 12 16:44:57 2012 UTC (12 years ago) by guillomovitch
convert to utf8

Revision 3342 - Directory Listing
Modified Sat Mar 10 14:13:13 2012 UTC (12 years ago) by guillomovitch
fix documentation: facility is mandatory

Revision 3277 - Directory Listing
Modified Thu Mar 8 19:16:26 2012 UTC (12 years ago) by guillomovitch
actually, we don't care about sysklogd at all anymore

Revision 3276 - Directory Listing
Modified Thu Mar 8 19:13:38 2012 UTC (12 years ago) by guillomovitch
rsyslog support has superseded syslog-ng support since quite a long time

Revision 2971 - Directory Listing
Modified Thu Feb 16 14:37:20 2012 UTC (12 years, 1 month ago) by colin
version 0.24.6

Revision 2970 - Directory Listing
Modified Thu Feb 16 14:36:46 2012 UTC (12 years, 1 month ago) by colin
version 0.24.6

Revision 2969 - Directory Listing
Modified Thu Feb 16 14:36:41 2012 UTC (12 years, 1 month ago) by colin
0.25.6

Revision 2968 - Directory Listing
Modified Thu Feb 16 14:35:13 2012 UTC (12 years, 1 month ago) by colin
Tiny tidy-up of NEWS file

Revision 2967 - Directory Listing
Modified Thu Feb 16 14:28:32 2012 UTC (12 years, 1 month ago) by colin
Fix dist bug

Revision 2966 - Directory Listing
Modified Thu Feb 16 14:14:41 2012 UTC (12 years, 1 month ago) by colin
Migrate service enabled/disabled status from sysvinit to systemd on upgrade

Revision 2700 - Directory Listing
Modified Thu Jan 19 15:13:00 2012 UTC (12 years, 2 months ago) by dmorgan
Silent enable/disable services

Revision 2552 - Directory Listing
Modified Sun Jan 1 11:37:37 2012 UTC (12 years, 2 months ago) by dmorgan
Revert wrong change in rpm-helper/Makefile

Revision 2551 - Directory Listing
Modified Sun Jan 1 11:27:15 2012 UTC (12 years, 2 months ago) by dmorgan
Add spec-helper

Revision 2405 - Directory Listing
Modified Tue Dec 13 16:01:24 2011 UTC (12 years, 3 months ago) by dmorgan
version 0.24.5

Revision 2404 - Directory Listing
Modified Tue Dec 13 16:01:07 2011 UTC (12 years, 3 months ago) by dmorgan
Add support for systemd .path files

Revision 2125 - Directory Listing
Modified Thu Nov 3 11:52:04 2011 UTC (12 years, 4 months ago) by colin
version 0.24.4

Revision 2124 - Directory Listing
Modified Thu Nov 3 11:51:11 2011 UTC (12 years, 4 months ago) by colin
Brown-paper-bag: Add missing script to Makefile.

Revision 2123 - Directory Listing
Modified Thu Nov 3 11:44:59 2011 UTC (12 years, 4 months ago) by colin
Tagging happens automatically on 'make dist'. Fix up manual tag names.

Revision 2122 - Directory Listing
Modified Thu Nov 3 11:41:35 2011 UTC (12 years, 4 months ago) by colin
version 0.24.3

Revision 2121 - Directory Listing
Modified Thu Nov 3 11:41:14 2011 UTC (12 years, 4 months ago) by colin
Bump version for release.

Revision 2120 - Directory Listing
Modified Thu Nov 3 10:08:04 2011 UTC (12 years, 4 months ago) by colin
Add a new service helper for postun.

At the moment this is only used to reload systemd if it's running.

Revision 2119 - Directory Listing
Modified Thu Nov 3 09:45:10 2011 UTC (12 years, 4 months ago) by colin
Update NEWS

Revision 2118 - Directory Listing
Modified Thu Nov 3 09:40:42 2011 UTC (12 years, 4 months ago) by colin
Tag the 0.24.2 Release

Revision 2117 - Directory Listing
Modified Thu Nov 3 09:38:38 2011 UTC (12 years, 4 months ago) by colin
Create tags folder for releases

Revision 2116 - Directory Listing
Modified Thu Nov 3 09:33:21 2011 UTC (12 years, 4 months ago) by colin
Ensure we calculate the true systemd unit name.

When passing just a sysvinit name, we synthesise a systemd unit name via
the amazingly cunning and subtle technique of adding '.service' on to the
name.

This is very effective for referring to units for most commands as even if
an actual unit file of this name exists systemd might be providing the
unit for this service via a different name, but just symlinking to the
sysvinit name in order to prevent the sysvinit script from firing.

This is done with e.g. the dm and networkmanager services.

When using the symlinked name, systemctl will refuse to enable or disable
the unit (see https://bugs.mageia.org/show_bug.cgi?id=3188) and this is
expected behaviour.

Thus we use readlink to attempt to resolve the link to a real name.



Revision 2113 - Directory Listing
Modified Sun Oct 30 20:20:46 2011 UTC (12 years, 5 months ago) by colin
Do not assume that the sysvinit script exists.

It is possible that we call this helper when only a systemd unit exists
and thus it makes sense to protect against calling chkconfig and friends
when this is the case.

Revision 2112 - Directory Listing
Modified Sun Oct 30 15:08:02 2011 UTC (12 years, 5 months ago) by colin
Change how services are handled in systemd.

This ensures that services are started/stopped in the most appropriate
way depending on what init system is being used.

Also when upgrading a service, ensure it is properly restarted even
when using systemd (assuming it is currently running).

Testing these scripts without actually installing/uninstalling package
may result in the sysvinit scripts being deleted so be careful.

Revision 2111 - Directory Listing
Modified Sun Oct 30 14:47:55 2011 UTC (12 years, 5 months ago) by colin
Remove a split out function which no longer reflected it's name.

The function is short enough that splitting it out does not really aid readability

Revision 2110 - Directory Listing
Modified Sun Oct 30 14:45:30 2011 UTC (12 years, 5 months ago) by colin
Remove early exit and replace with conditionals to improve readability

Revision 2109 - Directory Listing
Modified Sun Oct 30 14:42:38 2011 UTC (12 years, 5 months ago) by colin
Extend the msec check to systemd socket units as well as services ones

Revision 2108 - Directory Listing
Modified Sun Oct 30 14:41:47 2011 UTC (12 years, 5 months ago) by colin
Ensure systemd units are handled automagically from the service name.

The Mandriva code required that all packages were updated to deal with
systemd units whenever they are provided. While packages generally need
updated to include new units, it's also something that requires a lot of
work and thus in the short term we should deal with it with minimal
changes.

By always seting the units variable, some checks become redundant so
skip them or replace with a suitable alternative

Revision 2107 - Directory Listing
Modified Sun Oct 30 14:34:47 2011 UTC (12 years, 5 months ago) by colin
Tabs->Spaces. The latter seems more common, so go with that.

Revision 2106 - Directory Listing
Modified Sun Oct 30 14:32:41 2011 UTC (12 years, 5 months ago) by colin
Set svn:keywords on the files that use it.

Revision 2090 - Directory Listing
Modified Fri Oct 28 08:05:20 2011 UTC (12 years, 5 months ago) by dmorgan
Remove mandriva support

Revision 2083 - Directory Listing
Modified Thu Oct 27 22:47:46 2011 UTC (12 years, 5 months ago) by dmorgan
Add systemd support ( mdv )

Revision 2081 - Directory Listing
Added Thu Oct 27 22:29:24 2011 UTC (12 years, 5 months ago) by dmorgan
import rpm-helper

  ViewVC Help
Powered by ViewVC 1.1.30