libera/#devuan/ Sunday, 2018-11-04

Guest21There is a documented issue with upgrading that I just ran into. The upgrade can break x11. A temporary workaround has been found.05:13
Guest21https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=85635105:13
DocScrutinizer05ummm, ok...06:25
rasb_∕﹗\ АTTN: Thіѕ cһanᥒel has movеd to irc.freenഠԁe.net #/join /!\15:02
system16Hi20:09
system16Is it possible to change the mount point of my external hdd from /home to /home/myusername ?20:10
system16If this is not possible, can i create a shortcut to it in /home/myusername ?20:11
KatolaZsystem16: it's possible but you should be careful with that20:11
system16Why20:12
KatolaZif you HD is disconnected, your user will remain without a homedir20:12
system16Creating a shortcut is risky ?20:12
KatolaZnope20:12
KatolaZchanging the mountpoint of /home20:12
system16No no20:12
system16I meant20:12
system16I want to change the mount point of my external drive20:13
system16Its : /home/hdd20:13
system16I want it to be /home/myusername/hdd20:13
KatolaZsystem16: how are you mounting yout external drive?20:14
system16Umm what do you mean ?20:15
system16Its called /dev/sdb120:15
KatolaZare you mounting it manually?20:16
system16No i just changed its permission to 77720:16
telst4rDude. No.20:16
system16It automatically mounts it20:16
KatolaZo_O20:16
system16I dont have to type mount /dev/sdb1 ... is that what you mean ?20:17
telst4r^ thats a manual mount. And you're not doing it. Some daemon is trying to be 'smart' here I suppose20:18
system16 I think creating a shortcut is alot easier . Do you know how can  i create a short cut to /home/hdd ?20:19
system16Btw i have no GUI running20:21
system16Everything is done via commands20:21
KatolaZsystem16: what do you mean by that?20:21
KatolaZa symlink?20:22
system16A shortcut to a directory20:22
KatolaZjust `ln -s`20:22
KatolaZman ls20:22
KatolaZsorry20:22
KatolaZman ln20:22
system16Ln -s /home/hdd ?20:22
system16l*20:23
telst4rln wants target and source. take a look at the manual and give it a few test tries.20:23
system16Oh20:23
telst4ror -to- and -from-20:23
system16Ok20:23
n4dirlooks to me as if both /home/hdd and /home/username/hdd would be short enough. No ?20:23
system16N4dir , all of my devices are set to /home/myusername. And changing them is a hassel20:24
telst4rhow short ~/hdd can be shortened? ;)20:24
KatolaZ~/h20:25
KatolaZ:P20:25
system16If this works im gonna cry20:26
system16Ln: missing file operand20:29
system16I typed ln -s20:30
KatolaZsystem16: have you read `man ln`?20:30
system16Im reading it rn20:30
KatolaZyou should just read the first 10 lines20:30
KatolaZln -s FILE DEST20:30
system16ln    [OPTION]...    [-T]    TARGET ?20:31
KatolaZsystem16: ^^^20:31
system16Hey it worked20:32
system16Hooray20:32
nacelleI think of it as "ln -sf original referenced"20:32
system16Thank you all20:32
nacelleor "ln -sf old new" if you will20:33
system16 Is this permanent ?20:34
system16Or a restart messes with it ?20:34
golinuxGuess you'll find out20:35
system16Btw do i need to unmount my drive before executing shutdown -h now ?20:36
KatolaZsystem16: it would be adviseable20:37
system16Or devuan is smart enough to do this automatically like windows20:37
KatolaZsystem16: a clean shutdown should unmount all the mounted filesystems20:40
system16Clean shutdown ?20:40
system16So shutdown -h now isnt clean ?20:41
gnarfaceKatolaZ: this is a problem still intermittently for me22:52
gnarfaceit's one of the debian changes i think we should roll back22:52
gnarfaceit has nothing to do with systemd, directly22:52
gnarface`shutdown -h` *isn't* guaranteed to be clean anymore, and if you're not using a SSD it often isn't.  there should be a setting to change it back to the previous default behavior of actually waiting for everything to unmount rather than just assuming it'll all umount faster than 5s or whatever22:53
gnarface(i actually brought this up with upstream maintenance and some asshole told me "well the journaling filesystem should catch any lost data so what's the problem?")22:54
gnarface(they're literally making the choice to rely on the filesystem journaling as a method to not require filesystem unmounts anymore - which is somewhat to me like omitting seatbelts because there's airbags)22:55
gnarfaceand i don't care about "buh buh buh 99% of all linux installs are now VM guests on a diskless azure system, my boss said so!"22:56
gnarfacethis is vandalism22:56
gnarface*usually* if i close everything and manually `sync && sync && sync` it'll unmount everything fast enough, but even then it occasionally doesn't.22:58
gnarfaceand sometimes i forget22:58
gnarfaceif system16 comes back tell him it's a known bug at least22:59
DocScrutinizer05alexandros_c: ping23:05
Centurion_Dangnarface: I thoroughly agree... what package need fixing and can you provide a patch or point to a commit that needs reversing...23:17
Centurion_Dan??23:17
gnarfaceCenturion_Dan: i can't provide anything specific, sorry.  i'm sure it's a simple fix to whoever knows what they're doing though.23:18
KatolaZgnarface: I guess the package is sysvinit, and I guess Jesse Smith has buasted several bugs in the current dev branch23:18
KatolaZjust bear with us ;)23:18
gnarfacebut i will cite that this is an especially bad problem if you're using reiserfs still and also forgot to put the /sbin/fsck.reiserfs symlink back that is also obvious sabotage23:18
gnarfacebecause *then* when it fails to unmount at reboot, then your journal transaction log *does not* replay and YOU DO lose data23:19
KatolaZgnarface: believe me, the main problem with sysvinit has just been lack of maintenance23:19
KatolaZthere is no sabotage plan behind23:20
KatolaZbut things are moving on now23:20
gnarfaceyea, but this used to work and when i went asking about why they changed it, they gave me a dismissive response that is much better at convincing me that it's active sabotage than you are at convincing me it's not23:20
KatolaZupstream development has started again23:20
KatolaZgnarface: do not assume a bad answer is the official answer23:20
KatolaZ;)23:20
gnarfacefair enough23:20
KatolaZnot all that happens in debian happens in debian-devel23:21
KatolaZor in the replied to bug reports23:21
KatolaZs/ied/ies23:21
gnarfacenoted23:21
KatolaZwe have had a lot of enthusiastic support from several DDs on the sysvinit querelle23:22
KatolaZand most of them don't need to shout on a mailing list23:22
gnarfacewell even if it has to be a dumb timeout now for some reason, just being able to raise it a few seconds would probably cover most my problem cases23:22
gnarfacebut it used to actually just hang there for a long time waiting for unmounts23:22
gnarfacethere was a timeout after some point i think it would just go through and kill all processes still running?23:23
gnarfacethen it would try to unmount again23:23
gnarfacei dunno, i remember that it was occasionally a problem if something wouldn't exit right, but that was much more rare of an occurrence than the existing situation23:25
gnarfacewhere everything exits right, but just not always quickly enough23:25

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!