Skip to content

Instantly share code, notes, and snippets.

SELinux is preventing systemd from read access on the file libselinux.so.1.
***** Plugin catchall_labels (83.8 confidence) suggests *******************
If you want to allow systemd to have read access on the libselinux.so.1 file
Then you need to change the label on libselinux.so.1
Do
# semanage fcontext -a -t FILE_TYPE 'libselinux.so.1'
where FILE_TYPE is one of the following: NetworkManager_etc_rw_t, NetworkManager_etc_t, NetworkManager_exec_t, NetworkManager_initrc_exec_t, NetworkManager_tmp_t, NetworkManager_unit_file_t, abrt_dump_oops_exec_t, abrt_etc_t, abrt_exec_t, abrt_handle_event_exec_t, abrt_helper_exec_t, abrt_initrc_exec_t, abrt_retrace_coredump_exec_t, abrt_retrace_worker_exec_t, abrt_tmp_t, abrt_unit_file_t, abrt_upload_watch_exec_t, abrt_upload_watch_tmp_t, abrt_var_cache_t, abrt_var_run_t, abrt_watch_log_exec_t, accountsd_exec_t, accountsd_unit_file_t, acct_exec_t, acct_initrc_exec_t, adjtime_t, admin_crontab_tmp_t, admin_passwd_exec_t, afs_bosserver_exec_t, afs_cache_t, afs_exec_t, afs_f
package main
import (
"fmt"
"io"
"log"
"net/http"
"os"
"golang.org/x/net/html"
Worker information
hostname: travis-worker-gce-org-prod-5:a5540ec0-3a77-4a84-b8ca-af7d3c8ffe37
version: v2.0.0-24-g8f5b41a https://github.com/travis-ci/worker/tree/8f5b41a07b602643e7ee8cf307787f9ca8f4b00b
instance: testing-gce-ac0634aa-6675-44ad-bf7a-3a400c844b6a:travis-ci-mega-trusty-1445287562
startup: 21.818375482s
Build system information
Build language: go
Build group: stable
Build dist: trusty
Build image provisioning date and time
$ make test
hack/test-go.sh
Running tests for APIVersion: v1,extensions/v1beta1,metrics/v1alpha1 with etcdPrefix: registry
+++ [0128 10:04:14] Running tests without code coverage
# k8s.io/kubernetes/contrib/mesos/pkg/election
package k8s.io/kubernetes/contrib/mesos/pkg/election (test)
imports k8s.io/kubernetes/pkg/storage/etcd/testing
imports github.com/coreos/etcd/etcdserver
imports github.com/coreos/etcd/lease: cannot find package "github.com/coreos/etcd/lease" in any of:
/usr/local/go/src/github.com/coreos/etcd/lease (from $GOROOT)
@ericchiang
ericchiang / api.go
Last active February 24, 2016 21:17
/*
Package api provides facilities for API specific handlers.
var errDecode = api.NewError("invalid_request", "Failed to decode request.", http.StatusBadRequest)
func init() {
// Register errors for use with WriteError.
api.Register(user.ErrUserExists, api.NewError("invalid_request", "Username already exists.", http.StatusBadRequest))
}
diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json
index 65a5df3..9a26ff2 100644
--- a/Godeps/Godeps.json
+++ b/Godeps/Godeps.json
@@ -34,6 +34,61 @@
"Rev": "72440a9c5a884936f1c679591fcf04e31a9b772a"
},
{
+ "ImportPath": "github.com/aws/aws-sdk-go/aws/awserr",
+ "Comment": "v1.1.3",
package migrate
type Migration struct {
// Pre and Post are commands to execute before and after a migration.
//
// If nil, these fields are ignored.
Pre func(tx *sql.Tx) error
Post func(tx *sql.Tx) error
// Migration is a list of SQL commands to run.
$ ./test
Running tests...
ok github.com/coreos/dex/connector 0.005s coverage: 23.7% of statements
ok github.com/coreos/dex/db 0.087s coverage: 11.1% of statements
ok github.com/coreos/dex/integration 22.527s coverage: 0.0% of statements
ok github.com/coreos/dex/pkg/crypto 0.014s coverage: 75.7% of statements
ok github.com/coreos/dex/pkg/flag 0.012s coverage: 97.5% of statements
ok github.com/coreos/dex/pkg/http 0.004s coverage: 40.0% of statements
ok github.com/coreos/dex/pkg/time 0.007s coverage: 100.0% of statements
ok github.com/coreos/dex/pkg/html 0.004s coverage: 78.9% of statements
@ericchiang
ericchiang / rc.yaml
Created July 19, 2016 18:06
rc.yaml
apiVersion: v1
kind: Service
metadata:
name: default-http-backend
labels:
k8s-app: default-http-backend
spec:
ports:
- port: 80
targetPort: 8080
package tls
import (
"crypto/tls"
"crypto/x509"
"io/ioutil"
"net"
"testing"
)