Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 6164] New: openvpn usage of ip tool from Busybox
@ 2013-04-04 14:52 bugzilla at busybox.net
  2013-04-04 14:53 ` [Buildroot] [Bug 6164] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-04-04 14:52 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6164

           Summary: openvpn usage of ip tool from Busybox
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: aleksandar.zivkovic at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Overview: wrong condition for openvpn configuration on ip application usage

Steps to Reproduce:
Build openvpn without selected package BR2_PACKAGE_IPROUTE2

Actual Results: 
Built application will seek for ip tool in path /bin/ip which is location of
BR2_PACKAGE_IPROUTE2. Location of Busybox version of ip is /sbin/ip

Expected Results:
If openvpn is build without selected package BR2_PACKAGE_IPROUTE2 it should
select Busybox version of ip: /sbin/ip.


Build Date & Platform: BR 2013.02

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 6164] openvpn usage of ip tool from Busybox
  2013-04-04 14:52 [Buildroot] [Bug 6164] New: openvpn usage of ip tool from Busybox bugzilla at busybox.net
@ 2013-04-04 14:53 ` bugzilla at busybox.net
  2013-04-04 16:56 ` bugzilla at busybox.net
  2013-05-04 13:55 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-04-04 14:53 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6164

--- Comment #1 from Aleksandar <aleksandar.zivkovic@gmail.com> 2013-04-04 14:54:36 UTC ---
Further mk file update solved problem on my side:

Index: openvpn.mk
===================================================================
--- openvpn.mk    (revision 12121)
+++ openvpn.mk    (revision 12122)
@@ -18,9 +18,9 @@
 endif

 ifeq ($(BR2_PACKAGE_IPROUTE2),y)
+OPENVPN_CONF_ENV += IPROUTE=/bin/ip
+else
 OPENVPN_CONF_ENV += IPROUTE=/sbin/ip
-else
-OPENVPN_CONF_ENV += IPROUTE=/bin/ip
 endif

 ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 6164] openvpn usage of ip tool from Busybox
  2013-04-04 14:52 [Buildroot] [Bug 6164] New: openvpn usage of ip tool from Busybox bugzilla at busybox.net
  2013-04-04 14:53 ` [Buildroot] [Bug 6164] " bugzilla at busybox.net
@ 2013-04-04 16:56 ` bugzilla at busybox.net
  2013-05-04 13:55 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-04-04 16:56 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6164

Gustavo Zacarias <gustavo@zacarias.com.ar> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |gustavo at zacarias.com.ar

--- Comment #2 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2013-04-04 16:56:53 UTC ---
*SIGH*
Actually your modification isn't 100% correct.
Busybox <1.21.x places ip in /bin, >=1.21.x places it in /sbin (like the
iproute2 package).
So some additional logic is needed.
I've just sent a patch to the list to address this, try
http://patchwork.ozlabs.org/patch/233877/

Thanks for the headsup!

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 6164] openvpn usage of ip tool from Busybox
  2013-04-04 14:52 [Buildroot] [Bug 6164] New: openvpn usage of ip tool from Busybox bugzilla at busybox.net
  2013-04-04 14:53 ` [Buildroot] [Bug 6164] " bugzilla at busybox.net
  2013-04-04 16:56 ` bugzilla at busybox.net
@ 2013-05-04 13:55 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-05-04 13:55 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6164

Gustavo Zacarias <gustavo@zacarias.com.ar> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2013-05-04 13:55:59 UTC ---
Fixed in git commit 1627fb54715406d6c76461d5104ee11dabbf5870 for the upcoming
2013.05 release.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-04 13:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 14:52 [Buildroot] [Bug 6164] New: openvpn usage of ip tool from Busybox bugzilla at busybox.net
2013-04-04 14:53 ` [Buildroot] [Bug 6164] " bugzilla at busybox.net
2013-04-04 16:56 ` bugzilla at busybox.net
2013-05-04 13:55 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox