blob: 6b6b78c3158bfacc24ead0ab3964c0a8aac007e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] lvm2 initscript is marked as a config file...?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20lvm2%20initscript%20is%20marked%20as%20a%20config%20file...%3F&In-Reply-To=%3C1331374216.1167.25.camel%40liliana.cdg.redhat.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="012703.html">
<LINK REL="Next" HREF="012889.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] lvm2 initscript is marked as a config file...?</H1>
<B>Michael Scherer</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20lvm2%20initscript%20is%20marked%20as%20a%20config%20file...%3F&In-Reply-To=%3C1331374216.1167.25.camel%40liliana.cdg.redhat.com%3E"
TITLE="[Mageia-dev] lvm2 initscript is marked as a config file...?">misc at zarb.org
</A><BR>
<I>Sat Mar 10 11:10:16 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="012703.html">[Mageia-dev] lvm2 initscript is marked as a config file...?
</A></li>
<LI>Next message: <A HREF="012889.html">[Mageia-dev] lvm2 initscript is marked as a config file...?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12885">[ date ]</a>
<a href="thread.html#12885">[ thread ]</a>
<a href="subject.html#12885">[ subject ]</a>
<a href="author.html#12885">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Le mardi 06 mars 2012 à 22:12 +0200, Anssi Hannula a écrit :
><i> 06.03.2012 21:48, Colin Guthrie kirjoitti:
</I>><i> > Hiya
</I>><i> >
</I>><i> > I noticed while doing the updates round that the file
</I>><i> > /etc/init.d/lvm2-monitor had a .rpmnew... Thus is seems to be marked as
</I>><i> > a config file. Is this correct? Most initscripts are not meant to be
</I>><i> > configured... is this the exception that proves the rule?
</I>><i>
</I>><i> Doesn't look like configurable.
</I>><i>
</I>><i> I have many times seen random non-config files marked as
</I>><i> %config(noreplace) in very old .specs just because they are in /etc.
</I>><i> This instance also predates mdv SVN migration (unfortunately their CVS
</I>><i> has been brought down).
</I>><i>
</I>><i> (maybe rpmlint wrongly warned about them many many years ago, causing
</I>><i> people to add unwanted %config flags...)
</I>
That's it.
And that's something that always bothered me on a fundamental level, if
that's not config, it should not be in /etc/, as this gave likely wrong
expectation to people ( ie, that they could safely hack around
initscripts and have no problem on upgrade ). The systemd approach with
inheritance is much cleaner on this regard.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="012703.html">[Mageia-dev] lvm2 initscript is marked as a config file...?
</A></li>
<LI>Next message: <A HREF="012889.html">[Mageia-dev] lvm2 initscript is marked as a config file...?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12885">[ date ]</a>
<a href="thread.html#12885">[ thread ]</a>
<a href="subject.html#12885">[ subject ]</a>
<a href="author.html#12885">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|