Commit Graph

659 Commits

Author SHA1 Message Date
Jiri Popelka
278a2ea405 dhclient-script: run also scripts in dhclient-[enter/exit]-hooks.d dir
Debian does it similar way.
Not yet documented in dhclient-script man page.

Initial patch by Neal Gompa.
2015-05-26 18:05:19 +02:00
Jiri Popelka
4cd2995553 ipcalc moved from initscripts to separate package 2015-05-21 19:43:35 +02:00
Jiri Popelka
d12e0eb05e dhclient-script: add a minute to address lifetimes (#1188423)
http://lists.openstack.org/pipermail/openstack-operators/2015-January/006065.html
2015-04-21 10:26:09 +02:00
Jiri Popelka
8568b714e7 dhclient-script: amend previous change (#1210984) 2015-04-13 18:18:18 +02:00
Jiri Popelka
c191e7ecf1 dhclient-script: fix shellcheck.net suggestions
https://github.com/koalaman/shellcheck/wiki/SC2068
https://github.com/koalaman/shellcheck/wiki/SC2086
https://github.com/koalaman/shellcheck/wiki/SC2046
2015-03-25 14:23:02 +01:00
Tomas Hozza
cccec22272 rebuild against bind99 9.9.7 package
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2015-03-13 11:39:06 +01:00
Jiri Popelka
5ca2db2826 4.3.2 2015-03-05 19:36:52 +01:00
Jiri Popelka
d4e0705ffa correctly set IB's hw->hlen (#1185075) 2015-02-26 10:16:23 +01:00
Tomas Hozza
ef48bdefd1 Rebuild against bind-9.10.2rc2
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2015-02-25 18:23:43 +01:00
Jiri Popelka
986801e117 dhclient-script: use 'ip addr replace' for both BOUND & RENEW
amends e79843f28
2015-02-17 16:22:24 +01:00
Jiri Popelka
cbf79dcf16 doc/dhclient/dhclient-enter-hooks for dhclient-script debugging 2015-02-17 15:44:32 +01:00
Jiri Popelka
e79843f283 dhclient-script: s/addr add/addr replace/
It might happen that the address is already there,
in which case we want to update life-times.
BZ#1187856#c15

ip addr add =     NLM_F_CREATE|NLM_F_EXCL
ip addr replace = NLM_F_CREATE|NLM_F_REPLACE
ip addr change =  NLM_F_REPLACE

from linux/netlink.h
NLM_F_REPLACE   0x100   /* Override existing            */
NLM_F_EXCL      0x200   /* Do not touch, if it exists   */
NLM_F_CREATE    0x400   /* Create, if it does not exist */
2015-02-13 19:49:39 +01:00
Jiri Popelka
9568cf3620 4.3.2b1 2015-02-08 18:31:39 +01:00
Jiri Popelka
b72dfb9de9 spec: upstream bug 2015-02-03 17:24:21 +01:00
Jiri Popelka
8e6888336c send unicast request/release via correct interface (#800561, #1177351) 2015-02-03 12:10:31 +01:00
Tomas Hozza
938f7b9f6c rebuild against bind-9.10.2rc1
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2015-02-02 13:53:20 +01:00
Tomas Hozza
c7dbb5f487 rebuild against bind 9.10.1-P1
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2015-01-14 13:29:41 +01:00
Jiri Popelka
7df69ff85b dhclient: write DUID_LLT even in stateless mode (#1156356) 2014-12-18 13:46:37 +01:00
Jiri Popelka
5d40954fa5 option 97 - pxe-client-id (#1058674) 2014-12-17 10:57:39 +01:00
Jiri Popelka
d9a087ceae amend post scriptlets for #1120656 2014-11-19 13:09:34 +01:00
Jiri Popelka
81262d499a dhclient-script: remove restorecon calls (#1161500) 2014-11-10 10:47:16 +01:00
Jiri Popelka
619d70848b GSSAPI support for ldap authentication (#1150542) 2014-11-04 16:53:00 +01:00
Jiri Popelka
fac5ecb164 redefine DHCLIENT_DEFAULT_PREFIX_LEN 64 -> 128 2014-10-31 11:52:33 +01:00
Jiri Popelka
8d4540569e Merge branch 'f21' 2014-10-10 13:18:54 +02:00
Jiri Popelka
5bf5d8904c Relay-forward Message's Hop Limit should be 32 (#1147240) 2014-10-10 13:16:14 +02:00
Jiri Popelka
ffddd72865 Merge branch 'f21' 2014-10-08 19:40:05 +02:00
Jiri Popelka
91172b8573 upstream patch to build against bind-9.9.6 2014-10-08 19:38:10 +02:00
Jiri Popelka
891293f996 dhcpd generates spurious responses when seeing requests from vlans on plain interface (#1150587) 2014-10-08 19:37:45 +02:00
Tomas Hozza
8739746584 rebuild against bind-9.9.6
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2014-10-03 14:38:05 +02:00
Tomas Hozza
4305b4f8e1 rebuild against bind-9.9.6
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2014-10-03 12:15:55 +02:00
Jiri Popelka
a2d4f5a9e6 Merge branch 'f21' 2014-09-04 16:29:05 +02:00
Jiri Popelka
3dc8f27fe3 [dhclient -6] infinite preferred/valid lifetime represented as -1 (#1133839) 2014-09-04 16:25:06 +02:00
Jiri Popelka
ceab28385b better obsoletes for server & client 2014-09-01 12:27:21 +02:00
Kalev Lember
dd63340ae7 Fix dhclient obsoletes version
Make sure the obsoletes cover the version in that's in F21,
dhclient-4.3.1-6.fc21.x86_64.
2014-08-30 14:34:07 +02:00
Jiri Popelka
e70cc70732 Merge branch 'f21' 2014-08-26 12:08:58 +02:00
Jiri Popelka
4992026c16 dhclient-script: another improvement of add_ipv6_addr_with_DAD() 2014-08-26 12:08:50 +02:00
Jiri Popelka
0bccfbcbc5 Merge branch 'f21' 2014-08-26 10:13:34 +02:00
Jiri Popelka
a6e84ccd33 - dhclient-script: IPv6 address which fails DAD is auto-removed (#1133465) 2014-08-25 19:19:21 +02:00
Jiri Popelka
fe41e18619 spec: use -D with 'install' 2014-08-25 19:19:14 +02:00
Jiri Popelka
5bd17cb2c1 - dhclient-script: IPv6 address which fails DAD is auto-removed (#1133465) 2014-08-25 19:18:38 +02:00
Jiri Popelka
cc143483e5 spec: use -D with 'install' 2014-08-25 19:18:16 +02:00
Peter Robinson
df80176a2d - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 02:42:50 +00:00
Peter Robinson
d5ce4f49d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 02:42:38 +00:00
Jiri Popelka
69ed5a2afd dhclient-script: one more fix for #1129500 2014-08-14 14:53:32 +02:00
Jiri Popelka
b81510d1c4 dhclient-script: one more fix for #1129500 2014-08-14 14:53:19 +02:00
Jiri Popelka
991bd354d9 dhclient-script: PREINIT6: make sure link-local address is available (#1129500) 2014-08-14 11:38:42 +02:00
Jiri Popelka
fcd901feaf dhclient-script: PREINIT6: make sure link-local address is available (#1129500) 2014-08-14 11:24:32 +02:00
Jiri Popelka
5505bb7689 4.3.1 2014-08-12 10:53:45 +02:00
Jiri Popelka
2fe1a326ed 4.3.1 2014-08-12 10:51:29 +02:00
Jiri Popelka
5938016904 dhclient-script: it's OK if the arping reply comes from our system (#1116004) 2014-08-05 16:29:22 +02:00
Jiri Popelka
3c1fe8380f dhclient-script: it's OK if the arping reply comes from our system (#1116004) 2014-08-05 16:27:28 +02:00
Jiri Popelka
a0d47e7ac1 subpackage dhclient -> dhcp-client
https://lists.fedoraproject.org/pipermail/devel/2014-July/201366.html
2014-08-05 16:27:28 +02:00
Jiri Popelka
ce52a9163b server subpackage 2014-08-05 16:27:28 +02:00
Jiri Popelka
7000c0427b relay subpackage 2014-08-05 16:27:28 +02:00
Jiri Popelka
0b1fc62ff4 Use network-online.target instead of network.target (#1120656) 2014-07-22 19:00:42 +02:00
Tom Callaway
85d42be1f8 fix license handling 2014-07-11 17:44:01 -04:00
Jiri Popelka
0e875a2acc squeeze patch numbers 2014-07-10 19:04:54 +02:00
Jiri Popelka
7b69e548fb 4.3.1b1 2014-07-10 19:01:31 +02:00
Filipe Brandenburger
6b7e125d8b dhclient-script: fix static classless routes
This fixes an issue with handling of classless static routes that breaks
Fedora 20 on GCE cloud VMs (#1102830).

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Signed-off-by: Jiri Popelka <jpopelka@redhat.com>
2014-06-16 15:00:40 +02:00
Dennis Gilmore
2a209eb4ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 02:17:43 -05:00
Jiri Popelka
32fe95834a systemtap: fixed dtrace input file (#1102797) 2014-05-30 10:49:38 +02:00
Jiri Popelka
325dbb025c dhcp-sd_notify.patch BuildRequires: pkgconfig(libsystemd) 2014-05-29 16:28:10 +02:00
Jiri Popelka
4533a8a170 dhclient-script: fix stateless DHCPv6 mode (#1101149) 2014-05-28 17:47:08 +02:00
Jiri Popelka
6756a54bda Use StandardError=null instead of log_perror.patch
[ISC-Bugs #28049] has been closed upstream without applying the patch.
2014-05-07 14:12:02 +02:00
Jiri Popelka
0ae0d118cb support for sending startup notifications to systemd (#1077666) 2014-03-18 17:08:49 +01:00
Jiri Popelka
9b2a8d5429 rename doc subpackage do devel-doc 2014-03-07 15:53:53 +01:00
Jaromír Končický
2abfc8f9c0 fix doc package dependency 2014-03-04 11:28:44 +01:00
Jaromír Končický
e5e3005b48 added 'doc' package containing doxygen-generated documentation 2014-03-03 16:25:03 +01:00
Jiri Popelka
2ade8d85a3 dhclient: rename our -I option to -C as upstream now uses -I 2014-02-19 19:02:32 +01:00
Jiri Popelka
d80cfcbfe3 dhclient-script: don't flush all addresses, just the used one 2014-02-19 18:04:49 +01:00
Jiri Popelka
7caf8ab713 IPoIB: add GUID/DUID to dhcpd logs (#1064416) 2014-02-18 16:26:06 +01:00
Jiri Popelka
683072b705 don't try to run tests because there's no atf package since F21 2014-02-17 18:55:27 +01:00
Jiri Popelka
30308a134f turn on using of DUID with DHCPv4 clients (#560361,c#40)
remove default /etc/dhcp/dhclient.conf
2014-02-17 17:48:26 +01:00
Jiri Popelka
3e1d3e1b16 4.3.0 2014-02-04 09:51:31 +01:00
Jiri Popelka
90936e4422 4.3.0rc1 2014-01-29 10:08:47 +01:00
Jiri Popelka
4037da5848 don't apply retransmission.patch for now (RHBZ#1026565) 2014-01-28 17:24:08 +01:00
Kevin Fenzi
0c6e25a2c1 Rebuild for new bind 2014-01-26 11:53:42 -07:00
Jiri Popelka
e7bd38e572 4.3.0b1
- ship dhcp-lease-list.pl
- dhclient-script: don't ping router (#1055181)
2014-01-21 10:34:27 +01:00
Jiri Popelka
543c1a5814 update address lifetimes on RENEW/RENEW6 (#1032809) 2014-01-13 13:28:07 +01:00
Jiri Popelka
9ca3958959 make it actually build 2014-01-07 13:03:41 +01:00
Jiri Popelka
e83fb19c51 4.3.0a1: requires bind-9.9.5 2013-12-20 16:19:14 +01:00
Jiri Popelka
e3ee5b17e9 dhclient-script: set address lifetimes (#1032809) 2013-11-21 14:52:30 +01:00
Jiri Popelka
aa59a9986b dhclient-script(RENEW6|REBIND6): delete old ip6_address if it changed (#1015729) 2013-11-14 15:20:26 +01:00
Jiri Popelka
dd72a86585 Default /etc/dhcp/dhclient.conf (send dhcp-client-identifier) (#560361)
This was once done in 7a66932b5, but then reverted with 32a442749
2013-10-31 12:02:20 +01:00
Jiri Popelka
ab0ccbcb6b use upstream patch for #1001742 ([ISC-Bugs #34784]) 2013-10-24 10:32:28 +02:00
Jiri Popelka
9e0789bf20 dhcpd rejects the udp packet with checksum=0xffff (#1015997) 2013-10-07 17:52:12 +02:00
Jiri Popelka
12990acada decrease the sleep in 12-dhcpd due to timeout (#1003695#8) 2013-09-27 10:43:27 +02:00
Jiri Popelka
9311117d66 'No subnet declaration for <iface>' should be info, not error 2013-09-27 10:40:20 +02:00
Jiri Popelka
61da11e0c5 fix segfault introduced with previous commit 2013-09-18 08:46:59 +02:00
Jiri Popelka
3d8f7d6cda another solution for #1001742 (1005814#c10) 2013-09-17 17:00:19 +02:00
Jiri Popelka
001230e155 12-dhcpd: wait a few seconds before restarting services (#1003695) 2013-09-17 14:24:40 +02:00
Jiri Popelka
aebaf50d8d bind DHCPv6 client to link-local address instead of 0 address (#1001742) 2013-09-12 18:15:47 +02:00
Jiri Popelka
63fcbf9a0a don't crash on aliased infiniband interface (#996518) 2013-08-26 12:20:12 +02:00
Jiri Popelka
2d83e81eb3 BuildRequires: systemd due to %{_unitdir} 2013-08-04 13:19:47 +02:00
Jiri Popelka
30b763279e 12-dhcpd previously exited with error status 1 (#989207) 2013-07-29 12:52:50 +02:00
Tomas Hozza
3ccbe7b783 rebuild against bind 9.9.4b1
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2013-07-15 16:07:01 +02:00
Jiri Popelka
2a156e969f fix several memory leaks in omapi (#978420)
- remove send_release.patch (#979510)
2013-07-02 14:01:49 +02:00
Jiri Popelka
18e8afbaa2 rebuilt against bind once more 2013-06-18 09:36:15 +02:00
Jiri Popelka
0516f9e57d return /etc/sysconfig/dhcpd back, but do NOT use it (#909733) 2013-06-14 12:35:47 +02:00
Adam Williamson
7b569725e9 rebuild for latest bind 2013-05-14 14:38:07 -07:00
Jiri Popelka
24a2f1a312 add missing conversion specifier in log_fatal() call (#957371) 2013-04-30 13:24:31 +02:00
Adam Tkac
06720811c8 Rebuild against new bind
Signed-off-by: Adam Tkac <atkac@redhat.com>
2013-04-16 16:22:54 +02:00
Tomas Hozza
63b860bd80 Expose next-server DHCPv4 option to dhclient script
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2013-04-03 17:59:42 +02:00
Jiri Popelka
d91361821c comment xen-checksum.patch in spec 2013-04-03 13:08:42 +02:00
Jiri Popelka
4a364d130b describe -user/-group/-chroot in dhcpd.8 2013-03-26 13:34:34 +01:00
Jiri Popelka
238e10da1f fix bogus dates in changelog 2013-02-22 11:55:16 +01:00
Jiri Popelka
6d911cdc3b Merge branch 'f18' 2013-02-22 10:55:57 +01:00
Jiri Popelka
da00953f5e fix triggerun condition (#895475) 2013-02-22 10:54:25 +01:00
Dennis Gilmore
0c1b70d1bb - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 13:39:49 -06:00
Jiri Popelka
7dd2c30c88 remove missing-ipv6-not-fatal.patch
because the concerning code is later
removed with getifaddrs.patch
2013-01-24 13:04:17 +01:00
Jiri Popelka
67cff45c16 Make sure range6 is correct for subnet6 where it's declared (#902966) 2013-01-23 17:45:45 +01:00
Jiri Popelka
a0cdea387c simplify the previously added triggerun scriptlet 2013-01-18 15:09:23 +01:00
Jiri Popelka
de40db7e76 Amend last commit. 2013-01-17 18:30:30 +01:00
Jiri Popelka
dd39224418 convert DHC*ARGS from /etc/sysconfig/dhc* to service unit 2013-01-17 17:45:01 +01:00
Jiri Popelka
854a7431bc 4.2.5 2013-01-10 10:00:39 +01:00
Jiri Popelka
4f00060aef run %check in Fedora only, there's no atf package in RHEL 2013-01-02 12:26:10 +01:00
Jiri Popelka
b627731daa don't package ancient contrib/* files 2012-12-20 13:46:49 +01:00
Jiri Popelka
c72a792150 4.2.5rc1 2012-12-20 11:44:50 +01:00
Jiri Popelka
344e2934be fix two resource leaks in lpf-ib.patch 2012-11-30 14:54:02 +01:00
Jiri Popelka
0f768b61dd add After=time-sync.target to dhcpd[6].service (#878293) 2012-11-26 12:26:42 +01:00
Jiri Popelka
b037bb1885 multiple key statements in zone definition causes inappropriate error (#873794) 2012-11-16 15:32:06 +01:00
Jiri Popelka
00ed774ad1 fix path to dhcpd6.leases in dhcpd6.conf.sample (#870458) 2012-10-26 18:14:44 +02:00
Jiri Popelka
58a3b6ca5d dhcpd needs to chown leases file created before de-rooting itself (#866714) 2012-10-17 10:46:22 +02:00
Adam Tkac
2ce14342db Rebuild against new bind-libs-lite
Signed-off-by: Adam Tkac <atkac@redhat.com>
2012-10-11 14:06:00 +02:00
Jiri Popelka
ecdfff8f15 Adjusted Requires from systemd-units to systemd. 2012-10-09 14:36:17 +02:00
Jiri Popelka
8c2d60b134 do-forward-updates statement wasn't recognized (#863646) 2012-10-09 14:27:16 +02:00
Jiri Popelka
d8c679fc42 dhclient-usage.patch+part of manpages.patch merged with dhclient-options.patch 2012-09-26 10:46:55 +02:00
Tomas Hozza
cd1b15c405 4.2.4-P2: fix for CVE-2012-3955 (#856770) 2012-09-13 14:41:33 +02:00
Tomas Hozza
c0272c7d8a SystemD unit files don't use Environment files any more (#850558)
NetworkManager dispatcher script doesn't use DHCPDARGS any more
2012-08-24 13:49:51 +02:00
Tomas Hozza
95a6f13614 fixed SPEC file so it comply with new systemd-rpm macros guidelines (#850089) 2012-08-22 10:10:25 +02:00
Tomas Hozza
60e971c9e5 dhclient-script: calling dhclient-up-hooks after setting up route, gateways
& interface alias (#848869)
2012-08-20 15:41:22 +02:00
Tomas Hozza
5a6fff1160 dhclient-script: fixed CONFIG variable value passed to need_config (#848858) 2012-08-20 12:27:52 +02:00
Jiri Popelka
3d2a80f090 don't build libdst (#849166) 2012-08-17 17:01:57 +02:00
Jiri Popelka
b4dd5fd1d3 Added missing ISC-Bugs IDs 2012-08-06 12:30:23 +02:00
Jiri Popelka
bd413ec3f9 isc_time_nowplusinterval() is not safe with 64-bit time_t (#662254, #789601) 2012-07-27 10:13:48 +02:00
Dennis Gilmore
0371565b3f Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-26 23:53:07 -05:00
Tomas Hozza
f4eb815019 Dhclient does not correctly parse zero-length options in dhclient6.leases (#633318) 2012-07-25 16:19:41 +02:00
Tomas Hozza
a2c801fe4f 4.2.4-P1: fix for CVE-2012-3570 CVE-2012-3571 and CVE-2012-3954 (#842892) 2012-07-25 12:37:46 +02:00
Jiri Popelka
cd552e5d99 ib.patch: added fall-back method ioctl_get_ll() (#626514-c#63, #840601). 2012-07-23 13:39:43 +02:00
Tomas Hozza
6e8741e2ed Dhcpd does not correctly follow DhcpFailOverPeerDN (#838400) 2012-07-23 13:09:27 +02:00
Jiri Popelka
ac22d377c8 allow dhcpd to listen on alias interfaces (#840601) 2012-07-18 16:56:47 +02:00
Tomas Hozza
a6bfedd3aa changed the list of %verify on the leases files (#837474) 2012-07-09 17:13:32 +02:00
Jiri Popelka
8162f59b94 define $SAVEDIR in dhclient-script (#833054) 2012-06-18 16:19:31 +02:00
Jiri Popelka
f1c2fc7661 4.2.4 2012-06-06 08:52:35 +02:00
Jiri Popelka
0005ada283 return prematurely removed 12-dhcpd (NM dispatcher script) (#828522)
this reverts fbce21e
2012-06-05 12:33:52 +02:00
Jiri Popelka
e95bff28fe getifaddrs.patch: use HAVE_SA_LEN macro 2012-05-25 18:28:09 +02:00
Jiri Popelka
19e38902d2 4.2.4rc2 2012-05-23 14:52:52 +02:00
Jiri Popelka
b05a8555ec dhcpd.service: explicitly add -cf to indicate what conf file we use (#819325)
no need to copy /etc/*.conf to /etc/dhcp/*.conf in %prep anymore
2012-05-07 12:14:04 +02:00
Jiri Popelka
efe27aa872 4.2.4rc1 2012-05-01 09:23:59 +02:00
Jiri Popelka
634087ae6d remove inherit-leases.patch - it's probably not needed anymore (#815355) 2012-04-26 14:58:19 +02:00