Reputation
815
Top tag
Next privilege 1,000 Rep.
See vote count; VIP usercard
Badges
1 5 17
Impact
~55k people reached

  • 0 posts edited
  • 0 helpful flags
  • 9 votes cast
Apr
11
awarded  Famous Question
Feb
24
revised How to specify Linux home directory and shell on a Samba Active Directory server?
supply additional information.
Feb
24
comment How to specify Linux home directory and shell on a Samba Active Directory server?
A commit fixes this issue for Samba 4.2. It looks like the %ACCOUNTNAME% style won't work once this fix is applied. This means that configs will need to be tweaked...
Feb
14
awarded  Revival
Feb
5
asked Can a zImage be used with U-Boot and ArchLinuxARM?
Feb
5
accepted Can a systemd dependency be applied only to a unit's “ExecStart” action?
Feb
5
answered Can a systemd dependency be applied only to a unit's “ExecStart” action?
Jan
31
comment Can a systemd dependency be applied only to a unit's “ExecStart” action?
The dependency that causes the unmount is RequiresMountsFor in the systemd-cryptsetup that systemd creates from the entries in /etc/crypttab. To test this, I have manually created equivalent units without that dependency and this allows the keyring to be removed without unmounting the encrypted volumes. I'm going to look into this a little more and will write it up as an answer in due course.
Jan
31
comment Can a systemd dependency be applied only to a unit's “ExecStart” action?
Tried that, kind-of makes sense but it doesn't work. Mounts still happen as expected but removal of the keyring unmounts them.
Jan
31
comment Can a systemd dependency be applied only to a unit's “ExecStart” action?
Using an automount is a reasonable alternative to using a drop-in Requires dependency. Avoiding the need for a drop-in is good. However, there is still a dependency between the encrypted volumes and the keyring that causes them to unmount when the keyring is removed. So I am still trying to work out a solution to that.
Jan
30
answered How to add a dependency to a systemd.mount that is activated by /bin/mount?
Jan
30
asked Can a systemd dependency be applied only to a unit's “ExecStart” action?
Jan
22
answered Output shutdown messages to multiple consoles
Dec
11
comment What is the UUID format used by LVM?
That is true indeed, also blkid. Is there a logical relationship between the "internal" UUID and the actual one shown.
Dec
11
asked What is the UUID format used by LVM?
Nov
20
comment How can `dd` be used to right-shift data blocks?
I agree that this is a potential issue but I haven't looked at the edge cases, since I was able to use it to do what I needed. There are ddrescue options to limit its attempts to recover bad data but I haven't looked into using them.
Nov
20
accepted How can `dd` be used to right-shift data blocks?
Nov
20
comment How can `dd` be used to right-shift data blocks?
I accepted this because it answers the original question by demonstrating how dd could be used. I think, however, that the real solution is not to use dd but instead opt for something that is designed to run backwards like ddrescue. I've described a way to do that in an answer.
Nov
20
revised How can `dd` be used to right-shift data blocks?
added a summary relating to the original question.
Nov
20
comment How can `dd` be used to right-shift data blocks?
re the block size, I had tried larger blocks (I should have written that in the question). I found that it didn't become more reliable even a 64K sector buffer. The reliable solution is to run backwards, something that dd doesn't do.