Bug#829649: lintian: Spurious error: init.d-script-missing-dependency-on-remote_fs

2017-04-20 Thread Niels Thykier
Felipe Sateler:
> On Thu, Apr 20, 2017 at 11:12 AM, Niels Thykier  wrote:
>> [...]
>> Hi,
>>
>> Should we remap this as a check for "$local_fs" or can people assume
>> that /usr is always present?
> 
> I'd say yes.

That wasn't a "Yes/No" question! ;)

> The idea is that it should be guaranteed that /usr is
> mounted by the time the initramfs passes control to the init system.
> This means that most software (except things that survive past the
> init killing spree) can assume /usr is always available.
> 

Ok, so just drop the /usr check completely - will do.

>>  Currently, use of /var needs "$local_fs".
> 
> I'd say that use of /var requires $remote_fs. Remote-mounted /var is a
> supported configuration.
> 
> 

So far, I have only seen sources claiming that /var requires $local_fs.
 Notably, the (possibly dated) wiki page
https://wiki.debian.org/LSBInitScripts says $local_fs as well and I got
no reference/recent mail debate in the back of my head to claim
otherwise (unlike /usr, which I can remember seeing some debate about on
debian-devel).

I will leave /var for now as it is.  Feel free to bring up /var
requiring $remote_fs once stretch released.  I will be happy to
implement it given a consensus on debian-devel.

Thanks,
~Niels



Bug#829649: lintian: Spurious error: init.d-script-missing-dependency-on-remote_fs

2017-04-20 Thread Felipe Sateler
On Thu, Apr 20, 2017 at 11:12 AM, Niels Thykier  wrote:
> Control: tags -1 moreinfo
>
> On Mon, 11 Jul 2016 21:05:25 -0300 Felipe Sateler 
> wrote:
>> On Mon, 04 Jul 2016 22:27:20 -0400 "Roberto C. Sanchez"
>>  wrote:
>> > Package: lintian
>> > Version: 2.5.45
>> > Severity: normal
>> >
>> > -BEGIN PGP SIGNED MESSAGE-
>> > Hash: SHA512
>> >
>> > In preparing a new upstream release of the shorewall-init package, I
>> > found that lintian gave the following errors:
>> >
>> > E: shorewall-init: init.d-script-missing-dependency-on-remote_fs 
>> > etc/init.d/shorewall-init: required-start
>> > E: shorewall-init: init.d-script-missing-dependency-on-remote_fs 
>> > etc/init.d/shorewall-init: required-stop
>> >
>> > I checked with upstream was informed that shorewall-init doesn't work
>> > with NFS mount /usr and so assumes /usr is accessible without the need
>> > for $remote_fs in Required-Start and Required-Stop.  I inquired in
>> > #debian-devel on OFTC about this to see if it was OK to override.  I was
>> > told that this error is spurious as initramfs now mounts /usr and was
>> > suggested to file a bug report against lintian.
>> >
>>
>> Moreover, booting without /usr mounted is now officially[1]
>> unsupported, so there is no point in playing /-/usr whack-a-mole.
>>
>>
>> [1] #830829
>>
>> Saludos
>>
>>
>
> Hi,
>
> Should we remap this as a check for "$local_fs" or can people assume
> that /usr is always present?

I'd say yes. The idea is that it should be guaranteed that /usr is
mounted by the time the initramfs passes control to the init system.
This means that most software (except things that survive past the
init killing spree) can assume /usr is always available.

>  Currently, use of /var needs "$local_fs".

I'd say that use of /var requires $remote_fs. Remote-mounted /var is a
supported configuration.


-- 

Saludos,
Felipe Sateler



Bug#829649: lintian: Spurious error: init.d-script-missing-dependency-on-remote_fs

2017-04-20 Thread Niels Thykier
Control: tags -1 moreinfo

On Mon, 11 Jul 2016 21:05:25 -0300 Felipe Sateler 
wrote:
> On Mon, 04 Jul 2016 22:27:20 -0400 "Roberto C. Sanchez"
>  wrote:
> > Package: lintian
> > Version: 2.5.45
> > Severity: normal
> >
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA512
> >
> > In preparing a new upstream release of the shorewall-init package, I
> > found that lintian gave the following errors:
> >
> > E: shorewall-init: init.d-script-missing-dependency-on-remote_fs 
> > etc/init.d/shorewall-init: required-start
> > E: shorewall-init: init.d-script-missing-dependency-on-remote_fs 
> > etc/init.d/shorewall-init: required-stop
> >
> > I checked with upstream was informed that shorewall-init doesn't work
> > with NFS mount /usr and so assumes /usr is accessible without the need
> > for $remote_fs in Required-Start and Required-Stop.  I inquired in
> > #debian-devel on OFTC about this to see if it was OK to override.  I was
> > told that this error is spurious as initramfs now mounts /usr and was
> > suggested to file a bug report against lintian.
> >
> 
> Moreover, booting without /usr mounted is now officially[1]
> unsupported, so there is no point in playing /-/usr whack-a-mole.
> 
> 
> [1] #830829
> 
> Saludos
> 
> 

Hi,

Should we remap this as a check for "$local_fs" or can people assume
that /usr is always present?  Currently, use of /var needs "$local_fs".

Thanks,
~Niels



Bug#829649: lintian: Spurious error: init.d-script-missing-dependency-on-remote_fs

2016-07-11 Thread Felipe Sateler
On Mon, 04 Jul 2016 22:27:20 -0400 "Roberto C. Sanchez"
 wrote:
> Package: lintian
> Version: 2.5.45
> Severity: normal
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> In preparing a new upstream release of the shorewall-init package, I
> found that lintian gave the following errors:
>
> E: shorewall-init: init.d-script-missing-dependency-on-remote_fs 
> etc/init.d/shorewall-init: required-start
> E: shorewall-init: init.d-script-missing-dependency-on-remote_fs 
> etc/init.d/shorewall-init: required-stop
>
> I checked with upstream was informed that shorewall-init doesn't work
> with NFS mount /usr and so assumes /usr is accessible without the need
> for $remote_fs in Required-Start and Required-Stop.  I inquired in
> #debian-devel on OFTC about this to see if it was OK to override.  I was
> told that this error is spurious as initramfs now mounts /usr and was
> suggested to file a bug report against lintian.
>

Moreover, booting without /usr mounted is now officially[1]
unsupported, so there is no point in playing /-/usr whack-a-mole.


[1] #830829

Saludos



Bug#829649: lintian: Spurious error: init.d-script-missing-dependency-on-remote_fs

2016-07-04 Thread Roberto C. Sanchez
Package: lintian
Version: 2.5.45
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

In preparing a new upstream release of the shorewall-init package, I
found that lintian gave the following errors:

E: shorewall-init: init.d-script-missing-dependency-on-remote_fs 
etc/init.d/shorewall-init: required-start
E: shorewall-init: init.d-script-missing-dependency-on-remote_fs 
etc/init.d/shorewall-init: required-stop

I checked with upstream was informed that shorewall-init doesn't work
with NFS mount /usr and so assumes /usr is accessible without the need
for $remote_fs in Required-Start and Required-Stop.  I inquired in
#debian-devel on OFTC about this to see if it was OK to override.  I was
told that this error is spurious as initramfs now mounts /usr and was
suggested to file a bug report against lintian.

Please let me know if I can provide any additional information to help
resolve this.

Regards,

- -Roberto

- -- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCgAGBQJXexsIAAoJECzXeF7dp7IP1ncP/iLrjg9C57918NMRL0gLauN9
wdgqLgzFeZ8NgzWNMzfUEvuJcQtZoXb1LQnQ+eId53BM7fF35rfmuRgLk6K3tMAm
C1R4uR+BXs65lJyDLjG/GTHqwTCXeDXe6dISsHrSmSBCKJHJV7RHGnW5eNUzXWYU
rmOuCEz6CeDlO+Ei2oWZT8ahUucsiGL8Xika9KurWwNMHP3u4zjE7ALt9AEePJBO
0Eewpk5mXoK3da4QWDuZsFNfGPX9s7DdQp0MAPLBueyWMXv0G+RrLDdPEdX41yt9
J22XtiSO+biPHNI1OUlJJKiBfyJedY7AzpjwxmAFH4R+8sxfdkSELuZOzvETTijV
KFS+Ejwnca978EMwfdPAFU7NIl6ZEICZG7S76SVdhLrx2n6PXKCQdGxEj/oMhDMJ
zyD121n2dI4VQ0G9CdhLWJNs5cyhVBJ8ZYod6a1/LIKRPsDQenEwY+igZ32ts/L2
e9+zmusK+DpCHCAaYM+UfGmskYjUD4ZyHfwAVwf16lKkt0yrTinZElbySBDlz0Vy
u3h1Be6+WsUzEjxaEkCW2j5C7o9636ZYH10zVcu9aK1YGxIYOgvBMiTWncrZwTRo
sDE3FvML2xnyy78pSRjRPYbDrJL8ZkojpAVuuYanPgEyPA7Kl6K7ov5pUa5EhmSm
3OOvkDtecZ4tAn+hvI19
=JL6U
-END PGP SIGNATURE-