You are not logged in.

#1 2012-06-13 16:51:16

uzsolt
Member
Registered: 2012-06-13
Posts: 56

Where is the 'last' command in systemd?

So, the question is simple: where is the last command with systemd?
As I see sysvinit provides but can't install because of conflicts with systemd-sysvcompat.

Offline

#2 2012-06-13 22:23:24

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Where is the 'last' command in systemd?

Yes, I noticed that also. The "wall" command is in the same situation.

Offline

#3 2012-06-14 00:27:52

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Where is the 'last' command in systemd?

Both commands are included in 'core/sysvinit'.

If you install 'community/pkgtools', you are then able to find the package that owns an uninstalled file using 'pkgfile':

$ pkgfile last
core/sysvinit
$ pkgfile wall
extra/irssi
core/sysvinit

Offline

#4 2012-06-14 00:44:33

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: Where is the 'last' command in systemd?

thisoldman wrote:

Both commands are included in 'core/sysvinit'.

The OP is clearly aware of that. He/she mentioned that sysvinit cannot be installed because of a conflict with systemd-sysvcompat smile.

Offline

#5 2012-06-14 07:20:47

uzsolt
Member
Registered: 2012-06-13
Posts: 56

Re: Where is the 'last' command in systemd?

Terminator wrote:
thisoldman wrote:

Both commands are included in 'core/sysvinit'.

The OP is clearly aware of that. He/she mentioned that sysvinit cannot be installed because of a conflict with systemd-sysvcompat smile.

I'm a man, so he smile

Offline

#6 2012-06-14 12:52:30

z0id
Member
From: Romania
Registered: 2010-02-02
Posts: 122

Re: Where is the 'last' command in systemd?

You could remove systemd-sysvcompat (which just provides some symlinks) and install sysvinit. But I suppose that's not the best solution.


/usr/bin/drinking

Offline

#7 2012-06-14 15:06:58

uzsolt
Member
Registered: 2012-06-13
Posts: 56

Re: Where is the 'last' command in systemd?

I think it will be a bug report smile
https://bugs.archlinux.org/task/30294

Offline

#8 2012-06-14 16:24:36

uzsolt
Member
Registered: 2012-06-13
Posts: 56

Re: Where is the 'last' command in systemd?

Bug report is over.
I've made a package in aur: https://aur.archlinux.org/packages.php?ID=60061
It provides last, lastb and wall. If anything will need, tell me!

Last edited by uzsolt (2012-06-14 16:33:53)

Offline

Board footer

Powered by FluxBB