225 reputation
19
bio website cloudcabin.org
location Moscow, Russia
age 29
visits member for 3 years, 4 months
seen Aug 19 at 10:12

System administrator at Badoo Development, Moscow

Self-taught Linux admin, Perl and PostgreSQL enthusiast


Jun
6
comment SSH Colors Enabled, # Showing up in odd place
The system you log in to might not be aware of the terminal you use. If you see some weird behavior in the future, check out this document.
Jun
3
comment How to go about rotating logs which are arbitrary named and placed in deeply nested directories?
It might be part of solution.
Jun
2
comment How to go about rotating logs which are arbitrary named and placed in deeply nested directories?
Don't think so. It's not like I want to set some hard limit. Quite often some of them might need to write a large amount of data for a day or two, and it wouldn't affect the rest of developers. Managing quotas would be a hassle.
Jun
2
comment How to go about rotating logs which are arbitrary named and placed in deeply nested directories?
An interesting approach! I'll probably play with it, but I'm not sure it would detect all the files. On the other hand, yes, I can use a template for logrotate rules, that might work.
Jun
2
comment How to go about rotating logs which are arbitrary named and placed in deeply nested directories?
No, production is production and no such things are allowed there. I'm afraid that in this case I can't do much with communication, and it's not because I dislike communication.
Jun
2
asked How to go about rotating logs which are arbitrary named and placed in deeply nested directories?
May
22
comment df shows too much space on tmpfs
It would be allright if I had a real problem with this weird behavior. I should have double check things before asking, so let there be a comment for anyone who does something like this, but I think it's not actually an answer.
May
19
comment df shows too much space on tmpfs
Well what actually happened is the tmpfs partition was not mounted, but it was listed in mount, so df -h was reporting the usage of / instead, since it's the 'parent' partition of a directory which was supposed to be the mountpoint for tmpfs. Mount, on the other hand, lied to me: 'It is possible that files /etc/mtab and /proc/mounts don't match. The first file is based only on the mount command options, but the content of the second file also depends on the kernel and others settings'. I should have checked /proc/mounts, too.
May
19
comment df shows too much space on tmpfs
I am terribly sorry, remounting did actually help, I've just retried it just in case and all the magic is gone. Could the mods please close the question?
May
19
asked df shows too much space on tmpfs
Mar
18
awarded  Yearling
Mar
12
comment Learning Linux beginning from novice
I'd propose (maybe for later) setting up a mail and jabber server, a simple blog, dynamic DNS and such. For home - dlna, transmission + web interface, samba/nfs.
Mar
7
comment Check all domains served by a DNS server
Aww. Been thinking about my current setup where I control the DNS server.
Mar
7
comment Check all domains served by a DNS server
You might try an axfr if it's allowed.
Mar
7
comment Mail server: SASL authentication failure - Postfix + Dovecot + Mysql
How comes you have smtpd_sasl_type = cyrus in your main.cf and all cyrrus-related stuff commented out in your master.cf? Also, could this possibly help you? ubuntuforums.org/showthread.php?t=2168820
Mar
7
answered Configure Postfix+Dovecot+MySQL for my usage case
Mar
4
comment Export virtual machine list
Please be aware that cron jobs are not persistent between reboots and you'll have to modify /etc/rc.local.d/local.sh to rewrite crontab and restart crond every time. There are plenty of guides for this.
Mar
4
comment Export virtual machine list
In the new web client, which comes with vsphere 5.5, this can be done like this: select your hypervizor or cluster, go to related objects -> virtual machines and in the left bottom corner you'll see an export button. Click it, pick columns you want (you definitely want the 'Host' column among others) and then click 'generate CSV report' and then 'save'.
Mar
3
answered Installing nginx on debian - sites-enabled
Mar
3
answered Export virtual machine list