* [PATCH 0/1] Fix rsyslog removal issue @ 2011-11-09 12:32 Anders Darander 2011-11-09 12:32 ` [PATCH 1/1] rsyslog: change postrm to prerm Anders Darander 0 siblings, 1 reply; 5+ messages in thread From: Anders Darander @ 2011-11-09 12:32 UTC (permalink / raw) To: openembedded-devel; +Cc: Anders Darander Rsyslog wasn't possible to remove from a running system, as the postrm-stage failed. The unit file was already removed when running systemctl. Disable the service prior to removing the files. The following changes since commit db658e9954586f209c9ad3737c7f7488065ece38: gateone: make it work (2011-11-09 12:51:30 +0100) are available in the git repository at: git://github.com/darander/meta-oe rsyslog https://github.com/darander/meta-oe/tree/rsyslog Anders Darander (1): rsyslog: change postrm to prerm meta-oe/recipes-extended/rsyslog/rsyslog.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) -- 1.7.7.2 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/1] rsyslog: change postrm to prerm 2011-11-09 12:32 [PATCH 0/1] Fix rsyslog removal issue Anders Darander @ 2011-11-09 12:32 ` Anders Darander 2011-11-09 13:17 ` Koen Kooi 0 siblings, 1 reply; 5+ messages in thread From: Anders Darander @ 2011-11-09 12:32 UTC (permalink / raw) To: openembedded-devel The systemd service can't be disabled if it already has been removed, thus disable it prior to removing the package. Signed-off-by: Anders Darander <anders@chargestorm.se> --- meta-oe/recipes-extended/rsyslog/rsyslog.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog.inc b/meta-oe/recipes-extended/rsyslog/rsyslog.inc index 8af2049..856d965 100644 --- a/meta-oe/recipes-extended/rsyslog/rsyslog.inc +++ b/meta-oe/recipes-extended/rsyslog/rsyslog.inc @@ -4,7 +4,7 @@ HOMEPAGE = "http://www.rsyslog.com/" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973" -INC_PR = "r0" +INC_PR = "r1" SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \ file://rsyslog.conf" @@ -25,7 +25,7 @@ pkg_postinst_${PN} () { systemctl enable rsyslog.service } -pkg_postrm_${PN} () { +pkg_prerm_${PN} () { systemctl disable rsyslog.service } -- 1.7.7.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] rsyslog: change postrm to prerm 2011-11-09 12:32 ` [PATCH 1/1] rsyslog: change postrm to prerm Anders Darander @ 2011-11-09 13:17 ` Koen Kooi 2011-11-09 13:32 ` Anders Darander 0 siblings, 1 reply; 5+ messages in thread From: Koen Kooi @ 2011-11-09 13:17 UTC (permalink / raw) To: openembedded-devel -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Op 09-11-11 13:32, Anders Darander schreef: > The systemd service can't be disabled if it already has been removed, > thus disable it prior to removing the package. > > Signed-off-by: Anders Darander <anders@chargestorm.se> Applied. Next time could you please follow https://github.com/openembedded/meta-oe/blob/master/meta-oe/README and use [meta-oe] in the subject? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFOun1cMkyGM64RGpERAtC7AKCc5sVPSafYXUIn763VVmCwIPuw0gCfcAGw lTnZak0VIzJnfOG1wjF2vC4= =x7f9 -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] rsyslog: change postrm to prerm 2011-11-09 13:17 ` Koen Kooi @ 2011-11-09 13:32 ` Anders Darander 2011-11-09 13:36 ` Koen Kooi 0 siblings, 1 reply; 5+ messages in thread From: Anders Darander @ 2011-11-09 13:32 UTC (permalink / raw) To: openembedded-devel * Koen Kooi <koen@dominion.thruhere.net> [111109 14:18]: > Op 09-11-11 13:32, Anders Darander schreef: > > The systemd service can't be disabled if it already has been removed, > > thus disable it prior to removing the package. > > Signed-off-by: Anders Darander <anders@chargestorm.se> > Applied. Next time could you please follow > https://github.com/openembedded/meta-oe/blob/master/meta-oe/README and use > [meta-oe] in the subject? Yes, sure. Sorry that I forgot that.... Cheers, Anders -- Anders Darander ChargeStorm AB / eStorm AB ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] rsyslog: change postrm to prerm 2011-11-09 13:32 ` Anders Darander @ 2011-11-09 13:36 ` Koen Kooi 0 siblings, 0 replies; 5+ messages in thread From: Koen Kooi @ 2011-11-09 13:36 UTC (permalink / raw) To: openembedded-devel -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Op 09-11-11 14:32, Anders Darander schreef: > * Koen Kooi <koen@dominion.thruhere.net> [111109 14:18]: >> Op 09-11-11 13:32, Anders Darander schreef: >>> The systemd service can't be disabled if it already has been >>> removed, thus disable it prior to removing the package. > >>> Signed-off-by: Anders Darander <anders@chargestorm.se> > >> Applied. Next time could you please follow >> https://github.com/openembedded/meta-oe/blob/master/meta-oe/README and >> use [meta-oe] in the subject? > > Yes, sure. Sorry that I forgot that.... I look at http://patchwork.openembedded.org/project/oe/list/?q=meta- far more often than oe-devel :) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFOuoHFMkyGM64RGpERAmq/AJ0QQyXQm9w8pAuW9djpTVi2QcubUwCfXZXy UxerDjXtNhgihdFgTfmaKfg= =Blqn -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-11-09 13:42 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-11-09 12:32 [PATCH 0/1] Fix rsyslog removal issue Anders Darander 2011-11-09 12:32 ` [PATCH 1/1] rsyslog: change postrm to prerm Anders Darander 2011-11-09 13:17 ` Koen Kooi 2011-11-09 13:32 ` Anders Darander 2011-11-09 13:36 ` Koen Kooi
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.