On Tuesday 13 August 2019 02:24:34 deloptes wrote: > Gene Heskett wrote: > > Its good that we can fix it, BUT IF you are going to restrict where > > we keep logfiles like this then FIX the /var/log perms so that > > fetchmail, procmail, spamassassin, clamav and its ilk, running as > > the user can access /var/log to keep its logs. Debian's legendary > > paranoia about who can write a log in /var/log has long since forced > > most of us that want that log, into moving it to /home/username/log > > and reprogramming logrotate to maintain it there years ago. > > So why should user be able to write in /var/log? It is the systems log > directory not the users.
I don't have a beef with that. My beef is that there has been no effort to make it easy for the user to take care of his own logs, and now systemd wants to disable housekeeping the only sensible place for a user to keep his logs in. And I totally fail to see how that level of paranoia can be justified. > I am not aware of any program I've been using > for the past 15y that would have a problem writing in /var/log Then tell me how fetchmail, procmail, clamav or spamd running as me, can keep their logs in /var/log, the permissions just aren't there after a reboot. > User programs you can put everywhere you want and you can customize > whatever you want, but do not change things that are good and working > please. > > usually you use opt for custom stuff, so why don't you put > there /opt/<user>/log Would that work from /etc/logrotate stuffs? Short answer no. IMO if it can't reliably use /var/log, the alternative is to create ones own logrotate scheme. Possibly running a local modified copy of logrotate living in his own ~/bin and driven from his own crontab. > Logrotate also does not need to be modified - only for your custom > stuff, so it is expected and desired and it is easy to adjust. Maybe for someone intimately fam with how it works, not so easy on a onetime basis after an install. One doesn't get familiar enough, nor manage to commit it to short term memory. > just my 5c Chuckle, inflation has made it worth more than that. I can remember walking the 2 blocks to the store and bringing back a loaf of Wonder Bread for 8 cents. Can you? > regards Take care deloptes. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>