Re: Removal of upstart integration

2018-01-12 Thread Dimitri John Ledkov
On 13 September 2017 at 05:50, Alexandre Detiste wrote: > Hi, > > Please also sprinkle these maintainers scripts with some > > rmdir /etc/init --ignore-fail-on-non-empty > > to avoid ending up with a stale, unowned, empty /etc/init. > (ad: the "cruft" tool found out about this) > I think this

Re: Removal of upstart integration

2017-10-06 Thread Tollef Fog Heen
]] Simon McVittie > On Thu, 05 Oct 2017 at 21:43:20 +0200, Tollef Fog Heen wrote: > > However, if you just do the IMO more common sudo $command, you get a lot > > more: > > > > $ sudo env | wc -l > > 87 > > Is that under default configuration? My /etc/sudoers{,.d/*} don't mention > env_reset, a

Re: Removal of upstart integration

2017-10-05 Thread Guillem Jover
Hi! On Tue, 2017-09-26 at 21:03:00 +0200, Ansgar Burchardt wrote: > While it doesn't hurt here, I think people are on their own if they set > POSIX_CORRECTLY or so (or include another incompatible `rmdir` in > $PATH). > Arguably `dpkg` could also run maintainer scripts in a more controlled > envi

Re: Removal of upstart integration

2017-10-05 Thread Simon McVittie
On Thu, 05 Oct 2017 at 21:43:20 +0200, Tollef Fog Heen wrote: > However, if you just do the IMO more common sudo $command, you get a lot > more: > > $ sudo env | wc -l > 87 Is that under default configuration? My /etc/sudoers{,.d/*} don't mention env_reset, and "sudo env" clears most of the envir

Re: Removal of upstart integration

2017-10-05 Thread Tollef Fog Heen
]] Ian Jackson > However, I think that such arrangements are already made. The > majority of people use "sudo", which AIUI already launders the > environment. That depends. If you do sudo -i you get a mostly clean env: $ sudo -i env LANG=nb_NO.UTF-8 TZ=CET SUDO_GID=1000 DISPLAY=:0 HOSTNAME=xo

Re: Removal of upstart integration

2017-10-05 Thread Ian Jackson
Michael Stone writes ("Re: Removal of upstart integration"): > On Thu, Oct 05, 2017 at 06:08:15PM +0100, Colin Watson wrote: > >The frontend is often started via the confmodule sourced by a maintainer > >script (and then the maintscript re-execed under the frontend), so f

Re: Removal of upstart integration

2017-10-05 Thread Michael Stone
On Thu, Oct 05, 2017 at 06:08:15PM +0100, Colin Watson wrote: On Tue, Sep 26, 2017 at 09:13:46PM +0200, Christian Seiler wrote: On 09/26/2017 09:03 PM, Ansgar Burchardt wrote: > Arguably `dpkg` could also run maintainer scripts in a more controlled > environment so less random variables affect t

Re: Removal of upstart integration

2017-10-05 Thread Colin Watson
On Tue, Sep 26, 2017 at 09:13:46PM +0200, Christian Seiler wrote: > On 09/26/2017 09:03 PM, Ansgar Burchardt wrote: > > Arguably `dpkg` could also run maintainer scripts in a more controlled > > environment so less random variables affect the maintainer scripts. > > Full ACK. IMHO it should be spe

Re: Removal of upstart integration

2017-10-05 Thread Agustin Martin
On Tue, Sep 26, 2017 at 09:23:50PM +0200, Paul Gevers wrote: > Hi, > > On 26-09-17 21:13, Christian Seiler wrote: > > Maybe there are cases for others, but I don't think the list > > should be much longer than that. > > Not sure about other helpers or scripts, but dbconfig-common and debconf > ha

Re: Removal of upstart integration

2017-09-26 Thread Paul Gevers
Hi, On 26-09-17 21:13, Christian Seiler wrote: > Maybe there are cases for others, but I don't think the list > should be much longer than that. Not sure about other helpers or scripts, but dbconfig-common and debconf have debug variables: dbc_debug and DEBCONF_DEBUG Paul signature.asc Descri

Re: Removal of upstart integration

2017-09-26 Thread Christian Seiler
On 09/26/2017 09:03 PM, Ansgar Burchardt wrote: > Arguably `dpkg` could also run maintainer scripts in a more controlled > environment so less random variables affect the maintainer scripts. Full ACK. IMHO it should be specified which environment variables are passed to the maintainer scripts from

Re: Removal of upstart integration

2017-09-26 Thread Ansgar Burchardt
Ian Jackson writes: > Alexandre Detiste writes ("Re: Removal of upstart integration"): >> Please also sprinkle these maintainers scripts with some >> >> rmdir /etc/init --ignore-fail-on-non-empty > > That should be > > rmdir --ignore-fail-on-non

Re: Removal of upstart integration

2017-09-23 Thread Christian Seiler
On 09/24/2017 01:32 AM, Thomas Goirand wrote: > On 09/13/2017 02:56 PM, Ian Jackson wrote: >> Alexandre Detiste writes ("Re: Removal of upstart integration"): >>> Please also sprinkle these maintainers scripts with some >>> >>> rmdir /etc/init -

Re: Removal of upstart integration

2017-09-23 Thread Thomas Goirand
On 09/13/2017 02:56 PM, Ian Jackson wrote: > Alexandre Detiste writes ("Re: Removal of upstart integration"): >> Please also sprinkle these maintainers scripts with some >> >> rmdir /etc/init --ignore-fail-on-non-empty > > That should be > >

Re: Removal of upstart integration

2017-09-23 Thread Dimitri John Ledkov
On 13 September 2017 at 13:56, Ian Jackson wrote: > Alexandre Detiste writes ("Re: Removal of upstart integration"): >> Please also sprinkle these maintainers scripts with some >> >> rmdir /etc/init --ignore-fail-on-non-empty > > That should be > >

Re: Removal of upstart integration

2017-09-13 Thread Ian Jackson
Alexandre Detiste writes ("Re: Removal of upstart integration"): > Please also sprinkle these maintainers scripts with some > > rmdir /etc/init --ignore-fail-on-non-empty That should be rmdir --ignore-fail-on-non-empty /etc/init in case an environment variabl

Re: Removal of upstart integration

2017-09-12 Thread Alexandre Detiste
Hi, Please also sprinkle these maintainers scripts with some rmdir /etc/init --ignore-fail-on-non-empty to avoid ending up with a stale, unowned, empty /etc/init. (ad: the "cruft" tool found out about this) --- /var/spool/cruft/report_20170907.log2017-09-07 06:18:45.571974263 +0200

Re: Removal of upstart integration

2017-08-30 Thread Ben Hutchings
On Wed, 2017-08-30 at 15:58 +0200, Luca Falavigna wrote: > 2017-08-30 15:54 GMT+02:00 Dimitri John Ledkov : > > I hope that this email alone is enough for at least some maintainers > > to integrate/schedule this change without the bug overhead > > I think this could be a good candidates for a lint

Re: Removal of upstart integration

2017-08-30 Thread Andrey Rahmatullin
On Wed, Aug 30, 2017 at 06:58:51PM +0500, Andrey Rahmatullin wrote: > > I hope that this email alone is enough for at least some maintainers > > to integrate/schedule this change without the bug overhead, as this is > > low priority. > Can you please publish a dd-list? Actually I should just scrol

Re: Removal of upstart integration

2017-08-30 Thread Andrey Rahmatullin
On Wed, Aug 30, 2017 at 02:54:59PM +0100, Dimitri John Ledkov wrote: > I hope that this email alone is enough for at least some maintainers > to integrate/schedule this change without the bug overhead, as this is > low priority. Can you please publish a dd-list? -- WBR, wRAR signature.asc Desc

Re: Removal of upstart integration

2017-08-30 Thread Luca Falavigna
2017-08-30 15:54 GMT+02:00 Dimitri John Ledkov : > I hope that this email alone is enough for at least some maintainers > to integrate/schedule this change without the bug overhead I think this could be a good candidates for a lintian tag to inform maintainers about the change and to keep track of

Re: Removal of upstart integration

2017-08-30 Thread Dimitri John Ledkov
On 30 August 2017 at 14:44, Holger Levsen wrote: > On Wed, Aug 30, 2017 at 02:39:16PM +0100, Dimitri John Ledkov wrote: >> upstart - event-based init daemon has been removed from debian and is >> currently only present in oldstable. >> >> Many packages however still ship upstart integration. Pleas

Re: Removal of upstart integration

2017-08-30 Thread Holger Levsen
On Wed, Aug 30, 2017 at 02:39:16PM +0100, Dimitri John Ledkov wrote: > upstart - event-based init daemon has been removed from debian and is > currently only present in oldstable. > > Many packages however still ship upstart integration. Please consider > removing /etc/init/* conffiles from your p

Removal of upstart integration

2017-08-30 Thread Dimitri John Ledkov
upstart - event-based init daemon has been removed from debian and is currently only present in oldstable. Many packages however still ship upstart integration. Please consider removing /etc/init/* conffiles from your packages. Do note, that typically this will require a debian/pkg.maintscript sni