Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo is needed when exec yum check-update on RHEL7 #371

Closed
kotakanbe opened this issue Mar 6, 2017 · 0 comments
Closed

sudo is needed when exec yum check-update on RHEL7 #371

kotakanbe opened this issue Mar 6, 2017 · 0 comments
Labels
Milestone

Comments

@kotakanbe
Copy link
Member

Environment

RHEL7 on AWS

Vuls

➜ vuls git:(master) ✗ ./vuls -v
vuls v0.2.0 2f3eddd

OS

  • Target Server: RHEL7

Go

  • Go version:

Current Output

[Mar  6 14:43:47] ERROR [rhel7] Failed to scan vulnerable packages
[Mar  6 14:43:47] ERROR [localhost] Error: rhel7, err: [Failed to SSH: execResult: servername: rhel7
  cmd: /usr/bin/ssh -tt -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none ec2-user@13.112.218.143 -p 22 -i /Users/kotakanbe/.ssh/kanbe-private.pem -o PasswordAuthentication=no stty cols 1000; LANGUAGE=en_US.UTF-8 yum --color=never check-update
  exitstatus: 1
  stdout: Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Repo rhui-REGION-client-config-server-7 forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt
Repo rhui-REGION-client-config-server-7 forced skip_if_unavailable=True due to: /etc/pki/rhui/product/rhui-client-config-server-7.crt
Repo rhui-REGION-client-config-server-7 forced skip_if_unavailable=True due to: /etc/pki/rhui/rhui-client-config-server-7.key
Repo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt
Repo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/product/content-rhel7.crt
Repo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/content-rhel7.key
Repo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt
Repo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/product/content-rhel7.crt
Repo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/content-rhel7.key
Could not contact CDS load balancer rhui2-cds01.ap-northeast-1.aws.ce.redhat.com, trying others.


Could not contact any CDS load balancers: rhui2-cds01.ap-northeast-1.aws.ce.redhat.com, rhui2-cds02.ap-northeast-1.aws.ce.redhat.com.

  stderr:
  err: %!s(<nil>)]

Steps to reproduce the behaviour

$./vuls scan -debug

@kotakanbe kotakanbe added the bug label Mar 6, 2017
@kotakanbe kotakanbe added this to the v0.3.0 milestone Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant