FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 06-15-2011, 12:14 AM
Reindl Harald
 
Default F15: most services sysvinit only?

playing with F15 on a test-vm seems for me most services
are not suing systemd, th eonly widely used is apache and
fpr dovecot i am not sure

* dbmail (pop3, imap, timesieved, lmtp)
* postfix
* postgrey
* mysqld

what is a little bit confusing is how to find out
what is enabled in which order, how to change and that
"chkconfig | grep on" lists only a subset of services

"systemctl" gives ahughe list mixed mounted disks
and servcices and compared with a stripped down
F14 there are running much more stuff with a hughe
longer boot process :-(

conclusion: i am really missing anything making "chkconfig" able display
all services and only them as followed, and yes this is really enough for
a stripped down fileserver as vmware-guest

[root@fileserver:~]$ chkconfig | grep Ein
auditd 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
crond 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
lvm2-monitor 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
messagebus 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
netatalk 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
network 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
postfix 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
rsyslog 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
smb 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
sshd 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
udev-post 0:Aus 1:Ein 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
vmtoolsd 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-15-2011, 06:55 AM
Tomasz Torcz
 
Default F15: most services sysvinit only?

On Wed, Jun 15, 2011 at 02:14:28AM +0200, Reindl Harald wrote:
> playing with F15 on a test-vm seems for me most services
> are not suing systemd, th eonly widely used is apache and
> fpr dovecot i am not sure

That's because maintainers largely ignored systemd
integration furing F14 and F15 devel cycles. See bugs linked
from: https://fedoraproject.org/wiki/User:Johannbg/QA/Systemd/compatability
There are few maintainers and upstream who responded quickly, though.

> what is a little bit confusing is how to find out
> what is enabled in which order, how to change and that
> "chkconfig | grep on" lists only a subset of services

There's no “order” per se on systemd. Services are started
as they're needed.

> "systemctl" gives ahughe list mixed mounted disks
> and servcices and compared with a stripped down
> F14 there are running much more stuff with a hughe
> longer boot process :-(

try “systemctl -t service”

> conclusion: i am really missing anything making "chkconfig" able display
> all services and only them as followed, and yes this is really enough for
> a stripped down fileserver as vmware-guest
>
> [root@fileserver:~]$ chkconfig | grep Ein
> auditd 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
> crond 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
> lvm2-monitor 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
> messagebus 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
> netatalk 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
> network 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
> postfix 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
> rsyslog 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
> smb 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
> sshd 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
> udev-post 0:Aus 1:Ein 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
> vmtoolsd 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>

Something like “systemctl show -p Wants default.target”?


--
Tomasz Torcz There exists no separation between gods and men:
xmpp: zdzichubg@chrome.pl one blends softly casual into the other.

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-15-2011, 07:47 AM
Petr Pisar
 
Default F15: most services sysvinit only?

On 2011-06-15, Tomasz Torcz <tomek@pipebreaker.pl> wrote:
> On Wed, Jun 15, 2011 at 02:14:28AM +0200, Reindl Harald wrote:
>> playing with F15 on a test-vm seems for me most services
>> are not suing systemd, th eonly widely used is apache and
>> fpr dovecot i am not sure
>
> That's because maintainers largely ignored systemd
> integration furing F14 and F15 devel cycles. See bugs linked
> from: https://fedoraproject.org/wiki/User:Johannbg/QA/Systemd/compatability
> There are few maintainers and upstream who responded quickly, though.
>
Beacuse specification how to do it was released one week before F15.

-- Petr

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-15-2011, 07:54 AM
Michał Piotrowski
 
Default F15: most services sysvinit only?

Hi,

2011/6/15 Petr Pisar <ppisar@redhat.com>:
> On 2011-06-15, Tomasz Torcz <tomek@pipebreaker.pl> wrote:
>> On Wed, Jun 15, 2011 at 02:14:28AM +0200, Reindl Harald wrote:
>>> playing with F15 on a test-vm seems for me most services
>>> are not suing systemd, th eonly widely used is apache and
>>> fpr dovecot i am not sure
>>
>> * That's because maintainers largely ignored systemd
>> integration furing F14 and F15 devel cycles. *See bugs linked
>> from: https://fedoraproject.org/wiki/User:Johannbg/QA/Systemd/compatability
>> * There are few maintainers and upstream who responded quickly, though.
>>
> Beacuse specification how to do it was released one week before F15.

This of course did not prevent the part of developers in delivering
systemd services for F15.

>
> -- Petr
>
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
>



--
Best regards,
Michal

http://eventhorizon.pl/
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-15-2011, 08:11 AM
Vratislav Podzimek
 
Default F15: most services sysvinit only?

On Wed, 2011-06-15 at 09:54 +0200, Michał Piotrowski wrote:
> Hi,
>
> 2011/6/15 Petr Pisar <ppisar@redhat.com>:
> > On 2011-06-15, Tomasz Torcz <tomek@pipebreaker.pl> wrote:
> >> On Wed, Jun 15, 2011 at 02:14:28AM +0200, Reindl Harald wrote:
> >>> playing with F15 on a test-vm seems for me most services
> >>> are not suing systemd, th eonly widely used is apache and
> >>> fpr dovecot i am not sure
> >>
> >> That's because maintainers largely ignored systemd
> >> integration furing F14 and F15 devel cycles. See bugs linked
> >> from: https://fedoraproject.org/wiki/User:Johannbg/QA/Systemd/compatability
> >> There are few maintainers and upstream who responded quickly, though.
> >>
> > Beacuse specification how to do it was released one week before F15.
>
> This of course did not prevent the part of developers in delivering
> systemd services for F15.
What is the purpose of this discussion? The main point is: "let's make
it better in F16+ releases!".

Vrata Podzimek


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-15-2011, 08:15 AM
Michał Piotrowski
 
Default F15: most services sysvinit only?

2011/6/15 Vratislav Podzimek <vpodzime@redhat.com>:
> On Wed, 2011-06-15 at 09:54 +0200, Michał Piotrowski wrote:
>> Hi,
>>
>> 2011/6/15 Petr Pisar <ppisar@redhat.com>:
>> > On 2011-06-15, Tomasz Torcz <tomek@pipebreaker.pl> wrote:
>> >> On Wed, Jun 15, 2011 at 02:14:28AM +0200, Reindl Harald wrote:
>> >>> playing with F15 on a test-vm seems for me most services
>> >>> are not suing systemd, th eonly widely used is apache and
>> >>> fpr dovecot i am not sure
>> >>
>> >> * That's because maintainers largely ignored systemd
>> >> integration furing F14 and F15 devel cycles. *See bugs linked
>> >> from: https://fedoraproject.org/wiki/User:Johannbg/QA/Systemd/compatability
>> >> * There are few maintainers and upstream who responded quickly, though.
>> >>
>> > Beacuse specification how to do it was released one week before F15.
>>
>> This of course did not prevent the part of developers in delivering
>> systemd services for F15.
> What is the purpose of this discussion? The main point is: "let's make
> it better in F16+ releases!".

Yeah, sure. That's why I like this feature
https://fedoraproject.org/wiki/Features/SysVtoSystemd

>
> Vrata Podzimek
>
>
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel



--
Best regards,
Michal

http://eventhorizon.pl/
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-15-2011, 11:51 PM
Reindl Harald
 
Default F15: most services sysvinit only?

Am 15.06.2011 08:55, schrieb Tomasz Torcz:
> That's because maintainers largely ignored systemd
> integration furing F14 and F15 devel cycles. See bugs linked
> from: https://fedoraproject.org/wiki/User:Johannbg/QA/Systemd/compatability
> There are few maintainers and upstream who responded quickly, though.

ugly!

maybe because they had the same problems as i now trying get a service for dbmail-imapd
running, sometimes it starts and most times not, the start-commadn says NOTHING,
starting with "service"-command is braindeaded and says always OK

i was really happy after getting a perl-daemon running with a .service-file
at the first attempt but some mintes later the smile was blown away

maybe because i have no idea what the two follwoing lines from the
sysv-script are doing nor how to get them in the .service-file but
on the other hand if i fire the binary as root it starts, drops
privileges and starts its childs - with systemd only sometimes
DBLIBDIR=/usr/lib/dbmail
export LD_LIBRARY_PATH=$DBLIBDIR:$LD_LIBRARY_PATH

and this state is ready to replace things worked 365/7/24
i fear not and it is killing my holidays

[root@testserver:~]$ service dbmail-imapd start
Starting dbmail-imapd (via systemctl): [ OK ]

_________________________

who did this?
why is here "systemctl" called what is NOT working?

[root@testserver:~]$ /etc/init.d/dbmail-imapd start
Starting dbmail-imapd (via systemctl): [ OK ]
_________________________

[root@testserver:/lib/systemd/system]$ cat dbmail-imapd.service
[Unit]
Description=DBMail IMAP Server
After=syslog.target mysqld.service local-fs.target network.target

[Service]
Type=forking
PIDFile=/var/run/dbmail-imapd.pid
ExecStart=/usr/sbin/dbmail-imapd

[Install]
WantedBy=multi-user.target


[root@testserver:/lib/systemd/system]$ systemctl status dbmail-imapd.service
dbmail-imapd.service - DBMail IMAP Server
Loaded: loaded (/lib/systemd/system/dbmail-imapd.service)
Active: inactive (dead) since Thu, 16 Jun 2011 01:32:05 +0200; 6s ago
Process: 3262 ExecStart=/usr/sbin/dbmail-imapd (code=exited, status=0/SUCCESS)
Main PID: 3263 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/dbmail-imapd.service
[root@testserver:/lib/systemd/system]$ systemctl start dbmail-imapd.service
[root@testserver:/lib/systemd/system]$ systemctl status dbmail-imapd.service
dbmail-imapd.service - DBMail IMAP Server
Loaded: loaded (/lib/systemd/system/dbmail-imapd.service)
Active: active (running) since Thu, 16 Jun 2011 01:32:19 +0200; 2s ago
Process: 3273 ExecStart=/usr/sbin/dbmail-imapd (code=exited, status=0/SUCCESS)
Main PID: 3275 (dbmail-imapd)
CGroup: name=systemd:/system/dbmail-imapd.service
├ 3275 /usr/sbin/dbmail-imapd
├ 3276 /usr/sbin/dbmail-imapd
└ 3278 /usr/sbin/dbmail-imapd
[root@testserver:/lib/systemd/system]$ systemctl stop dbmail-imapd.service
[root@testserver:/lib/systemd/system]$ systemctl status dbmail-imapd.service
dbmail-imapd.service - DBMail IMAP Server
Loaded: loaded (/lib/systemd/system/dbmail-imapd.service)
Active: inactive (dead) since Thu, 16 Jun 2011 01:32:53 +0200; 1s ago
Process: 3273 ExecStart=/usr/sbin/dbmail-imapd (code=exited, status=0/SUCCESS)
Main PID: 3275 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/dbmail-imapd.service
[root@testserver:/lib/systemd/system]$ systemctl start dbmail-imapd.service
[root@testserver:/lib/systemd/system]$ systemctl status dbmail-imapd.service
dbmail-imapd.service - DBMail IMAP Server
Loaded: loaded (/lib/systemd/system/dbmail-imapd.service)
Active: deactivating (stop-sigterm) since Thu, 16 Jun 2011 01:33:01 +0200; 1s ago
Process: 3287 ExecStart=/usr/sbin/dbmail-imapd (code=exited, status=0/SUCCESS)
Main PID: 3288 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/dbmail-imapd.service
├ 3289 /usr/sbin/dbmail-imapd
├ 3290 /usr/sbin/dbmail-imapd
└ 3292 /usr/sbin/dbmail-imapd
[root@testserver:/lib/systemd/system]$ systemctl status dbmail-imapd.service
dbmail-imapd.service - DBMail IMAP Server
Loaded: loaded (/lib/systemd/system/dbmail-imapd.service)
Active: deactivating (stop-sigterm) since Thu, 16 Jun 2011 01:33:01 +0200; 2s ago
Process: 3287 ExecStart=/usr/sbin/dbmail-imapd (code=exited, status=0/SUCCESS)
Main PID: 3288 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/dbmail-imapd.service
├ 3289 /usr/sbin/dbmail-imapd
├ 3290 /usr/sbin/dbmail-imapd
└ 3292 /usr/sbin/dbmail-imapd
[root@testserver:/lib/systemd/system]$ systemctl status dbmail-imapd.service
dbmail-imapd.service - DBMail IMAP Server
Loaded: loaded (/lib/systemd/system/dbmail-imapd.service)
Active: deactivating (stop-sigterm) since Thu, 16 Jun 2011 01:33:01 +0200; 3s ago
Process: 3287 ExecStart=/usr/sbin/dbmail-imapd (code=exited, status=0/SUCCESS)
Main PID: 3288 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/dbmail-imapd.service
├ 3289 /usr/sbin/dbmail-imapd
├ 3290 /usr/sbin/dbmail-imapd
└ 3292 /usr/sbin/dbmail-imapd



>> what is a little bit confusing is how to find out
>> what is enabled in which order, how to change and that
>> "chkconfig | grep on" lists only a subset of services
>
> There's no “order” per se on systemd. Services are started
> as they're needed.

but why in the world it ignores totally the start-order of existing
sysv-init-services resulting in a perl-policyd which needs mysql
fails to start?

>> "systemctl" gives ahughe list mixed mounted disks
>> and servcices and compared with a stripped down
>> F14 there are running much more stuff with a hughe
>> longer boot process :-(
>
> try “systemctl -t service”

does even not show the dbmai-servcies (dbmail-lmtpd, dbmail-imapd, dbmail-timsieved)
if they are failed/terminated by systemd - not a trustable output!

>> conclusion: i am really missing anything making "chkconfig" able display
>> all services and only them as followed, and yes this is really enough for
>> a stripped down fileserver as vmware-guest
>>
>> [root@fileserver:~]$ chkconfig | grep Ein
>> auditd 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>> crond 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>> lvm2-monitor 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>> messagebus 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>> netatalk 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>> network 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>> postfix 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>> rsyslog 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>> smb 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>> sshd 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>> udev-post 0:Aus 1:Ein 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>> vmtoolsd 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
>>
>
> Something like “systemctl show -p Wants default.target”?

is a little bit crippled against "chkconfig"
this is not all - where is mysqld?
why one line?

[root@testserver:/lib/systemd/system]$ systemctl show -p Wants default.target
Wants=systemd-update-utmp-runlevel.service dbmail-imapd.service httpd.service remote-fs.target dbmail-lmtpd.service
rsyslog.service dov
(END)

normally i would expect that things like "chkconfig" are shwoing all servcies
and preprade for the state of F15 - but there is nothing to get a trsutable information
what the system will start at next boot

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 01:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org