Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 609118

Summary: sys-fs/quota[rpc]: rpc.rquotad.initd is not POSIX compliant
Product: Gentoo Linux Reporter: Andrew Savchenko <bircoph>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 609070    
Attachments: rpc.rquotad.initd.patch

Description Andrew Savchenko gentoo-dev 2017-02-12 15:23:49 UTC
Created attachment 463458 [details, diff]
rpc.rquotad.initd.patch

Hi,

init scripts should be POSIX compatible, see bug 609070.

rpc.rquotad.initd uses "source" function, which is outside POSIX, so with POSIX /bin/sh (e.g. dash):
/lib/rc/sh/gendepends.sh: 6: /etc/init.d/rpc.rquotad: source: not found

Fix is trivial: use "." instead.
Will apply in two weeks if there are no objections.