On 7/9/19 6:55 PM, Baho Utot via blfs-support wrote:

On 7/9/19 5:32 PM, DJ Lucas wrote:


On 7/9/2019 11:27 AM, Bruce Dubbs via blfs-support wrote:
On 7/9/19 11:01 AM, Baho Utot via blfs-support wrote:
root [ /usr/src/BLFS-RPi ]# fcrontab -z -u systab
2019-07-09 11:56:46  INFO reinstalling systab's fcrontab
Could not reinstall: user systab has no fcrontab

user systab does not exist?????

what is going on?

should the user be something other that systab

Possibly should be fcron.  We create that user earlier on the page, but maybe it should be root's file.  For instance, we install update-pki.sh from make-ca in cron.weekly.  That should be run by root.

No, we don't create a "systab" user, that's a built-in. From the manpage:
*|
    -u|/user/*

    Specify the user whosefcrontabwill be managed, or "systab" for the
    system fcrontab. Should onlybe used by root. If not given, thefcrontab
file of the user invokingfcrontabwill be handled. It may be useful
    since thesu(8) command may confusefcrontab.

If that command is not working, then something broke. In the event that you are using pkgusers or something similar, these will need to be overridden. The /usr/sbin/fcron file should be root:root 0110, /usr/bin/fcrontab and /usr/bin/fcrondyn should be fcron:fcron 6111, and /usr/bin/fcronsighup should be root:fcron 4110. Also, has the var directory been moved or symlinked for some reason? if so, the target /var/cache/fcron should have fcron:fcron 0770. If not using pkgusers, I have no idea with only that output, something arm specific maybe. Failing those, I'd suggest maybe reinstalling it if you haven't already.

run in debug mode by default :      no
Audit trails :                      no
PAM :                               no
SELinux :                           no
Readline :                          yes
Run without root's rights :         no
Load average support :              yes
compile fcrondyn :                  yes
fcron's user (resp. group) name :   fcron (resp. fcron)
sysfcrontab :                       yes (systab)
prefix:                             /usr
exec_prefix:                        ${prefix}
datarootdir:                        ${prefix}/share
bin dir:                            ${exec_prefix}/bin
sbin dir:                           ${exec_prefix}/sbin
spool dir:                          /var/spool/fcron
etc dir:                            /etc/fcron
doc dir:                            ${datarootdir}/doc
man dir:                            ${datarootdir}/man

I have the same thing except PAM is yes. I did just install it according to the book's instructions and everything worked for me as advertised.

  -- Bruce



--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to