Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #190947

Re: Strange message during boot

From Sven Joachim <svenjoac@gmx.de>
Newsgroups linux.debian.user
Subject Re: Strange message during boot
Date 2018-01-11 18:40 +0100
Message-ID <v6OZz-48y-3@gated-at.bofh.it> (permalink)
References (5 earlier) <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> <v6Nh7-2Tc-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2018-01-11 10:44 -0500, The Wanderer wrote:

> On 2018-01-11 at 10:35, Greg Wooledge wrote:
>
>> 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?

No, it is systemd itself which sets its title, very early on in main():

,----
|         static char systemd[] = "systemd";
|         [...]
|         /* If we get started via the /sbin/init symlink then we are
|            called 'init'. After a subsequent reexecution we are then
|            called 'systemd'. That is confusing, hence let's call us
|            systemd right-away. */
|         program_invocation_short_name = systemd;
|         (void) prctl(PR_SET_NAME, systemd);
`----

Cheers,
       Sven

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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