Am 28.07.2014 18:16, schrieb Jiri Popelka:
At the moment dhcp package contains dhcpd (dhcp server) and dhcrelay
(dhcp relay agent).
I'd like to move dhcrelay into separate subpackage and rename the (sub)package with
dhcpd to something better then
'dhcp'.
Now the question is how to call the new subpackages.
Given that package with dhcp client is called dhclient and not dhcp-client my first idea
has been just 'dhcpd' and
'dhcrelay'.
Other possibilities would be dhcp-server and dhcp-relay-agent
or dhcp-dhcpd and dhcp-dhcrelay.
Packages now:
dhclient
dhcp
dhcp-common
dhcp-devel
dhcp-libs
Packages affter:
dhclient
dhcpd (or dhcp-server or dhcp-dhcpd)
dhcrelay (or dhcp-relay or dhcp-dhcrelay)
dhcp-common
dhcp-devel
dhcp-libs
Objections/ideas ?
honestly if you clean that up rename "dhclient" too which
should be simple be Provides/Obsoletes and result in really
clean and understandable packges
i personally hatet the "dhclient" at least once because
searched for "dhcp-client" and in a perfect world even
the binary could be "/usr/sbin/dhcp-client" with a small
change in network.service and NM i guess
dhcp-client
dhcp-server
dhcp-relay
dhcp-common
dhcp-devel
dhcp-libs
_______________________________________________________
i would consider the rename of the client binary
because the first grep would list all related
[harry@srv-rhsoft:~]$ ps aux | grep dhcp
harry 11850 0.0 0.0 112680 2224 pts/1 S+ 18:41 0:00 /usr/bin/grep --color
dhcp
dhcpd 21859 0.0 0.1 107392 19860 ? Ss Jul24 1:24 /usr/sbin/dhcpd -4 -f
-cf
/etc/dhcp/dhcpd-guest.conf -lf /var/lib/dhcpd/dhcpd-guest.leases -user dhcpd -group dhcpd
--no-pid br1
dhcpd 21860 0.0 0.1 107864 19312 ? Ss Jul24 1:16 /usr/sbin/dhcpd -4 -f -cf
/etc/dhcp/dhcpd.conf
-user dhcpd -group dhcpd --no-pid br0
root 28980 0.0 0.0 19232 5640 ? S<s Jul24 0:00 /usr/bin/vmnet-dhcpd
-s 10 -cf
/etc/vmware/vmnet8/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet8/dhcpd/dhcpd.leases -pf
/var/run/vmnet-dhcpd-vmnet8.pid
vmnet8
[harry@srv-rhsoft:~]$ ps aux | grep dhclient
root 4317 0.0 0.0 104408 14184 ? Ss Jul24 0:17 /sbin/dhclient -H
srv-rhsoft -1 -q -lf
/var/lib/dhclient/dhclient--eth1.lease -pf /var/run/dhclient-eth1.pid eth1
harry 11855 0.0 0.0 112684 2260 pts/1 S+ 18:41 0:00 /usr/bin/grep --color
dhclient