LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-14-2013, 04:29 PM   #46
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Rep: Reputation: Disabled

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.
Old 11-14-2013, 04:42 PM   #47
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Original Poster
Rep: Reputation: 165Reputation: 165
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.
 
Old 11-14-2013, 05:33 PM   #48
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
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.
Old 11-14-2013, 05:51 PM   #49
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,255

Rep: Reputation: Disabled
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.
Old 11-14-2013, 06:18 PM   #50
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Original Poster
Rep: Reputation: 165Reputation: 165
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.
 
Old 11-14-2013, 07:09 PM   #51
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
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.
 
Old 11-14-2013, 07:36 PM   #52
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Original Poster
Rep: Reputation: 165Reputation: 165
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.
 
Old 11-14-2013, 07:43 PM   #53
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,306
Blog Entries: 24

Rep: Reputation: 4259Reputation: 4259Reputation: 4259Reputation: 4259Reputation: 4259Reputation: 4259Reputation: 4259Reputation: 4259Reputation: 4259Reputation: 4259Reputation: 4259
Quote:
Originally Posted by bartgymnast View Post
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.
Old 11-14-2013, 07:49 PM   #54
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Original Poster
Rep: Reputation: 165Reputation: 165
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.
 
Old 11-14-2013, 07:58 PM   #55
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by bartgymnast View Post
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.
 
Old 11-14-2013, 08:05 PM   #56
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Original Poster
Rep: Reputation: 165Reputation: 165
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.
 
Old 11-14-2013, 08:51 PM   #57
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
Quote:
Originally Posted by Didier Spaier View Post
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.
Old 11-14-2013, 10:09 PM   #58
turtleli
Member
 
Registered: Aug 2012
Location: UK
Posts: 206

Rep: Reputation: Disabled
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.
Old 11-14-2013, 10:32 PM   #59
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
Okay, then I'll put it a better way... people are paying attention, but with skepticism.
 
Old 11-15-2013, 02:29 AM   #60
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration