Mailinglist Archive: opensuse-bugs (4606 mails)
|< Previous||Next >|
[Bug 637382] New: (r)quotad init missing /etc/sysconfig/quotad for setting of "-p (port)", etc.
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Mon, 6 Sep 2010 19:47:18 +0000
- Message-id: <bug-637382-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
Summary: (r)quotad init missing /etc/sysconfig/quotad for
setting of "-p (port)", etc.
Product: openSUSE 11.3
OS/Version: openSUSE 11.3
Priority: P5 - None
Found By: ---
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:184.108.40.206)
Gecko/20100723 SUSE/3.6.8-1.3 Firefox/3.6.8
goal is to set *static* ports for nfs services.
whereas MOUNTD & STATSD opts can be set/overridden in /etc/sysconfig/nfs,
QUOTAD is missing the same option.
# and its symbolic link
rpm -q --whatprovides /etc/init.d/quotad
ls -al /etc/sysconfig/*quota*
/bin/ls: No match.
* rquota, : add the port assignment to the file. For example:
Please note that custom edits of the /etc/init.d/nfsserver are not recommend,
nor is it supported. Further, changed /etc/init.d scripts may be replaced
during online updates or when updating to a new service pack.
iiuc, /etc/services is NOT guaranteed safe from upgrades/overwrites.
I tried to raise the issue in #opensuse-factory, as it's likely an issue in/for
11.4 as well. Told 'not interested' ...
Checked @ #opensuse, told that the port mods should be made in
[12:21] <dev001> since there are some 'packagers' around -- where can I find
Packaging Guidelines for if/when to use /etc/sysconfig/blah + /etc/init.d/blah
pairs? reading here,
http://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros, I see mention
-- but not guideline statement/policy.
[12:21] <yaloki> dev001: there is no need for a guideline
[12:22] <yaloki> dev001: you need /etc/init.d/foo to have a script to start a
[12:22] <yaloki> dev001: if you can make it configurable (e.g. port number or
such), then you store that configuration in /etc/sysconfig/foo and use those
parameters in the init script
[12:23] <dev001> yaloki: sure, that makes sense. and that's what I thought.
but, it's not what novell does/recommends -- in at least the one case i'm
[12:24] <yaloki> dev001: I'm packaging for SUSE/openSUSE since 10 years, so
take my word for it
[12:24] <yaloki> dev001: and that's also the convention
[12:24] <dev001> yaloki: I'm not disagreeing with you. i'm telling you ,
however, what Novell does in the case of quotad. they recommend making static
port assignments by mod'ing /etc/services.
[12:25] <yaloki> dev001: well maybe that's because quotad is not configurable
in a different way
[12:25] <yaloki> dev001: many daemons look up which port they should listen on
[12:25] <yaloki> dev001: (actually it's even a system call in glibc)
[12:26] <dev001> yaloki: it most certainly is. adding a "-p port" spec is
straightforward, and frequently/widely used.
[12:26] <yaloki> dev001: well then the packager simply forgot to do that
[12:26] <yaloki> dev001: file a bug
checking man page,
rquotad, rpc.rquotad - remote quota server
rpc.rquotad [ -sSFI ] [ -p port ]
-p port, --port port
Listen on alternate port port.
Steps to Reproduce:
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
|< Previous||Next >|