Bug 4499
Summary: | lpr/lpd do not function properly for faxing | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Nadeem <nadeem.riaz> |
Component: | lpr | Assignee: | David Lawrence <dkl> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-09-22 23:05:56 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nadeem
1999-08-12 23:22:59 UTC
lpr/lpd doesn't make the config file you speak of for faxing. I'd suggest checking your faxing program. ------- Additional Comments From 09/18/99 20:09 ------- Sorry for the delay, but I was on vacation. It does though create a file, or at least it is creating it on my system. The file needs to be created or else the /usr/bin/fax would not know what number to dial. To fax a file, the following command is evoked, lpr -Pfax -J<phone number> . From /usr/bin/fax (part of standard efax package) Around line 588, is the following: cd $FAXDIR cfile=`cat \`tail -1 lock\`` # configuration file --> file with phone # number The problem is, this file is not readable by the user who executed /usr/bin/faxlpr (user info mentioned in previous post). Since th efile is not readable, the number to fax to can not be gained, and as such, nothing happens. Again, all this is on a standard rh6.0 system, and I followed instructions as given in /usr/doc/HOWTO/mini/Fax-Server. As mentioned in my prior most, chmod g+s /var/spool/fax/ fixes the problem, because then all files writen to the spooling directory (including the configuration file) are owned by group wheel, and this permits the fax program to read the file (since it is executed gid: 0). Just to clarify a little bit, the config file name is stored as the last line in the lock file. The config file, with defaults settings, is unreadable by the user who executes the fax filter. On my system, after I have sent the command to fax (lpr -Pfax -J phone) the content of /var/spool/fax/lock is [root@nut fax]# cat lock 27386 cfA052AqC86Yh [root@nut fax]# The last line, is the name of the config file. in this instance, it contains: [root@nut fax]# cat cfA052AqC86Yh H<hostname hidden to protect the innocent> Proot J<phone # hidden to protect the innocent> Cnut.dhs.org Lroot fdfA052AqC86Yh UdfA052AqC86Yh Noutput [root@nut fax]# By default, this file, is not readable to the user who ran the fax filter. OK, I see now. What happens if you try this with the latest lpd from Raw Hide? ------- Additional Comments From 09/21/99 22:00 ------- lpr (lpr-0.41-2) in rawhide does the trick. Thanks. Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/f62161fff179bd6bcc9628ce689810502519f1c4 integration/diag_nodes_test.go: fix test flake issue 4499 also now returns the node config from allinone helper. |