Public bug reported:

sysklogd only writes timestamps, this problem seems to be related to
writev syscall that for some reason writes always 15 bytes, here's the
output of strace -p `pidof syslogd`:

..
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2652, ...}) = 0
writev(2, [{"Sep 22 09:47:09", 15}, {" ", 1}, {"vps03", 5}, {" ", 1}, {"-- MARK 
--", 10}, {"\n", 1}], 6) = 15
writev(15, [{"Sep 22 09:47:09", 15}, {" ", 1}, {"vps03", 5}, {" ", 1}, {"-- 
MARK --", 10}, {"\n", 1}], 6) = 15
rt_sigprocmask(SIG_UNBLOCK, [HUP ALRM], NULL, 8) = 0
..

The only thing written to file is "Sep 22 09:47:09".

The OS version in Ubuntu 8.04 server

uname -a output:
Linux vz-node1 2.6.24-19-openvz #1 SMP Wed Aug 20 22:07:43 UTC 2008 x86_64 
GNU/Linux

Thanks

--Sergio

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
writev does not work properly on GFS filesystem
https://bugs.launchpad.net/bugs/273039
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to