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

Bug#913310: nfs-common: Systemd does not correctly read /etc/default/nfs-common



Control: tag -1 moreinfo

On Fri, 09 Nov 2018 14:35:59 +0100 Marco Gaiarin <gaio@sv.lnf.it>
wrote:
> Package: nfs-common
> Version: 1:1.3.4-2.1
> Severity: important
> 
> Dear Maintainer,
> 
> I'm trying to play with NFSv4 with my just-installed or just-upgraded
stretch system.
> 
> I've found that:
> 
> a) is impossible to set daemons flags in /etc/default/nfs-common,
because systemd does not read it.
>
> b) it is not possible to restart nfs common daemon,

There is no nfs-common daemon.

> because nfs-common is disabled (and this seems intended)
>  and nfs-client is a target, so seems can be run only at boot.
>  [probably this is a consequence of a)]
> 
> For a), seems that the 'nfs-config' systemd stanza correctly build up
'/run/sysconfig/nfs-utils' environment files, but
> then, there's no 'EnvironmentFile=' row in 'nfs-client' and 'nfs-
server' so environment varialbles are not read.

They don't need it.  Each daemon has its own unit that (in this
version) does use EnvironmentFile.

What is the actual problem you are trying to solve?

Ben.

-- 
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: