[Bug 1266068] [NEW] Upstart Logfiles: have Dos/WIndows line endings
Bernd
service at midox.de
Sat Jan 4 17:29:57 UTC 2014
Public bug reported:
First of all an Happy New Year:)
All upstart logfiles Dos/Windows line endings eg \r\n (^M) and not the
normal unix end of line
I'v seen this on 3 different boxes in my home env.
Box-1: uses Ubuntu 12.04 LTS 32 bit
uname -a:
Linux pc-1 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:40:43 UTC 2013 i686 i686 i386 GNU/Linux
lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
init --version:
init (upstart 1.5)
Copyright (C) 2012 Scott James Remnant, Canonical Ltd
------------------------------------------
Box-2: elementary Os luna 0.2 64 bit
uname -a:
Linux midox-CQ60-Notebook-PC 3.12.6-031206-generic #201312201218 SMP Fri Dec 20 17:20:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a :
No LSB modules are available.
Distributor ID: elementary OS
Description: elementary OS Luna
Release: 0.2
Codename: luna
init --version:
init (upstart 1.5)
Copyright (C) 2012 Scott James Remnant, Canonical Ltd
-------------------------------------
Box-3:Ubuntu 12.10 32 bit
uname -a:
Linux mausi-Notebook-PC 3.5.0-45-generic #68-Ubuntu SMP Mon Dec 2 22:02:00 UTC 2013 i686 i686 i686 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID:Ubuntu
Description:Ubuntu 12.10
Release:12.10
Codename:quantal
init --version
init (upstart 1.5)
Copyright (C) 2012 Scott James Remnant, Canonical Ltd.
steps to reproduce:
Open the logfiles with midnight-commander(f3 and then f4 for hex mode) or an ordanary hexviewer
I see the lines ends with a 0x0d 0x0a
when i open the log files in /var/log/upstart with mcedit i see the ^M at each end of line in the logs
i think the lines should end with a normal 0x0a (\n) as we are on a linux system
but maybe i'm wrong and this is the intended behavior of init(upstart)
I searched already for releated bugs here but maybe i missed something
** Affects: upstart (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1266068
Title:
Upstart Logfiles: have Dos/WIndows line endings
Status in “upstart” package in Ubuntu:
New
Bug description:
First of all an Happy New Year:)
All upstart logfiles Dos/Windows line endings eg \r\n (^M) and not
the normal unix end of line
I'v seen this on 3 different boxes in my home env.
Box-1: uses Ubuntu 12.04 LTS 32 bit
uname -a:
Linux pc-1 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:40:43 UTC 2013 i686 i686 i386 GNU/Linux
lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
init --version:
init (upstart 1.5)
Copyright (C) 2012 Scott James Remnant, Canonical Ltd
------------------------------------------
Box-2: elementary Os luna 0.2 64 bit
uname -a:
Linux midox-CQ60-Notebook-PC 3.12.6-031206-generic #201312201218 SMP Fri Dec 20 17:20:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a :
No LSB modules are available.
Distributor ID: elementary OS
Description: elementary OS Luna
Release: 0.2
Codename: luna
init --version:
init (upstart 1.5)
Copyright (C) 2012 Scott James Remnant, Canonical Ltd
-------------------------------------
Box-3:Ubuntu 12.10 32 bit
uname -a:
Linux mausi-Notebook-PC 3.5.0-45-generic #68-Ubuntu SMP Mon Dec 2 22:02:00 UTC 2013 i686 i686 i686 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID:Ubuntu
Description:Ubuntu 12.10
Release:12.10
Codename:quantal
init --version
init (upstart 1.5)
Copyright (C) 2012 Scott James Remnant, Canonical Ltd.
steps to reproduce:
Open the logfiles with midnight-commander(f3 and then f4 for hex mode) or an ordanary hexviewer
I see the lines ends with a 0x0d 0x0a
when i open the log files in /var/log/upstart with mcedit i see the ^M at each end of line in the logs
i think the lines should end with a normal 0x0a (\n) as we are on a linux system
but maybe i'm wrong and this is the intended behavior of init(upstart)
I searched already for releated bugs here but maybe i missed
something
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1266068/+subscriptions
More information about the foundations-bugs
mailing list