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


Groups > linux.debian.user > #266167

Re: How to prevent rtkit from giving firefox higher priority?

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: How to prevent rtkit from giving firefox higher priority?
Date 2024-01-18 06:10 +0100
Message-ID <HXsP7-3QMU-1@gated-at.bofh.it> (permalink)
References (5 earlier) <HWRwd-3u0I-1@gated-at.bofh.it> <HWRZf-3ubw-5@gated-at.bofh.it> <HXblf-3Gda-3@gated-at.bofh.it> <HXddn-3Hju-1@gated-at.bofh.it> <HXeM9-3Imn-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 17 Jan 2024 at 15:02:05 (+0100), hw wrote:
> On Wed, 2024-01-17 at 07:26 -0500, Greg Wooledge wrote:
> > On Wed, Jan 17, 2024 at 11:19:50AM +0100, hw wrote:
> > > On Tue, 2024-01-16 at 08:41 -0500, Greg Wooledge wrote:
> > > > On Tue, Jan 16, 2024 at 02:17:05PM +0100, hw wrote:
> > > > > On Tue, 2024-01-16 at 08:03 -0500, Greg Wooledge wrote:
> > > > > > On Tue, Jan 16, 2024 at 01:43:23PM +0100, hw wrote:
> > > > > > > There's only a bunch of links in that directory, apparently all
> > > > > > > pointing to files that don't exist.  Don't you have that?
> > > > > > 
> > > > > > unicorn:~$ ls -l /run/user/1000/systemd/units
> > > > > > total 0
> > > > > > lrwxrwxrwx 1 greg greg 32 Jan  4 10:33 invocation:at-spi-dbus-bus.service -> bfec6466520a4586b8c9205c235ccc92
> > 
> > > > You can access it just fine.  You just don't *understand* it.  (Neither
> > > > do I.)
> > > 
> > > If I could access it, I could display the file.  If there is no file,
> > > then these directory entries shouldn't exist.
> > 
> > I don't know how to make it any clearer.  THE SYMBOLIC LINK TARGET IS
> > THE CONTENT.  They are storing this "Invocation ID" inside the symbolic
> > link itself.
> >
> > This is what they chose to do.  I don't know WHY.  But you can clearly
> > see what they're doing.
> 
> I can only see links to files that don't exist.

Perhaps a more understandable example would help. If you edit some
file with emacs, and make some change in the buffer, take a look at
the directory the file is in, and you'll see something like:

  $ ls -al foo
  total 28
  drwxr-x---  2  4096 Jan 17 22:56 .
  lrwxrwxrwx  1    27 Jan 17 22:56 .#connectivity -> auser@ahost.26418:1705500887
  drwxrwxrwt 17 20480 Jan 17 22:55 ..
  -rw-------  1   793 Apr 26  2017 connectivity
  $ 

If someone else tries to edit the same file and make an alteration,
emacs will prompt them with a query, and they can back off, or
carry on editing, or "steal" the file (swapping roles, so the original
editor becomes the intruder).

That process is enabled by the lock file, a dangling symlink, which
enables emacs to inform the second person who and where the first
person is, and their process's PID. In this case, the data in the
symlink is easily recognised: user@host.PID:seconds, where seconds
is likely the host's boot time.

> Unknown things never seen before are always alarming.

Nonsense. Small children would be in a constant state of alarm.

Cheers,
David.

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


Thread

How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-15 19:50 +0100
  Re: How to prevent rtkit from giving firefox higher priority? <tomas@tuxteam.de> - 2024-01-15 20:30 +0100
    Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-15 21:40 +0100
      Re: How to prevent rtkit from giving firefox higher priority? Tom Furie <tom@furie.org.uk> - 2024-01-15 22:10 +0100
        Re: How to prevent rtkit from giving firefox higher priority? Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-01-16 11:30 +0100
        Re: How to prevent rtkit from giving firefox higher priority? Michel Verdier <mv524@free.fr> - 2024-01-16 13:10 +0100
      Re: How to prevent rtkit from giving firefox higher priority? <tomas@tuxteam.de> - 2024-01-16 07:00 +0100
        Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-16 11:30 +0100
          Re: How to prevent rtkit from giving firefox higher priority? Greg Wooledge <greg@wooledge.org> - 2024-01-16 13:10 +0100
            Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-16 13:50 +0100
              Re: How to prevent rtkit from giving firefox higher priority? Greg Wooledge <greg@wooledge.org> - 2024-01-16 14:10 +0100
                Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-16 14:20 +0100
                Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-16 14:40 +0100
                Re: How to prevent rtkit from giving firefox higher priority? Greg Wooledge <greg@wooledge.org> - 2024-01-16 14:50 +0100
                Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-17 11:30 +0100
                Re: How to prevent rtkit from giving firefox higher priority? Tixy <tixy@yxit.co.uk> - 2024-01-17 13:30 +0100
                Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-17 14:50 +0100
                Re: How to prevent rtkit from giving firefox higher priority? <tomas@tuxteam.de> - 2024-01-17 15:20 +0100
                Re: How to prevent rtkit from giving firefox higher priority? Greg Wooledge <greg@wooledge.org> - 2024-01-17 13:30 +0100
                Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-17 15:10 +0100
                Re: How to prevent rtkit from giving firefox higher priority? The Wanderer <wanderer@fastmail.fm> - 2024-01-17 15:20 +0100
                Re: How to prevent rtkit from giving firefox higher priority? David Wright <deblis@lionunicorn.co.uk> - 2024-01-18 06:10 +0100
  Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-15 21:00 +0100
    Re: How to prevent rtkit from giving firefox higher priority? <tomas@tuxteam.de> - 2024-01-15 21:10 +0100
      Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-16 10:50 +0100
        Re: How to prevent rtkit from giving firefox higher priority? Arno Lehmann <al@its-lehmann.de> - 2024-01-16 11:30 +0100
          Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-16 12:00 +0100
            Re: How to prevent rtkit from giving firefox higher priority? Tom Furie <tom@furie.org.uk> - 2024-01-16 12:50 +0100
            Re: How to prevent rtkit from giving firefox higher priority? debian-user@howorth.org.uk - 2024-01-16 13:20 +0100
              Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-16 14:00 +0100
    Re: How to prevent rtkit from giving firefox higher priority? John Hasler <john@sugarbit.com> - 2024-01-15 22:30 +0100
      Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-16 10:50 +0100
        Re: How to prevent rtkit from giving firefox higher priority? John Hasler <john@sugarbit.com> - 2024-01-16 17:20 +0100
          Re: How to prevent rtkit from giving firefox higher priority? hw <hw@adminart.net> - 2024-01-17 14:20 +0100

csiph-web