Re: F15: most services sysvinit only?

2011-06-15 Thread Reindl Harald


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.

Re: F15: most services sysvinit only?

2011-06-15 Thread Michał Piotrowski
2011/6/15 Vratislav Podzimek :
> On Wed, 2011-06-15 at 09:54 +0200, Michał Piotrowski wrote:
>> Hi,
>>
>> 2011/6/15 Petr Pisar :
>> > On 2011-06-15, Tomasz Torcz  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


Re: F15: most services sysvinit only?

2011-06-15 Thread Vratislav Podzimek
On Wed, 2011-06-15 at 09:54 +0200, Michał Piotrowski wrote:
> Hi,
> 
> 2011/6/15 Petr Pisar :
> > On 2011-06-15, Tomasz Torcz  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

Re: F15: most services sysvinit only?

2011-06-15 Thread Michał Piotrowski
Hi,

2011/6/15 Petr Pisar :
> On 2011-06-15, Tomasz Torcz  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


Re: F15: most services sysvinit only?

2011-06-15 Thread Petr Pisar
On 2011-06-15, Tomasz Torcz  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


Re: F15: most services sysvinit only?

2011-06-14 Thread Tomasz Torcz
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-monitor0: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
> netatalk0: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
> sshd0: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
> vmtoolsd0:Aus   1:Aus   2:Ein   3:Ein   4:Ein   5:Ein   6:Aus
> 

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


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

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

F15: most services sysvinit only?

2011-06-14 Thread Reindl Harald
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-monitor0: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
netatalk0: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
sshd0: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
vmtoolsd0:Aus   1:Aus   2:Ein   3:Ein   4:Ein   5:Ein   6:Aus



signature.asc
Description: OpenPGP digital signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel