Bug 1277120

Summary: Message on installation: "No protocol specified"
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: octaveAssignee: Orion Poplawski <orion>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: alex, fkluknav, mmahut, orion, ovasik, rakesh.pandit, susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-04 20:22:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Stadelmann 2015-11-02 12:19:03 UTC
Description of problem:
When installing octave (and when installing some octave-* packages) I get this message on CLI while dnf/rpm is installing these packages:

No protocol specified

/var/log/dnf.librepo.log, /var/log/dnf.rpm.log and /var/log/dnf.log don't contain this message so I don't know what really happens.

Version-Release number of selected component (if applicable):
octave-4.0.0-5.fc23.x86_64

Comment 1 Orion Poplawski 2015-11-02 17:56:55 UTC
Hmm, seems to be X/DISPLAY related.  I can't reproduce.  What is DISPLAY set to?  Although nothing should be trying to access it...

Comment 2 Christian Stadelmann 2015-11-02 21:03:03 UTC
I don't get why this should be display related. These messages occured while running dnf running rpm installing octave packages. This operation was running as root on a tty, thus no DISPLAY or X-Related environment variables were set. An installer must not rely on those being present.

Comment 3 Orion Poplawski 2015-11-07 03:35:19 UTC
The "No protocol specified" message is generally related to X applications failing to connect to a display, but perhaps it's something else.  I have no idea what it could be, as it shouldn't be happening and I cannot reproduce it.  If you can reproduce it, I would like to see the strace file from something like:

strace -f -s 2048 -o /tmp/dnf.strace dnf install octave....

Comment 4 Christian Stadelmann 2015-12-02 20:15:51 UTC
Hm, I tried several times and can't reproduce it.