Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405437 - sys-cluster/maui-3.3.1-r2 should CONFIG_PROTECT its configuration files
Summary: sys-cluster/maui-3.3.1-r2 should CONFIG_PROTECT its configuration files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2012-02-23 13:50 UTC by Volkmar Glauche
Modified: 2020-11-22 14:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/env.d/25maui (25maui,220 bytes, text/plain)
2012-02-23 13:52 UTC, Volkmar Glauche
Details
patch to maui-3.3.1-r3.ebuild (maui-3.3.1-r3.ebuild.patch,622 bytes, patch)
2014-06-13 21:55 UTC, Brian G. Olson
Details | Diff
files/maui-3.3.1-example-cfgs.patch (maui-3.3.1-example-cfgs.patch,643 bytes, patch)
2014-06-13 21:59 UTC, Brian G. Olson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Volkmar Glauche 2012-02-23 13:50:33 UTC
sys-cluster/maui stores its configuration files in /var/spool/maui/{maui,maui-private}.cfg. These should be preserved when re-emerging/upgrading, but are overwritten silently.
Something like the attached /etc/env.d/25maui should be added to the ebuild to protect the config files.

Reproducible: Always
Comment 1 Volkmar Glauche 2012-02-23 13:52:32 UTC
Created attachment 302973 [details]
/etc/env.d/25maui

Add /var/spool/maui to CONFIG_PROTECT
Comment 2 Brian G. Olson 2014-06-13 21:55:14 UTC
Created attachment 378828 [details, diff]
patch to maui-3.3.1-r3.ebuild

apply files/maui-3.3.1-example-cfgs.patch to source, and give info to user that example configuration files are installed.
Comment 3 Brian G. Olson 2014-06-13 21:59:17 UTC
Created attachment 378830 [details, diff]
files/maui-3.3.1-example-cfgs.patch

Patch source code to make example configuration files, so that custom configs are not overwritten
Comment 4 Larry the Git Cow gentoo-dev 2020-10-24 14:20:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a05c24f0122b62cae823c3123b545014eefd9189

commit a05c24f0122b62cae823c3123b545014eefd9189
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-24 14:19:47 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-24 14:19:47 +0000

    package.mask: Last rite sys-cluster/maui
    
    Bug: https://bugs.gentoo.org/365713
    Bug: https://bugs.gentoo.org/405277
    Bug: https://bugs.gentoo.org/405437
    Bug: https://bugs.gentoo.org/414793
    Bug: https://bugs.gentoo.org/415699
    Bug: https://bugs.gentoo.org/422799
    Bug: https://bugs.gentoo.org/479288
    Bug: https://bugs.gentoo.org/740928
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2020-11-22 14:54:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23c2fcae268d01a7bcb593febcd963875a822b7c

commit 23c2fcae268d01a7bcb593febcd963875a822b7c
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-22 14:54:12 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-22 14:54:12 +0000

    sys-cluster/maui: Remove last-rited package
    
    Closes: https://bugs.gentoo.org/365713
    Closes: https://bugs.gentoo.org/405277
    Closes: https://bugs.gentoo.org/405437
    Closes: https://bugs.gentoo.org/414793
    Closes: https://bugs.gentoo.org/415699
    Closes: https://bugs.gentoo.org/422799
    Closes: https://bugs.gentoo.org/479288
    Closes: https://bugs.gentoo.org/740928
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask                            |  6 ---
 sys-cluster/maui/Manifest                        |  1 -
 sys-cluster/maui/files/maui-3.3.1-torque_4.patch | 14 ------
 sys-cluster/maui/files/maui.initd                | 23 ---------
 sys-cluster/maui/maui-3.3.1-r3.ebuild            | 61 ------------------------
 sys-cluster/maui/metadata.xml                    | 12 -----
 6 files changed, 117 deletions(-)