Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
systemd.4328
0001-nspawn-don-t-try-to-create-veth-link-with-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-nspawn-don-t-try-to-create-veth-link-with-too-long-i.patch of Package systemd.4328
Based on c00524c9cc7fb498c7244350e25823b8352f078c Mon Sep 17 00:00:00 2001 From: Tom Gundersen <teg@jklm.no> Date: Fri, 19 Sep 2014 23:02:00 +0200 Subject: [PATCH] nspawn: don't try to create veth link with too long ifname Reported by: James Lott <james@lottspot.com> --- src/nspawn/nspawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- src/nspawn/nspawn.c +++ src/nspawn/nspawn.c 2014-09-23 15:33:06.766236272 +0000 @@ -1383,7 +1383,7 @@ static int setup_veth(pid_t pid, char if /* Use two different interface name prefixes depending whether * we are in bridge mode or not. */ - snprintf(iface_name, IFNAMSIZ, "%s-%s", + snprintf(iface_name, IFNAMSIZ - 1, "%s-%s", arg_network_bridge ? "vb" : "ve", arg_machine); r = sd_rtnl_open(&rtnl, 0);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor