/srv/irclogs.ubuntu.com/2019/05/02/#ubuntu-server.txt

=== MarkMaglana_ is now known as MarkMaglana
lordievaderGood morning06:13
paul98hey07:08
paul98i'm running ubuntu server in a chrooted sftp server which has a directory mapped to the users home dir which is a s3 bucket mapped by fuse s3fs, I can mount the drive and list the contents, I can write to a folder but when I try move a file into a folder I get opertion not permitted, I su to the user same error, I tried as root same error, I unmounted the s3 bucket and re mounted it. still nothing,07:09
paul98it did work fine till just before easter where it looked like the mount dropped so i remounted it but i just can't move from the users root dir to the folder, I can create files directly in folder07:09
lotuspsychjeidle here a bit paul98 as US wakeup might get more volunteers07:14
paul98lotuspsychje: thanks, it's just really odd one :(07:14
geodb27People : hi ! I've setup an ubuntu lts 18.04 server and it works fine but for the ntp daemon which doesn't start at boot time. Why is "systemctl enable ntp" not working ?07:38
soulseekerwhich one of you are volunteers07:53
lotuspsychjesoulseeker: volunteers are everywhere, if you have a question please just ask in the channel07:54
soulseekerwhen using the netinstalker at the select software option why doesnt it prompt for software sekections like gnome07:55
lotuspsychjesoulseeker: you are in the server channel here, are you going to install gnome on a server?07:56
soulseekerlotuspsychje it is a laptop but it does need to run server software07:58
soulseekerpaul98 hi07:58
soulseekerwere you using paul98107:59
soulseekerlotuspsychje it all installed but grub208:00
soulseekerdefault install hoping to avoid problems08:00
paul98soulseeker: yes it was me08:01
paul98I couldn't remember my registered nick lol08:01
soulseekerdid you get it working paul08:01
paul98nope, spoke to aws and it seems a mount issh08:01
paul98issue*08:01
paul98i've just restarted the server to see if that fixed it, I don't know alot about it08:01
soulseekerlotuspsychje was that you? aws08:02
lotuspsychjesoulseeker: can you make a full sentence that makes sense?08:02
soulseekerit isnt real as far as I can tell paul08:02
geodb27I've had to restart my machine, so I don't know if my question was asnwered or not :-(08:03
soulseeker-of amazon08:03
soulseekerlotuspsycheje are you the amazon program?08:03
paul98i rebooted it but still get same issue. something has gone wrong.08:04
soulseekerpaul what were you trying to copy08:04
paul98it's just a csv file. it's just s3 bucket mounted via s3fs, i can touch a file directly into the processed/ but i can't mv from the root of s3 bucket into /proccessed as user root or the use who is sftp user08:05
soulseekerpaul did you read the dune series08:05
paul98although I can list the s3 bucket contents of root and the processed/08:06
paul98this worked fine, then suddenly it looked like the mount dropped, so i remounted it, but i can't write to the processed dir on the bucket08:06
paul98outside the mapped mount dir I can aws s3 cp to the bucket any file08:06
soulseekerpaul touch it where08:06
soulseekerpaul touch the file reminds me of icecat08:07
soulseekerwhere is the file you are trying to mv08:08
paul98if i go into the proccessed folder on the mount, and touch txt.txt it works08:08
paul98if i try to move a file from the root of the mount into processed mount root/proccessed i get operation not permitted08:08
soulseekerlotuspsychje can you repeat that at paul08:09
soulseekerwhat are you ralking about ptocessed mount08:10
soulseekeranswet my question08:10
soulseekerwgete is the gule ypu are trying to mv08:10
soulseekerwhere is the file08:11
paul98i have a s3 bucket mounted using s3fs08:12
soulseekerok08:12
soulseekerwhere is the file08:12
paul98/var/sftp/s3bucketname/08:12
paul98the file is in that location08:12
paul98in /var/sftp/s3bucketname/ there is a folder called processed08:12
soulseekerok08:12
paul98i can not move a file from /var/sftp/s3bucketname/ to var/sftp/s3bucketname/processed/ as I get operation ot permitted08:13
paul98I just created a new folder called test in /var/sftp/s3bucketname/ and tried to move a file to it, I can't do that either08:13
soulseekerhow did you mount it08:13
soulseekerhey hey the cat08:14
soulseekermy imaginary cat moving imaginary files08:14
soulseekergow did you mount the s3bucket08:15
paul98. /var/sftp/s3bucketmount fuse.s3fs _netdev,allow_other,multireq_max=5,iam_role=auto,complement_stat,uid=1500,gid=1500,umask=133 0 008:15
soulseekerthat isnt root08:16
paul98but it worked, it's worked for a year till s3fs stopped working so i re mounted it08:16
soulseekeruid 150008:16
paul98that's from /etc/fstab08:16
paul98sorry it's mapped to the sftp user08:16
soulseekerit can be thr permissions of the amazon thing08:17
paul98i've checked with amazon and they said the s3 bucket setup is fine08:18
soulseekerit looks like you have some nonstandard amazon software to be mounting using special types08:18
paul98i'm using s3fs fuse to mount the s3 bucket08:19
soulseekerfuse.s3fs08:19
paul98correct08:19
soulseekeris that known by mount?08:19
soulseekerI dont know it08:20
soulseekermaybe the cat was listening to reach out and touch faith when it posed for the icecat logo08:22
soulseekerthere are permissions on both sides08:23
soulseekerwhat user are you using to run mv08:23
paul98tried the sftp user and root08:24
paul98get same issue08:24
soulseekerand it is touchable, the file ?08:25
soulseekerif it is not moving with root that suggest it is the remote permissions08:26
soulseekerlook into the permissions on the buckwt side08:26
soulseekercheck the processed folder08:27
paul98the processed folder on the s3 bucket is fine08:28
paul98if i come outside the /var/sftp/s3bucketmount and run aws s3 cp test.txt s3://bucketname/ it works08:28
soulseekerit is owned by sftp08:28
paul98so it's something to do with that directory  / chroot08:28
soulseekerno that isnt a valid test08:29
soulseekeryou are attempting a remote move08:29
soulseekernot a local to remote copy08:29
paul98if i do local to remote from the s3bucket dir I get operation not permitted08:30
paul98I can touch a file in the root of s3 bucket08:30
soulseekercheck the iamrole settings08:30
paul98I can go into processed and touch a file and it works08:30
paul98I just can not move from root of the s3 bucket into the folder in that same directory08:30
soulseekerwhatever the s3fs manpage says08:30
soulseekerit has to do with remote permissions08:31
soulseekerwhat does the compaby do with this stuff08:31
soulseekerbefore I support it08:31
soulseekerI dont care to support moving porno files08:32
soulseekerpaul if you read dune series you go deeper and deeper08:33
soulseekerexploring moral challenges in war scenarios08:34
soulseekeryou come to the moral aspects of martyrdom and psychology mixed08:35
soulseekervery advanced subjects08:35
soulseeker-to be clothed in white08:36
* soulseeker twitches08:37
soulseekerpaul98 you are the company08:37
soulseekeramazon is not "real" but it is there08:39
soulseekeruse it well08:39
=== tinoco_ is now known as tinoco
blackflowteward: ping12:17
=== stgraber_ is now known as stgraber
ahasenackrbasak: cpaelzer: hi, I need to upload two no-change-rebuilds because of the clamav soname bump (somebody else uploaded new clamav, but it's a server package, so it being in migration for so long pings us)13:08
ahasenackhow should I proceed with reviews? None?13:09
ahasenackthey are c-icap-modules and pg-snakeoil13:09
ahasenackI just tested a local build, and they picked up the new libclamav9 dep just fine13:09
ahasenack...and libclamunrar13:09
rbasakGood question.13:20
rbasakI'd say go ahead, no review needed.13:21
ahasenackk13:21
ahasenackrbasak: oh, one more13:22
ahasenackit's a deb sync13:22
ahasenackwhat will the rebuild version be like, just the usual -Nbuild1?13:22
ahasenackI think so, since there are no ubuntu changes13:22
ahasenackbut I don't know debian's rule for no-change rebuids, if it's the same, we could collide13:23
rbasakDebian doesn't do no-change rebuilds as they have binNMUs (unless something changed recently?)13:30
rbasak-Nbuild1 is fine13:30
rbasak"dch -R" should do the right thing13:30
ahasenackit did, thanks13:31
geodb27People : hi ! Is that normal that the installer jumps back to the initial screen when one fills in the search domains when configuring manually the ip address of the machine ? And the same when trying to alter the partition table preset when selecting "full disk with lvm" ?13:39
tewardblackflow: ERR: No route to host.13:46
tewardblackflow: what's up?13:47
tomreyngeodb27: bug 1816954 - see comment 413:53
ubottubug 1816954 in subiquity (Ubuntu) "Unable to show Info nor Set static IP during install" [Undecided,Fix committed] https://launchpad.net/bugs/181695413:53
tomreyn(please don't cross-post)13:53
tewardgeodb27: ^ yes,  known issue where providing a search domain errors out.  Set it without the search domain then set the search domain post-install13:54
tomreyn^ this workaround won't work if you need to set a static ip address, though, use the one from comment 4 then13:55
tewardtomreyn: really?  I've gotten subiquity to set the static IP if I give it the config WITHOUT a search domain13:56
tewardthen set the search domain post-install13:56
tewardunless things've changed?13:56
tomreynteward: oh i'm just going by what the error report discusses.13:57
tewardtomreyn: yeah, so if you set the *search domain* it will explode13:57
tomreyn"Also, when setting manual IPv4 information, selecting Save crashes the installer and starts over."13:57
tewardtomreyn: if and only if you put in the search domain13:57
tomreyni see13:58
tewardtomreyn: so, in the 18.04.2 ISO's subiquity, static IP setting works *EXCEPT* if you put a search domain in13:58
tomreyni understand that's what you're saying and i will believe it once i've tested it, too. ;-)13:59
tewardthen it does some odd Python error I haven't been able to fully see because of the speed my VMs are efficient at (literally restarts before I get to dig into the error logs).13:59
tewardput in the static config without the search domain and it won't explode.13:59
tewardhttps://bugs.launchpad.net/subiquity/+bug/1816192 is probably the better bug14:00
ubottuLaunchpad bug 1816192 in subiquity "Installation crashes when setting the IPv4 settings to manual and having a value for search domains" [Undecided,Fix released]14:00
tewardbut that isn't on the ISO(s) yet14:00
tomreynso if you select "info" on the14:03
tomreyn..NIC / ip address context menu it crashes, too14:04
tomreynteward: ^ but you'Re right, it doesn't crash if you set a static ipv4 or ipv6 address, don't touch "info", don't set a search domain14:08
tewardright, that's the only thing I didn't test, but *setting* the IPv4 or v6 is doable14:08
tewardblackflow: responding to your ping, but i do have things to do today, if it's important email me via Launchpad or via my ubuntu.com address14:10
catbadgermorning!14:55
catbadgeranyone know how to run apache 1 in the foreground?14:55
tomreyncatbadger: (as previously discussed) there's no supported ubuntu version which comes with apache 1.x14:59
tomreynyou could try asking in #httpd, but i assume it's not supported there either.15:00
catbadgerlol hastag community15:01
teward... #httpd is another IRC channel :|15:01
tewardAPache 1.x is **long since dead** though15:01
tewardso I wouldn't expect to find *anyone* able to assist you in this matter15:02
catbadgeralready solved.15:02
catbadgerthanks anyway15:02
tomreynthumbs will just send you away with fire once he finds out what you run ;)15:03
* teward picks up the flamethrower15:03
tewardtomreyn: you assume I won't :P15:03
tomreyni'd never dare to assume that!15:03
=== sarnold_ is now known as sarnold
* sarnold notes that catbadger is now that httpd 1.x expert :)16:12
tewardhah16:13
catbadgerhi all16:41
catbadgerhttps://serverfault.com/questions/965608/trying-to-set-up-haproxy-letsencrypt-for-ssl-termination-gateway-not-answering i have a websrver running letsencrypt certs, I've set up a tcp proxy to allow the webserver to manage its own certs for now. in the interim, i'm setting up the proxy to terminate the ssl, this isn't working... i'm getting a dns error that makes no sense. http://leafdns.com/index.cgi?testid=A8086532 the actual16:42
catbadgerthe error at certbot is 'Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'16:42
catbadgerwhat does "The parent nameservers do not have your nameservers listed" mean?16:42
weedmiccan you ping the server u r trying to reach by it's name? number? none?  generally, if you can ping numbers but not names, you need a dns (try 8.8.8.8)16:44
RoyKcatbadger: sounds like a dns messup. which domain is this?16:44
weedmiccatbadger: ^16:44
catbadgeromg16:45
catbadgerit's my /etc/resolve.conf... why does it keep getting overwritten?16:46
catbadgersepcifically the nameserver line16:46
RoyKcatbadger: it's usually controlled by whatever network config package you're using16:47
catbadgerso... netplan?16:47
weedmicyou can't edit that file - it says right in it "DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN" (and there is no "e" in resolve.conf.16:50
sarnoldcatbadger: /etc/resolv.conf or /etc/resolve.conf?16:50
catbadgeri have nameservers: addresses [x.x.x.x,x.x.x.x] in my netplan config, but apply is writing nameserver 127.0.0.5316:50
catbadgerresolv16:50
weedmicwhat do you want to change it to and I can give you the command16:50
sarnoldcatbadger: check out the systemd-resolved manpages16:50
catbadger8.8.8.8 8.8.4.416:50
weedmicok, you can do that with route command - I'll give an exact sample momentarily16:51
catbadgerthank you16:51
weedmicsoz - i don't have it, I put it in using thegraphical method under networks>configure network16:54
weedmici was thinking gateway not dns16:55
weedmicTo make the DNS related changes in resolv.conf permanent, you need to change the DHCP configuration file named dhclient.conf . You can find the file in /etc/dhcp/dhclient.conf . Open the file for editing (don't forget to use sudo).16:56
catbadgerthanks anyway16:56
catbadgerthat's actually pretty helpful thanks16:56
weedmicand this - but... i did it with the graphical interface and it worked fine on all the machines https://askubuntu.com/questions/130452/how-do-i-add-a-dns-server-via-resolv-conf16:57
weedmic8.8.8.8 and 8.8.4.416:57
catbadgersigh17:03
catbadgerhttps://askubuntu.com/a/1001295/946188 has the ansewr17:19
weedmicty 4 sharing the answer17:20
catbadger:) posterity etc.17:21
weedmici added it to my cheat sheet (speakin gof which - i recommend cht.sh shell to get working examples of things (over manpage)17:23
axisyswhat are the three parameters mean in preseed partitioning?17:59
axisys40 50 100 ext317:59
axisys40 M min, 100 M max .. and what's in the middle? and why need 3 parameters?17:59
blackflowteward: I've asked in #nginx, when I pinged you, you can /lastlog me there, wanted to ask if you're aware of such a problem, this is Ubuntu Bionic18:23
tewardblackflow: /lastlog only works so long as it's in my logs, which #nginx is NOT stored in my ZNC logs for more than a bit.  Your message wasn't in the scrollback18:24
blackflowteward: tl;dr  it appears that in a http2 request of a static html with many static png images, the images randomly error out with "timeout" error_logged  and "200 0" access_logged, which I can't understand as it's all a single tcp connection18:24
tewardi'm not aware of any major HTTP/2 issues such as that18:25
blackflowteward: I've since switched back http1.1 and there aren't any errors (but FF opens 5 connections to load up all the images on that page) --  the page is a munin status page with png graphs from rrd18:25
teward> [2019-05-02 14:25:15] <teward> i'm not aware of any major HTTP/2 issues such as that18:26
tewardit SOUNDS like an issue with your client with the timeout errors being seen18:26
tewardbut i've not had any reported issues such as that, and I'm pretty sure they'd have been bug-reported.  You might want to try with the PPA version which is newer18:26
tewardI have to upload the latest mainline and stable to it but18:26
blackflowteward: possible, but.... this was a FreeBSD server before it migrated to Ubuntu, same base version (1.14), and there were no such problems there with http218:26
tewardmight have some bugfixes (use the mainline PPA)18:27
tewardblackflow: *I* have yet to encounter any such breakages, but without a munin setup myself to test with and a copy of your configs I can't give any real insights either way :|18:27
blackflowthat was my next step, to see if it's a bug fixed in newer version.    then again, from what I know, http2 is still kinda experimental, and I've seen a few nginx bug in that area fixed, from the nginx mailinglist18:27
tewardI'm not *aware* of any such major problems (third time I've said this) which would cause the problem you're seeing.18:27
tewardblackflow: actually, HTTP/2 *itself* is considered stable, there's just OCCASIONAL things that pop up18:28
tewardit's the SRU rules that prohibit me from making nginx updates to newer upstream releases :P18:28
blackflowteward: I'll replicate with an example I can share publically, this URL is behind firewall and auth, so I can't18:28
tewardblackflow: yep, a minimal reproducible example that would allow me to test, etc. would be great18:29
tewardbecause what if the problem is actually munin not liking it xD18:29
blackflowteward: biggest problem is, it's not _every_ request. I thought it correlated to a packet loss I observed but then that makes no sense, that's tcp, lost packets would be retried. this is logged as client timeout, which is weird18:29
blackflowteward: munin only creates static html+png. I've copied the page to exclude munin's cron overwriting png's mid-request, and it still appeared, so munin is out of the equation.18:30
tewardwell, then provide a minimum reproducible example :P18:30
tewardso I can test/see if i can replicate18:30
tewardit's also entirely possible it *is* a client side issue on your side, since you haven't indicated what browser/OS you're connecting to it with18:31
tewardbut as I said, i'm not aware of any major bugs in HTTP/2 in 1.14 that'd cause the problems you're experiencing18:31
blackflowyup will do. Also, does this make any sense? run request + timeout within the same second?  https://dpaste.de/zKzb18:32
blackflowteward: Ubuntu Bionic on the client side too :)18:32
blackflow(stock apt-installed Firefox)18:32
tewardblackflow: yes in some cases it can make sense18:33
tewardit's unusual but it usually means the client never sent ACK/SYN packets back (or they were lost in transit) in accepted timespansz18:33
blackflowFF logged 17 second "receiving" before it gave up, in the dev console18:33
tewardbut without wireshark/tshark logs on either side18:33
blackflowhrm... that's why I thought it was this packet loss to blame but.... again.... being tcp, wouldn't lost packets be retried?18:33
tewardonly so many times18:34
tewardyou're thinking at a pure protocol level18:34
tewardthere's only so many times packets are retried (time to live is a thing on TCP packets you know)18:34
blackflowI'll prepare a public test page.18:35
weedmici have several overseas servers - they are unning postfix and mailutils.  except for 1, they all work as expected.  1 always goes to junk in user's outlook, and cannot be junk unjunked.  i printed and compared all the mail.cf files.  The only thing unique on the 1 machine is "myhostname" does not end in .internal, but .local - could that be the real reason?18:58
axisysgot it .. <min> <pri> <max>19:01
jdrI dont know think that would cause it. Why are they not ending in real TLD?20:39
soulseekerdax screwed things up again20:48
soulseekera long list of messages sent to #ubuntu20:49
soulseekeris there any way to add rootdelay during lilo boot20:49
soulseekerafter a fresh install it fails to boot not finding the partition20:49
soulseekerbut by the time the boot fails the partition can br seen by the shell20:50
soulseekerpaul98 are you there20:50
soulseekerprepare to exterminate mafia20:50
soulseekerall mafia everywhere20:51
soulseekerspecificly watch police20:51
soulseekerthey gravitate to positions of power20:51
soulseekerpolice and mayors20:51
tomreynsoulseeker: please rest your enter key.20:51
soulseekertomreyn yeah ok, do you have any suggestionabout how to boot from lilo everything needed was explained20:54
tomreynsoulseeker: no, not personally, it's been years ago that i had to work with lilo20:59
soulseekerdo you know hpw to continue the boot manuly mount returns invalid argument21:01
soulseekerit mounts with type specified but how to contnue the boot, what is the automated process doing21:02
soulseekerhow to tell the initram to hand root to the mount21:03
soulseekerwelcome back lucas gray21:04
soulseekerlucas_gray do you care to work with me for booting the fresh install21:06
soulseekerit halts booting and drops to shell because it does not find the boot partition it mounts fine manuly but what next how to contunue booting21:07
soulseekerall of these volunteers and nobody knpws how to continue booting21:13
soulseekerlucas_gray talk to me21:14
soulseekerIt seems you are following me21:14
soulseekeryou show up on various networks, talk to me21:14
tomreynsoulseeker: try in ##linux, too, if you can't find immediate support here. maybe there's also a lilo channel?21:19
blackflowteward: ping?21:20
soulseekerlilo isnt the focus anymore it failed after booting I can install grub21:21
soulseekerlilo was selected because it detectsd sdb during indtall where grub was looking at sda21:21
soulseekerId have used grub hut the installer had no option to select the right drive21:22
soulseekerif you read what Ive typed you can see where this is at sitting at initram shrll waiting for firstboot21:22
soulseekerwhat is the process to do it manuly21:23
soulseekerhi scotte whats going on21:23
soulseekerdo you monitor this channel21:23
soulseekerthings like this lucas_gray follow mr around from channel to channel buy do not respond to anything21:24
soulseekerthere is nothing but boss attitudes making complaints lile this tomreyn21:25
soulseekerit is reminisciant of police21:25
soulseekerthrt claim to be protexting something but it isnt there21:26
soulseeker"keep this channel open for support" but no support21:26
soulseekerlike americans protecting nonexistant freedom21:26
soulseekerscotte do you speak21:27
soulseekerhello scotte can you read21:28
sarnoldsoulseeker: hopefully useful to you http://rurounijones.github.io/blog/2009/03/17/how-to-ask-for-help-on-irc/21:52

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!