Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
11-14-2013, 04:29 PM
|
#46
|
Member
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249
Rep:
|
Im sorry.My english is not so good and i dont understend you correctly.Well it works,it boot faster but i cant enable dhcpcd.
systemctl enable dhcpcdt@eth0 doenst work for me
|
|
1 members found this post helpful.
|
11-14-2013, 04:42 PM
|
#47
|
Member
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368
Original Poster
Rep:
|
tuxbg
dhcpcd has not been build against systemd yet.
you can just set your /etc/rc.d/rc.inet1.conf to use dhcp
this works.
|
|
|
11-14-2013, 05:33 PM
|
#48
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
So here's my version of the 60,000 dollar question.
How is systemd's configuration going to be easier to use than the BSD/SysVInit script set we use that keeps configuration methods, troubleshooting, and managing files written in plain text English, as well as the logging system that performs the same way?
Are you going to create documentation within the configuration files used by systemd to have internal hints, samples, and other documentation about switches and arguments made against the daemons being used?
Will systemd have the ability to support custom daemons not normally added such as is done with rc.local's method of add-on daemons?
|
|
2 members found this post helpful.
|
11-14-2013, 05:51 PM
|
#49
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,255
Rep:
|
ReaperX7: please read post #27 from ruario if not already done.
Can't you see that you are off topic there?
Last edited by Didier Spaier; 11-14-2013 at 05:53 PM.
|
|
1 members found this post helpful.
|
11-14-2013, 06:18 PM
|
#50
|
Member
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368
Original Poster
Rep:
|
guess what reaperX7, rc.local works
you can add anything in rc.local to start.
also custom daemon are possible yes.
Code:
[Unit]
Description=Update the current kernel level in the /etc/motd
Before=systemd-user-sessions.service
After=syslog.target local-fs.target
Wants=basic.target
[Service]
Type=simple
RemainAfterExit=no
ExecStart=/lib/systemd/slackware-motd
this I have built into systemd file to have the slackware motd work directly
you can have anything start in such a service file.
|
|
|
11-14-2013, 07:09 PM
|
#51
|
Senior Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727
|
I can confirm that this SystemD build works, and works great.
I tested your SystemD build a virtual machine under Slackware 14.1 installed clean.
The first criticism of this build ...
The problem is not only that SystemD replaces the classic BSD-init of Slackware, but at the same time this build PAMify the innocent operating system.
And PAM is not a small toy ... His claws get everywhere, including up to Apache ... It's like an octopus.
Also, PAM is the first thing that is looked hatred by the Slackware community, even before The {Th,K}ing (the man also called Mister Arrogance).
I wonder if it's possible a replacement of PAM with ConsoleKit, which would make your project more acceptable and less invasive.
|
|
|
11-14-2013, 07:36 PM
|
#52
|
Member
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368
Original Poster
Rep:
|
Hi Darth Vader, yes it is possible.
you can remove the pam options from the systemd build
and just build systemd and dbus.
optional openssh with pam config removed.
however the reason for including pam is for the systemd-logind session manager.
pam can be still optional for alot of packages, you dont have to enable it.
also a simple config that works for all programs that you want to use pam, without having much trouble
Code:
auth include system-auth
account include system-auth
password include system-auth
Last edited by bartgymnast; 11-14-2013 at 07:42 PM.
|
|
|
11-14-2013, 07:43 PM
|
#53
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,306
|
Quote:
Originally Posted by bartgymnast
Hi Darth Vader, yes it is possible.
however the reason for including pam is for the systemd-logind session manager.
pam can be still optional for alot of packages, you dont have to enable it.
also a simple config that works for all programs that you want to use pam, without having much trouble
|
DISCLAIMER: I consider systemd an unwelcome intrusion on my peaceful and contented Slackware space. So no real open mindedness here, but...
I have been following this and thought I might give it a try as an easy way of getting some actual systemd exposure, which I lack.
But PAM is a deal breaker in itself, non-starter, enabled or not. So do I correctly understand that PAM is a hard dependency of systemd?
Last edited by astrogeek; 11-14-2013 at 07:45 PM.
|
|
1 members found this post helpful.
|
11-14-2013, 07:49 PM
|
#54
|
Member
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368
Original Poster
Rep:
|
pam is a hard dependency for the systemd-logind part
so if you want to use the session manager of logind than yes.
I did not test it without pam on version 207 and 208
before these versions it was possible to use it without, and as far as I know it still can be used without.
|
|
|
11-14-2013, 07:58 PM
|
#55
|
Senior Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727
|
Quote:
Originally Posted by bartgymnast
pam is a hard dependency for the systemd-logind part
so if you want to use the session manager of logind than yes.
|
Then looks like that that systemd-logind needs a shadow slapping, how happened with the ConsoleKit...
Last edited by Darth Vader; 11-14-2013 at 08:01 PM.
|
|
|
11-14-2013, 08:05 PM
|
#56
|
Member
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368
Original Poster
Rep:
|
on the side note, shadow will need to be rebuild to support group size of 32 characters.
you can just use consolekit as it is.
slackware provides as good as most up to date version. slack ships 0.4.5
and latest is 0.4.6
not many improvements there tho.
|
|
|
11-14-2013, 08:51 PM
|
#57
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Quote:
Originally Posted by Didier Spaier
ReaperX7: please read post #27 from ruario if not already done.
Can't you see that you are off topic there?
|
How am I off-topic when I'm asking a simple question about one of the more important aspects of this feet? Configuration!
Obviously, since you guys are so hostile against any questions against or for the topic, why is it even open as a topic? The purpose is to ask questions and get informed, right? Maybe I'm losing my hostility towards systemd with a proper implementation if one can exist, but unless I, or for the matter, anyone, can even ask questions, we have to ask them.
So Didier, pipe down yourself and maybe you should take Ruario's words to mind rather than me. YOU tone it down sir!
And bartgymnast, I'm in no way against you doing this IF it can be done simply, non-invasively, and properly in how Slackware's overall design is, with adequate documentation, samples, and reliability overall. You don't need to keep up the rhetoric with the sarcastic comments either. Either be serious about this, or don't bother. And yes, excising out PAM would be a good idea. PAM isn't very friendly to use, and should be optional entirely even if hard required by logind. Other avenues can exist that work far less intrusively.
If you pull this off correctly, you'll gladly have my respect. However, I do advise you that you are being watched heavily in this matter so leave the sarcasm out please.
Last edited by ReaperX7; 11-14-2013 at 08:53 PM.
|
|
1 members found this post helpful.
|
11-14-2013, 10:09 PM
|
#58
|
Member
Registered: Aug 2012
Location: UK
Posts: 206
Rep:
|
ReaperX7 - Leaving aside your systemd questions since I haven't ever used systemd and therefore cannot answer them, I'm pretty sure bartgymnast is serious about this. bartgymnast's first language may not be English (though it's pretty good and easily understood), so what you detect as sarcasm may just be down to language differences. On the other hand you do seem to be a native English speaker, and telling someone that they "are being watched heavily" in the manner that you have is not really a nice thing to say.
bartgymnast - Interesting work, I may try it on a VM if I have time, it'll be interesting for me to see how it works and to find out what's different.
|
|
3 members found this post helpful.
|
11-14-2013, 10:32 PM
|
#59
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Okay, then I'll put it a better way... people are paying attention, but with skepticism.
|
|
|
11-15-2013, 02:29 AM
|
#60
|
Moderator
Registered: May 2001
Posts: 29,415
|
While most seem to have performed some pretty good peer moderation I'd like to ensure this thread stays on topic from here on. That means posts should be helpful for the OP and truly constructive or else cease posting in this thread.
Thanks in advance for cooperating.
|
|
|
All times are GMT -5. The time now is 07:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|