Re: Fedora 26 HylaFAX+ directory owned by root

Andras Kende <[email protected]> Thu, 16 Nov 2017 14:40:48 -0800
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
Lee,

Thank you for update.

I changed my install scripts, to reset directory oner to uucp

sudo dnf -y install hylafax+
sudo rpm --setugids hylafax+
sudo rpm --setperms hylafax+

Verified it works great 

Thanks,

Andras


> On Nov 16, 2017, at 10:15 AM, Lee Howard <[email protected]> wrote:
> 
> The problem is that the hylafax+-client package does not "Require" uucp... and the hylafax+-client package is installing before the required packages (including uucp) for the hylafax+ package.
> 
> It's possible that this order of processes changed sometime recently.  I don't remember this being a problem before.  I've done a large number of installations simply by doing "yum install hylafax+" without considering uucp being installed beforehand.  On Fedora 26 it goes like this:
> 
> -----------------------------
> Running transaction
>  Preparing :                                                        1/1
>  Installing       : liblockfile-1.09-5.fc26.x86_64                        1/11
>  Running scriptlet: liblockfile-1.09-5.fc26.x86_64                        1/11
>  Installing       : libesmtp-1.0.6-11.fc26.x86_64                         2/11
>  Running scriptlet: libesmtp-1.0.6-11.fc26.x86_64                         2/11
>  Installing       : esmtp-1.2-9.fc26.x86_64                               3/11
>  Running scriptlet: esmtp-1.2-9.fc26.x86_64                               3/11
>  Installing       : hylafax+-client-5.5.9-1.fc26.x86_64                   4/11
>  Running scriptlet: hylafax+-client-5.5.9-1.fc26.x86_64                   4/11
> warning: user uucp does not exist - using root
> warning: group uucp does not exist - using root
> warning: user uucp does not exist - using root
> warning: group uucp does not exist - using root
>  Installing       : mailx-12.5-23.fc26.x86_64                             5/11
>  Installing       : cu-1.07-49.fc26.x86_64                                6/11
> warning: user uucp does not exist - using root
> warning: group uucp does not exist - using root
>  Running scriptlet: uucp-1.07-49.fc26.x86_64                              7/11
>  Installing       : uucp-1.07-49.fc26.x86_64                              7/11
>  Running scriptlet: uucp-1.07-49.fc26.x86_64                              7/11
>  Installing       : mgetty-1.1.37-2.fc26.x86_64                           8/11
>  Running scriptlet: mgetty-1.1.37-2.fc26.x86_64                           8/11
>  Installing       : sharutils-4.15.2-5.fc26.x86_64                        9/11
>  Running scriptlet: sharutils-4.15.2-5.fc26.x86_64                        9/11
>  Installing       : libtiff-tools-4.0.8-1.fc26.x86_64                    10/11
>  Installing       : hylafax+-5.5.9-1.fc26.x86_64                         11/11
>  Running scriptlet: hylafax+-5.5.9-1.fc26.x86_64                         11/11
> -----------------------------
> 
> The messages "warning: user/group uucp does not exist - using root" are the red flags there.
> 
> I've added a "Requires: uucp" to the hylafax+-client package. However, I'll need to push an update for that to get into packages before Fedora 28.  That will happen when I get a chance in the next couple of months.
> 
> Thanks,
> 
> Lee.
> 
> 
> On 11/14/2017 09:06 PM, Andras Kende wrote:
>> Hello,
>> 
>> I am using this http://www.kende.com/fax.php?id=1&modems=1 kickstart to automate my HylaFAX+ Fedora 25, 26 server..
>> 
>> Fedora 25 just needs to run faxsetup command after install and works great…
>> 
>> Fedora 26 /var/spool/hylafax/ is owned by root on fresh install so faxsetup won’t complete and also scheduler is not starting…
>> 
>> Fedora 25
>> drwxr-xr-x. 17 uucp   uucp    214 Nov 14 19:50 hylafax
>> 
>> Fedora 26
>> drwxr-xr-x. 17 root   root    194 Nov 14 20:12 hylafax
>> 
>> On Fedora26 running "chown uucp:uucp /var/spool/hylafax/“ fixes the issue…
>> 
>> Is anyone had this same issue ?
>> 
>> 
>> Andras
>> 
>> 
>> 
>> 
>> 
>> ____________________ HylaFAX(tm) Users Mailing List _______________________
>>   To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
>>  On UNIX: mail -s unsubscribe [email protected] < /dev/null
>>   *To learn about commercial HylaFAX(tm) support, mail [email protected].*
>> 
>> 
>> 
> 


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe [email protected] < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*