View Issue Details

IDProjectCategoryView StatusLast Update
0016587CentOS-8cockpitpublic2020-09-07 14:33
Reporterboschkundendienst 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version8.0.1905 
Target VersionFixed in Version 
Summary0016587: Cockpit Software Updates does not honor proxy settings from /etc/dnf/dnf.conf
DescriptionWhen adding the following line to /etc/dnf/dnf.conf

proxy=http://192.168.178.244:8080/

dnf and yum work perfectly with proxy from within a terminal while the Software Updates within Cockpit does not work. It says for example:

cannot update repo 'AppStream': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=$infra [Could not resolve host: mirrorlist.centos.org]; Last error: Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=$infra [Could not resolve host: mirrorlist.centos.org]
Steps To ReproduceAllow internet access only via proxy and add a proxy to /etc/dnf/dnf.conf.
Tagscentos 8, cockpit, dnf yum

Activities

motabass

motabass

2020-07-21 12:04

reporter   ~0037386

Are there any plans to address this? It's really annoying to not be able to use the feature in corporate environments that often force the use of a http-proxy (like mine;))
boschkundendienst

boschkundendienst

2020-09-07 14:33

reporter   ~0037659

It is September 2020 now and this issue is still present in latest CentOS 8. - Just a reminder. See attached screenshot.

dnf.con

```
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
skip_if_unavailable=False
installonly_limit=2
proxy=http://10.11.12.13:8080/
```

2020-09-07_16h32_52.png (54,432 bytes)
2020-09-07_16h32_52.png (54,432 bytes)

Issue History

Date Modified Username Field Change
2019-10-14 06:35 boschkundendienst New Issue
2019-10-14 06:35 boschkundendienst Tag Attached: cockpit
2019-10-21 00:51 sherilynn82 Issue cloned: 0016630
2019-10-21 00:54 sherilynn82 Issue cloned: 0016631
2019-10-21 00:59 sherilynn82 Issue cloned: 0016632
2020-07-21 11:58 motabass Tag Attached: apachectl
2020-07-21 11:58 motabass Tag Attached: X server
2020-07-21 11:58 motabass Tag Attached: ca-certificates
2020-07-21 11:59 motabass Tag Attached: dnf yum
2020-07-21 12:00 motabass Tag Detached: apachectl
2020-07-21 12:00 motabass Tag Detached: ca-certificates
2020-07-21 12:00 motabass Tag Detached: X server
2020-07-21 12:01 motabass Tag Attached: centos 8
2020-07-21 12:04 motabass Note Added: 0037386
2020-09-07 14:33 boschkundendienst File Added: 2020-09-07_16h32_52.png
2020-09-07 14:33 boschkundendienst Note Added: 0037659