/srv/irclogs.ubuntu.com/2018/08/14/#ubuntu-server.txt

=== freyes_ is now known as freyes
cpaelzergood morning05:14
=== Nafallo_ is now known as Nafallo
lordievaderGood morning06:08
=== ashleyd is now known as ashd
boritekhello12:15
boriteki have just installed ubuntu-server 18.04.1 with mass controller12:15
boritekwith default settings with lvm12:15
boritekit created a 4GB root partition and 16GB /dev partition12:15
boritekwhy??12:16
boritekthe /dev usage is 0%, and root partition is already full12:16
tomreynboritek: can you paste the url returned by "df -h | nc termbin.com 9999"12:18
tomreyn<tomreyn> boritek: can you paste the url returned by "df -h | nc termbin.com 9999"12:33
ahasenackboritek: that's a known bug12:39
ahasenacklet me fetch it to show you12:39
ahasenackboritek: https://bugs.launchpad.net/subiquity/+bug/178532112:40
ubottuLaunchpad bug 1785321 in subiquity "LVM Entire Disk option does not use entire disk" [Undecided,New]12:40
ahasenackif you want lvm, for now you should create the layout manually12:40
ahasenackor install with 4Gb, and resize later12:40
ahasenackmaybe add an LV for /usr, then you won't need to resize /12:41
ahasenackthat can be done without booting into rescue mode, since you won't be resizing /12:41
ahasenackcpaelzer: do you know if this d/t/control syntax works for Depends? :12:43
ahasenack squid3 | squid,12:43
ahasenackn/m, it does, it installed squid12:43
ahasenackhah12:45
ahasenackthat kylin test is failing because it can't find python-imaging:amd6412:46
ahasenacklast uploaded to precise :/12:47
ahasenackok, it became pillow12:52
cpaelzerahasenack: yes it can have alternatives, but you foudn that already12:59
cpaelzerI'm unsure what happens if both are available, but as long as there is one of the two it should work13:00
ahasenackthe ordering matters13:00
ahasenackat least in d/control13:00
ahasenackshould be the same13:00
cpaelzerack for d/control behavior, and I'd hope so as well - but expect/hope != knowledge, so I'm still unsure :-)13:01
benl90Hello, does anyone here familiar with mysql on ubuntu server? I have problem setting mysqld.cnf on /etc/mysql/mysqld.conf.d/ , I set sql_mode = '' but it won't affect the sql server, what cause it? I think I've set the write things. Is there anyone could explain maybe, or maybe I'm wrong. Thanks13:06
ahasenackI have no idea, sorry13:07
ahasenackfor starters I don't even know what's the "good" config file, there are so many under /etc/mysql13:07
rbasakIt works like regular .d/ directories13:08
rbasakDrop any number of .cnf into /etc/mysql/mysqld.conf.d/ to customise your configuration13:08
rbasakChanging the supplied ones will result in conffile prompts (may be good or bad depending)13:09
rbasakUse /etc/mysql/conf.d/ for things that affect the client (eg. libmysqlclientX but also libmariadbclientX). That's therefore shared between MySQL and MariaDB13:09
rbasakAnd /etc/mysql/mariadb.conf.d/ for MariaDB-specific configuration.13:09
rbasak(on the daemon side)13:09
rbasakAs for sql_mode specifically, I don't know, sorry.13:10
rbasakThe only reason I can think of that it won't affect the server is if you've messed with other config files in /etc/mysql/*.cnf or if you're actually using MariaDB.13:11
rbasakYou should be able to trace the config files that are active by following through from the service configuration.13:12
cpaelzerrbasak: maybe ordering in the dir, and a later conf file in ther eoverwriting his change?13:12
rbasakThat could do it.13:12
rbasakBy default I think we only ship one file in the dir though?13:12
benl90rbasak: Yep, I've but it's not reading it I dunno why, I means I set some param and still when the service is running the configuration doesn't change13:13
rbasakThere's a parameter you can call to mysqld to have it print the configuration it's picked up I think.13:13
benl90rbasak: I use MySQL-server package13:14
benl90rbasak: aaaa, I don't get what it means with your last statement, could you explain it to me?13:14
=== ashleyd is now known as ashd
benl90rbasak: I want to ask, anything under /var/mysql/mysql.conf.d/ is loaded by my.cnf right?13:50
rbasakbenl90: should be, by default, yes.13:51
benl90rbasak: Then what means with ! and without !13:51
rbasakIf you have mysqld installed13:51
rbasakAnd you don't have mariadb installed13:51
benl90rbasak: yes.. I've mysqld. mysql server 5.7.2313:51
rbasakA common error is to have tried to install MariaDB and then not removed it completely.13:51
benl90rbasak: !includedir /etc/mysql/conf.d/ means it load from the folder right?13:52
rbasakYes13:53
benl90rbasak: Hmm.. why it's not working, when I force write on the my.cnf it's working -_-13:53
rbasakI don't know, sorry. Can you provide steps to reproduce the problem on a fresh installation?13:54
benl90rbasak: Yep, I tried to edit the mysqld.cnf on the mysql.conf.d folder13:57
benl90rbasak: then after that, I add sql_mode = '', after that I restart the service and check using SELECT @@sql_mode; still, the mode is there and not overwrited.13:58
rbasakSkuggen: you might know off the top of your head? ^13:59
rbasakbenl90: have you verified this still happens on a fresh installation?14:00
benl90rbasak: Hmm... Anyway how to delete the mysql and it's configuration and start from scratch in ubuntu14:08
rbasakbenl90: depends on what's wrong, and we don't know that. You can try https://askubuntu.com/a/1062707/7808, but that's no replacement for trying to reproduce on a fresh installation. You can use a container or a VM, so this should not be difficult. If you're not familiar, it's good to learn anyway - being proficient with lxd containers massively speeds up so many sysadmin tasks, because you can try14:13
rbasaksomething on a fresh Ubuntu very easily.14:13
cpaelzerrbasak: ahasenack: did you experience on git ubuntu submit that you got rejected for the branch not being found?14:20
cpaelzerit is correctly pushed14:20
cpaelzerI think on a totally new branch LP sometimes takes a while for processing14:21
cpaelzerlater on things work14:21
ahasenackI never used git ubuntu submit14:21
cpaelzerso you open the MPs just manually then14:22
cpaelzerwell that is my fallback when it fails14:22
cpaelzerI was just wondering if we should print something (if it is a geenral issue)14:22
cpaelzeryeah - merge ID hattrick14:23
rbasakI don't use submit either14:23
cpaelzerthanks postgres MRE :-)14:23
cpaelzeroh, no wonder I'm the only one facing it then :-)14:23
ahasenackI think this is the fix for the ubuntu-kylin-sso-client dep8 tests: https://pastebin.ubuntu.com/p/C872JtdJD3/14:26
ahasenackat least one of the fixes14:26
ahasenackbecause:14:27
ahasenack2018/08/14 10:11:02| ERROR: cannot change current directory to /tmp/autopkgtest.DUUfBX/build.7Km/real-tree/_trial_temp/squid/spoolsquid: (2) No such file or directory14:27
ahasenackbut we'll see14:27
cpaelzerack on the added /14:28
cpaelzerbut would that dir then exist?14:28
cpaelzerI mean the path is broken without the / for sure, but it might still get a "no such file or dir"14:28
cpaelzerif no one created it14:28
cpaelzerahasenack: FYI the postgresql MPs are up for you14:29
ahasenack...../squid/spool exists14:29
ahasenackit is created if it does not exist14:29
ahasenackI don't know yet if squid itself will create the missing bit, maybe not14:29
cpaelzerthe argument is called "dir"14:30
cpaelzerso if it would create on demand it would have created the dir "spoolsquid"14:30
ahasenackagreed14:30
ahasenackI know where to look, I'll troubleshoot that later14:31
ahasenacklet me get the finishing touches up for squid itself and put that up14:31
jonfatinoQuick question for you guys. So I am trying to create a network install script for about 100 servers. Pxe boot and all.  I have a ubuntu livecd image that I moved to pxe and it can netboot into a livecd and ssh in. Then I have some scripts that check for hardware like cpu / ram and configure LSI raid arrays.  Then I want to automatically install ubuntu after that.15:27
jonfatinoI want to be able to launch ubuntu installer with kickstart file after lsi raid arrays are configured automatically. How would I acomplish this?15:27
jonfatinoI don't want to "netboot" and pass KS=bla for kickstart file and install that way. I want to install from the livecd after its done running my scripts.15:28
leftyfbjonfatino: why not run the script as part of the kickstart?16:10
tewardanyone fluent in how systemd units work and 'network readiness' within SystemD units can be determined so you can decide whether to start a service or not?  https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1786974 is related to some race condition where nginx starts before IPv6 is ready, and it causes problems, but that's a SystemD race condition if i'm not mistaken?16:31
ubottuLaunchpad bug 1786974 in nginx (Ubuntu) "Nginx is starting before IPv6 address is ready" [Undecided,New]16:31
jonfatinoleftyfb: good idea but ideally we want to do it in stages and report back to a centralized database for deployments16:35
jonfatinothen proceed with next step and install16:36
leftyfbjonfatino: that could be done16:36
leftyfbjonfatino: just gotta script it as part of the kickstart16:36
jonfatinoThe tools needed for megacli and a few audits / stress test and what not are not part of netboot image.16:37
jonfatinoI'm trying to find the exact commands ubuntu uses to run the install script so I can start it manually or when ever I want16:37
leftyfbjonfatino: maybe start looking into subiquity16:42
jonfatinoleftyfb: have you ever used debootstrap?16:43
leftyfbI have transparently. But not really16:44
tomreynteward: systemd.special(7) -> network-online.target17:05
tewardtomreyn: would that solve a race condition like bug 1786974 seems to be having?  It was my understanding that you should require network.target not network-online.target17:07
ubottubug 1786974 in nginx (Ubuntu) "Nginx is starting before IPv6 address is ready" [Undecided,New] https://launchpad.net/bugs/178697417:07
teward(so i'm trying to clarify before doing anything)17:07
tewardthanks by the way17:07
tomreynteward: i dont know that, sorry17:07
tewardhmm17:08
tewardi'll have to prod further, but thanks for the pointer, tomreyn.  I'm not 100% fluent with SYstemD :P17:08
tomreyni was actually wondering how this mechanism in systemd prevents / handles race conditions, but never spent time on researching it.17:08
tomreyni'm neither, just catch things up here and there17:08
sdezielteward: if the user binds to something else than [::]:80, adding the network-online.target dependency makes sense17:10
tewardsdeziel: their error is :::8017:10
tewardtheirs is erroring with a default setup it seems by the error msg17:10
tewardthough since they didn't file the bug the proper way I have no config data to use17:11
sdezielthe IPv6 address was obfuscated17:11
tewardsdeziel: whether it's a link local or not is unclear, and probably would help determine the answer and solution17:11
sdezielbinding to the wildcard shouldn't fail even if the network isn't online17:12
tewardsdeziel: the question is whether the fix for this should be applied on the one user's system or as part of the package.17:12
tewardsdeziel: it can if v6 is disabled which some users are doing (stupidly I might ad)17:12
tewardsdeziel: if it makes sense to bind to network-online.target that's one thing, if we're running a default install should we be delaying until network-online.target *just* to handle edge cases17:12
tewardsince the default nginx config runs on [::]:80 (and also 0.0.0.0:80)17:13
sdezielteward: right, that's good question. The man page recommends to stick with the network target for networking daemons17:13
tewardsdeziel: then the answer is "Won't Fix" for the bug, because we already want on network.target17:13
tewardat least as i understand the systemd unit in use17:13
tewardby nginx17:14
tewardDAMN KEYBOARD!  *throws keyboard into the river and goes to get a spare from the supply bin*17:14
sdezielteward: that would be my feeling as well but I'd check if the user's config does indeed specify a specific IPv617:14
tomreynteward: note also that there's also 'network.target', and that systemd.special(7) states "Usually, network.target is part of the boot of most systems, while network-online.target is not, except when at least one unit requires it."17:14
tomreynso maybe network.target is the better choice, if its good enough [TM]17:15
tewardtomreyn: indeed.  that's what the service uses currently17:16
tewardbut it seems that this 'race condition' is not new17:16
tewardand I did note that bit in the manpage that tomreyn pointed out17:16
tomreyni'm sure tomreyn appreciates this17:16
teward:P17:17
tewardsorry i'm still recovering from illness, i'm confusing who i'm messaging :|17:18
tomreyn;-) no worries, i'm just having fun here17:18
tewardsdeziel: the only reason I'm hesitant to tell the user to alter their service file for systemd is because that gets clobbered next-update whenever a package is updated with a newer version IIRC17:21
tewardthen they'd have to reapply that workaround again17:21
sdezielteward: not with "systemctl edit nginx" overrides17:29
sdezielteward: the user then only need to put "[Unit]\nAfter=network-online.target\n" in there and be done with it17:30
tewardsee, now I'm learning more about SystemD than I would on my own heh17:31
tewardsdeziel: if they come back and indicate they're using an actual v6 address then I'll provide that workaround, but document that the bug itself won't be fixed in the package because network.target is the 'typical target' for networking daemons...17:31
tewardassuming we include web servers in the category of networking daemons?17:32
sdezielteward: the scripted way would be: https://paste.ubuntu.com/p/YfD5TYdw2y/17:35
sdezielsigh, both After= and Wants are needed: https://paste.ubuntu.com/p/m64cXMRbhP/17:36
rbasakteward: see https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/17:37
rbasakteward: waiting for network-online.target is incorrect17:37
tewardrbasak: that's what I had assumed17:37
=== LastTalon_ is now known as LastTalon
rbasakhttps://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1786675 came up the other day17:38
ubottuLaunchpad bug 1786675 in apache2 (Ubuntu) "Apache will not start on boot if bound to a fixed IP address" [Undecided,Invalid]17:38
tewardrbasak: so we should consider this a "Not a Bug" and blame a race condition between the software and the underlying networking management system/infrastructure?17:38
rbasakteward: the reporter of the nginx bug report says "...emerg] bind() to [xxx]:80 failed" so I think they're binding to a specific IP.17:39
tewardwhich i'm asking them to confirm in the comment I made17:39
rbasakFor Ubuntu, I believe this is Invalid/Won't Fix because the correct thing to do if customising local configuration is to also override systemd as discussed above.17:39
rbasakFor upstream, I think it's a valid feature request that daemons handle this gracefully17:40
tewardrbasak: ACK.  I'll have to add that to our Server Team documentation.17:40
teward(for the override part)17:40
rbasakThe upstream systemd page should describe it well enough for upstream - either use IP_FREEBIND on Linux, or better, respond dynamically to network configuration changes.17:40
tewardthanks rbasak, i've marked the bug accordingly.17:43
tewardrbasak: while you're around, can you confirm that my last message to the list regarding the proposal to jump to NGINX mainline at least for 18.10 and 19.04 made its way to the mailing list?17:43
tewardi have no confirmations on my end whether it did or not :|17:44
tewardah there it is in the archive, nevermind17:44
teward(it wasn't showing for me, I blame caching)17:44
rbasakhttps://lists.ubuntu.com/archives/ubuntu-server/17:44
tewardrbasak: yep, it wasn't showing in there, I blame caching :P17:44
tewardinitially I thought I was stuck in the mod queue again heh17:45
arooniwhat do you guys do to store passwords for servers/apps/ i.e. admin passwords for mysql ; passwords for basic auth for sites etc;  i.e passwords taht are not your user password19:28
arooniright now i have a pw.txt somewhere on my laptop ; but wondering if theres a better way19:28
tewardkeepass database with the passwords in them.  Or a PGP encrypted text document synced to several locations that contains passwords and requires my exact private key to decrypt19:31
tewardalso 1password but that's just me :P19:31
tewardarooni: ^19:32
aroonihmm i already use lastpass19:33
aroonii wonder if i can have a text doc there19:33
teward-1 because LastPass has had breaches in the past :P19:33
arooniit just seems sloppy to have it in text format; even though i connect to the server with ssh keys etc19:33
aroonikeeping it encyrpted as a document seems smart too; i have dropbox19:33
arooniis there an easy way to decrypt/encrypt from command line or apps on ubuntu/mac19:34
tewardgpg --encrypt --armor -r YOURKEYID foo.txt19:35
tewardmakes foo.txt.asc19:35
tewardyou can decrypt that later with gpg --decrypt foo.txt.asc19:36
tewardjust make sure you don't lose your privkey :p19:36
aroonitruth19:36
tewardand don't share the plaintext version across cloud storage either :P19:36
aroonii kinda like storing them in lastpass; because i already have 2 factor auth setup there19:36
tewardup to you :P19:37
aroonithx for the brainstorm19:37
aroonigood talk ;P19:37
evithello20:45
evitI have a Digital Ocean Ubuntu 16.04 server and SSH (PuTTY) was reporting the host key changed. So I replaced the keys and shut off SSH access. Chkrootkit says Possible Linux/Ebury - Operation Windigo installetd20:48
evitReviewing the configuration doesn't seem to show it is infected but I want to be sure20:48
evitIs Possible Linux/Ebury - Operation Windigo a false positive on Ubuntu 16.04 as I've read from several sources?20:49
evitChkrootkit also lists fail2ban as suspicious files20:50
sarnoldlast time I looked at one of those rootkit tools I found it was prepared to label the upstart /sbin/init as malicious20:53
sarnoldit's probably best to just ignore all those20:53
evitsarnold, I see no other IOC on there and have scanned several other ways, locally, remotely, etc.20:56
evitsarnold, Why would a host key change?20:57
evitsarnold, would a patch do that or if Digital ocean made an infrastructure change?20:57
sarnoldevit: I think I've seen instances where a host brought up with just an rsa key will generate an ecc-based key on a later reboot, and thus suddenly have a *new* key. I dont know why :(20:58
rbasakHow did you get to the server in order to replace the host keys?20:58
evitrbasak, Via the web console login20:58
evitrbasak, I've since disabled SSH entierly20:58
evitand replaced they keys20:59
rbasakIf the host key appears changed, then that's a sign of a MITM, not of a host compromise in itself.20:59
rbasakIt seems unlikely an attacker would change the real host keys, since there's nothing to gain from that if somebody already has root.20:59
rbasak(and it'd reveal the presence of the adversary)21:00
evitSo if I changed they keys and it looks clean should I be confident?21:00
rbasakYou should properly check the host key fingerprints before accepting them.21:00
=== miguel is now known as Guest77219
evityes, that is why I re-keyed21:00
evitThis article states that ssh -G is an IOC. https://www.welivesecurity.com/2014/04/10/windigo-not-windigone-linux-ebury-updated/21:04
evitIs that correct? A lot of other sources say otherwise and I'm not sure what to think...21:04
evitEventually, I will rebuild with public key auth and OTP MFA21:06
evitShould SSH -G be considered an indication of Windigo compromise or is that normal behaviour21:09
=== guntbert_ is now known as guntbert
naccevit: i'm not sure an article from 4 years ago is relevant to security concerns today21:12
naccevit: also -G is a valid `ssh` option, and they are referring to running it on the compromised system in particular, i think21:12
evitnacc, yes, agreed. Seems like they are assuming that is an IOC21:13
naccevit: in 2014.21:13
naccevit: which is not the current year, you know :)21:13
evitnacc, =P21:14
evitnacc, I saw my host key change and I freaked out. I'm not engaging in baseless fears here. Either MiTM, host compromise or some system change at Digital Ocean21:15
ahasenackevit: https://bugs.launchpad.net/ubuntu/+source/chkrootkit/+bug/148825621:19
ubottuLaunchpad bug 1488256 in chkrootkit (Ubuntu) "chkrootkit 0.50 shows Windigo/Ebury false positive due to new '-G' option in openssh 1:6.9p1-1" [Low,Confirmed]21:19
evitahasenack, Thank you! I just wanted the wisdom of the channel to clarify I'm not going nuts. =021:19
ahasenackthat doesn't answer why the ssh host keys changed, though21:20
evitahasenack, I figured it was MiTM but traceroute says otherwise.21:21
evitahasenack, What other factors can change host key?21:23
tomreynevit: the 'host changed it' seems pretty likely to me if it's a VM and you have not taken measures to prevent them from accessing it.21:38
tomreyni know of a couple cloud hosters who insist on having file system accesss not just to containers but also to VMs.21:39
tomreyn(and may not tell customers about this practice)21:39
tomreyni do not know baout how DO handles it21:40
evittomreyn, Since they have physical access and its a cloud instance I don't think anything I do will prevent them21:40
evittomreyn, Are you saying I should encrypt the cloud instance?21:44
tomreynevit: right, you cannot prevent it. but you can raise the bar, make it harder for them, break their default processes, and increase your chances to know this is what happened when it happens.21:44
tomreyndoing so also makes it harder for them to provide a good service to you, though, so YMMV21:45
evittomreyn, The cloud is often worse than self hosting. The beancounters are bad at math and security. =P21:46
tomreyni'd still prefer own hardware whereever there is risk.21:47
tomreyn(and ideally own network, too)21:47
evittomreyn, I'd prefer too. I can own it if I mess it up! =P21:50
benl90Hello, can anyone explain me why mysqld.cnf is readed by mysql but none of the directive is followed and set globally on mysql? Thanks22:12
benl90I have moving through ubuntu server documentation, no luck, and I'm on mysql 5.7.23 on ubuntu 18.04. Is there maybe opened issue about this? Thanks.22:13
benl90on my ubuntu 16.04 with mysql 5.7.13 it's honoring the configuration when I run sudo mysqld --print-defaults it will show the additional parameter that set by editing mysqld.cnf22:17
compdocbenl90, the newer mysql reads the config files is a certain order, including whats in the /etc/mysql/conf.d folder22:19
compdocits probably not seeing your file at all22:19
benl90compdoc: Wait a second... I will look into it again. compdoc it's reading, when I accidentally make an error on configuration, it won't start. It's confusing hahaha...22:19
compdocah. yeah, it wont start if you get it wrong22:20
benl90compdoc: Yep, that prove that the conf is readed right?22:21
compdocyes, I would think so22:21
benl90compdoc: ah the rule that written on all my.cnf and it's sub dir should be run as global variable right?22:22
compdocI think so22:23
benl90compdoc: It seems not honoring my cnf... on show variables; it won't change... still same -_-22:24
compdocI think theres a mysql help channel22:25
benl90compdoc: #mysql?22:26
compdocyup22:27
benl90thanks compdoc. Let me checkout :)22:27
=== kevr_ is now known as kevr
benl90I have question how to clean all configuration of an removed packaged on ubuntu23:19
benl90I tried purge nothing happen23:21
naccbenl90: what package and what did you  see before and after to indicate "nothing happened"/23:26
naccbenl90: and what version of ubuntu, etc.23:26
benl90nacc: Mysql-server, on ubuntu 18.04. I tried to fix broken packages, because on this server mysql doesn't obey mysql.cnf, it frustate me alot, I dive through documentation on mysql and mysql board no bug or such, also I've other sevrer that working perfectly with same installation and same conf23:29
naccbenl90: ok and what did you purge?23:31
benl90nacc: mysql-server? Let me try dpkg -P23:31
naccbenl90: well, that won't be what you want, that's just a metapackage23:31
naccit doesn't own any conf files23:31
benl90nacc: Then how to delete the conf and completely clean reinstall it. I really desperate of it :'(23:32
naccbenl90: you need to purge the actual package in question (the one that mysql-server depended on)23:33
naccbenl90: mysql-server-5.7 i think23:33
benl90nacc: it show this Purging configuration files for mysql-server-5.7 (5.7.23-0ubuntu0.18.04.1) ... dpkg: warning: while removing mysql-server-5.7, directory '/etc/mysql/mysql.conf.d' not empty so not removed, then how to clean it all23:34
naccbenl90: is it empty now? if it's not empty now, recursively delete the directory?23:35
benl90not empty, the folder also not empty /etc/mysql23:35
naccbenl90: well, of course /etc/mysql is not empty /etc/mysql/mysql.conf.d exists23:36
benl90ah then how to clean it. or it's there since I do fresh install23:37
benl90?23:37
naccbenl90: you can use `dpkg -S` to see what, if any package, owns the paths in question23:37
naccif none do, you can safely (imo) remove the directories. Reinstallation will recreate them.23:37
naccrbasak: --^ may know better than I, though23:37
benl90nacc: No path found, so it will be safe to remove them?23:37
benl90nacc: this happen https://privatebin.net/?1440a70e4ed74582#0GP3btqDOTFTo8GTdXffcpP3kjf1fv+rnSDZHFl1vlc=23:40
naccbenl90: i think so; i mean, it seems like you don't want mysql on your server23:40
benl90nacc: no, I want to clean reinstall it, because it have wierd behavior23:40
naccbenl90: right, so you 1) want to fully remove it first, 2) properly reinstall it?23:40
naccbenl90: it's not particularly helpful to truncate the commands you ran23:41
benl90nacc: I've using apt install right?23:41
rbasakMake sure mysql-common is purged before cleaning /etc/mysql/.23:41
naccbenl90: i have now way of knowing that :)23:41
rbasakSince it uses update-alternatives, it won't show up in dpkg -S23:42
naccbenl90: as you didn't paste the command you ran23:42
naccrbasak: oh right, sorry!23:42
rbasakBut apart from that, if it's purged, I think it should be safe to wipe it, since anything that uses /etc/mysql depnds on mysql-common and you can't purge mysql-common unless they are also removed.23:42
benl90okay my command is apt install mysql-server23:42
naccrbasak: right, that's what i was thinking, just had the wrong package in mind23:42
rbasakHowever, make sure other packages aren't shipping in /etc/mysql that are removed but not purged, like nacc said I think dpkg -S will do it but I'm not sure.23:42
naccbenl90: so the problem is probably, currently, you still had mysql-common installed23:43
naccbenl90: and so mysql-server, which depends on that, broke a bit :)23:43
benl90nacc: SUCH A WOW... it works.. seems the mysql-server package broken that cause wierd beavior23:58

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