Commit Graph

409 Commits

Author SHA1 Message Date
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