Reputation
3,979
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
7 18
Newest
 Good Answer
Impact
~113k people reached

1d
comment why do I find (under /proc/pid//fd) sockets with broken symlinks
That's correct.
2d
comment why do I find (under /proc/pid//fd) sockets with broken symlinks
typo, sorry. Answer updated.
2d
comment Migrating mounts with identical permissions not working
It might probably also have helped to show the full fstab entries for mount3 and mount4. ntfs-3g permissions seem to be quite complex. Anway I'm looking at the description of the FUSE option default_permissions; it raises the possibility that the mhddfs mount actually allowed read-write access by all users, regardless of apparent file permissions. Can you check that, e.g. set up <del>a file</del> a directory where the permissions only allow root to write to it, and then try writing to it from your normal user?
2d
comment Migrating mounts with identical permissions not working
3) Are all the underlying filesystems ntfs-3g?
2d
comment Migrating mounts with identical permissions not working
Yeah :). 1) It would be nice if you had shown a few errors from your log, i.e. showing the filename & program. 2) The files in the top-level /var/mail/ are typically owned by group mail in order to allow the mail delivery agent to write to them. So I'm curious what software you run to write to your mail/vhosts directory, and what user+group it is running under?
2d
comment Migrating mounts with identical permissions not working
So it's not root trying to access it, I guess. ls -l /var/mail/vhosts/ shows all files as owned by your user and group, permissions rw-...---, right?
2d
comment Migrating mounts with identical permissions not working
uid=1000,gid=1000,umask=007 permissions suggest that only your user (I assume your id is 1000) had access in the first place. Apart from root, who generally gets to override everything (although not the lack of allow_other) . Hypothetically you could have used ACLs to grant access to other users, but then I notice you didn't specify -A to rsync to copy ACLs. Can you confirm that this is what you expect, and whether the problem is for your user, root, or both? Also whether you deliberately used ACLs.
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
I'd have thought it would end up using XWayland though; I find it interesting if that behaves significantly different to an X-only system.
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
Heh, if that's a realistic option, it sounds like a good way to avoid the legacy that is SysV shared memory :).
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
Hmm, this doesn't quite make sense to me. Apparently ipcs requires read access, so technically you should run it as root. Not expecting that to help if it's X-related though.
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
Another reason to worry about SysV shm leaks, is that it would mean the OOM killer wouldn't be able to free them at all. They can hang around outside of the process that created them, so the OOM killer wouldn't find the guilty party, and it killing processes wouldn't solve the problem.
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
Xorg VIRT is commonly described as including mappings of the video card RAM. So we don't know if the VIRT value is typical for your system... We have 5.7G shared, 4G swap, then at least 1.7G shared must be resident (in RAM). But Xorg only shows 150M RSS / resident, so Xorg's current mappings can't account for the large amount of shared memory. Also this suggests the Xorg figure must include device memory, to make that up to 8G. The one SHM entry you showed is 4G (python -c "print 0x7f8d44afa000-0x7f8d446fa000"); leaking a few of those after using them might well cause the problem.
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
I think the shm must exist, or it wouldn't be listed. I see the same on my machine. I think the (deleted) is a way of saying that the filename doesn't really exist, I think it would look similar if you mmapped a file and then deleted the file (the mmapped memory would still work).
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
The 6GB of cache is actually 6GB of shared memory. I've updated my second answer to include information on legacy shared system V memory, but hopefully it's regular mmap() and you won't need that section.
Apr
30
comment Fedora Linux: I installed sendmail but now bash mail notification doesn't work
@ThomasDickey Good point but no. I can see mail being delivered to /var/spool/mail in both cases.
Apr
27
comment Is group priority available?
@siblynx Weird. I went from the Linux manpage "id - print real and effective user and group IDs". Sounds like OS X is not POSIX compliant, despite being based on existing BSD code. pubs.opengroup.org/onlinepubs/9699919799/utilities/id.html
Apr
26
comment Missing `/dev/sda` when building a minimal kernel for VMware
You don't want to run make localmodconfig inside the VM? To find the ata driver, look at readlink -f /sys/class/ata*/*. That will show the pci device, then you can find name of the module for it e.g. cat readlink /sys/devices/pci0000:00/0000:00:1f.2/driver/module
Apr
26
comment Missing `/dev/sda` when building a minimal kernel for VMware
Yep. AHCI is a better interface, and it's used across physical systems from multiple vendors. If there's a default hardware model for modern OS's, it probably uses AHCI. Except that you might also want to be able to take advantage of virt-specific drivers. E.g. wiki.archlinux.org/index.php/VMware/… Typically module names are mentioned in Kconfig and you can search for them (I think "/" key or ctrl+f in make xconfig). Or I think git grep vmw_pvscsi should find the Kconfig file and identify the corresponding CONFIG_ option.
Apr
26
comment Missing `/dev/sda` when building a minimal kernel for VMware
1) surely you'd prefer AHCI? 2) yes, /boot/config* 3) to disable unused modules you can run make localmodconfig in the VM unix.stackexchange.com/a/275747/29483
Apr
24
comment How to compile efivar?
Exactly. I meant the OE recipe is misleading because it doesn't apply to 0.23, the version the OP was actually building. The recipe is called "update to 0.23" and it says "Upstream removed the use of the nvme headers completely, so no more conflicts." The reason the recipe works (despite removing the blacklist line) is that it fetches the revision 01abee4.