Re: [systemd-devel] porteus and systemd
On Tue, Dec 31, 2013 at 10:11 AM, Roelof Wobben wrote: > Mantas Mikulėnas schreef op 30-12-2013 13:36: >> >> On Mon, Dec 30, 2013 at 1:06 PM, Roelof Wobben wrote: >> >>> hello, >>> >>> Im trying to port Cinnamon to porteus. >>> Porteus is a slackware based distro which work with modules. >>> >>> The problem is that Cinnamon works the best with systemd and slackware >>> refuses to use systemd. >>> Now I want to try to make systemd work on a porteus system so that I have >>> a >>> slackware based system with systemd and Cinnamon. >>> >>> The biggest problem is that im not a coder. >> >> If you can port Cinnamon to a distro, most likely you can port systemd >> to a distro just as well. >> >> 0. Install all dependencies – a recent kernel with required options; >> PAM; a /sbin/login with PAM support. The requirements are listed in >> the README [1]. > > > One question : What is the best pam config for this part. I think this part > costs me a few days and I do not > want a box where I cannot log in. Keep it simple: auth required pam_unix.so account required pam_unix.so session optional pam_loginuid.so session optional pam_systemd.so session optional pam_limits.so session required pam_unix.so password required pam_unix.so (I'd change the session modules to 'required', but that can be done later when you have everything working.) -- Mantas Mikulėnas ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] porteus and systemd
Mantas Mikulėnas schreef op 30-12-2013 13:36: On Mon, Dec 30, 2013 at 1:06 PM, Roelof Wobben wrote: hello, Im trying to port Cinnamon to porteus. Porteus is a slackware based distro which work with modules. The problem is that Cinnamon works the best with systemd and slackware refuses to use systemd. Now I want to try to make systemd work on a porteus system so that I have a slackware based system with systemd and Cinnamon. The biggest problem is that im not a coder. If you can port Cinnamon to a distro, most likely you can port systemd to a distro just as well. 0. Install all dependencies – a recent kernel with required options; PAM; a /sbin/login with PAM support. The requirements are listed in the README [1]. One question : What is the best pam config for this part. I think this part costs me a few days and I do not want a box where I cannot log in. 1. Compile systemd, install to the usual location (/usr). 2. Add pam_systemd.so to your PAM configuration for the "login" and "gdm-password" services (at least; probably also others like sshd). 3. Set systemd as your default init system (completely replacing /sbin/init and current "Porteus startup scripts"), and reboot to it. Check if you can log in, if `systemctl` works, etc. 4. If you want to use `startx`, copy this [2] into /etc/X11/xinit/xserverrc, to make it work nicely with systemd-logind. 5. For all daemons you have installed (or at least the ones you need), convert init scripts to systemd units. (systemd comes with units for booting to agetty; you can copy the rest from Arch, Gentoo or maybe Fedora.) Some daemons already come with systemd support and units. 6. ??? 7. systemd! [1]: http://cgit.freedesktop.org/systemd/systemd/tree/README [2]: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/xserverrc?h=packages/xorg-xinit --- Dit e-mailbericht bevat geen virussen en malware omdat avast! Antivirus actief is. http://www.avast.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] porteus and systemd
Koen Kooi schreef op 30-12-2013 15:50: Op 30 dec. 2013, om 13:36 heeft Mantas Mikulėnas het volgende geschreven: On Mon, Dec 30, 2013 at 1:06 PM, Roelof Wobben wrote: hello, Im trying to port Cinnamon to porteus. Porteus is a slackware based distro which work with modules. The problem is that Cinnamon works the best with systemd and slackware refuses to use systemd. Now I want to try to make systemd work on a porteus system so that I have a slackware based system with systemd and Cinnamon. The biggest problem is that im not a coder. If you can port Cinnamon to a distro, most likely you can port systemd to a distro just as well. 0. Install all dependencies – a recent kernel with required options; PAM; a /sbin/login with PAM support. The requirements are listed in the README [1]. Historically slackware has always refused to support PAM, so this is quite a big step to take :) regards, Koen I know. I have make build-scripts for it because Cinnamon needs PAM. Roelof --- Dit e-mailbericht bevat geen virussen en malware omdat avast! Antivirus actief is. http://www.avast.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] porteus and systemd
Op 30 dec. 2013, om 13:36 heeft Mantas Mikulėnas het volgende geschreven: > On Mon, Dec 30, 2013 at 1:06 PM, Roelof Wobben wrote: >> hello, >> >> Im trying to port Cinnamon to porteus. >> Porteus is a slackware based distro which work with modules. >> >> The problem is that Cinnamon works the best with systemd and slackware >> refuses to use systemd. >> Now I want to try to make systemd work on a porteus system so that I have a >> slackware based system with systemd and Cinnamon. >> >> The biggest problem is that im not a coder. > > If you can port Cinnamon to a distro, most likely you can port systemd > to a distro just as well. > > 0. Install all dependencies – a recent kernel with required options; > PAM; a /sbin/login with PAM support. The requirements are listed in > the README [1]. Historically slackware has always refused to support PAM, so this is quite a big step to take :) regards, Koen ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] porteus and systemd
On Mon, Dec 30, 2013 at 1:06 PM, Roelof Wobben wrote: > hello, > > Im trying to port Cinnamon to porteus. > Porteus is a slackware based distro which work with modules. > > The problem is that Cinnamon works the best with systemd and slackware > refuses to use systemd. > Now I want to try to make systemd work on a porteus system so that I have a > slackware based system with systemd and Cinnamon. > > The biggest problem is that im not a coder. If you can port Cinnamon to a distro, most likely you can port systemd to a distro just as well. 0. Install all dependencies – a recent kernel with required options; PAM; a /sbin/login with PAM support. The requirements are listed in the README [1]. 1. Compile systemd, install to the usual location (/usr). 2. Add pam_systemd.so to your PAM configuration for the "login" and "gdm-password" services (at least; probably also others like sshd). 3. Set systemd as your default init system (completely replacing /sbin/init and current "Porteus startup scripts"), and reboot to it. Check if you can log in, if `systemctl` works, etc. 4. If you want to use `startx`, copy this [2] into /etc/X11/xinit/xserverrc, to make it work nicely with systemd-logind. 5. For all daemons you have installed (or at least the ones you need), convert init scripts to systemd units. (systemd comes with units for booting to agetty; you can copy the rest from Arch, Gentoo or maybe Fedora.) Some daemons already come with systemd support and units. 6. ??? 7. systemd! [1]: http://cgit.freedesktop.org/systemd/systemd/tree/README [2]: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/xserverrc?h=packages/xorg-xinit -- Mantas Mikulėnas ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] porteus and systemd
hello, Im trying to port Cinnamon to porteus. Porteus is a slackware based distro which work with modules. The problem is that Cinnamon works the best with systemd and slackware refuses to use systemd. Now I want to try to make systemd work on a porteus system so that I have a slackware based system with systemd and Cinnamon. The biggest problem is that im not a coder. So my question is if there is someone who can help and teach me how to do the job. I can provide the Porteus startup scripts. Regards, Roelof Wobben --- Dit e-mailbericht bevat geen virussen en malware omdat avast! Antivirus actief is. http://www.avast.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel