Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
439a0313
Commit
439a0313
authored
Nov 21, 2016
by
Patrice Ferlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check sysfs Type instead of Device
Some distribution, or installation use "none" device to mount sysfs (eg. Scaleway VPS). We should check the mount type instead of device. Fix #37183
parent
21c3b302
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
conntrack.go
cmd/kube-proxy/app/conntrack.go
+1
-1
No files found.
cmd/kube-proxy/app/conntrack.go
View file @
439a0313
...
@@ -98,7 +98,7 @@ func isSysFSWritable() (bool, error) {
...
@@ -98,7 +98,7 @@ func isSysFSWritable() (bool, error) {
for
_
,
mountPoint
:=
range
mountPoints
{
for
_
,
mountPoint
:=
range
mountPoints
{
const
sysfsDevice
=
"sysfs"
const
sysfsDevice
=
"sysfs"
if
mountPoint
.
Devic
e
!=
sysfsDevice
{
if
mountPoint
.
Typ
e
!=
sysfsDevice
{
continue
continue
}
}
// Check whether sysfs is 'rw'
// Check whether sysfs is 'rw'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment