[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-devel-list
Subject:    Re: rsyslog is in F8
From:       Matthew Miller <mattdm () mattdm ! org>
Date:       2007-07-19 12:08:02
Message-ID: 20070719120802.GA16637 () jadzia ! bu ! edu
[Download RAW message or body]

On Thu, Jul 19, 2007 at 07:17:06AM +0200, Leszek Matok wrote:
> echo in %post, like:
> if service rsyslog status
> then
> 	echo rsyslog is installed, but not running, you may want to start it
> 	echo manually, typing: service rsyslog start
> fi
> ...or something. This way the text-mode yum upgraders will see it and GUI
> users aren't real sysadmins needing a logger anyway :)

Turns out this isn't necessary, because it sort of does this by itself:

(1/1): rsyslog-1.17.0-1.f 100% |=========================|  91 kB    00:00     
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: rsyslog
[2/2]warning: /etc/rsyslog.conf created as /etc/rsyslog.conf.rpmnew
warning: /etc/sysconfig/rsyslog created as /etc/sysconfig/rsyslog.rpmnew
  Installing: rsyslog                      ######################### [2/2] 
warning: /etc/syslog.conf saved as /etc/syslog.conf.rpmsave
Traceback (most recent call last):
  File "/usr/lib/python2.5/logging/handlers.py", line 665, in emit
    self._connect_unixsocket(self.address)
  File "/usr/lib/python2.5/logging/handlers.py", line 605, in
_connect_unixsocket
    self.socket.connect(address)
  File "<string>", line 1, in connect
error: (2, 'No such file or directory')
  Removing  : sysklogd                     ######################### [3/2]

Installed: rsyslog.i386 0:1.17.0-1.fc8
Complete!


:)


-- 
Matthew Miller           mattdm@mattdm.org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>

-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic