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.

--DJ

-- 
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