6 ms·
I seem to recall this is incompatible with cronjobs, which puts it pretty far to the the game console end of the tool spectrum.
by erik_seaberg 7y ago
I seem to recall this is incompatible with cronjobs, which puts it pretty far to the the game console end of the tool spectrum.
- tyingq 7y agoPretty sure it also breaks ssh logins. This needs more discussion before blessing it. Systemd has bled far, far, beyond an init replacement.
- throw0101a 7y ago> Systemd has bled far, far, beyond an init replacement. This has been my main objection to it: feature creep (with tight coupling between 'components').
- PlutoIsAPlanet 7y agoYou can store SSH keys in the user records. systemd was never just an init replacement, it's a project that includes an init replacement.
- pnako 7y agoDon't worry about SSH, just wait for the systemd replacement for SSH.
- gerdesj 7y agoPlease elaborate because that sounds odd to me. How on earth can a home directory manager mess with another daemon? I use winbind's associated PAM NSS module to run up a home dir as needed for my AD joined Linux machines. cron still works. I don't do games consoles, only business systems.
- mondoshawan 7y agoEasy: crontabs are in /var/spool/cron/..., not /home, and user editable. If the user's homedir isn't mounted because they logged off and cleared their security tokens, any crontab they write that uses their homedir will break.
- pmlnr 7y agoThe same way pulseaudio stops playing when the screen locks. Most annyoing behaviour I've ever had.
- renox 7y agoThat's a reasonable default behaviour, can you change it though?
- markandrewj 7y agoI'm not sure if your comment is accurate or not, but systemd timers have existed for a while now, and provide some flexibility cron doesn't.
- superkuh 7y agoThey had better provide flexibility for all the complexity and tedium they introduce. It takes creating two new config files of about 10 lines each and a long system command to set up the simplest possible systemd timer.
- mbreedlove 7y agoYep, I wanted to create a systemd timer to run my nightly backups. I was pretty shocked that I needed to have three files. My backup script, a systemd service to call the backup script, and a systemd timer to call my systemd service that calls my backup script. It took A LOT of fiddling and reading the Arch wiki before I had everything working as I wanted it to.
- markandrewj 7y agoI have also set up timers in Arch, and it wasn't that bad...
- catalogia 7y agoReally? How did you do it then?
- markandrewj 7y agohttps://wiki.archlinux.org/index.php/Systemd/Timers https://wiki.archlinux.org/index.php/Systemd/Timers You can also find more documentation on the official systemd website, or Gentoo, CoreOS, and RedHat's website. As an example: https://wiki.gentoo.org/wiki/Systemd#Timer_services https://wiki.gentoo.org/wiki/Systemd#Timer_services
- gnfurlong 7y agoSystemd-homed isn't inventing the idea of encrypted home partitions and fundamentally, what you're saying is that cron is incompatible with encrypted home partitions (or any other auto mounted home partition, ex: network mounted). The same is true for the concerns about ssh. If you listened to the original talk from Lennart, you're really just giving examples of one of his major points. Because /etc/passwd wasnt flexible enough to accomodate arbitrary user properties, user configuration has organically spread out over time into all these "side car" configuration files. Some are scattered around /etc so not easily portable while others are in the user's home directory and suffer from exactly the scenario you've mentioned. One of the goals of systemd-homed is to add a portable, extensible format for a user record external to the home directory which would mean that systemd-homed rather than causing, could actually lead to a solution for the issue you've highlighted.