Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#47750 - [lxterminal] add dependency on libutempter; log to utmp and wtmp ('w', 'who', last entries)

Attached to Project: Community Packages
Opened by jb (jb.1234abcd) - Thursday, 14 January 2016, 14:31 GMT
Last edited by Balló György (City-busz) - Wednesday, 17 February 2016, 12:08 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
LXDE's lxterminal does not do the updates.
It is a semi-security issue, at least for some users.

Additional info:
* package version(s)
lxterminal 0.2.0-1

* config and/or log files etc.

Steps to reproduce:

Make sure it exists:
$ ls -al /var/run/utmp
-rw-rw-r-- 1 root utmp 0 Jan 14 13:21 /var/run/utmp
$ w; who; last

This task depends upon

Closed by  Balló György (City-busz)
Wednesday, 17 February 2016, 12:08 GMT
Reason for closing:  Upstream
Additional comments about closing:  Submitted feature request to LXDE.
Comment by Doug Newgard (Scimmia) - Thursday, 14 January 2016, 15:27 GMT
"It is a semi-security issue, at least for some users."

If you're relying on utmp/wtmp for security, you really need to rethink things.
Comment by jb (jb.1234abcd) - Thursday, 14 January 2016, 19:42 GMT
Well, we have to start somewhere - after all these log files and entries are as old as UNIX.
$ ldd `which xterm`
...
libutempter.so.0 => /usr/lib/libutempter.so.0 (0x00007f658d8b3000)
...

All other terminals do the right thing as well, so the consistency is desired.
Comment by Balló György (City-busz) - Wednesday, 17 February 2016, 01:50 GMT
It looks like lxterminal doesn't do anything with libutempter. Why should I add it as dependency?
Comment by jb (jb.1234abcd) - Wednesday, 17 February 2016, 09:12 GMT
To be consistent with other DEs and their X terminals. GNOME and XFCE terminals do it, xterm/uxterm do it.
Some users or sysadmins set them up as login terminals, scripts may rely on consistent output of "w', 'who', 'last' entries.

Comment by Balló György (City-busz) - Wednesday, 17 February 2016, 10:20 GMT
But the source code of lxterminal does not have any reference to libutempter. Did you tried to rebuild lxterminal with libutempter dependency? Is this solved the problem?

I think you should open an upstream feature request, if you want this to be implemented:
https://sourceforge.net/p/lxde/feature-requests/
Comment by jb (jb.1234abcd) - Wednesday, 17 February 2016, 11:55 GMT Comment by Balló György (City-busz) - Wednesday, 17 February 2016, 12:08 GMT
Thanks.

Loading...