rsyslog is in F8

Matthew Miller mattdm at mattdm.org
Thu Jul 19 12:08:02 UTC 2007


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 at mattdm.org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>




More information about the fedora-devel-list mailing list