Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Jeroen Dekkers
At Wed, 11 Nov 2015 18:14:26 +0100, Marc Haber wrote: > > On Wed, 11 Nov 2015 17:29:31 +0100, Ole Streicher > wrote: > >Paul Wise writes: > >> I expect systemd users in other distributions would appreciate a > >> feature to track changes in the default configuration too. > > > >Many programs hav

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Tom H
On Wed, Nov 11, 2015 at 4:23 PM, Bjørn Mork wrote: > Bjørn Mork writes: >> >> "/usr/lib/sysctl.d/" is systemd specific. Dropping files there won't do >> anything unless you run the systemd-sysctl service. > > Sorry, should have researched this better first. sysctl WILL use > "/usr/lib/sysctl.d

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Tom H
On Wed, Nov 11, 2015 at 4:16 PM, Bjørn Mork wrote: > Tom H writes: >> >> systemd isn't the first package to allow/promote shipping distro >> settings in "/lib" or "/usr/lib" and overriding them via "/etc"; udev >> and polkit/policykit have behaved like this for a long time. There's >> also "/usr/

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Marc Haber
On Wed, 11 Nov 2015 21:58:13 +0100, Jean-Christophe Dubacq wrote: >[ ? 11/11/2015 18:14 ] [ ? Marc Haber ] >> Once and for all we're doing _SOMETHING_ right, let's keep it that >> way. >I do not agree that we are doing something exactly right. I would like >/etc to only contain what I changed (as

Re: Bug#804315: Renaming package live-build-ng to live-wrapper

2015-11-11 Thread Don Armstrong
On Tue, 10 Nov 2015, Iain R. Learmonth wrote: > I apologise to everyone that has been upset by the ITP bug. The software is > not yet ready for use as a full replacement for live-build, and it was filed > to let people know that the work was ongoing and to collect feedback. This > sort of worked, b

Re: An abrupt End to Debian Live

2015-11-11 Thread Ben Caradoc-Davies
The most valuable asset of any project is its people. In a healthy project, participants treat each other with consideration. I am saddened by these events. Daniel, thank you for your efforts on live-build, which has enabled me to create images to suit my needs. I hope that you are not discour

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Jean-Christophe Dubacq
[ ⏰ 11/11/2015 18:14 ] [ ✎ Marc Haber ] > Once and for all we're doing _SOMETHING_ right, let's keep it that > way. I do not agree that we are doing something exactly right. I would like /etc to only contain what I changed (as a sysadmin), and nothing else ; AND I would like to be warned if somethi

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Mathieu Parent (Debian)
2015-11-11 1:03 GMT+01:00 Vincent Danjean : > Hi, > > Le 10/11/2015 14:49, Andrew Shadura a écrit : >> I think you can try to do it systemd way: keep the default configuration >> in /usr/lib, and leave /etc for local user configuration which overrides >> the default config. >> >> Not sure how goo

Re: An abrupt End to Debian Live

2015-11-11 Thread Ellwood Blues
What about DEVUAN LIVE? Couldn't it be a good move? 2015-11-09 16:47 GMT+00:00 Daniel Baumann < daniel.baum...@progress-technologies.com>: > [ I don't know why this post is not showing up on planet.debian.org: > https://danieltmp.wordpress.com/2015/11/09/an-abrupt-end-to-debian-live/ > I am sendi

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Josh Triplett
Jakub Wilk wrote: > Also, how I am supposed to know that I can customize /etc/foobar.conf > if /etc/foobar.conf doesn't even exist? Because you want to modify the behavior of foobar, and "man foobar" references foobar.conf. - Josh Triplett

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Marc Haber
On Wed, 11 Nov 2015 17:29:31 +0100, Ole Streicher wrote: >Paul Wise writes: >> On Wed, Nov 11, 2015 at 10:38 PM, Ian Jackson wrote: >> I expect systemd users in other distributions would appreciate a >> feature to track changes in the default configuration too. > >Many programs have builtin defau

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Paul Wise
On Thu, Nov 12, 2015 at 12:29 AM, Ole Streicher wrote: > Paul Wise writes: >> I expect systemd users in other distributions would appreciate a >> feature to track changes in the default configuration too. > > Many programs have builtin defaults that are used when they are not > overwritten by a con

Re: Which pseudo-package do ARM netboot image slices belong to?

2015-11-11 Thread Cyril Brulebois
Jonas Smedegaard (2015-11-11): > Ohh, that'd be great - also to ease ability for anyone to inspect how > those images was created. > > Until (eventually) packaged, can someone help point to the code to > create those images? Well, src:debian-installer… > @Cyril: Regarding the concrete bug, i'

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Ole Streicher
Paul Wise writes: > On Wed, Nov 11, 2015 at 10:38 PM, Ian Jackson wrote: > I expect systemd users in other distributions would appreciate a > feature to track changes in the default configuration too. Many programs have builtin defaults that are used when they are not overwritten by a configurati

Re: Which pseudo-package do ARM netboot image slices belong to?

2015-11-11 Thread Jonas Smedegaard
Quoting Cyril Brulebois (2015-11-11 17:07:45) > Jonas Smedegaard (2015-11-10): >> I've hit a bug¹ in a non-package part of Debian, identified that it >> is tied to variations not in package releases but web-facing parts of >> official Debian: >> http://ftp.de.debian.org/debian/dists/stretch/mai

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Konstantin Khomoutov
On Wed, 11 Nov 2015 16:55:27 +0100 Marc Haber wrote: > On Wed, 11 Nov 2015 15:38:18 +0100, Tom H wrote: > >systemd isn't the first package to allow/promote shipping distro > >settings in "/lib" or "/usr/lib" and overriding them via "/etc"; udev > >and polkit/policykit have behaved like this for

Re: (newbie) Disruptive LIRC package update.

2015-11-11 Thread Vincent Danjean
Hi, Le 11/11/2015 16:52, Dominique Dumont a écrit : > On the other hand, if your post-inst script creates a configuration file in > /etc, this file is not handled by dpkg and is not a conffile. > > That's what I did for to be able to upgrade automatically lcdproc > configuration [2] by cme in

Re: Which pseudo-package do ARM netboot image slices belong to?

2015-11-11 Thread Cyril Brulebois
Jonas Smedegaard (2015-11-10): > I've hit a bug¹ in a non-package part of Debian, identified that it is > tied to variations not in package releases but web-facing parts of > official Debian: > http://ftp.de.debian.org/debian/dists/stretch/main/installer-armhf/$timestamp/images/netboot/SD-card-i

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Marc Haber
On Wed, 11 Nov 2015 15:38:18 +0100, Tom H wrote: >systemd isn't the first package to allow/promote shipping distro >settings in "/lib" or "/usr/lib" and overriding them via "/etc"; udev >and polkit/policykit have behaved like this for a long time. Pötteringware, of course. And that doesn't make i

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Marc Haber
On Wed, 11 Nov 2015 14:38:42 +, Ian Jackson wrote: >Anyway, that systemd.deb does it wrong, definitely doesn't mean that >we should repeat the same mistake for other programs. Agreed. Greetings Marc -- -- !! No courtesy copies, please !! - Marc Haber

Re: (newbie) Disruptive LIRC package update.

2015-11-11 Thread Dominique Dumont
Le mardi 10 novembre 2015, 12:42:21 12:42:21 Alec Leamas a écrit : > Also: updating the new config files, systemd or /etc/lirc/*, in > maintainer scripts is not allowed [1] (?) Not exactly. You're confusing "configuration file" and "conffile" (*). Both can exists in /etc/. The latter is handled b

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Bjørn Mork
Bjørn Mork writes: > "/usr/lib/sysctl.d/" is systemd specific. Dropping files there won't do > anything unless you run the systemd-sysctl service. Sorry, should have researched this better first. sysctl WILL use "/usr/lib/sysctl.d/" if it exists. procps won't create it, but it is supported.

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Bjørn Mork
Tom H writes: > systemd isn't the first package to allow/promote shipping distro > settings in "/lib" or "/usr/lib" and overriding them via "/etc"; udev > and polkit/policykit have behaved like this for a long time. There's > also "/usr/lib/sysctl.d/" where a distro ship settings that can be > ov

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Paul Wise
On Wed, Nov 11, 2015 at 10:38 PM, Ian Jackson wrote: > That doesn't mean we shouldn't think about whether we can transition > to a better arrangement for systemd in Debian. I expect systemd users in other distributions would appreciate a feature to track changes in the default configuration too.

Re: (newbie) Disruptive LIRC package update.

2015-11-11 Thread Vincent Danjean
Le 11/11/2015 15:31, Alec Leamas a écrit : > On 11/11/15 15:17, Vincent Danjean wrote: >> Le 11/11/2015 10:37, Alec Leamas a écrit : >>> However, it touches one possible route: to store the original vendor >>> files separately and create the actually used config files in postinst. >> ucf has been w

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Ian Jackson
Marc Haber writes ("Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]"): > On Wed, 11 Nov 2015 13:59:24 +0100, Mat wrote: > >This is one strong key point of > >Debian versus most other distribs. Please don't change that. > > For systemd, this change is alre

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Tom H
On Wed, Nov 11, 2015 at 10:37 AM, Marc Haber wrote: > > I violently disagree. We have always done it the other way, and had > the advantage that our conffile handling (which used to be and IMO > still is far superior to everything else other distributions have) > could notice if _both_ local chang

Ideas to improve dpkg/ucf with hooks [was: Putting default config files in /usr]

2015-11-11 Thread Vincent Danjean
Le 11/11/2015 15:12, Marc Haber a écrit : > On Wed, 11 Nov 2015 13:59:24 +0100, Mat wrote: >> This is one strong key point of >> Debian versus most other distribs. Please don't change that. > > For systemd, this change is already done. Noone cared. I cared. Enough to, at least, move the systemd

Re: (newbie) Disruptive LIRC package update.

2015-11-11 Thread Alec Leamas
On 11/11/15 15:17, Vincent Danjean wrote: Le 11/11/2015 10:37, Alec Leamas a écrit : However, it touches one possible route: to store the original vendor files separately and create the actually used config files in postinst. ucf has been written for this. Do not reinvent the wheel, use ucf.

Re: (newbie) Disruptive LIRC package update.

2015-11-11 Thread Vincent Danjean
Le 11/11/2015 10:37, Alec Leamas a écrit : > However, it touches one possible route: to store the original vendor > files separately and create the actually used config files in postinst. ucf has been written for this. Do not reinvent the wheel, use ucf. The doc even provides info about how to mov

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Marc Haber
On Wed, 11 Nov 2015 13:59:24 +0100, Mat wrote: >This is one strong key point of >Debian versus most other distribs. Please don't change that. For systemd, this change is already done. Noone cared. Greetings Marc -- -- !! No courtesy copies, please !! - Ma

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Alec Leamas
On 11/11/15 13:28, Marc Haber wrote: On Wed, 11 Nov 2015 11:04:01 +0100, Alec Leamas wrote: On 11/11/15 10:37, Marc Haber wrote: On Tue, 10 Nov 2015 18:24:52 -0800, Josh Triplett wrote: Vincent Danjean wrote: I violently disagree. We have always done it the other way, and had the advantag

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Sam Morris
On Wed, 11 Nov 2015 11:04:01 +0100, Alec Leamas wrote: > BTW, note that the /etc/systemd/system local overrides don't need to be > complete files, just the things locally changed. systemd merges the /lib > and /etc files to the actual unit. To expand on Marc's example, let's say /lib/systemd/sys

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Mat
+1 Debian has been doing a really good job at managing configuration files for years (dpkg, ucf). It gives the sysadmin complete visibility on changes and flexibility in actions. This is one strong key point of Debian versus most other distribs. Please don't change that. On 11/11/15 10:37, Marc

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Jakub Wilk
* Vincent Danjean , 2015-11-11, 01:03: I think you can try to do it systemd way: keep the default configuration in /usr/lib, and leave /etc for local user configuration which overrides the default config. Not sure how good is this idea, I hope others can comment on this. For myself, I find t

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Marc Haber
On Wed, 11 Nov 2015 11:04:01 +0100, Alec Leamas wrote: >On 11/11/15 10:37, Marc Haber wrote: >> On Tue, 10 Nov 2015 18:24:52 -0800, Josh Triplett >> wrote: >>> Vincent Danjean wrote: > >> I violently disagree. We have always done it the other way, and had >> the advantage that our conffile handli

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Alec Leamas
On 11/11/15 10:37, Marc Haber wrote: > On Tue, 10 Nov 2015 18:24:52 -0800, Josh Triplett > wrote: >> Vincent Danjean wrote: > I violently disagree. We have always done it the other way, and had > the advantage that our conffile handling (which used to be and IMO > still is far superior to everyth

Re: (newbie) Disruptive LIRC package update.

2015-11-11 Thread Alec Leamas
On 10/11/15 14:49, Andrew Shadura wrote: > On 10/11/15 13:39, Alec Leamas wrote: >> On 10/11/15 13:26, Andrew Shadura wrote: >> I think migrating from old config to a new config in a postinst is okay as long as you keep the old config and complain to the user that a manual verificati

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]

2015-11-11 Thread Marc Haber
On Tue, 10 Nov 2015 18:24:52 -0800, Josh Triplett wrote: >Vincent Danjean wrote: >> Le 10/11/2015 14:49, Andrew Shadura a écrit : >> > I think you can try to do it systemd way: keep the default configuration >> > in /usr/lib, and leave /etc for local user configuration which overrides >> > the def