# File lib/phusion_passenger/platform_info/linux.rb, line 43
        def self.linux_distro_tags
                if RUBY_PLATFORM !~ /linux/
                        return nil
                end
                lsb_release = read_file("/etc/lsb-release")
                if lsb_release =~ /Ubuntu/
                        return [:ubuntu, :debian]
                elsif File.exist?("/etc/debian_version")
                        return [:debian]
                elsif File.exist?("/etc/redhat-release")
                        redhat_release = read_file("/etc/redhat-release")
                        if redhat_release =~ /CentOS/
                                return [:centos, :redhat]
                        elsif redhat_release =~ /Fedora/
                                return [:fedora, :redhat]
                        elsif redhat_release =~ /Mandriva/
                                return [:mandriva, :redhat]
                        else
                                # On official RHEL distros, the content is in the form of
                                # "Red Hat Enterprise Linux Server release 5.1 (Tikanga)"
                                return [:rhel, :redhat]
                        end
                elsif File.exist?("/etc/suse-release")
                        return [:suse]
                elsif File.exist?("/etc/gentoo-release")
                        return [:gentoo]
                else
                        return [:unknown]
                end
                # TODO: Slackware
        end