Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #190942
| From | The Wanderer <wanderer@fastmail.fm> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Strange message during boot |
| Date | 2018-01-11 16:50 +0100 |
| Message-ID | <v6Nh7-2Tc-3@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <v6Mbn-2am-1@gated-at.bofh.it> <v6Ml4-2eb-7@gated-at.bofh.it> <v6MXM-2KV-9@gated-at.bofh.it> <v6MXM-2KV-13@gated-at.bofh.it> <v6N7r-2P4-3@gated-at.bofh.it> |
| Organization | This space intentionally left blank. |
[Multipart message — attachments visible in raw view] - view raw
On 2018-01-11 at 10:35, Greg Wooledge wrote: > On Thu, Jan 11, 2018 at 10:27:33AM -0500, The Wanderer wrote: > >> On 2018-01-11 at 10:23, Brian wrote: >>> Guaranteed: 'cat /proc/1/comm'. >> >> On my system: >> >> $ dlocate /sbin/init >> sysvinit-core: /sbin/init >> $ cat /proc/1/comm >> init >> >> So the former command produces recognizably useful information, whereas >> the latter does not. >> >> I can't be sure what the latter command would output on a different >> system, not having tested it - but since AFAIK the standard practice is >> to launch the init system via /sbin/init (symlinked to something else if >> necessary) regardless, I would expect the command to be 'init' in all >> cases. > > wooledg:~$ ls -l /sbin/init > lrwxrwxrwx 1 root root 20 Jul 5 2017 /sbin/init -> /lib/systemd/systemd > wooledg:~$ cat /proc/1/comm > systemd So it's smart enough to bypass the name of the symlink when populating this node? I'm a little bit surprised, especially given the number of programs which intentionally behave differently depending on which name they were invoked with, but that could be useful in some circumstances. > P.S. "ls -l /sbin/init" is the command we usually give to people in > #debian when they ask similar questions. Right. I meant to bring that up at some point in the thread, but it slipped my mind during editing passes on what I'd already written. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Strange message during boot Richard Owlett <rowlett@cloud85.net> - 2018-01-10 15:30 +0100
Re: Strange message during boot David Wright <deblis@lionunicorn.co.uk> - 2018-01-10 16:00 +0100
Re: Strange message during boot Darac Marjal <mailinglist@darac.org.uk> - 2018-01-10 16:40 +0100
Re: Strange message during boot Jeroen Mathon <jeroenmathonmac@gmail.com> - 2018-01-11 09:40 +0100
Re: Strange message during boot Richard Owlett <rowlett@cloud85.net> - 2018-01-11 11:40 +0100
Re: Strange message during boot rhkramer@gmail.com - 2018-01-11 14:30 +0100
Re: Strange message during boot Richard Owlett <rowlett@cloud85.net> - 2018-01-11 15:40 +0100
Re: Strange message during boot The Wanderer <wanderer@fastmail.fm> - 2018-01-11 15:50 +0100
Re: Strange message during boot Brian <ad44@cityscape.co.uk> - 2018-01-11 16:30 +0100
Re: Strange message during boot The Wanderer <wanderer@fastmail.fm> - 2018-01-11 16:30 +0100
Re: Strange message during boot Greg Wooledge <wooledg@eeg.ccf.org> - 2018-01-11 16:40 +0100
Re: Strange message during boot The Wanderer <wanderer@fastmail.fm> - 2018-01-11 16:50 +0100
Re: Strange message during boot Sven Joachim <svenjoac@gmx.de> - 2018-01-11 18:40 +0100
Re: Strange message during boot Curt <curty@free.fr> - 2018-01-13 11:50 +0100
[LIKELY Resolved] - was [Re: Strange message during boot] Richard Owlett <rowlett@cloud85.net> - 2018-01-13 13:50 +0100
Re: [Diagnostic Summary] Re: Strange message during boot The Wanderer <wanderer@fastmail.fm> - 2018-01-11 18:20 +0100
Re: [Diagnostic Summary] Re: Strange message during boot bw <bwtnguy@yahoo.com> - 2018-01-11 18:40 +0100
Re: [Diagnostic Summary] Re: Strange message during boot The Wanderer <wanderer@fastmail.fm> - 2018-01-11 18:40 +0100
Re: [Diagnostic Summary] Re: Strange message during boot bw <bwtnguy@yahoo.com> - 2018-01-11 18:50 +0100
Re: [Diagnostic Summary] Re: Strange message during boot The Wanderer <wanderer@fastmail.fm> - 2018-01-12 14:00 +0100
Re: [Diagnostic Summary] Re: Strange message during boot Richard Owlett <rowlett@cloud85.net> - 2018-01-12 17:10 +0100
Re: [Diagnostic Summary] Re: Strange message during boot Richard Owlett <rowlett@cloud85.net> - 2018-01-11 19:50 +0100
Re: [Diagnostic Summary] Re: Strange message during boot bw <bwtnguy@yahoo.com> - 2018-01-11 20:30 +0100
Re: [Diagnostic Summary] Re: Strange message during boot Richard Owlett <rowlett@cloud85.net> - 2018-01-12 13:10 +0100
[Diagnostic Summary] Re: Strange message during boot Richard Owlett <rowlett@cloud85.net> - 2018-01-11 18:20 +0100
Re: [Diagnostic Summary] Re: Strange message during boot bw <bwtnguy@yahoo.com> - 2018-01-11 18:30 +0100
Re: [Diagnostic Summary] Re: Strange message during boot Richard Owlett <rowlett@cloud85.net> - 2018-01-12 17:10 +0100
Re: [Diagnostic Summary] Re: Strange message during boot David Wright <deblis@lionunicorn.co.uk> - 2018-01-11 20:50 +0100
Re: [Diagnostic Summary] Re: Strange message during boot Richard Owlett <rowlett@cloud85.net> - 2018-01-12 13:30 +0100
Re: [Diagnostic Summary] Re: Strange message during boot David Wright <deblis@lionunicorn.co.uk> - 2018-01-12 16:30 +0100
Re: [Diagnostic Summary] Re: Strange message during boot Richard Owlett <rowlett@cloud85.net> - 2018-01-12 17:30 +0100
HELP!! - was [Re: [Diagnostic Summary] Re: Strange message during boot] Richard Owlett <rowlett@cloud85.net> - 2018-01-13 02:50 +0100
csiph-web