Commit Graph

590 Commits

Author SHA1 Message Date
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
Jiri Popelka
b2ce0ea4b3 Update paths.patch and source URL
We don't need to change paths to leases files because
we define these when running configure.
We need to change path to dhclient-script.
2012-04-18 11:31:33 +02:00
Jiri Popelka
d5d042fc45 4.2.4b1: noprefixavail.patch merged upstream 2012-04-17 11:46:32 +02:00
Jiri Popelka
cfe00c427f move dhclient & dhclient-script from /sbin to /usr/sbin 2012-04-02 12:05:14 +02:00
Jiri Popelka
30f41aa41d one more fix (#806342) 2012-03-23 20:30:38 +01:00
Jiri Popelka
5809fa5584 improve #449946 fix (#806342) 2012-03-23 18:22:01 +01:00
Jiri Popelka
3e44d201b9 RFC5970 - DHCPv6 Options for Network Boot (#798735) 2012-03-21 19:43:05 +01:00
Jiri Popelka
cea970864e don't use fallback_interface when releasing lease (#800561) 2012-03-21 19:28:42 +01:00
Jiri Popelka
c40b021d75 use getifaddrs() to scan for interfaces on Linux (#449946) 2012-03-21 16:46:36 +01:00
Jiri Popelka
006ee977ff don't send log messages to the standard error descriptor by default (#790387) 2012-02-22 16:17:52 +01:00
Jiri Popelka
663dceaf48 timeout option (command line) with value 3 or less was driving dhclient mad (#789719) 2012-02-13 18:46:33 +01:00
Jiri Popelka
4e92627fc4 dhclient-script: install link-local static routes with correct scope (#787318) 2012-02-07 11:09:27 +01:00
Adam Williamson
6e0cd32614 rebuild for new bind-libs-lite 2012-02-01 17:27:42 -08:00
Jiri Popelka
035872d4ac revert previous change (#782499) + remove sysvinit scriptlets 2012-01-31 17:31:18 +01:00
Jiri Popelka
fbbf7bf10d use PrivateTmp=true in service files (#782499) 2012-01-17 18:12:43 +01:00
Jiri Popelka
89e5f47fcd 4.2.3-P2: fix for CVE-2011-4868 (#781246)
clean up old Provides and Obsoletes
2012-01-13 12:55:26 +01:00
Dennis Gilmore
45f9209a91 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 18:34:19 -06:00
Jiri Popelka
0acc1b8c2c revert change made in 4.2.3-3 because of failing failover (#765967)
don't need to fix lease files ownership before starting service
dhclient-script: allow static route with a 0.0.0.0 next-hop addressi (#769463
2011-12-21 12:20:29 +01:00
Jiri Popelka
fbce21e755 Removed 12-dhcpd (NM dispatcher script) 2011-12-20 13:03:45 +01:00
Jiri Popelka
8b9d5e1b3b don't ship legacy SysV initscripts + dhcpd[6].service improvements
dhcpd6: move '-cf /etc/dhcp/dhcpd6.conf' from sysconfig/dhcpd6 to dhcpd6.service
run 'chown -R dhcpd:dhcpd /var/lib/dhcpd/' before starting dhcpd/dhcpd6 service
       for the case where leases file is owned by root:root as a
       consequence of running dhcpd without '-user dhcpd -group dhcpd' (#744292)
2011-12-19 18:38:42 +01:00
Jiri Popelka
e810201549 4.2.3-P1: fix for CVE-2011-4539 (#765681) 2011-12-09 12:45:35 +01:00
Jiri Popelka
f3cba52167 dhclient: Don't retry on DECLINE when -1 option used
Don't build with -D_GNU_SOURCE, configure.ac uses AC_USE_SYSTEM_EXTENSIONS
2011-11-24 17:26:59 +01:00
Adam Tkac
102f232ffe Rebuild against new bind
Signed-off-by: Adam Tkac <atkac@redhat.com>
2011-11-14 13:19:32 +01:00
Jiri Popelka
9af3b80de3 dhclient-script: arping address in BOUND|RENEW|REBIND|REBOOT (#752116) 2011-11-11 14:00:38 +01:00
Dennis Gilmore
3f959ce1db - Rebuilt for glibc bug#747377 2011-10-26 18:41:33 -05:00
Jiri Popelka
6e67a560a8 Write lease file AFTER changing of the effective user/group ID.
Move omshell from dhcp-common to main package (where it originally was).
2011-10-26 19:40:23 +02:00
Jiri Popelka
278bc55875 Move changing of the effective user/group ID after writing new PID file. 2011-10-20 14:36:38 +02:00
Jiri Popelka
e68ad5094a 4.2.3 2011-10-20 10:26:12 +02:00
Jiri Popelka
06c72f2ea4 4.2.3rc1 2011-10-18 19:13:08 +02:00
Jiri Popelka
ee81fb441c change ownership of /var/lib/dhcpd/ to dhcpd:dhcpd (#744292)
no need to drop capabilies in dhcpd since it's been running as regular user
2011-10-09 20:28:19 +02:00
Jiri Popelka
00db97365e 56dhclient: ifcfg file was not sourced (#742482) 2011-09-30 15:59:33 +02:00
Jiri Popelka
5c5bbc0b1a dhclient-script: address alias fixes (#741786) 2011-09-29 14:29:21 +02:00
Jiri Popelka
1e3f54a9ec dhclient-script: do not backup&restore /etc/resolv.conf and /etc/localtime.
This has been Fedora/RHEL feature only.
I don't know why it was added but
I also don't see how it could be useful and bugs
656339 and 306381 show that it's not so good idea.
2011-09-22 15:52:44 +02:00
Jiri Popelka
6fa69ac2d2 SystemTap support: spec file change, some dummy probes, tapset, simple script 2011-09-21 15:40:15 +02:00
Jiri Popelka
bd3a57b466 Support for IPoIB (IP over InfiniBand) interfaces (#660681) 2011-09-19 12:27:55 +02:00
Jiri Popelka
0f0b1e4ee5 One more tweak of adding of user and group (#699713) 2011-09-09 17:16:12 +02:00
Jiri Popelka
34b6412f84 PIE-RELRO.patch is not needed anymore, defining _hardened_build does the same 2011-09-09 17:13:55 +02:00
Adam Tkac
6455feecba Rebuild against new bind.
Signed-off-by: Adam Tkac <atkac@redhat.com>
2011-09-09 13:11:03 +02:00
Jiri Popelka
f68f02db2e Fix adding of user and group (#699713) 2011-08-26 13:16:50 +02:00
Jiri Popelka
b8f92d8f72 Use {?_isa} macro to tighten explicit libs sub-package requirement. 2011-08-19 16:54:59 +02:00
Jiri Popelka
d7e74c83b3 Do not run dhcpd as root (BZ#699713)
Use '--enable-paranoia --enable-early-chroot' configure flags
Create/delete dhcpd user in %post/%postun
Run dhcpd/dhcpd6 services with '-user dhcpd -group dhcpd'
2011-08-12 15:22:35 +02:00
Jiri Popelka
5c346262c0 added test.sh to run upstream shipped tests. 2011-08-11 18:14:27 +02:00
Jiri Popelka
5e9e3f36a8 4.2.2: fix for CVE-2011-2748, CVE-2011-2749 (#729850) 2011-08-11 09:05:21 +02:00
Jiri Popelka
32a4427499 Do not ship default /etc/dhcp/dhclient.conf (#560361,c#9) 2011-08-10 17:17:01 +02:00
Jiri Popelka
0ab9732c2e Improve capabilities patch to be able to run with PARANOIA & EARLY_CHROOT (#699713) 2011-07-25 16:50:15 +02:00
Jiri Popelka
e3472df151 4.2.2rc1 2011-07-18 13:49:41 +02:00
Jiri Popelka
5f2fc2001b Fixed comment in /etc/sysconfig/dhcrelay 2011-07-01 15:31:00 +02:00
Jiri Popelka
48c3985b3a Drop all capabilities in dhcpd/dhcrelay (#699713) 2011-07-01 15:20:42 +02:00
Jiri Popelka
bb77af8b5e 4.2.2b1 2011-07-01 14:43:04 +02:00
Jiri Popelka
030991fd0d Removed upstream-merged IFNAMSIZ.patch
Polished patches according to results from static analysis of code.
2011-06-17 14:39:28 +02:00
Jiri Popelka
fdefd274e5 Add triggerpostun scriptlet tied to dhcp-sysvinit 2011-06-16 14:46:24 +02:00
Kamil Dudka
43a67dc92b make it possible to build dhcp without downstream patches 2011-06-16 14:43:36 +02:00
Jiri Popelka
94d8c6567b Fix typo in triggerun scriptlet (#705417) 2011-05-17 18:01:14 +02:00
Jiri Popelka
040a0f11d1 Explicit Requires on cups-libs (bug #705037). 2011-05-16 17:37:01 +02:00
Jiri Popelka
931db1171c Fix triggerun scriptlet 2011-05-11 18:29:46 +02:00
Jiri Popelka
fdc397c22a Fix 11-dhclient to export variables (#702735) 2011-05-09 14:32:51 +02:00
Jiri Popelka
6817180bd0 Comply with guidelines for systemd services 2011-04-29 12:13:36 +02:00
Jiri Popelka
cc2eb946a1 Fix NM dispatcher script for dhcpd to support arbitrary interface names 2011-04-27 17:17:31 +02:00
Jiri Popelka
2f1515e529 Better fix for CVE-2011-0997: making domain-name check more lenient (#694005) 2011-04-06 20:33:31 +02:00
Jiri Popelka
bad89d2bfa fix VERSION macro definition 2011-04-06 13:36:22 +02:00
Jiri Popelka
976c4dec61 4.2.1-P1: fix for CVE-2011-0997 (#694005) 2011-04-06 11:44:33 +02:00
Jiri Popelka
2b40dd8d32 Polished patches according to results from static analysis of code. 2011-03-25 16:27:50 +01:00
Rex Dieter
846f73bce1 rebuild (bind) 2011-03-07 13:39:08 -06:00
Jiri Popelka
9ac4a37707 4.2.1 2011-03-02 10:45:42 +01:00
Jiri Popelka
b2f01851dc 4.2.1rc1 2011-02-23 12:18:07 +01:00
Adam Tkac
b95a0d94b4 Rebuild against new bind-libs-lite.
Signed-off-by: Adam Tkac <atkac@redhat.com>
2011-02-21 17:40:22 +01:00
Dennis Gilmore
2dd1b89b40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 07:42:35 -06:00
Jiri Popelka
beef387033 Bump release 2011-01-31 15:24:44 +01:00
Jiri Popelka
005b240d12 Prevent anything under _docdir from being scanned. (#674058) 2011-01-31 15:21:36 +01:00
Jiri Popelka
a2aab09028 dhclient-script improvements (#672279) 2011-01-28 15:43:40 +01:00