[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#838997: lintian: checks/init.d: Check for initscripts that source /lib/lsb/init-functions without declaring the corresponding dependency on lsb-base (>= 3.0-6).



On Tue, 11 Oct 2016 08:44:57 +0200 Vincent Bernat <bernat@debian.org> wrote:
>  ❦  8 octobre 2016 13:05 CEST, Evgeni Golov <evgeni@debian.org> :
> 
> >> > > But all-in-all, what matters is the dependency, as there were no changes
> >> > > since 2013 (4.1+Debian10), and Jessie has 4.1+Debian13.
> >> > 
> >> > Just to be clear, are you suggesting that the version part should be
> >> > dropped?
> >> 
> >> It's a political question. My nitpicker side favours precise dependencies 
> >> (because we can), but my realistic side admits lsb-base >= 4.1+Debian13 will 
> >> be available for all packages which will see changes following the lintian 
> >> warning.
> >> 
> >> If we can, and we can, we should have precise dependencies instead of 
> >> 'available in stable'; it helps downstreams as well.
> >
> > I kind of agree. Just adding the >= 3.0-6 dep all over Debian is not really needed.
> > For downstreams, well, can't lintian have profiles for them and thus emit slightly
> > different suggestions, if the downstreams actually still have such an
> > old lsb-base?
> 
> Ubuntu Precise also has a recent-enough version of lsb-base. Putting a
> version is extra work because it may need to be updated. We put 3.0-6,
> then we have to update to 3.2-14 for status_proc. Then we discover there
> may be people with backports so we update to 3.2-14~. This makes a lot
> of people in Debian work for people that do not exist (those with
> distributions older than oldoldstable that install packages from
> unstable or those from old derived distributions that install packages
> From unstable).

I would prefer having the version requirement dropped as well. It seem
rather pointless when even oldstable has a newer version.

Aside from this issue: Should we handle packages differently which ship
native systemd service files?
You might boot with sysvinit or use /etc/init.d/foo <action> which needs
the redirection from the lsb hook, but is that common enough with
systemd being our default init system to warrant a hard dependency?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: